summaryrefslogtreecommitdiff
path: root/test/regress/regress0/rels/rel_tp_join_2.cvc
blob: a7b96b83bc7c5e0572ce39da53d81319675af341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% EXPECT: unsat
OPTION "logic" "ALL";
IntPair: TYPE = [INT, INT];
x : SET OF IntPair;
y : SET OF IntPair;
z : SET OF IntPair;
r : SET OF IntPair;

ASSERT (7, 1) IS_IN x;
ASSERT (2, 3) IS_IN x;
ASSERT (7, 3) IS_IN y;
ASSERT (4, 7) IS_IN y;
ASSERT (3, 4) IS_IN z;

a : IntPair;
ASSERT a = (4,1);
ASSERT r = ((TRANSPOSE(x) JOIN y) JOIN z);
ASSERT NOT (a IS_IN TRANSPOSE(r));
CHECKSAT;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback