| 1 |
; COMMAND-LINE: --produce-unsat-cores -o unsat-core-benchmark |
| 2 |
; EXPECT: unsat |
| 3 |
; EXPECT: ;; unsat core |
| 4 |
; EXPECT: (set-logic ALL) |
| 5 |
; EXPECT: (declare-fun x () Int) |
| 6 |
; EXPECT: (assert (and (> x 2) (< x 0))) |
| 7 |
; EXPECT: (check-sat) |
| 8 |
; EXPECT: ;; end unsat core |
| 9 |
; EXPECT: ( |
| 10 |
; EXPECT: x20 |
| 11 |
; EXPECT: ) |
| 12 |
(set-logic ALL) |
| 13 |
(set-option :produce-unsat-cores true) |
| 14 |
(declare-fun x () Int) |
| 15 |
(declare-fun y () Int) |
| 16 |
(assert (! (and (> x 2) (< x 0)) :named x20)) |
| 17 |
(assert (! (< y 0) :named y0)) |
| 18 |
(check-sat) |
| 19 |
(get-unsat-core) |