| 1 |
; EXPECT: sat |
| 2 |
(set-option :incremental false) |
| 3 |
(set-option :sets-exp true) |
| 4 |
(set-logic ALL) |
| 5 |
(declare-sort Atom 0) |
| 6 |
|
| 7 |
(declare-fun x () (Relation Atom Atom)) |
| 8 |
(declare-fun t () (Relation Atom)) |
| 9 |
(declare-fun univ () (Relation Atom)) |
| 10 |
(declare-fun univ2 () (Relation Atom Atom)) |
| 11 |
(declare-fun a () Atom) |
| 12 |
(declare-fun b () Atom) |
| 13 |
(declare-fun c () Atom) |
| 14 |
(declare-fun d () Atom) |
| 15 |
(assert (= univ (as set.universe (Relation Atom)))) |
| 16 |
(assert (= univ2 (as set.universe (Relation Atom Atom)))) |
| 17 |
(assert (= univ2 (rel.product univ univ))) |
| 18 |
(assert (set.member (tuple a b) x)) |
| 19 |
(assert (set.member (tuple c d) x)) |
| 20 |
(assert (not (= a b))) |
| 21 |
(assert (set.subset (rel.iden univ) x)) |
| 22 |
(check-sat) |