X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnCicRefiner.mli;h=d43a09f207a39b77aefedff4f2a0a814826c1e9d;hb=46b91f34b693dabbd351ba813f5190051b09a117;hp=5d845eb1fe1526d2e713df641c566498a48439be;hpb=424982ded255df68245241f56064202844ed1194;p=helm.git diff --git a/helm/software/components/ng_refiner/nCicRefiner.mli b/helm/software/components/ng_refiner/nCicRefiner.mli index 5d845eb1f..d43a09f20 100644 --- a/helm/software/components/ng_refiner/nCicRefiner.mli +++ b/helm/software/components/ng_refiner/nCicRefiner.mli @@ -11,14 +11,36 @@ (* $Id$ *) -exception RefineFailure of Stdpp.location * (string Lazy.t);; -exception Uncertain of Stdpp.location * (string Lazy.t);; +exception RefineFailure of (Stdpp.location * string) Lazy.t;; +exception Uncertain of (Stdpp.location * string) Lazy.t;; exception AssertFailure of string Lazy.t;; val typeof : + NCicUnifHint.db -> ?localise:(NCic.term -> Stdpp.location) -> + look_for_coercion:( + NCic.metasenv -> NCic.substitution -> NCic.context -> + (* inferred type, expected type *) + NCic.term -> NCic.term -> + (* enriched metasenv, new term, its type, metavriable to + * be unified with the old term *) + (NCic.metasenv * NCic.term * NCic.term * NCic.term) list + ) -> NCic.metasenv -> NCic.substitution -> NCic.context -> NCic.term -> NCic.term option -> (* term, expected type *) NCic.metasenv * NCic.substitution * NCic.term * NCic.term (* menv, subst,refined term, type *) +val typeof_obj : + NCicUnifHint.db -> + ?localise:(NCic.term -> Stdpp.location) -> + look_for_coercion:( + NCic.metasenv -> NCic.substitution -> NCic.context -> + (* inferred type, expected type *) + NCic.term -> NCic.term -> + (* enriched metasenv, new term, its type, metavriable to + * be unified with the old term *) + (NCic.metasenv * NCic.term * NCic.term * NCic.term) list + ) -> + NCic.obj -> NCic.obj +