Created
May 31, 2017 22:58
-
-
Save grogers0/71d06cf3376aaa09aff1263b5d4a6749 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RecvPrepare(a, ts) == /\ acceptorTS[a] = NoTS \/ acceptorTS[a] < ts | |
/\ acceptorTS' = [acceptorTS EXCEPT ![a] = ts] | |
/\ msgs' = msgs \union {[type |-> "promise", acceptor |-> a, ts |-> ts, | |
prevTS |-> acceptorValTS[a], prevVal |-> acceptorValue[a]]} | |
/\ UNCHANGED <<ops, acceptorValTS, acceptorValue, history>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment