summaryrefslogtreecommitdiff
path: root/test/regress/regress0/rels/rel_complex_0.cvc.smt2
blob: f7705987db4b5d492b5e951b307143ed2b6ecd1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; EXPECT: unsat
(set-option :incremental false)
(set-logic ALL)

(declare-fun x () (Set (Tuple Int Int)))
(declare-fun y () (Set (Tuple Int Int)))
(declare-fun r () (Set (Tuple Int Int)))
(declare-fun z () (Set Int))
(declare-fun f () Int)
(declare-fun g () Int)
(declare-fun e () (Tuple Int Int))
(assert (= e (mkTuple 4 f)))
(assert (member e x))
(declare-fun d () (Tuple Int Int))
(assert (= d (mkTuple g 3)))
(assert (member d y))
(assert (= z (union (singleton f) (singleton g))))
(assert (= 0 (- f g)))
(declare-fun a () (Tuple Int Int))
(assert (= a (mkTuple 4 3)))
(assert (= r (join x y)))
(assert (not (member a r)))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback