Last active
December 24, 2022 04:28
-
-
Save lemmy/a2f598aceea5b74a2eaa811d35c53573 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INIT Init | |
NEXT Next | |
INVARIANT Inv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- MODULE Simple ---- | |
VARIABLE v, n | |
Init == | |
/\ v \in {TRUE, FALSE} | |
/\ n = 0 | |
Next == | |
/\ v' \in {TRUE, FALSE} | |
/\ n' = n + 1 | |
Inv == | |
/\ n = 3 | |
/\ v = TRUE | |
==================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Counterexample ends in a state s.t.
n = 3 /\ v = FALSE
.