This repo contains very small examples of TLA+ functionality or applications, intended to help you learn TLA+.
For more sophisticated examples, see:
TLA+ works by modeling systems via state machines. If we model an actual state machine this way, how does the generated state graph compare to the machine we're modeling?
#safety
What does it look like to validate the correctness of a procedural algorithm?
#correctness
What does it look like to model a concurrent system?
#concurrency
#safety
#correctness
What does it look like to specify a temporal condition?
#correctness
How can you use TLA+ to validate formulas in predicate logic?
#correctness
How can you use TLA+ to find deadlocks in a concurrent system?
#concurrency
#liveness
What does it look like when two processes interact incorrectly due to a race condition?
#concurrency
#safety
How can one module use operators defined in another module?
#modules
How can one module parameterize and/or namespace operators defined in another module?
#modules
Basic functional list operations(Head/Tail/Append/Len/Reverse) on sequences.
#sequences
#recursion
Contributions are welcome.