Skip to content

Commit

Permalink
Merge pull request #479 from diffblue/smv-property-pretty-name
Browse files Browse the repository at this point in the history
SMV frontend: strip `main::` from property pretty names
  • Loading branch information
tautschnig authored May 3, 2024
2 parents 8561461 + fde07ab commit d20c7c8
Show file tree
Hide file tree
Showing 40 changed files with 74 additions and 70 deletions.
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/AF1.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
AF1.smv
--bdd
^\[main::spec1\] AF some_var = TRUE: REFUTED$
^\[main::spec2\] AF some_var = FALSE: PROVED$
^\[spec1\] AF some_var = TRUE: REFUTED$
^\[spec2\] AF some_var = FALSE: PROVED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/AF2.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
AF2.smv
--bdd
^\[main::spec1\] AF some_var = TRUE: REFUTED$
^\[main::spec2\] AF some_var = FALSE: PROVED$
^\[spec1\] AF some_var = TRUE: REFUTED$
^\[spec2\] AF some_var = FALSE: PROVED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/AG1.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
AG1.smv
--bdd
^\[main::spec1\] AG some_var = TRUE: REFUTED$
^\[main::spec2\] AG some_var = FALSE: PROVED$
^\[spec1\] AG some_var = TRUE: REFUTED$
^\[spec2\] AG some_var = FALSE: PROVED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/AG2.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
AG2.smv
--bdd
^\[main::spec1\] AG some_var = TRUE: REFUTED$
^\[main::spec2\] AG some_var = FALSE: REFUTED$
^\[spec1\] AG some_var = TRUE: REFUTED$
^\[spec2\] AG some_var = FALSE: REFUTED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/AX1.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
AX1.smv
--bdd
^\[main::spec1\] AX some_var = TRUE: REFUTED$
^\[main::spec2\] AX some_var = FALSE: PROVED$
^\[spec1\] AX some_var = TRUE: REFUTED$
^\[spec2\] AX some_var = FALSE: PROVED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
2 changes: 1 addition & 1 deletion regression/ebmc/BDD/BDD1.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ BDD1.smv
--bdd
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] AG \(!some_var = off\): PROVED$
^\[spec1\] AG \(!some_var = off\): PROVED$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/BDD/BDD4.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ BDD4.smv
--bdd
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] AG .*: REFUTED$
^\[spec1\] AG .*: REFUTED$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/BDD/BDD5.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ BDD5.smv
--bdd
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] AG .*: PROVED$
^\[spec1\] AG .*: PROVED$
--
^warning: ignoring
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/EF1.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
EF1.smv
--bdd
^\[main::spec1\] EF some_var = TRUE: REFUTED$
^\[main::spec2\] EF some_var = FALSE: PROVED$
^\[spec1\] EF some_var = TRUE: REFUTED$
^\[spec2\] EF some_var = FALSE: PROVED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/EF2.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
EF2.smv
--bdd
^\[main::spec1\] EF some_var = TRUE: REFUTED$
^\[main::spec2\] EF some_var = FALSE: PROVED$
^\[spec1\] EF some_var = TRUE: REFUTED$
^\[spec2\] EF some_var = FALSE: PROVED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/EG1.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
EG1.smv
--bdd
^\[main::spec1\] EG some_var = TRUE: REFUTED$
^\[main::spec2\] EG some_var = FALSE: PROVED$
^\[spec1\] EG some_var = TRUE: REFUTED$
^\[spec2\] EG some_var = FALSE: PROVED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/EG2.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
EG2.smv
--bdd
^\[main::spec1\] EG some_var = TRUE: REFUTED$
^\[main::spec2\] EG some_var = FALSE: REFUTED$
^\[spec1\] EG some_var = TRUE: REFUTED$
^\[spec2\] EG some_var = FALSE: REFUTED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/EX1.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
EX1.smv
--bdd
^\[main::spec1\] EX some_var = TRUE: REFUTED$
^\[main::spec2\] EX some_var = FALSE: PROVED$
^\[spec1\] EX some_var = TRUE: REFUTED$
^\[spec2\] EX some_var = FALSE: PROVED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/EX2.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
EX2.smv
--bdd
^\[main::spec1\] EX some_var = TRUE: REFUTED$
^\[main::spec2\] EX some_var = FALSE: PROVED$
^\[spec1\] EX some_var = TRUE: REFUTED$
^\[spec2\] EX some_var = FALSE: PROVED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
2 changes: 1 addition & 1 deletion regression/ebmc/BDD/GF1.desc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CORE
GF1.smv
--bdd
^\[main::spec1\] G F some_var: REFUTED$
^\[spec1\] G F some_var: REFUTED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/BDD/just_p.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
just_p.smv
--bdd
^\[main::spec1\] some_var = TRUE: REFUTED$
^\[main::spec2\] some_var = FALSE: PROVED$
^\[spec1\] some_var = TRUE: REFUTED$
^\[spec2\] some_var = FALSE: PROVED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
6 changes: 3 additions & 3 deletions regression/ebmc/Properties1/test.desc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
CORE broken-smt-backend
main.smv
--bound 10 --property main::spec2
--bound 10 --property spec2
^EXIT=0$
^SIGNAL=0$
^\[main::spec2\] .* PROVED up to bound 10$
^\[spec2\] .* PROVED up to bound 10$
--
^warning: ignoring
$\[main::spec1\] .*$
$\[spec1\] .*$
16 changes: 8 additions & 8 deletions regression/ebmc/elbtunnel/test.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ elbtunnel.aig.smv
--bound 12
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] .* REFUTED$
^\[main::spec2\] .* PROVED up to bound 12$
^\[main::spec3\] .* REFUTED$
^\[main::spec4\] .* REFUTED$
^\[main::spec5\] .* PROVED up to bound 12$
^\[main::spec6\] .* PROVED up to bound 12$
^\[main::spec7\] .* REFUTED$
^\[main::spec8\] .* REFUTED$
^\[spec1\] .* REFUTED$
^\[spec2\] .* PROVED up to bound 12$
^\[spec3\] .* REFUTED$
^\[spec4\] .* REFUTED$
^\[spec5\] .* PROVED up to bound 12$
^\[spec6\] .* PROVED up to bound 12$
^\[spec7\] .* REFUTED$
^\[spec8\] .* REFUTED$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/range_type/range_type1.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ range_type1.smv
--bound 10
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] AG x != 4: PROVED up to bound 10$
^\[spec1\] AG x != 4: PROVED up to bound 10$
--
^warning: ignoring
4 changes: 2 additions & 2 deletions regression/ebmc/range_type/range_type2.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ range_type2.smv
--bound 10
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] AG TRUE: PROVED up to bound 10$
^\[main::spec2\] AG NET_tmp9: PROVED up to bound 10$
^\[spec1\] AG TRUE: PROVED up to bound 10$
^\[spec2\] AG NET_tmp9: PROVED up to bound 10$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/range_type/range_type3.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ range_type3.smv
--bound 10 --trace
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] .* REFUTED$
^\[spec1\] .* REFUTED$
^Counterexample:$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/range_type/range_type4.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ range_type4.smv
--bound 10
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] AG \(!x = 6\): PROVED up to bound 10$
^\[spec1\] AG \(!x = 6\): PROVED up to bound 10$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/range_type/range_type5.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ range_type5.smv
--bound 3
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] AG \(!x = 6\): PROVED up to bound 3$
^\[spec1\] AG \(!x = 6\): PROVED up to bound 3$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/small-test1/test.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ main.smv
--bound 10 --trace
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] AG x = 1: REFUTED$
^\[spec1\] AG x = 1: REFUTED$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/small-test2/test.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ main.smv
--bound 2
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] AG z: REFUTED$
^\[spec1\] AG z: REFUTED$
--
^warning: ignoring
4 changes: 2 additions & 2 deletions regression/ebmc/smv/bdd_unsupported_property.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bdd_unsupported_property.smv
--bdd
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] !G x = FALSE: FAILURE: property not supported by BDD engine$
^\[main::spec2\] G x = FALSE: REFUTED$
^\[spec1\] !G x = FALSE: FAILURE: property not supported by BDD engine$
^\[spec2\] G x = FALSE: REFUTED$
--
^warning: ignoring
4 changes: 2 additions & 2 deletions regression/ebmc/smv/bmc_unsupported_property1.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bmc_unsupported_property1.smv

