X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_refiner%2FnCicRefiner.mli;h=7da885e7e6a5e3048aca1c849e31bf12cef73019;hb=df0dc72bccac82b3dd69108b5996d7008d007601;hp=6ec18e3657f516251612d8ba01a88e58087ceb20;hpb=aab0401db0bedd941da96a32acd600af3fbe42e7;p=helm.git diff --git a/matita/components/ng_refiner/nCicRefiner.mli b/matita/components/ng_refiner/nCicRefiner.mli index 6ec18e365..7da885e7e 100644 --- a/matita/components/ng_refiner/nCicRefiner.mli +++ b/matita/components/ng_refiner/nCicRefiner.mli @@ -15,11 +15,16 @@ 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 : #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 *)