examples
Directory actions
More options
Directory actions
More options
examples
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Example TLA+ proofs. Allocator.tla: allocator managing a set of resources Bakery.tla AtomicBakery.tla AtomicBakeryWithoutSMT.tla different versions of Lamport's bakery algorithm, Bakery.tla being the most faithful representation with non-atomic operations on shared registers BubbleSort.tla the classic BubbleSort algorithm as a PlusCal algorithm, and its correctness proof Euclid.tla proofs about Euclid's algorithm for computing the GCD of two positive integers, cf. the TLAPS tutorial Peterson.tla: Peterson's algorithm for mutual exclusion between two processes using shared memory SimpleMutex.tla: the essence of many mutual exclusion protocols SumAndMax.tla: a simple challenge problem from VSTTE 2010 SimpleEventually.tla: a proof of a simple liveness property ------------------------------------------------------------ Sub-directories: paxos/Paxos.tla TLA+ specification of the Paxos consensus algorithm and a proof of its correctness (safety) two-phase/*.tla two-phase handshake cantor/Cantor*.tla several proofs of Cantor's theorem using TLA+'s hierarchical proof language consensus/PaxosProof.tla high level specification of Consensus with two refinements implementing an abstract Paxos algorithm (incomplete and largely superseded by paxos/) data/*.tla various theorems on sets, sequences and graphs (incomplete) Dekker/Dekker.tla TLA+ specification of Dekker's algorithm for mutual exclusion between two processes using shared memory, and a proof of its correctness (including liveness)