Debian Codegraph @

test/regress/cli/regress0/arith/miplib.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 x () Bool)
9 (declare-fun y () Bool)
10 (declare-fun z () Bool)
11 (assert (=> (and (not x) (and (not y) true)) (= tmp1 0)))
12 (assert (=> (and x (and (not y) true)) (= tmp1 4)))
13 (assert (=> (and (not x) (and y true)) (= tmp1 6)))
14 (assert (=> (and x (and y true)) (= tmp1 10)))
15 (assert (=> (and (not x) (and (not z) true)) (= tmp2 0)))
16 (assert (=> (and x (and (not z) true)) (= tmp2 2)))
17 (assert (=> (and (not x) (and z true)) (= tmp2 9)))
18 (assert (=> (and x (and z true)) (= tmp2 11)))
19 (assert (=> (and (not y) (and (not z) true)) (= tmp3 0)))
20 (assert (=> (and y (and (not z) true)) (= tmp3 5)))
21 (assert (=> (and (not y) (and z true)) (= tmp3 16)))
22 (assert (=> (and y (and z true)) (= tmp3 21)))
23 (check-sat)