X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_refiner%2FnCicUnification.mli;h=c7d44e8ab555d1cd7246e7809eb449b702ac6148;hb=388c27d3b8aab39c4c0d23b118b47f75144293d6;hp=4296102184017bff35f9afa84a7ceff5ea97de1c;hpb=2c01ff6094173915e7023076ea48b5804dca7778;p=helm.git diff --git a/matita/components/ng_refiner/nCicUnification.mli b/matita/components/ng_refiner/nCicUnification.mli index 429610218..c7d44e8ab 100644 --- a/matita/components/ng_refiner/nCicUnification.mli +++ b/matita/components/ng_refiner/nCicUnification.mli @@ -16,7 +16,7 @@ exception Uncertain of string Lazy.t;; exception AssertFailure of string Lazy.t;; val unify : - #NRstatus.status -> + #NCicCoercion.status -> ?test_eq_only:bool -> (* default: false *) ?swap:bool -> (* default: false *) NCic.metasenv -> NCic.substitution -> NCic.context -> @@ -25,24 +25,25 @@ 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) ] *) val delift_type_wrt_terms: - #NRstatus.status -> + #NCicCoercion.status -> NCic.metasenv -> NCic.substitution -> NCic.context -> 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 debug : bool ref