Approximation theorem for the graph model 2026-10-14
The interpretation of a lambda term in the graph model of lambda calculus is the union of the interpretations of all its finite Böhm approximants. Every finite indexed interpretation reduces monotonically to an indexed normal approximant. Taking the union over all occurrence indices gives one inclusion; replacing subterms by bottom and using beta soundness gives the other. This identifies denotational information with finite observable parts of a Böhm tree.
Böhm separation theorem 2026-10-14
Two distinct closed lambda terms in normal form for both beta reduction and eta conversion admit a separating context that maps them respectively to the two Church Booleans. Finite Böhm trees and the Böhm-out lemma isolate their first genuine head disagreement. The qualification about eta conversion matters: distinct beta-normal forms that are eta-equivalent cannot be separated this way.
Church numeral zero test Created 2026-10-05 Updated 2026-10-07
The lambda termreturns the Church Boolean on and on every positive Church numeral. Zero iterations leave the initial true value, while at least one iteration replaces it by false. Normal-order beta reduction evaluates a numeral conditional without evaluating an unchosen branch.
Easy lambda term 2026-10-14
A closed lambda term is easy if adjoining to the equations of beta equivalence remains nontrivial for every closed lambda term . If is easy, then is easy for every closed : use the consistent equation to obtain . Since is not easy and solvability produces by applications, easy terms are unsolvable. The converse need not hold.
Finite Böhm approximant 2026-10-14
A finite Böhm approximant is or a finite lambda term in the grammar , obtained by pruning a Böhm tree. Equivalently it is a beta-bottom normal form obtained from a beta-equivalent term by replacing subterms by ; bottom reduction contracts and to . Its interpretation in the graph model of lambda calculus is included in that of the original term.
Head normal form Created 2026-10-05 Updated 2026-10-14
A lambda term has head normal form when it beta-reduces to a term with a variable at the head. The argument terms need not be in beta-normal form. A term with no head normal form cannot be beta-equivalent to a Church numeral.
Implication elimination rule 2026-10-06
From and , implication elimination derives . Under the Curry-Howard correspondence, this is application: from lambda terms and form .
Indexed lambda term 2026-10-14
An indexed lambda term assigns a natural number to every subterm occurrence; one also admits a constant with empty interpretation. In the graph model of lambda calculus, every syntax constructor is interpreted as usual and then intersected with at its occurrence index . All indexed interpretations are finite subsets of the unindexed interpretation, and their directed union recovers that interpretation.
Lambda abstraction Created 2026-10-06 Updated 2026-10-14
A lambda abstraction binds the variable in the lambda term . In the simply typed lambda calculus, if under , the abstraction has type ; this is the implication introduction rule under the Curry-Howard correspondence.
Lambda application 2026-10-14
Application applies the lambda term to the lambda term . It associates to the left: . Together with variables and lambda abstraction, it generates all lambda terms.
If total functions and are represented by lambda terms , defineandAfter iterations the Church pair holds , proved by mathematical induction using the defining recursion equations. Consequently represents the total primitive recursive function . This statement concerns total inputs and total recursion constituents; it is not an unguarded composition theorem for arbitrary partial functions.
Normal-order beta reduction Created 2026-10-05 Updated 2026-10-14
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.
Normal-order normalization theorem Created 2026-10-06 Updated 2026-10-14
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.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 76 1 Solution Created 2026-10-03 Updated 2026-10-14
Write for the reflexive closure of the transitive closure of a relation , and for its generated equivalence relation. The diamond property requires every pair to admit a one-step join . The Church-Rosser property requires a possibly longer join whenever . Equivalently, every pair of finite reductions with the same source has a common finite reduct. Identity steps may be included in the diamond convention without affecting the counterexample below.
Let and consider the lambda term . Contracting its outer beta-redex gives , whereas contracting the inner beta-redex gives . The only one-step reducts of are and ; the other branch has the sole one-step reduct . These terms are different even under alpha equivalence. Thus one-step beta reduction has no diamond property. Both branches do reach by finite beta reduction.
For the positive result, use parallel beta reduction , with rulesStructural induction, renaming binders to avoid capture, proves the substitution lemma: and imply . Define the complete development of a lambda term byand when the application is not initially a root beta-redex. Induction on a parallel derivation, using the substitution lemma in the contracting case, provesConsequently any two parallel reducts have the common successor . The ordinary one-step relation is included in the parallel relation, and every parallel step expands into finitely many ordinary steps; their finite closures therefore coincide. A finite grid of parallel diamonds joins any two finite parallel reductions. Finally a finite zigzag of forward and backward reductions can be joined inductively using that confluence. Hence beta reduction has the Church-Rosser property, although its individual steps do not have the diamond property.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 76 2 Solution Created 2026-10-03 Updated 2026-10-14
A fixed-point combinator is a closed lambda term such that for every lambda term . It suffices to check this for a fresh free variable , since capture-avoiding substitution then gives every instance. TakeIf , applying both sides to gives . Conversely suppose is a fixed-point combinator. Its application to a fresh has a head normal form, because it is beta equivalent to . Since is closed, head reduction of must first expose a lambda abstraction in itself. Thus , andThis establishes the needed abstraction equality by beta reduction, without assuming eta conversion. Abstracting now gives .
Two examples are the Curry fixed-point combinator and the Turing fixed-point combinator:Writing , we have , while . Different displayed syntax alone would not prove that the two combinators are distinct under beta equivalence. Here is a reduct invariant that does. Every finite reduct of is , up to alpha equivalence: is beta-normal and the one remaining beta-redex is its self-application. No such reduct contains the closed subterm .
Every finite reduct of , in contrast, retains a closed subterm . The contraction recreates one. The only other redexes created by these expansions are abstractions applied to variables; contracting them substitutes a variable, so preserves any closed inside their bodies. This describes all redexes inductively: expansion inserts only a variable-headed application and a copy of , and a variable substitution preserves that description. Thus every finite reduct contains . A common reduct of and is impossible, so the Church-Rosser theorem proves .
Finally put , with . The fixed-point combinator equation giveswhere is fresh. If had a head normal form with leading abstractions, then would have one with . A reduct of a head normal form preserves its initial abstraction count and variable-headed spine: only its argument subterms can still contract. These two head normal forms therefore cannot have a common reduct, contradicting the Church-Rosser theorem. Hence is unsolvable.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 76 3 i Solution Created 2026-10-03 Updated 2026-10-14
An easy lambda term must be equatable consistently with every closed lambda term. Choose the proposed equation . Applying it to gives . Applying that equation to an arbitrary closed gives . In particular the two Church Booleans become equal; then applying them to arbitrary gives . The extended equational theory is trivial, hence inconsistent in the required sense. Therefore is not easy.