Skip to content

Commit

Permalink
Added model for spanning
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Helwer <[email protected]>
  • Loading branch information
ahelwer committed Jan 23, 2024
1 parent 41d96ac commit 30e196e
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Here is a list of specs included in this repository, with links to the relevant
| [Failure Detector](specifications/detector_chan96) | Thanh Hai Tran, Igor Konnov, Josef Widder | | | || |
| [Asynchronous Non-Blocking Atomic Commit](specifications/nbacc_ray97) | Thanh Hai Tran, Igor Konnov, Josef Widder | | | || |
| [Asynchronous Non-Blocking Atomic Commitment with Failure Detectors](specifications/nbacg_guer01) | Thanh Hai Tran, Igor Konnov, Josef Widder | | | || |
| [Spanning Tree Broadcast Algorithm](specifications/spanning) | Thanh Hai Tran, Igor Konnov, Josef Widder | | | | | |
| [Spanning Tree Broadcast Algorithm](specifications/spanning) | Thanh Hai Tran, Igor Konnov, Josef Widder | | | | | |
| [Condition-Based Consensus](specifications/cbc_max) | Thanh Hai Tran, Igor Konnov, Josef Widder | | | | | |
| [SWMR Shared Memory Disk Paxos](specifications/diskpaxos) | Leslie Lamport, Giuliano Losa | | | | | |
| [Transaction Commit Models](specifications/transaction_commit) | Leslie Lamport, Jim Gray | | | | | |
Expand Down
16 changes: 16 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3941,6 +3941,22 @@
],
"tags": [],
"modules": [
{
"path": "specifications/spanning/MC_spanning.tla",
"communityDependencies": [],
"tlaLanguageVersion": 2,
"features": [],
"models": [
{
"path": "specifications/spanning/MC_spanning.cfg",
"runtime": "00:00:01",
"size": "small",
"mode": "exhaustive search",
"features": [],
"result": "safety failure"
}
]
},
{
"path": "specifications/spanning/spanning.tla",
"communityDependencies": [],
Expand Down
9 changes: 9 additions & 0 deletions specifications/spanning/MC_spanning.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CONSTANTS
Proc = {1, 2, 3}
NoPrnt = NoPrnt
root = 1
nbrs <- Neighbors
INVARIANTS TypeOK SntMsg
\*PROPERTIES Termination OneParent
SPECIFICATION Spec

4 changes: 4 additions & 0 deletions specifications/spanning/MC_spanning.tla
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---- MODULE MC_spanning ----
EXTENDS spanning
Neighbors == {<<1, 2>>, <<1, 3>>}
============================
2 changes: 1 addition & 1 deletion specifications/spanning/spanning.tla
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ SntMsg == \A i \in Proc: (i # root /\ prnt[i] = NoPrnt => \A j \in Proc: <<i ,j>

=============================================================================
\* Modification History
\* Last modified Mon Jul 09 13:30:26 CEST 2018 by tthai
\* Last modified Mon Jul 09 13:30:26 CEST 2018 by tthai

0 comments on commit 30e196e

Please sign in to comment.