-
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.
- Loading branch information
Showing
35 changed files
with
475 additions
and
4 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,9 @@ | ||
CORE | ||
FGp1.smv | ||
--buechi --bound 2 | ||
^\[.*\] F G p: PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,9 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := FALSE; | ||
next(p) := TRUE; | ||
|
||
-- should pass | ||
LTLSPEC F G p |
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,9 @@ | ||
CORE | ||
Fp1.smv | ||
--buechi --bound 2 | ||
^\[.*\] F p: PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,9 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := FALSE; | ||
next(p) := TRUE; | ||
|
||
-- should pass | ||
LTLSPEC F p |
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,9 @@ | ||
CORE | ||
GFp1.smv | ||
--buechi --bound 2 | ||
^\[.*\] G F p: PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,9 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := FALSE; | ||
next(p) := !p; | ||
|
||
-- should pass | ||
LTLSPEC G F p |
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,9 @@ | ||
CORE | ||
Gp1.smv | ||
--buechi --bound 2 | ||
^\[.*\] G p: PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,9 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := TRUE; | ||
next(p) := TRUE; | ||
|
||
-- should pass | ||
LTLSPEC G p |
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,9 @@ | ||
CORE | ||
Xp1.smv | ||
--buechi --bound 2 | ||
^\[.*\] X p: PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,9 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := FALSE; | ||
next(p) := TRUE; | ||
|
||
-- should pass | ||
LTLSPEC X p |
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,9 @@ | ||
CORE | ||
and1.smv | ||
--buechi --bound 2 | ||
^\[.*\] X p & X q: PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,15 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := FALSE; | ||
next(p) := TRUE; | ||
|
||
VAR q : boolean; | ||
|
||
ASSIGN init(q) := FALSE; | ||
next(q) := TRUE; | ||
|
||
-- should pass | ||
LTLSPEC X p & X q | ||
|
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,9 @@ | ||
CORE | ||
and2.smv | ||
--buechi --bound 2 | ||
^\[.*\] X \(p & q\): PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,15 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := FALSE; | ||
next(p) := TRUE; | ||
|
||
VAR q : boolean; | ||
|
||
ASSIGN init(q) := FALSE; | ||
next(q) := TRUE; | ||
|
||
-- should pass | ||
LTLSPEC X (p & q) | ||
|
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,9 @@ | ||
CORE | ||
iff1.smv | ||
--buechi --bound 2 | ||
^\[.*\] X p <-> X q: PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,14 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := TRUE; | ||
next(p) := FALSE; | ||
|
||
VAR q : boolean; | ||
|
||
ASSIGN init(q) := TRUE; | ||
next(q) := FALSE; | ||
|
||
-- should pass | ||
LTLSPEC X p <-> X q |
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,9 @@ | ||
CORE | ||
iff2.smv | ||
--buechi --bound 2 | ||
^\[.*\] X \(p <-> q\): PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,14 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := TRUE; | ||
next(p) := FALSE; | ||
|
||
VAR q : boolean; | ||
|
||
ASSIGN init(q) := TRUE; | ||
next(q) := FALSE; | ||
|
||
-- should pass | ||
LTLSPEC X (p <-> q) |
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,9 @@ | ||
CORE | ||
implies1.smv | ||
--buechi --bound 2 | ||
^\[.*\] X p -> X q: PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,14 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := TRUE; | ||
next(p) := FALSE; | ||
|
||
VAR q : boolean; | ||
|
||
ASSIGN init(q) := TRUE; | ||
next(q) := FALSE; | ||
|
||
-- should pass | ||
LTLSPEC X p -> X q |
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,9 @@ | ||
CORE | ||
implies2.smv | ||
--buechi --bound 2 | ||
^\[.*\] X \(p -> q\): PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,14 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := TRUE; | ||
next(p) := FALSE; | ||
|
||
VAR q : boolean; | ||
|
||
ASSIGN init(q) := TRUE; | ||
next(q) := FALSE; | ||
|
||
-- should pass | ||
LTLSPEC X (p -> q) |
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,9 @@ | ||
CORE | ||
or1.smv | ||
--buechi --bound 2 | ||
^\[.*\] X p \| X q: PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,14 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := FALSE; | ||
next(p) := TRUE; | ||
|
||
VAR q : boolean; | ||
|
||
ASSIGN init(q) := TRUE; | ||
next(q) := FALSE; | ||
|
||
-- should pass | ||
LTLSPEC X p | X q |
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,9 @@ | ||
CORE | ||
or2.smv | ||
--buechi --bound 2 | ||
^\[.*\] X \(p \| q\): PROVED up to bound 2$ | ||
^EXIT=0$ | ||
^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,14 @@ | ||
MODULE main | ||
|
||
VAR p : boolean; | ||
|
||
ASSIGN init(p) := FALSE; | ||
next(p) := TRUE; | ||
|
||
VAR q : boolean; | ||
|
||
ASSIGN init(q) := TRUE; | ||
next(q) := FALSE; | ||
|
||
-- should pass | ||
LTLSPEC X (p | q) |
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ Author: Daniel Kroening, [email protected] | |
#include "bmc.h" | ||
|
||
#include <solvers/prop/literal_expr.h> | ||
#include <temporal-logic/ltl_to_buechi.h> | ||
#include <trans-word-level/trans_trace_word_level.h> | ||
#include <trans-word-level/unwind.h> | ||
|
||
|
@@ -20,6 +21,7 @@ Author: Daniel Kroening, [email protected] | |
void bmc( | ||
std::size_t bound, | ||
bool convert_only, | ||
bool buechi, | ||
const transition_systemt &transition_system, | ||
ebmc_propertiest &properties, | ||
const ebmc_solver_factoryt &solver_factory, | ||
|
@@ -46,6 +48,12 @@ void bmc( | |
if(property.is_disabled() || property.is_failure()) | ||
continue; | ||
|
||
// LTL/SVA to Buechi? | ||
if(buechi) | ||
{ | ||
auto buechi = ltl_to_buechi(property.normalized_expr); | ||
} | ||
|
||
// Is it supported by the BMC engine? | ||
if(!bmc_supports_property(property.normalized_expr)) | ||
{ | ||
|
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
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
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
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
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
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
Oops, something went wrong.