Skip to content

Commit 0e82bdd

Browse files
authored
Fix tla+/consensus-commit (#1115)
1 parent 4883122 commit 0e82bdd

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

tla+/consensus-commit/CC.tla

+1
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,4 @@ CCS == INSTANCE CCSpec
132132
THEOREM Spec => CCS!Spec
133133
\* Put "CCS!Spec" into the Properties section of the model to check it
134134

135+
=============================================================================

tla+/consensus-commit/CCSpec.tla

+1
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ Spec == Init /\ [][Next]_<<rState, cState>>
5151

5252
THEOREM Spec => [](TypeOK /\ Consistent)
5353

54+
=============================================================================

tla+/consensus-commit/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The implementation is done in message passing style. All messages are sent on th
5151
2. In "What is the behavior spec?" select "Temporal formula" and enter "Spec".
5252
3. In "What is the model?" enter "R <- r1, r2, r3" and select "Set of model values" and also "Symmetry set". This means that r1, r2, and r3 are interchangable and will make model checking much faster.
5353
4. Make sure "Deadlock" is _not_ selected.
54-
5. Under "Invariants" you can enter "TypeOK" and "Consistent".
54+
5. Under "Invariants" you can enter "TypeOK".
5555
6. Under "Properties" enter "Spec".
5656
7. Now you should be able to run the model checker. Push the little green arrow at the top.
5757
8. The number in "States Found" and "Distinct States" should give you a good idea if the model checker is working correctly or not.

0 commit comments

Comments
 (0)