Skip to content
Snippets Groups Projects
Commit d6d92daa authored by lamport's avatar lamport Committed by Markus Alexander Kuppe
Browse files

Strengthen test by adding third invariant.

[Tests][TLC]
parent 603be5aa
Branches
Tags
No related merge requests found
SPECIFICATION Spec
INVARIANT Invariant0 Invariant1 Invariant2
INVARIANT Invariant0 Invariant2 Invariant3 Invariant1
PROPERTY Property
\ No newline at end of file
......@@ -12,6 +12,7 @@ Spec == Init /\ [][Next]_x
Invariant0 == I!B(Next)
Invariant1 == I!C
Invariant2 == ~ I!B(I!A)
Invariant3 == I!D
Property == [][~I!A]_x
=============================================================================
I!C = ENABLED((u'=x) /\ (v' = x+1))
......
......@@ -5,4 +5,5 @@ VARIABLES u, v
A == (u'=u) /\ (v'=v+1)
B(d) == ENABLED d
C == B(A)
D == ENABLED A
=============================================================================
\ No newline at end of file
SPECIFICATION Spec
INVARIANT Invariant0 Invariant1 Invariant2
INVARIANT Invariant0 Invariant2 Invariant3 Invariant1
PROPERTY Property
\ No newline at end of file
......@@ -12,6 +12,7 @@ Spec == Init /\ [][Next]_x
Invariant0 == I!B(Next)
Invariant1 == I!C
Invariant2 == ~ I!B(I!A)
Invariant3 == I!D
Property == [][~I!A]_x
=============================================================================
I!C = ENABLED((u'=x) /\ (v' = x+1))
......
......@@ -5,4 +5,5 @@ VARIABLES u, v
A == (u'=u) /\ (v'=v+1)
B(d) == ENABLED d
C == B(A)
D == ENABLED A
=============================================================================
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment