]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/mathql_generator/cGSearchPattern.ml
update
[helm.git] / helm / ocaml / mathql_generator / cGSearchPattern.ml
index 60633f897e722f988990d7157506ce178b052e34..65c955cca7652e889aa8a3d622e796c74d159dc3 100644 (file)
@@ -93,9 +93,10 @@ let get_constraints term =
          | Branch _ ->
             let s' =
              match s with
-                Cic.Prop -> T.Prop
-              | Cic.Set -> T.Set
-              | Cic.Type -> T.Type
+                Cic.Prop  -> T.Prop
+              | Cic.Set   -> T.Set
+             | Cic.CProp -> T.CProp
+              | Cic.Type  -> T.Type
             in
             [],[],[!!kind,s']
          | _ -> [],[],[])
@@ -187,3 +188,6 @@ let get_constraints term =
    ) sorts ;
   res
 ;;
+
+let universe =
+   [T.MainHypothesis; T.InHypothesis; T.MainConclusion; T.InConclusion]