]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicEnvironment.ml
depends
[helm.git] / helm / software / components / ng_kernel / nCicEnvironment.ml
index 07185a9476eb61b7b508f397b34a518ee45d5cc8..b3b1eda16eab228c19944d7f7f176e2ffd6433e9 100644 (file)
@@ -77,6 +77,12 @@ let universes = ref [];;
 
 let get_universes () = List.map (fun x -> [false,x]) !universes;;
 
+let is_declared u =
+ match u with
+    [false,x] -> List.exists (fun y -> NUri.eq x y) !universes
+  | _ -> assert false
+;;
+
 let add_constraint strict a b = 
   match a,b with
   | [false,a2],[false,b2] ->