| 1 |
; EXPECT: sat |
| 2 |
(set-option :incremental false) |
| 3 |
(set-logic ALL) |
| 4 |
(set-option :sets-exp true) |
| 5 |
(declare-sort Atom 0) |
| 6 |
(declare-fun x () (Relation Atom Atom)) |
| 7 |
(declare-fun y () (Relation Atom Atom)) |
| 8 |
(declare-fun r () (Relation Atom Atom)) |
| 9 |
(declare-fun t () (Relation Atom)) |
| 10 |
(declare-fun a () Atom) |
| 11 |
(declare-fun b () Atom) |
| 12 |
(declare-fun c () Atom) |
| 13 |
(declare-fun d () Atom) |
| 14 |
(declare-fun e () Atom) |
| 15 |
(assert (set.member (tuple a) (rel.join_image x 2))) |
| 16 |
(assert (= t (rel.join_image x 2))) |
| 17 |
(assert (= x (set.union (set.union (set.singleton (tuple b c)) (set.singleton (tuple d e))) (set.singleton (tuple c e))))) |
| 18 |
(assert (set.member (tuple c) t)) |
| 19 |
(check-sat) |