summaryrefslogtreecommitdiff
path: root/omegalib/examples/old_test/closure4
diff options
context:
space:
mode:
Diffstat (limited to 'omegalib/examples/old_test/closure4')
-rw-r--r--omegalib/examples/old_test/closure48
1 files changed, 8 insertions, 0 deletions
diff --git a/omegalib/examples/old_test/closure4 b/omegalib/examples/old_test/closure4
new file mode 100644
index 0000000..e5adb13
--- /dev/null
+++ b/omegalib/examples/old_test/closure4
@@ -0,0 +1,8 @@
+symbolic n,m;
+R1 := {[x,y] -> [x,y+1] : 1 <= x,y <= 10};
+R2 := {[x,y] -> [x+1,y] : 1 <= x <= 20 && 5 <= y <= 15};
+R12 := R1 union R2;
+R12c := R12+;
+R12c;
+(R12c compose R12c) - R12c;
+(R12c compose R12) - R12c;