X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic_proof_checking%2FcicSubstitution.mli;h=36291fb184b284971cf8e81c36cb1aaf09fc124d;hb=111df95ac03f2ee21dfa2422a7f531f675b1c16d;hp=21a1f5d0e579d775c9e1ea2117b56898506f1990;hpb=55b82bd235d82ff7f0a40d980effe1efde1f5073;p=helm.git diff --git a/helm/software/components/cic_proof_checking/cicSubstitution.mli b/helm/software/components/cic_proof_checking/cicSubstitution.mli index 21a1f5d0e..36291fb18 100644 --- a/helm/software/components/cic_proof_checking/cicSubstitution.mli +++ b/helm/software/components/cic_proof_checking/cicSubstitution.mli @@ -40,9 +40,12 @@ val lift : int -> Cic.term -> Cic.term (* as lift but lifts only indexes >= from *) val lift_from: int -> int -> Cic.term -> Cic.term -(* subst t1 t2 *) -(* substitutes [t1] for [Rel 1] in [t2] *) -val subst : Cic.term -> Cic.term -> Cic.term +(* subst t1 t2 *) +(* substitutes [t1] for [Rel 1] in [t2] *) +(* if avoid_beta_redexes is true (default: false) no new beta redexes *) +(* are generated. WARNING: the substitution can diverge when t2 is not *) +(* well typed and avoid_beta_redexes is true. *) +val subst : ?avoid_beta_redexes:bool -> Cic.term -> Cic.term -> Cic.term (* subst_vars exp_named_subst t2 *) (* applies [exp_named_subst] to [t2] *)