X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_unification%2FcicRefine.mli;h=2e132c043e18d7f352748c45150156fb088bff14;hb=ab0954eab207a70e6ad5f2991cc117608deff55b;hp=395799b3137c29058dc65abced41b8f8dd6d6b83;hpb=c0e0ae45ee6fba4118f519b9d07169ed6a7edc8c;p=helm.git diff --git a/helm/ocaml/cic_unification/cicRefine.mli b/helm/ocaml/cic_unification/cicRefine.mli index 395799b31..2e132c043 100644 --- a/helm/ocaml/cic_unification/cicRefine.mli +++ b/helm/ocaml/cic_unification/cicRefine.mli @@ -27,9 +27,17 @@ exception RefineFailure of string;; exception Uncertain of string;; exception AssertFailure of string;; -(* type_of_aux' metasenv context term *) -(* refines [term] and returns the refined form of [term], *) -(* its type, the computed substitution and the new metasenv. *) +(* type_of_aux' metasenv context term graph *) +(* refines [term] and returns the refined form of [term], *) +(* its type, the new metasenv and universe graph. *) val type_of_aux': - Cic.metasenv -> Cic.context -> Cic.term -> - Cic.term * Cic.term * Cic.metasenv + Cic.metasenv -> Cic.context -> Cic.term -> CicUniv.universe_graph -> + Cic.term * Cic.term * Cic.metasenv * CicUniv.universe_graph + +(* typecheck metasenv uri obj graph *) +(* refines [obj] and returns the refined form of [obj], *) +(* the new metasenv and universe graph. *) +(* the [uri] is required only for inductive definitions *) +val typecheck : + Cic.metasenv -> UriManager.uri option -> Cic.obj -> + Cic.obj * Cic.metasenv * CicUniv.universe_graph