X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicSubstitution.mli;h=158f53fdc7113cc1ff2b1a6986cf74fefffb6614;hb=c25986cdbd05f0c06d93f850453b5f82695b7814;hp=30a6c74516676b03790748bd4e75fe6313ffab0f;hpb=cf3c2f9d76c0483afc91ad89c0ae2517081ce912;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicSubstitution.mli b/helm/software/components/ng_kernel/nCicSubstitution.mli index 30a6c7451..158f53fdc 100644 --- a/helm/software/components/ng_kernel/nCicSubstitution.mli +++ b/helm/software/components/ng_kernel/nCicSubstitution.mli @@ -37,6 +37,20 @@ val lift : ?from:int -> int -> NCic.term -> NCic.term (* well typed and avoid_beta_redexes is true. *) val subst : ?avoid_beta_redexes:bool -> NCic.term -> NCic.term -> NCic.term +(* psubst [avoid] [delift] [lift_args] [t] [map_arg] [args] + * [avoid] : do not leave newly created beta-redexes, default false + * [delift] : perform delifting + * [t] : term to fill in + * [lift_args] : lift argument after map_arg is applied + * [args] : stuff to substitute + * [map_arg] : map the argument to obtain a term + * the function is ReductionStrategy.from_env_for_unwind when psubst is + * used to implement nCicReduction.unwind' *) +val psubst : + ?avoid_beta_redexes:bool -> bool -> int -> + ('a -> NCic.term) -> 'a list -> NCic.term -> + NCic.term + (* subst_meta (n, Ctx [t_1 ; ... ; t_n]) t *) (* returns the term [t] where [Rel i] is substituted with [t_i] lifted by n *) (* [t_i] is lifted as usual when it crosses an abstraction *)