Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
Signed-off-by: Xudong Sun <[email protected]>
  • Loading branch information
marshtompsxd committed Sep 15, 2024
1 parent a11b4e9 commit 77653b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/v2/kubernetes_cluster/proof/network_liveness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ pub open spec fn no_req_before_rpc_id_is_in_flight(rpc_id: RPCId) -> StatePred<C
// It's only related to the message.
//
// In detail, we have to show two things:
// a. Newly created api request message satisfies requirements: s.in_flight(msg) /\ s_prime.in_flight(msg) ==> requirements(msg, s_prime).
// b. The requirements, once satisfied, won't be violated as long as the message is still in flight:
// s.in_flight(msg) /\ requirements(msg, s) /\ s_prime.in_flight(msg) ==> requirements(msg, s_prime).
// a. Newly created api request message satisfies requirements:
// s.in_flight(msg) /\ s_prime.in_flight(msg) ==> requirements(msg, s_prime).
// b. The requirements, once satisfied, won't be violated as long as the message is still in flight:
// s.in_flight(msg) /\ requirements(msg, s) /\ s_prime.in_flight(msg) ==> requirements(msg, s_prime).
//
// Previously, when "requirements" was irrelevant to the state, b will be sure to hold. Later, we find that "requirements" in some
// case does need some information in the state. So we add state as another parameter and requires the caller of the lemma
Expand Down

0 comments on commit 77653b6

Please sign in to comment.