summaryrefslogtreecommitdiff
path: root/test/regress/regress0/push-pop
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-09-28 16:18:32 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-09-28 16:18:32 +0200
commitef7b7bba7bc9b207d5a2198518f21b13490caa32 (patch)
tree43867e7dcab54bd77bc07167e096cc518b0be035 /test/regress/regress0/push-pop
parent187e5d57adeda59c8899321c882db1d5b9a6f2ba (diff)
Improve quantifiers engine wrt incremental presolve. Add regressions.
Diffstat (limited to 'test/regress/regress0/push-pop')
-rw-r--r--test/regress/regress0/push-pop/Makefile.am3
-rw-r--r--test/regress/regress0/push-pop/inc-double-u.smt216
2 files changed, 18 insertions, 1 deletions
diff --git a/test/regress/regress0/push-pop/Makefile.am b/test/regress/regress0/push-pop/Makefile.am
index 649cbee90..6d50cc39f 100644
--- a/test/regress/regress0/push-pop/Makefile.am
+++ b/test/regress/regress0/push-pop/Makefile.am
@@ -42,7 +42,8 @@ BUG_TESTS = \
quant-fun-proc-unfd.smt2 \
bug654-dd.smt2 \
bug-fmf-fun-skolem.smt2 \
- bug674.smt2
+ bug674.smt2 \
+ inc-double-u.smt2
TESTS = $(SMT_TESTS) $(SMT2_TESTS) $(CVC_TESTS) $(BUG_TESTS)
diff --git a/test/regress/regress0/push-pop/inc-double-u.smt2 b/test/regress/regress0/push-pop/inc-double-u.smt2
new file mode 100644
index 000000000..a01643df3
--- /dev/null
+++ b/test/regress/regress0/push-pop/inc-double-u.smt2
@@ -0,0 +1,16 @@
+; COMMAND-LINE: --incremental
+(set-logic UFLIA)
+(declare-fun P (Int) Bool)
+(declare-fun R (Int) Bool)
+(assert (forall ((x Int)) (=> (R x) (not (P x)))))
+; EXPECT: unknown
+(check-sat)
+(assert (R 0))
+; EXPECT: unknown
+(check-sat)
+(assert (forall ((x Int)) (P x)))
+; EXPECT: unsat
+(check-sat)
+(push 1)
+; EXPECT: unsat
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback