moar
This commit is contained in:
9
tests/tcp/props/phi7.pml
Normal file
9
tests/tcp/props/phi7.pml
Normal file
@@ -0,0 +1,9 @@
|
||||
/* liveness: simultaneous close resolution */
|
||||
ltl phi7 {
|
||||
always (
|
||||
(state[0] == FinW1State && state[1] == FinW1State)
|
||||
implies
|
||||
(eventually (state[0] == ClosedState) &&
|
||||
eventually (state[1] == ClosedState))
|
||||
)
|
||||
}
|
||||
6
tests/tcp/props/phi8.pml
Normal file
6
tests/tcp/props/phi8.pml
Normal file
@@ -0,0 +1,6 @@
|
||||
/* liveness: active close eventually terminates */
|
||||
ltl phi8 {
|
||||
always (
|
||||
(state[0] == FinW1State) implies (eventually (state[0] == ClosedState))
|
||||
)
|
||||
}
|
||||
8
tests/tcp/props/phi9.pml
Normal file
8
tests/tcp/props/phi9.pml
Normal file
@@ -0,0 +1,8 @@
|
||||
/* safety: handshake cannot be bypassed */
|
||||
ltl phi9 {
|
||||
always (
|
||||
(state[0] == ListenState)
|
||||
implies
|
||||
!(next (state[0] == EstState))
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user