summaryrefslogtreecommitdiff
path: root/test/regress/regress0/arith/miplib4.cvc.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/arith/miplib4.cvc.smt2')
-rw-r--r--test/regress/regress0/arith/miplib4.cvc.smt213
1 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/regress0/arith/miplib4.cvc.smt2 b/test/regress/regress0/arith/miplib4.cvc.smt2
new file mode 100644
index 000000000..d669133d1
--- /dev/null
+++ b/test/regress/regress0/arith/miplib4.cvc.smt2
@@ -0,0 +1,13 @@
+; COMMAND-LINE: --miplib-trick
+; EXPECT: sat
+(set-logic ALL)
+(set-option :incremental false)
+(declare-fun tmp1 () Int)
+(declare-fun x () Bool)
+(declare-fun y () Bool)
+(assert (=> (and (not x) (and (not y) true)) (= tmp1 0)))
+(assert (=> (and x (and (not y) true)) (= tmp1 4)))
+(assert (=> (and (not x) (and y true)) (= tmp1 6)))
+(assert (=> (and x (and y true)) (= tmp1 12)))
+(assert (> tmp1 10))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback