raise (BadConstraint
(lazy "trying to check if a universe is less or equal than an inferred universe"))
-let universe_eq a b = universe_leq b a || universe_leq a b
+let universe_eq a b = universe_leq b a && universe_leq a b
-let add_le_constraint strict a b =
+let add_constraint strict a b =
match a,b with
| [false,a2],[false,b2] ->
if not (le_path_uri [] strict a2 b2) then (
(* universe_* raise BadConstraints if the second arg. is an inferred universe *)
val universe_eq: NCic.universe -> NCic.universe -> bool
val universe_leq: NCic.universe -> NCic.universe -> bool
-(* add_le_constraint raise BadConstraint in case of universe inconsistency
+(* add_constraint raise BadConstraint in case of universe inconsistency
or if the second argument is an inferred universe
true -> strict check (<); false -> loose check (<=)
*)
-val add_le_constraint: bool -> NCic.universe -> NCic.universe -> unit
+val add_constraint: bool -> NCic.universe -> NCic.universe -> unit
val get_checked_def:
NReference.reference ->