summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sets/comp-intersect.smt2
blob: ab3206343ed70e8f7b0e333de46321145b9a36fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; COMMAND-LINE: --sets-ext
; EXPECT: unsat
(set-logic ALL)
(set-info :status unsat)

(declare-fun x () (Set Int))
(declare-fun y () (Set Int))

(assert (= x (comprehension ((z Int)) (> z 4) (* 5 z))))
(assert (= y (comprehension ((z Int)) (< z 10) (+ (* 5 z) 1))))

(assert (not (= (intersection x y) (as emptyset (Set Int)))))

(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback