Skip to content

Instantly share code, notes, and snippets.

@grogers0
Created May 31, 2017 23:21
Show Gist options
  • Save grogers0/c303f232d58358ce5bcb6db9f153b148 to your computer and use it in GitHub Desktop.
Save grogers0/c303f232d58358ce5bcb6db9f153b148 to your computer and use it in GitHub Desktop.
Accepted(ts) == /\ {m.acceptor : m \in SelectMessages("accepted", ts)} \in Quorums
/\ {hpos \in DOMAIN history : history[hpos] = [type |-> "response", ts |-> ts]} = {}
/\ history' = Append(history, [type |-> "response", ts |-> ts])
/\ UNCHANGED <<msgs, ops, acceptorTS, acceptorValTS, acceptorValue>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment