A reduction relation has the diamond property if and imply a common one-step successor . For relations allowing an identity step, the same definition includes zero-length joins. A finite grid of these diamonds proves confluence of . Ordinary one-step beta reduction fails this property because contracting before duplication can save two separate contractions.
A reduction relation has the Church-Rosser property when its equivalence relation generated by forward and backward steps satisfies . It is equivalent to confluence of . The Church-Rosser theorem establishes it for beta reduction.
Parallel beta reduction permits simultaneous reduction in the body of a lambda abstraction and both sides of an application, together with when and . Variables reduce to themselves. Its capture-avoiding substitution lemma is . Its transitive closure equals ordinary finite beta reduction, while its one-step diamond property yields the Church-Rosser theorem.
Define , , and develop an application by contracting its root when that root is syntactically a beta-redex: . Otherwise . Newly created root redexes need not be contracted. Induction with the substitution lemma proves that if , then . Thus any two parallel reducts share this reduct.
Normal-order beta reduction contracts the leftmost outermost beta-redex. If a lambda term has a beta-normal form, this strategy reaches it. It is useful for implementing Church Boolean conditionals because an unused branch can be discarded before it is evaluated.
A finite beta reduction can be rearranged into standard order, contracting earlier residual redexes before later ones. In particular, a lambda term with a head normal form reaches one by head reduction, and a term with a beta-normal form reaches it by normal-order beta reduction. Head reduction contracts the outermost redex on the left application spine, including under initial lambda abstractions.
If an untyped lambda term has a beta-normal form, leftmost outermost beta reduction reaches a normal form. Thus an infinite normal-order computation certifies the absence of a beta-normal form. This is the normalization result needed to make a lambda simulation respect undefined outputs.
Capture-avoiding substitution replaces the free occurrences of in by , renaming bound variables when necessary so that free variables of do not become bound.
Beta equivalence is the smallest equivalence relation containing beta reduction; equivalently, when a finite sequence of beta reductions and reversed beta reductions connects and .
Beta equivalence is semidecidable: enumerate finite conversion proofs. It is not decidable. A proposed total numeral-valued classifier of two nonempty disjoint beta equivalence classes can be reversed by a Church Boolean selector; a self-quoting fixed point of this reversal then belongs to the opposite class from the classifier output.
Articles by others on the same topic
There are currently no matching articles.