test/regress/cli/regress0/proofs/no-proof-uc.smt2
raw| 1 | ; DISABLE-TESTER: dump |
| 2 | ; DISABLE-TESTER: proof |
| 3 | ; COMMAND-LINE: --check-unsat-cores |
| 4 | ; EXPECT: unsat |
| 5 | ; EXPECT: (error "Cannot get a proof for this component when SAT solver is not proof producing.") |
| 6 | ; EXIT: 1 |
| 7 | (set-logic ALL) |
| 8 | (declare-const x Int) |
| 9 | (declare-const y Int) |
| 10 | (assert (<= 0 x)) |
| 11 | (assert (<= 0 y)) |
| 12 | (assert (< x 2)) |
| 13 | (assert (< y 2)) |
| 14 | (assert (not (< (* x y) 2))) |
| 15 | (check-sat) |
| 16 | (get-proof :sat) |