test/regress/cli/regress0/ho/lazy-lambda-model.smt2
raw| 1 | ; COMMAND-LINE: --uf-lazy-ll |
| 2 | ; EXPECT: sat |
| 3 | (set-logic HO_ALL) |
| 4 | (declare-fun g (Int) Int) |
| 5 | (declare-fun h (Int) Int) |
| 6 | (define-fun f ((x Int)) Int (ite (> x 0) (* 2 x) x)) |
| 7 | |
| 8 | (declare-fun a () Int) |
| 9 | (declare-fun b () Int) |
| 10 | |
| 11 | |
| 12 | (assert (or (= f g) (= f h))) |
| 13 | |
| 14 | (assert (and (= (h a) 26) (= (g b) 26))) |
| 15 | |
| 16 | (check-sat) |