Skip to content

Commit 286b6ca

Browse files
committed
Align with commit cf26a3a changing record domain in EWD998ChanID.
Signed-off-by: Markus Alexander Kuppe <[email protected]>
1 parent ab9a2c3 commit 286b6ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specifications/ewd998/EWD998ChanID_export.tla

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ EXTENDS EWD998ChanID, TLCExt, TLC, IOUtils, Json
1313
MCInit ==
1414
(* Rule 0 *)
1515
/\ counter = [n \in Node |-> 0] \* c properly initialized
16-
/\ inbox = [n \in Node |-> IF n = Initiator
17-
THEN << [type |-> "tok", q |-> 0, color |-> "black" ] >>
18-
ELSE <<>>] \* with empty channels.
1916
(* EWD840 *)
2017
\* Reduce the number of initial states.
2118
/\ active \in [Node -> {TRUE}]
2219
/\ color \in [Node -> {"white"}]
2320
(* Each node maintains a (local) vector clock *)
2421
(* https://en.wikipedia.org/wiki/Vector_clock *)
2522
/\ clock = [n \in Node |-> [m \in Node |-> 0] ]
23+
/\ inbox = [n \in Node |-> IF n = Initiator
24+
THEN << [type |-> "tok", q |-> 0, color |-> "black", vc |-> clock[n] ] >>
25+
ELSE <<>>] \* with empty channels.
2626

2727
----------------------------------------------------------------------------
2828

0 commit comments

Comments
 (0)