test/regress/cli/regress0/ho/match-middle.smt2
raw| 1 | ; EXPECT: unsat |
| 2 | (set-logic HO_UFLIA) |
| 3 | (set-info :status unsat) |
| 4 | (declare-fun f (Int Int Int) Int) |
| 5 | (declare-fun h (Int Int Int) Int) |
| 6 | (declare-fun g (Int Int) Int) |
| 7 | (declare-fun a () Int) |
| 8 | (declare-fun b () Int) |
| 9 | (declare-fun c () Int) |
| 10 | (declare-fun d () Int) |
| 11 | |
| 12 | (assert (or (= (f a) g) (= (h a) g))) |
| 13 | |
| 14 | (assert (= (f a b d) c)) |
| 15 | (assert (= (h a b d) c)) |
| 16 | |
| 17 | (assert (forall ((x Int) (y Int)) (not (= (g x y) c)))) |
| 18 | |
| 19 | (check-sat) |