Skip to content

Commit

Permalink
Add instructions on how to run
Browse files Browse the repository at this point in the history
They're a bit vague right now; hopefully I can tighten it up with some
command-line tools and have the entire thing be a single artifact built
by Nix.
  • Loading branch information
changlinli committed Jul 25, 2019
1 parent 7c4e124 commit f3155bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,10 @@ algorithm, I've also made it clear what parts of Peterson's algorithm are truly
necessary and which are implementation details (in particular the spin locks in
the usual presentation are definitely an implementation detail that fall away in
the TLA+ specification).

## Model checking this specification

You will need the TLA+ Toolbox to syntactically check this specification and run
the model checker TLC against it. This specification comes with a single model
out of the box that has all its parameters already set up. Simply add
`Peterson.tla` as a new spec in the toolbox.

0 comments on commit f3155bb

Please sign in to comment.