test/regress/cli/regress1/abduction/arjun-unsat-core-opt.smt2
raw| 1 | ; COMMAND-LINE: -i |
| 2 | ; SCRUBBER: grep -v -E '(\(define-fun)' |
| 3 | ; EXIT: 0 |
| 4 | |
| 5 | (set-option :produce-models true) |
| 6 | (set-option :global-declarations true) |
| 7 | (set-option :produce-unsat-cores true) |
| 8 | (set-option :produce-abducts true) |
| 9 | (set-logic ALL) |
| 10 | (push 1) |
| 11 | (declare-fun y () Int) |
| 12 | (define-fun x!0 () Bool (<= 0 y)) |
| 13 | (assert x!0) |
| 14 | (declare-fun x () Int) |
| 15 | (declare-fun z () Int) |
| 16 | (define-fun x!1 () Int (+ z y x)) |
| 17 | (define-fun x!2 () Bool (<= 0 x!1)) |
| 18 | (get-abduct abd x!2) |