Beta normal form
In lambda calculus, a term is in beta normal form if no beta reduction is possible.[src] A term is in beta-eta normal form if neither a beta reduction nor an eta reduction is possible.[src] A term is in head normal form if there is no beta-redex in the head position.[src] The normal form of a term, if one exists, is unique (as a corollary of the Church–Rosser theorem).[src] However, a term may have more than one head normal form.[src]
In lambda calculus, a term is in beta normal form if no beta reduction is possible.[src] A term is in beta-eta normal form if neither a beta reduction nor an eta reduction is possible.[src] A term is in head normal form if there is no beta-redex in the head position.[src] The normal form of a term, if one exists, is unique (as a corollary of the Church–Rosser theorem).[src] However, a term may have more than one head normal form.[src] ==Beta reduction== In the lambda calculus, a beta redex is a term of the form: (\mathbf{\lambda} x .[src] A) M.[src] A redex r is in head position in a term t , if t has the following shape (note that application has higher priority than abstraction, and that the formula below is meant to be a lambda-abstraction, not an application): \lambda x_1 \ldots \lambda x_n .[src] \underbrace{(\lambda x .[src] A) M_1}_{\text{the redex }r} M_2 \ldots M_m, where n \geq 0 and m \geq 1.[src] A beta reduction is an application of the following rewrite rule to a beta redex contained in a term: (\mathbf{\lambda} x .[src] A) M \longrightarrow A[x := M] where A[x := M] is the result of substituting the term M for the variable x in the term A .[src] A head beta reduction is a beta reduction applied in head position, that is, of the following form: \lambda x_1 \ldots \lambda x_n .[src] (\lambda x .[src] A) M_1 M_2 \ldots M_m \longrightarrow \lambda x_1 \ldots \lambda x_n .[src] A[x := M_1] M_2 \ldots M_m, where n \geq 0 and m \geq 1.[src] Any other reduction is an internal beta reduction.[src] \lambda x_1 \ldots \lambda x_n .[src] x M_1 M_2 \ldots M_m , where x is a variable, n \geq 0 and m \geq 0 .[src] A head normal form is not always a normal form, because the applied arguments M_j need not be normal.[src] However, the converse is true: any normal form is also a head normal form.[src] In fact, the normal forms are exactly the head normal forms in which the subterms M_j are themselves normal forms.[src] This gives an inductive syntactic description of normal forms.[src] There is also the notion of weak head normal form.[src] A λ-term, M, is in weak head normal form in case it is a λ-abstraction, M = \mathbf{\lambda} x .[src] N where N is any expression, even containing a redex, or it is in head normal form (in the pure lambda calculus, the only head normal forms that are not λ-abstractions are of the form x M_1 M_2 \ldots M_m , where x is any variable and m \geq 0 ).[src] Weak head normal forms were introduced by Simon Peyton Jones to reflect the form to which functional languages actually evaluate.[src] ==See also== Lambda calculus Normal form (disambiguation) Reduction strategy ==References==[src]
33 sentences · 33 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Beta normal form." encyclopegia.org, 2026, https://encyclopegia.org/wiki/beta-normal-form. Accessed 26 November 2026.
Chicago
"Beta normal form." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/beta-normal-form.
APA
encyclopegia.org. (2026). Beta normal form. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/beta-normal-form
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON