X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnCicRefiner.mli;h=d43a09f207a39b77aefedff4f2a0a814826c1e9d;hb=1eae83d9c648acdea55d333aba67fcc252b54bea;hp=2df108697cc2fcf6518d2e2f22d362b31519e1ad;hpb=f2e2d1f6cccad2cc1ce70ef7fa2841cf0a457953;p=helm.git diff --git a/helm/software/components/ng_refiner/nCicRefiner.mli b/helm/software/components/ng_refiner/nCicRefiner.mli index 2df108697..d43a09f20 100644 --- a/helm/software/components/ng_refiner/nCicRefiner.mli +++ b/helm/software/components/ng_refiner/nCicRefiner.mli @@ -31,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 +