Skip to content

Commit

Permalink
upload report
Browse files Browse the repository at this point in the history
  • Loading branch information
markyuen committed Apr 4, 2022
1 parent f3181b8 commit cb9c171
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ivy/nopaxos.ivy
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ after init {
relation member(R:replica, Q:quorum)
axiom [quorum_intersection]
forall Q1:quorum, Q2:quorum.
exists R:replica. (member(R, Q1) & member(R, Q2))
exists R:replica. member(R, Q1) & member(R, Q2)

relation leader(R:replica)
axiom [single_leader] leader(R) <-> R = lead
Expand Down Expand Up @@ -304,8 +304,8 @@ invariant [lead_gap_commits]
# Safety property
invariant [consistency]
forall V1:value, V2:value, I:seq_t. (
(exists Q:quorum. (member(lead, Q) &
(forall R:replica. member(R, Q) -> m_request_reply(R, V1, I)))) &
(exists Q:quorum. (member(lead, Q) &
(forall R:replica. member(R, Q) -> m_request_reply(R, V2, I))))
(exists Q:quorum. member(lead, Q) &
forall R:replica. member(R, Q) -> m_request_reply(R, V1, I)) &
(exists Q:quorum. member(lead, Q) &
forall R:replica. member(R, Q) -> m_request_reply(R, V2, I))
) -> V1 = V2
Binary file added report.pdf
Binary file not shown.

0 comments on commit cb9c171

Please sign in to comment.