summaryrefslogtreecommitdiff
path: root/test/regress/regress0/arith/miplib2.cvc.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/arith/miplib2.cvc.smt2')
-rw-r--r--test/regress/regress0/arith/miplib2.cvc.smt224
1 files changed, 24 insertions, 0 deletions
diff --git a/test/regress/regress0/arith/miplib2.cvc.smt2 b/test/regress/regress0/arith/miplib2.cvc.smt2
new file mode 100644
index 000000000..e95385bb1
--- /dev/null
+++ b/test/regress/regress0/arith/miplib2.cvc.smt2
@@ -0,0 +1,24 @@
+; COMMAND-LINE: --miplib-trick
+; EXPECT: sat
+(set-logic ALL)
+(set-option :incremental false)
+(declare-fun tmp1 () Int)
+(declare-fun tmp2 () Int)
+(declare-fun tmp3 () Int)
+(declare-fun x () Bool)
+(declare-fun y () Bool)
+(declare-fun z () 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 10)))
+(assert (=> (and (not x) (and (not z) true)) (= tmp2 0)))
+(assert (=> (and x (and (not z) true)) (= tmp2 2)))
+(assert (=> (and (not x) (and z true)) (= tmp2 9)))
+(assert (=> (and x (and z true)) (= tmp2 11)))
+(assert (=> (and (not y) (and (not z) true)) (= tmp3 0)))
+(assert (=> (and y (and (not z) true)) (= tmp3 5)))
+(assert (=> (and (not y) (and z true)) (= tmp3 16)))
+(assert (=> (and y (and z true)) (= tmp3 21)))
+(assert x)
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback