aboutsummaryrefslogtreecommitdiffstats
path: root/lib/constraint.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/constraint.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/constraint.ml b/lib/constraint.ml
new file mode 100644
index 0000000..f6164b2
--- /dev/null
+++ b/lib/constraint.ml
@@ -0,0 +1,8 @@
+type relation_name = string
+type t =
+ | MemberOf of relation_name
+ | Not of t * relation_name option
+ | And of t list
+ | Or of t list
+ | Exists of {variable: string; quantifier: relation_name; constraint': t}
+ | Forall of {variable: string; quantifier: relation_name; constraint': t}