β-reduction
Beta reduction is a term that encompasses 3 relations defined over the set of all lambda terms: single-step, multi-step and equality.
β-reduction, single step,
Let
The following 2 rules define the true entries of the single step beta reduction relation.
- Basis
- Compatibility
- If
, then:- [
] - [
]
the syntax
There are names given to parts of the above definition:
[What1?] and [what2?]
If a subterm of a lambda expression matches the left-hand side of the basis rule above, it is called a [ what1? ]. This name comes from from reducible expression.
The subterm on the right-hand side,
Multi-step reduction extends the single step relation by augmenting it with reflexivity and transitivity. Before we get to multi-step reduction, we describe the following definition:
Reduction sequence (personal definition)
A reduction sequence is a sequence of lambda terms
β-reduction, multi-step,
Let
Note: the possibility of
For multi-step β-reduction, it is possible for
Bi-directional reduction sequence (personal definition)
A bi-directional reduction sequence is a sequence of
lambda terms
β-equality,
Let
β-convertable is sometimes said instead of β-equal.