X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_refiner%2FnCicRefiner.mli;h=7da885e7e6a5e3048aca1c849e31bf12cef73019;hb=HEAD;hp=1a04d2abde5f442348b0ea921bc6a66e35829147;hpb=2c01ff6094173915e7023076ea48b5804dca7778;p=helm.git diff --git a/matita/components/ng_refiner/nCicRefiner.mli b/matita/components/ng_refiner/nCicRefiner.mli index 1a04d2abd..7da885e7e 100644 --- a/matita/components/ng_refiner/nCicRefiner.mli +++ b/matita/components/ng_refiner/nCicRefiner.mli @@ -15,16 +15,21 @@ exception RefineFailure of (Stdpp.location * string) Lazy.t;; exception Uncertain of (Stdpp.location * string) Lazy.t;; exception AssertFailure of string Lazy.t;; +type 'a expected_type = [ `XTNone (* unknown *) + | `XTSome of 'a (* the given term *) + | `XTSort (* any sort *) + | `XTInd (* any (co)inductive type *) + ] val typeof : - #NRstatus.status -> + #NCicCoercion.status -> ?localise:(NCic.term -> Stdpp.location) -> NCic.metasenv -> NCic.substitution -> NCic.context -> - NCic.term -> NCic.term option -> (* term, expected type *) + NCic.term -> NCic.term expected_type -> (* term, expected type *) NCic.metasenv * NCic.substitution * NCic.term * NCic.term (* menv, subst,refined term, type *) val typeof_obj : - #NRstatus.status -> + #NCicCoercion.status -> ?localise:(NCic.term -> Stdpp.location) -> NCic.obj -> NCic.obj