X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_unification%2FcicRefine.mli;h=224a7586c957dfbf91e4704917489a348158b43a;hb=f4f050696e66b8604d9f0ff8173afe03addf74d6;hp=24a6c276f1757804c9be4d7fadf9bb49ad92a8bc;hpb=e82e30cc9885f2acdf03801c637aaacfd8c81d71;p=helm.git diff --git a/helm/ocaml/cic_unification/cicRefine.mli b/helm/ocaml/cic_unification/cicRefine.mli index 24a6c276f..224a7586c 100644 --- a/helm/ocaml/cic_unification/cicRefine.mli +++ b/helm/ocaml/cic_unification/cicRefine.mli @@ -23,24 +23,26 @@ * http://cs.unibo.it/helm/. *) -type failure_msg -exception RefineFailure of failure_msg;; -exception Uncertain of string;; -exception AssertFailure of string;; - -val explain_error: failure_msg -> string +exception RefineFailure of string Lazy.t;; +exception Uncertain of string Lazy.t;; +exception AssertFailure of string Lazy.t;; (* 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 -> CicUniv.universe_graph -> - Cic.term * Cic.term * Cic.metasenv * CicUniv.universe_graph + ?localization_tbl:Token.flocation Cic.CicHash.t -> + 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 + localization_tbl:Token.flocation Cic.CicHash.t -> + Cic.metasenv -> UriManager.uri option -> Cic.obj -> + Cic.obj * Cic.metasenv * CicUniv.universe_graph + +val insert_coercions: bool ref (* initially true *) +