X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_refiner%2FnCicUnification.mli;h=1cba191835390e44fc0bedf991a8abaa636ed888;hb=b8bf1433f739c8befdf410ace0a0ff6e779a3339;hp=159d24c101b324a2e3b2f2d5b50f80af6b78dee2;hpb=aab0401db0bedd941da96a32acd600af3fbe42e7;p=helm.git diff --git a/matita/components/ng_refiner/nCicUnification.mli b/matita/components/ng_refiner/nCicUnification.mli index 159d24c10..1cba19183 100644 --- a/matita/components/ng_refiner/nCicUnification.mli +++ b/matita/components/ng_refiner/nCicUnification.mli @@ -25,9 +25,13 @@ val unify : (* this should be moved elsewhere *) val fix_sorts: - NCic.metasenv -> NCic.substitution -> + #NCic.status -> NCic.metasenv -> NCic.substitution -> NCic.term -> NCic.metasenv * NCic.term +(* this should be moved elsewhere *) +(* The term must be in whd *) +val could_reduce: #NCicCoercion.status -> subst:NCic.substitution -> NCic.context -> NCic.term -> bool + (* delift_type_wrt_terms st m s c t args * lift t (length args) * [ rel 1 ... rel (len args) / lift (length args) (arg_1 .. arg_n) ] @@ -38,11 +42,12 @@ val delift_type_wrt_terms: NCic.term -> NCic.term list -> NCic.metasenv * NCic.substitution * NCic.term -val sortfy : - exn -> - NCic.metasenv -> - NCic.substitution -> - NCic.context -> - NCic.term -> NCic.metasenv * NCic.substitution * NCic.term +val sortfy :# + NCic.status -> exn -> NCic.metasenv -> NCic.substitution -> NCic.context -> + NCic.term -> NCic.metasenv * NCic.substitution * NCic.term + +val indfy :# + NCic.status -> exn -> NCic.metasenv -> NCic.substitution -> NCic.context -> + NCic.term -> NCic.metasenv * NCic.substitution * NCic.term val debug : bool ref