aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-03-24 15:50:21 +0100
committerPierre-Marie Pédrot2017-04-27 15:15:42 +0200
commit051f2c1be929a46a0713b47b072bb5be0a7558d0 (patch)
tree9071a28a89d83bb6cffb82d0a3a3716b10a00e4f /kernel
parentbc6de5aa4e00dfc19c4866de4876f6213546fa5c (diff)
Fast path when checking equality of universe levels in UState.
We export the relevant level equality function in UGraph which is way faster than checking that each one is smaller than the other as universes.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/uGraph.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/uGraph.mli b/kernel/uGraph.mli
index e95cf4d1cb..ed52832fa4 100644
--- a/kernel/uGraph.mli
+++ b/kernel/uGraph.mli
@@ -17,6 +17,7 @@ type universes = t
type 'a check_function = universes -> 'a -> 'a -> bool
val check_leq : universe check_function
val check_eq : universe check_function
+val check_eq_level : universe_level check_function
(** The empty graph of universes *)
val empty_universes : universes