-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds support for full CTL to the BDD engine.
- Loading branch information
Showing
35 changed files
with
754 additions
and
260 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
AF1.smv | ||
--bdd | ||
^\[main::spec1\] AF some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] AF some_var = FALSE: PROVED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
INVAR some_var = 0 | ||
|
||
-- should fail | ||
SPEC AF some_var = 1 | ||
|
||
-- should pass | ||
SPEC AF some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
AF2.smv | ||
--bdd | ||
^\[main::spec1\] AF some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] AF some_var = FALSE: PROVED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
ASSIGN next(some_var) := 0; | ||
|
||
-- should fail | ||
SPEC AF some_var = 1 | ||
|
||
-- should pass | ||
SPEC AF some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
AG1.smv | ||
--bdd | ||
^\[main::spec1\] AG some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] AG some_var = FALSE: PROVED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
INVAR some_var = 0 | ||
|
||
-- should fail | ||
SPEC AG some_var = 1 | ||
|
||
-- should pass | ||
SPEC AG some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
AG2.smv | ||
--bdd | ||
^\[main::spec1\] AG some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] AG some_var = FALSE: REFUTED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
ASSIGN next(some_var) := 0; | ||
|
||
-- should fail | ||
SPEC AG some_var = 1 | ||
|
||
-- should fail | ||
SPEC AG some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
KNOWNBUG | ||
AU1.smv | ||
--bdd | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
MODULE main | ||
|
||
VAR x : 0..10; | ||
|
||
-- 1, 2, 3, ..., 10 | ||
ASSIGN init(x) := 1; | ||
ASSIGN next(x) := case | ||
x = 10 : 10; | ||
1 : x + 1; | ||
esac; | ||
|
||
-- should fail, since x=0 is not reachable | ||
SPEC A x>=1 U x=0 | ||
|
||
-- should pass | ||
SPEC A x>=1 U x=10 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
AX1.smv | ||
--bdd | ||
^\[main::spec1\] AX some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] AX some_var = FALSE: PROVED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
INVAR some_var = 0 | ||
|
||
-- should fail | ||
SPEC AX some_var = 1 | ||
|
||
-- should pass | ||
SPEC AX some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
EF1.smv | ||
--bdd | ||
^\[main::spec1\] EF some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] EF some_var = FALSE: PROVED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
INVAR some_var = 0 | ||
|
||
-- should fail | ||
SPEC EF some_var = 1 | ||
|
||
-- should pass | ||
SPEC EF some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
EF2.smv | ||
--bdd | ||
^\[main::spec1\] EF some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] EF some_var = FALSE: PROVED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
ASSIGN next(some_var) := 0; | ||
|
||
-- should fail | ||
SPEC EF some_var = 1 | ||
|
||
-- should pass | ||
SPEC EF some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
EG1.smv | ||
--bdd | ||
^\[main::spec1\] EG some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] EG some_var = FALSE: PROVED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
INVAR some_var = 0 | ||
|
||
-- should fail | ||
SPEC EG some_var = 1 | ||
|
||
-- should pass | ||
SPEC EG some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
EG2.smv | ||
--bdd | ||
^\[main::spec1\] EG some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] EG some_var = FALSE: REFUTED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
ASSIGN next(some_var) := 0; | ||
|
||
-- should fail | ||
SPEC EG some_var = 1 | ||
|
||
-- should fail | ||
SPEC EG some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
EX1.smv | ||
--bdd | ||
^\[main::spec1\] EX some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] EX some_var = FALSE: PROVED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
INVAR some_var = 0 | ||
|
||
-- should fail | ||
SPEC EX some_var = 1 | ||
|
||
-- should pass | ||
SPEC EX some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
EX2.smv | ||
--bdd | ||
^\[main::spec1\] EX some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] EX some_var = FALSE: PROVED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
ASSIGN next(some_var) := 0; | ||
|
||
-- should fail | ||
SPEC EX some_var = 1 | ||
|
||
-- should pass | ||
SPEC EX some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
KNOWNBUG | ||
CORE | ||
GF1.smv | ||
--bdd | ||
^\[main::spec1\] G F some_var: REFUTED$ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
just_p.smv | ||
--bdd | ||
^\[main::spec1\] some_var = TRUE: REFUTED$ | ||
^\[main::spec2\] some_var = FALSE: PROVED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MODULE main | ||
|
||
VAR some_var : boolean; | ||
|
||
ASSIGN init(some_var) := 0; | ||
|
||
-- should fail | ||
SPEC some_var = 1 | ||
|
||
-- should pass | ||
SPEC some_var = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
KNOWNBUG | ||
CORE | ||
smv_ltlspec2.smv | ||
--bdd | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
^\[smv::main::spec1\] G F x = 3: PROVED$ | ||
^\[main::spec1\] G F x = 3: PROVED$ | ||
-- | ||
^warning: ignoring | ||
-- | ||
The BDD engine returns REFUTED. |
Oops, something went wrong.