@@ -19,14 +19,13 @@ open DY.OnlineA.Protocol
1919/// * event invariants
2020///
2121/// We then have to show
22- /// * these invariants imply the secrecy property (see DY.OnlineS.Secrecy ) and
22+ /// * these invariants imply the security properties: responder authentication and nonce secrecy (see DY.OnlineS.Properties ) and
2323/// * every protocol step maintains these invariants (see DY.OnlineS.Invariants.Proofs)
2424/// With this, we then know that
25- /// the protocol model satisfies the secrecy property .
25+ /// the protocol model satisfies the security properties .
2626
2727/// We highlight only the differences to
2828/// the invariants for the nonce secrecy proof (Online_with_secrecy/DY.OnlineS.Invariants.fst)
29- ///
3029
3130(* ** Crypto Invariants ***)
3231
@@ -134,12 +133,6 @@ let state_predicate_p: local_state_predicate state_t = {
134133 )
135134 )
136135 | ReceivedAck rack -> (
137- (* a ReceivedAck state may only be stored if
138- the stored nonce is labeled for
139- * the storing principal (alice)
140- * the principal stored in the state
141- (the expected sender of the Ack)
142- *)
143136 let alice = prin in
144137 let bob = rack . bob in
145138 let n_a = rack . n_a in
@@ -168,7 +161,7 @@ let state_predicate_p: local_state_predicate state_t = {
168161/// we also have prediates on events.
169162/// The intuition is similar:
170163/// They say when an event is allowed to be triggered, or
171- /// what guarantees we obtain, if we observe an event on the trace.
164+ /// what guarantees we obtain, if we observe a specific event on the trace.
172165
173166let event_predicate_event_t : event_predicate event_t =
174167 fun tr prin e ->
@@ -216,11 +209,6 @@ let trace_invariants_p: trace_invariants = {
216209
217210(* ** Protocol Invariants ***)
218211
219- /// The final protocol invariants
220- /// consisting of
221- /// * the crypto invariants and
222- /// * the trace invariants
223-
224212instance protocol_invariants_p : protocol_invariants = {
225213 crypto_invs = crypto_invariants_p ;
226214 trace_invs = trace_invariants_p ;
0 commit comments