test/regress/cli/regress0/sets/union-1a.smt2
raw| 1 | ; COMMAND-LINE: --incremental |
| 2 | ; EXPECT: unsat |
| 3 | ; EXPECT: sat |
| 4 | |
| 5 | ; x not in A U B => x not in A |
| 6 | (set-logic ALL) |
| 7 | (define-sort SetInt () (Set Int)) |
| 8 | (declare-fun A () (Set Int)) |
| 9 | (declare-fun B () (Set Int)) |
| 10 | (declare-fun x () Int) |
| 11 | (assert (not (set.member x (set.union A B)))) |
| 12 | (push 1) |
| 13 | (assert (set.member x A)) |
| 14 | (check-sat) |
| 15 | (pop 1) |
| 16 | (check-sat) |