test/regress/cli/regress0/proofs/tricky-sat-assumption-incremental-bookeeping.smt2
raw| 1 | ; COMMAND-LINE: -i --proof-check=eager |
| 2 | ; EXPECT: sat |
| 3 | ; EXPECT: unsat |
| 4 | (set-logic QF_UFLIA) |
| 5 | (declare-fun x (Int) Bool) |
| 6 | (declare-fun y (Int) Bool) |
| 7 | (declare-fun z (Int) Int) |
| 8 | (declare-fun _z (Int) Int) |
| 9 | (assert (= (x 0) (not (y 0)))) |
| 10 | (assert (= (y 0) (> 0 (z 0)))) |
| 11 | (assert (= (z 0) (_z 0))) |
| 12 | (assert (= 0 (_z 0))) |
| 13 | (push) |
| 14 | (check-sat) |
| 15 | (pop) |
| 16 | (assert (not (x 0))) |
| 17 | (check-sat) |