| 1 |
; COMMAND-LINE: --decision=justification |
| 2 |
; EXPECT: sat |
| 3 |
; EXPECT: sat |
| 4 |
; EXPECT: unsat |
| 5 |
; EXPECT: unsat |
| 6 |
; EXPECT: unsat |
| 7 |
(set-logic SAT) |
| 8 |
(set-option :incremental true) |
| 9 |
(declare-fun v1 () Bool) |
| 10 |
(declare-fun v2 () Bool) |
| 11 |
(declare-fun v3 () Bool) |
| 12 |
(declare-fun v4 () Bool) |
| 13 |
(declare-fun v5 () Bool) |
| 14 |
(declare-fun v6 () Bool) |
| 15 |
(declare-fun v7 () Bool) |
| 16 |
(declare-fun v8 () Bool) |
| 17 |
(check-sat) |
| 18 |
(assert (and (and v1 v2) (and (or true (and (or false v1) v1)) (or (and false v1) v3)))) |
| 19 |
(assert true) |
| 20 |
(assert (or (and (or (and (or v4 v4) false) v2) (and true (or (and v5 true) (and v6 v5)))) v2)) |
| 21 |
(assert v3) |
| 22 |
(check-sat) |
| 23 |
(assert false) |
| 24 |
(assert true) |
| 25 |
(assert (and (or (and v7 (and (and v2 v6) (and false v8))) (and (or (and v8 false) true) (and v6 true))) (and true v3))) |
| 26 |
(push) |
| 27 |
(assert v7) |
| 28 |
(check-sat) |
| 29 |
(assert true) |
| 30 |
(pop) |
| 31 |
(push) |
| 32 |
(check-sat) |
| 33 |
(check-sat) |