summaryrefslogtreecommitdiff
path: root/test/regress/regress1/rels/joinImg_2.cvc
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/rels/joinImg_2.cvc')
-rw-r--r--test/regress/regress1/rels/joinImg_2.cvc34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/regress/regress1/rels/joinImg_2.cvc b/test/regress/regress1/rels/joinImg_2.cvc
new file mode 100644
index 000000000..a4acfe6c6
--- /dev/null
+++ b/test/regress/regress1/rels/joinImg_2.cvc
@@ -0,0 +1,34 @@
+% EXPECT: unsat
+OPTION "logic" "ALL_SUPPORTED";
+OPTION "sets-ext";
+Atom: TYPE;
+x : SET OF [Atom, Atom];
+y : SET OF [Atom, Atom];
+r : SET OF [Atom, Atom];
+
+t : SET OF [Atom];
+
+a : Atom;
+b : Atom;
+c : Atom;
+d : Atom;
+e : Atom;
+f : Atom;
+g : Atom;
+
+ASSERT TUPLE(a) IS_IN (x JOIN_IMAGE 2);
+ASSERT TUPLE(a) IS_IN (y JOIN_IMAGE 3);
+%ASSERT y = {(f, g), (b, c), (d, e), (c, e)};
+ASSERT x = {(f, g), (b, c), (d, e), (c, e), (f, b)};
+ASSERT (a, f) IS_IN x;
+ASSERT (a, f) IS_IN y;
+ASSERT x = y;
+
+
+
+ASSERT NOT(a = b);
+
+ASSERT NOT (TUPLE(d) IS_IN (x JOIN_IMAGE 2));
+ASSERT f = d;
+
+CHECKSAT;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback