test/regress/cli/regress1/sets/univ-semantics.smt2
raw| 1 | (set-logic ALL) |
| 2 | (set-info :status sat) |
| 3 | (set-option :sets-exp true) |
| 4 | (declare-fun x () Int) |
| 5 | (declare-fun y () (Set Int)) |
| 6 | (declare-fun P ((Set Int)) Bool) |
| 7 | (assert (= y (as set.universe (Set Int)))) |
| 8 | ; note that (set.singleton 1) appears in the problem but not in the universe |
| 9 | ; set, since no set variable contains the element 1. |
| 10 | (assert (P (set.singleton 1))) |
| 11 | (assert (= (set.inter (as set.universe (Set Int)) (set.singleton 1)) (as set.empty (Set Int)))) |
| 12 | (check-sat) |