aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/indtypes.ml
diff options
context:
space:
mode:
Diffstat (limited to 'checker/indtypes.ml')
-rw-r--r--checker/indtypes.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/checker/indtypes.ml b/checker/indtypes.ml
index bfc20d7f8..14710c10b 100644
--- a/checker/indtypes.ml
+++ b/checker/indtypes.ml
@@ -9,7 +9,6 @@
open Errors
open Util
open Names
-open Univ
open Cic
open Term
open Inductive
@@ -183,7 +182,7 @@ let check_predicativity env s small level =
(* let cst = *)
(* merge_constraints (enforce_leq u u' empty_constraint) *)
(* (universes env) in *)
- if not (check_leq (universes env) level u) then
+ if not (Univ.check_leq (universes env) level u) then
failwith "impredicative Type inductive type"
| Prop Pos, Some ImpredicativeSet -> ()
| Prop Pos, _ ->