]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicEnvironment.ml
renamed add_le_constraint to add_constraint since it adds both le and lt constraints
[helm.git] / helm / software / components / ng_kernel / nCicEnvironment.ml
index fa229d6f6752b5e82948af0d89f00041891c7193..de785bde8b4b009f5bc39526ec601ab43cbd8732 100644 (file)
@@ -38,9 +38,9 @@ let universe_leq a b =
      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 (