| 1 |
; COMMAND-LINE: --incremental |
| 2 |
; EXPECT: unsat |
| 3 |
; EXPECT: unsat |
| 4 |
; EXPECT: unsat |
| 5 |
;; define-const is not supported in Alethe |
| 6 |
; DISABLE-TESTER: alethe |
| 7 |
(set-logic UF) |
| 8 |
(set-option :global-declarations true) |
| 9 |
|
| 10 |
(push) |
| 11 |
(define-const a Bool true) |
| 12 |
(define-fun f ((b Bool)) Bool b) |
| 13 |
(define-const a2 Bool true) |
| 14 |
|
| 15 |
(define-fun a3 () Bool true) |
| 16 |
|
| 17 |
(define-fun-rec b () Bool true) |
| 18 |
(define-funs-rec ((g ((b Bool)) Bool)) (b)) |
| 19 |
(assert (or (not a) (not a2) (not a3) (not b) (g false))) |
| 20 |
(check-sat) |
| 21 |
(pop) |
| 22 |
|
| 23 |
(assert (or (not a) (not a2) (not a3) (not b) (g false))) |
| 24 |
(check-sat) |
| 25 |
|
| 26 |
(reset-assertions) |
| 27 |
|
| 28 |
(assert (or (not a) (not a2) (not a3) (not b) (g false))) |
| 29 |
(check-sat) |