X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnCicRefiner.mli;h=d43a09f207a39b77aefedff4f2a0a814826c1e9d;hb=75514fe2207992ebc549822a7cbd5d37688690ac;hp=7414770807cd2dde41355286ce4b8150cc90ba2e;hpb=62f476a05884d451bfb90d845ea2b1c0a1c77f96;p=helm.git diff --git a/helm/software/components/ng_refiner/nCicRefiner.mli b/helm/software/components/ng_refiner/nCicRefiner.mli index 741477080..d43a09f20 100644 --- a/helm/software/components/ng_refiner/nCicRefiner.mli +++ b/helm/software/components/ng_refiner/nCicRefiner.mli @@ -16,6 +16,7 @@ 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 -> @@ -30,3 +31,16 @@ val typeof : 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 +