^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] EG x = FALSE: FAILURE: property not supported by BMC engine$
^\[main::spec2\] G x = FALSE: REFUTED$
^\[spec1\] EG x = FALSE: FAILURE: property not supported by BMC engine$
^\[spec2\] G x = FALSE: REFUTED$
--
^warning: ignoring
4 changes: 2 additions & 2 deletions regression/ebmc/smv/bmc_unsupported_property2.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bmc_unsupported_property2.smv

^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] EG x = FALSE: FAILURE: property not supported by BMC engine$
^\[main::spec2\] G x = TRUE: PROVED up to bound 1$
^\[spec1\] EG x = FALSE: FAILURE: property not supported by BMC engine$
^\[spec2\] G x = TRUE: PROVED up to bound 1$
--
^warning: ignoring
4 changes: 2 additions & 2 deletions regression/ebmc/smv/bmc_unsupported_property3.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bmc_unsupported_property3.smv
--aig
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] !G x = FALSE: FAILURE: property not supported by netlist BMC engine$
^\[main::spec2\] G x = FALSE: REFUTED$
^\[spec1\] !G x = FALSE: FAILURE: property not supported by netlist BMC engine$
^\[spec2\] G x = FALSE: REFUTED$
--
^warning: ignoring
4 changes: 2 additions & 2 deletions regression/ebmc/smv/initial1.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
initial1.smv
--bound 0
^\[main::spec1\] tmp1 = TRUE: PROVED up to bound 0$
^\[main::spec2\] tmp2 = TRUE: REFUTED$
^\[spec1\] tmp1 = TRUE: PROVED up to bound 0$
^\[spec2\] tmp2 = TRUE: REFUTED$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
2 changes: 1 addition & 1 deletion regression/ebmc/smv/smv1.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ smv1.smv
--bdd
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] .* PROVED$
^\[spec1\] .* PROVED$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/smv/smv2.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ smv2.smv
--module main --bound 2 --k-induction
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] .* PROVED$
^\[spec1\] .* PROVED$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/smv/smv3.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ smv3.smv
--module main --bound 2 --k-induction
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] .* PROVED$
^\[spec1\] .* PROVED$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/smv/smv_ltlspec1.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ smv_ltlspec1.smv
--bdd
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] G x != 0: PROVED$
^\[spec1\] G x != 0: PROVED$
--
^warning: ignoring
2 changes: 1 addition & 1 deletion regression/ebmc/smv/smv_ltlspec2.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ smv_ltlspec2.smv
--bdd
^EXIT=0$
^SIGNAL=0$
^\[main::spec1\] G F x = 3: PROVED$
^\[spec1\] G F x = 3: PROVED$
--
^warning: ignoring
--
2 changes: 1 addition & 1 deletion regression/ebmc/smv/smv_ltlspec3.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ smv_ltlspec3.smv
--bound 10 --numbered-trace
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] X X x = TRUE: REFUTED$
^\[spec1\] X X x = TRUE: REFUTED$
^Counterexample with 3 states:$
^x@0 = FALSE$
^x@1 = FALSE$
Expand Down
4 changes: 2 additions & 2 deletions regression/ebmc/smv/smv_ltlspec4.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ smv_ltlspec4.smv
--bound 10 --numbered-trace
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] F x = 0: REFUTED$
^\[spec1\] F x = 0: REFUTED$
^Counterexample with 3 states:$
^x@0 = 1$
^x@1 = 2$
^x@2 = 2$
^\[main::spec2\] F x = 2: PROVED up to bound 10$
^\[spec2\] F x = 2: PROVED up to bound 10$
--
^warning: ignoring
--
2 changes: 1 addition & 1 deletion regression/ebmc/traces/numbered1.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ waveform1.smv
--bound 20 --numbered-trace
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] .* REFUTED$
^\[spec1\] .* REFUTED$
^Counterexample with 21 states:$
^y@0 = 0$
^y@10 = 100$
Expand Down
2 changes: 1 addition & 1 deletion regression/ebmc/traces/waveform1.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ waveform1.smv
--bound 20 --waveform
^EXIT=10$
^SIGNAL=0$
^\[main::spec1\] .* REFUTED$
^\[spec1\] .* REFUTED$
^Counterexample:$
^ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20$
^x 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20$
Expand Down
Loading

0 comments on commit d20c7c8

Please sign in to comment.