blob: b76b48f2d0c1b70f54cf0162ca1bf660c8e40630 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
; EXIT: 1
; EXPECT: (error "Extended set operators are not supported in default mode, try --sets-ext.")
(set-logic ALL)
(set-option :incremental true)
(set-option :produce-models true)
(declare-fun x () (Set Bool))
(declare-fun y () (Set Bool))
(declare-fun z () (Set Bool))
(assert (= x (singleton true)))
(assert (= y (singleton false)))
(push 1)
(assert (= z (complement y)))
(check-sat)
(pop 1)
(get-model)
|