File tree 3 files changed +12
-4
lines changed
3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 5177
5177
"mode" : " exhaustive search" ,
5178
5178
"features" : [
5179
5179
" state constraint" ,
5180
- " symmetry "
5180
+ " liveness "
5181
5181
],
5182
5182
"result" : " success" ,
5183
5183
"distinctStates" : 598 ,
Original file line number Diff line number Diff line change 6
6
Peers <- peers
7
7
Init <- MCInit
8
8
9
- SYMMETRY
10
- Symmetry
9
+ \* Disable symmetry reduction when checking liveness.
10
+ \* SYMMETRY
11
+ \* Symmetry
11
12
12
13
SPECIFICATION
13
14
Spec
@@ -16,6 +17,9 @@ INVARIANT
16
17
TypeOK
17
18
Inv
18
19
20
+ PROPERTY
21
+ Prop
22
+
19
23
CONSTRAINT
20
24
NoRetransmission
21
25
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ Spec ==
261
261
/\ [] [ Next ]_ vars
262
262
/\ WF_ vars ( System )
263
263
\* Would get stuck in SYN-SENT if we don't assert a user command.
264
- /\ WF_ vars ( \E local , remote \in Peers : CLOSE_CLOSE_WAIT ( local , remote ) )
264
+ /\ WF_ vars ( \E local , remote \in Peers : CLOSE_SYN_SENT ( local , remote ) )
265
265
266
266
-----------------------------------------------------------------------------
267
267
@@ -272,6 +272,10 @@ Inv ==
272
272
\A local , remote \in { p \in Peers : network [ p ] = << >> } :
273
273
connstate [ local ] = "ESTABLISHED" <=> connstate [ remote ] = "ESTABLISHED"
274
274
275
+ Prop ==
276
+ \A p \in Peers :
277
+ connstate [ p ] = "SYN-SENT" ~> connstate [ p ] \in { "ESTABLISHED" , "LISTEN" , "CLOSED" }
278
+
275
279
=============================================================================
276
280
\* Modification History
277
281
\* Created Tue Apr 02 10:38:50 PDT 2024 by markus
You can’t perform that action at this time.
0 commit comments