Skip to content

Commit

Permalink
Fixed ChangRoberts model
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Helwer <[email protected]>
  • Loading branch information
ahelwer committed Jan 19, 2024
1 parent 06b7550 commit 64cb2d2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Here is a list of specs included in this repository, with links to the relevant
| [The Slush Protocol](specifications/SlushProtocol) | Andrew Helwer | | ||| |
| [Minimal Circular Substring](specifications/LeastCircularSubstring) | Andrew Helwer | | ||| |
| [Snapshot Key-Value Store](specifications/KeyValueStore) | Andrew Helwer, Murat Demirbas | | ||| |
| [Chang-Roberts Algorithm for Leader Election in a Ring](specifications/chang_roberts) | Stephan Merz | | || | |
| [Chang-Roberts Algorithm for Leader Election in a Ring](specifications/chang_roberts) | Stephan Merz | | || | |
| [Resource Allocator](specifications/allocator) | Stephan Merz | | | || |
| [Transitive Closure](specifications/TransitiveClosure) | Stephan Merz | | | || |
| [Sliding Block Puzzle](specifications/SlidingPuzzles) | Mariusz Ryndzionek | | | || |
Expand Down
3 changes: 2 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3093,9 +3093,10 @@
"size": "small",
"mode": "exhaustive search",
"features": [
"ignore deadlock",
"liveness"
],
"result": "deadlock failure"
"result": "success"
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion specifications/chang_roberts/MCChangRoberts.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CONSTANT N = 3
INVARIANTS TypeOK Correctness
PROPERTIES Termination Liveness
PROPERTY Liveness
SPECIFICATION Spec
CHECK_DEADLOCK FALSE

1 change: 1 addition & 0 deletions specifications/chang_roberts/MCChangRoberts.tla
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ ASSUME N \in Nat
Id == [i \in 1 .. N |-> i]
INSTANCE ChangRoberts
=============================================================================

0 comments on commit 64cb2d2

Please sign in to comment.