| 1 |
; COMMAND-LINE: --relational-triggers |
| 2 |
; EXPECT: unsat |
| 3 |
(set-logic ALL) |
| 4 |
(set-info :status unsat) |
| 5 |
|
| 6 |
(declare-sort U 0) |
| 7 |
|
| 8 |
(declare-const k U) |
| 9 |
(declare-const ff U) |
| 10 |
(declare-const ffk U) |
| 11 |
(declare-fun fun1 (Int) Int) |
| 12 |
(declare-fun fun2 (Int) Int) |
| 13 |
(declare-fun c (U U) U) |
| 14 |
(declare-fun app (U Int) Int) |
| 15 |
|
| 16 |
(assert (forall ((f U) (g U)) (=> (forall ((x Int)) (= (app f x) (app g x))) (= f g)) )) |
| 17 |
|
| 18 |
(assert (forall ((x Int)) (= (app ff x) (+ (fun1 x) (fun2 x))))) |
| 19 |
(assert (forall ((x Int)) (= (app ffk x) (+ (fun1 (app k x)) (fun2 (app k x)))))) |
| 20 |
|
| 21 |
(assert (forall ((f U) (g U) (x Int)) (= (app (c f g) x) (app f (app g x))))) |
| 22 |
|
| 23 |
(assert (not (= (c ff k) ffk))) |
| 24 |
|
| 25 |
(check-sat) |
| 26 |
|