| 1 |
(set-logic ALL) |
| 2 |
(set-info :status sat) |
| 3 |
(declare-fun A () (Bag Int)) |
| 4 |
(declare-fun B () (Bag Int)) |
| 5 |
(declare-fun C () (Bag Int)) |
| 6 |
(declare-fun D () (Set Int)) |
| 7 |
(declare-fun E () (Set Int)) |
| 8 |
(declare-fun F () (Set Int)) |
| 9 |
|
| 10 |
(assert (and |
| 11 |
(= (bag.union_max A B C) (bag.union_max (bag.union_max A B) C)) |
| 12 |
(= (bag.union_disjoint A B C) (bag.union_disjoint (bag.union_disjoint A B) C)) |
| 13 |
(= (bag.difference_subtract A B C) (bag.difference_subtract (bag.difference_subtract A B) C)) |
| 14 |
(= (set.inter D E F) (set.inter (set.inter D E) F)) |
| 15 |
(= (set.union D E F) (set.union (set.union D E) F)) |
| 16 |
(= (set.minus D E F) (set.minus (set.minus D E) F)) |
| 17 |
)) |
| 18 |
|
| 19 |
(check-sat) |