diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-09-12 13:43:02 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-09-12 13:43:02 -0500 |
commit | 442c809911bcc45ae45dc97650146c459a841ea3 (patch) | |
tree | 1a08cc6448314cc494d63414d8b47713afa5ebf0 /test/regress/regress0 | |
parent | 14fb8fac59e368a36e936a2d0497745eda72c637 (diff) |
Ensure sep.nil is unique per type at NodeManager level. Add simple symmetry breaking in theory sep.
Diffstat (limited to 'test/regress/regress0')
-rw-r--r-- | test/regress/regress0/sep/Makefile.am | 3 | ||||
-rw-r--r-- | test/regress/regress0/sep/dispose-1.smt2 | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/test/regress/regress0/sep/Makefile.am b/test/regress/regress0/sep/Makefile.am index 7bcd700bd..b43a9a570 100644 --- a/test/regress/regress0/sep/Makefile.am +++ b/test/regress/regress0/sep/Makefile.am @@ -57,7 +57,8 @@ TESTS = \ trees-1.smt2 \ wand-false.smt2 \ dup-nemp.smt2 \ - emp2-quant-unsat.smt2 + emp2-quant-unsat.smt2 \ + dispose-1.smt2 FAILING_TESTS = diff --git a/test/regress/regress0/sep/dispose-1.smt2 b/test/regress/regress0/sep/dispose-1.smt2 new file mode 100644 index 000000000..3c0e7df32 --- /dev/null +++ b/test/regress/regress0/sep/dispose-1.smt2 @@ -0,0 +1,17 @@ +(set-logic QF_ALL_SUPPORTED) +(set-info :status unsat) + +(declare-const w Int) +(declare-const w1 Int) +(declare-const w2 Int) + +;------- f ------- +(assert (= w1 (as sep.nil Int))) +(assert (= w2 (as sep.nil Int))) +;----------------- + +(assert (pto w (as sep.nil Int))) +(assert (not (and (sep (and (emp 0) (= w2 (as sep.nil Int))) (pto w w1)) (sep (pto w w2) true)))) + +(check-sat) +;(get-model) |