aboutsummaryrefslogtreecommitdiff
path: root/kernel/uGraph.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-10-09 11:42:21 +0200
committerPierre-Marie Pédrot2020-10-09 11:42:21 +0200
commitcc3ef68a475140bf7d3ca7a2fd3bc593508eb42c (patch)
treef7e5671ab8228b8e73fe34e289076ba9dc801f55 /kernel/uGraph.mli
parent022632c074205bbe9fa3f992782e948c12cb7384 (diff)
parent316592a31b463568f5136757c3570eaa8e1f0167 (diff)
Merge PR #13087: Put type-in-type flag in ugraph.
Reviewed-by: ppedrot
Diffstat (limited to 'kernel/uGraph.mli')
-rw-r--r--kernel/uGraph.mli12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/uGraph.mli b/kernel/uGraph.mli
index c9fbd7f694..87b3634e28 100644
--- a/kernel/uGraph.mli
+++ b/kernel/uGraph.mli
@@ -16,6 +16,15 @@ type t
val set_cumulative_sprop : bool -> t -> t
(** Makes the system incomplete. *)
+val set_type_in_type : bool -> t -> t
+
+(** When [type_in_type], functions adding constraints do not fail and
+ may instead ignore inconsistent constraints.
+
+ Checking functions such as [check_leq] always return [true].
+*)
+val type_in_type : t -> bool
+
type 'a check_function = t -> 'a -> 'a -> bool
val check_leq : Universe.t check_function
@@ -25,6 +34,9 @@ val check_eq_level : Level.t check_function
(** The initial graph of universes: Prop < Set *)
val initial_universes : t
+(** Initial universes, but keeping options such as type in type from the argument. *)
+val initial_universes_with : t -> t
+
(** Check equality of instances w.r.t. a universe graph *)
val check_eq_instances : Instance.t check_function