Debian Codegraph @

test/regress/cli/regress1/arith/miplib3.cvc.smt2

raw
1 ; COMMAND-LINE: --miplib-trick
2 ; EXPECT: sat
3 (set-logic ALL)
4 (set-option :incremental false)
5 (declare-fun tmp1 () Int)
6 (declare-fun tmp2 () Int)
7 (declare-fun tmp3 () Int)
8 (declare-fun tmp4 () Int)
9 (declare-fun x () Bool)
10 (declare-fun y () Bool)
11 (declare-fun z () Bool)
12 (assert (=> (and (not x) (and (not y) true)) (= tmp1 0)))
13 (assert (=> (and x (and (not y) true)) (= tmp1 4)))
14 (assert (=> (and (not x) (and y true)) (= tmp1 6)))
15 (assert (=> (and x (and y true)) (= tmp1 10)))
16 (assert (=> (and (not x) (and (not z) true)) (= tmp2 0)))
17 (assert (=> (and x (and (not z) true)) (= tmp2 2)))
18 (assert (=> (and (not x) (and z true)) (= tmp2 9)))
19 (assert (=> (and x (and z true)) (= tmp2 11)))
20 (assert (=> (and (not y) (and (not z) true)) (= tmp3 0)))
21 (assert (=> (and y (and (not z) true)) (= tmp3 5)))
22 (assert (=> (and (not y) (and z true)) (= tmp3 16)))
23 (assert (=> (and y (and z true)) (= tmp3 21)))
24 (assert (=> (and (not x) (and (not y) true)) (= tmp4 0)))
25 (assert (=> (and x (and (not y) true)) (= tmp4 4)))
26 (assert (=> (and (not x) (and y true)) (= tmp4 6)))
27 (assert (=> (and x (and y true)) (= tmp4 10)))
28 (check-sat)