X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_generator%2FcGSearchPattern.ml;h=b0d290578f87f34eb20758e6298ab83020e07719;hb=b4a7a577a04c56a68b6d79d06fdb925ff0bbd331;hp=60633f897e722f988990d7157506ce178b052e34;hpb=96134b9ec1030ed15cea00d751dd4d744463f62c;p=helm.git diff --git a/helm/ocaml/mathql_generator/cGSearchPattern.ml b/helm/ocaml/mathql_generator/cGSearchPattern.ml index 60633f897..b0d290578 100644 --- a/helm/ocaml/mathql_generator/cGSearchPattern.ml +++ b/helm/ocaml/mathql_generator/cGSearchPattern.ml @@ -95,12 +95,13 @@ let get_constraints term = match s with Cic.Prop -> T.Prop | Cic.Set -> T.Set - | Cic.Type -> T.Type + | Cic.Type _ -> T.Type (* TASSI: ?? *) + | Cic.CProp -> T.CProp in [],[],[!!kind,s'] | _ -> [],[],[]) - | C.Meta _ - | C.Implicit -> assert false + | C.Meta _ -> [],[],[] (* ???? To be understood *) + | C.Implicit _ -> assert false | C.Cast (te,_) -> (* type ignored *) process_type_aux kind te @@ -187,3 +188,6 @@ let get_constraints term = ) sorts ; res ;; + +let universe = + [T.MainHypothesis; T.InHypothesis; T.MainConclusion; T.InConclusion]