Beta equivalence 2026-09-28
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-redex 2026-09-28
Omega combinator 2026-09-28
The omega combinator is the divergent untyped lambda calculus termwhose only beta reduction reproduces .
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 120 3 Solution 2026-09-28
A partial function is lambda-definable when a lambda term sends the corresponding Church numerals to the numeral for whenever the value is defined and produces no numeral otherwise; in other words, it is a lambda-definable partial function. The initial functions are represented byand the appropriate variable in . If represent , thenrepresents their composition.
Church Booleans supply a lazy conditional, andtests whether a Church numeral is zero. A standard predecessor term isLet and represent the base and step functions of a primitive recursion. With a fixed-point combinator , defineNormal-order beta reduction evaluates only the selected branch. Induction on the input numeral gives the two recursion equations, so this is the lambda definition of primitive recursion.
For unbounded minimization, let represent and defineThen tests in order and returns the least zero of . If no zero is reached, or a required earlier computation is undefined, reduction never produces a Church numeral. This is the lambda definition of unbounded minimization. Since the partial recursive functions are generated from the initial functions by composition, primitive recursion, and minimization, every partial computable function is represented by a lambda term on Church numerals.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 120 1 a Solution 2026-09-28
Under the Curry-Howard correspondence, Intuitionistic propositional logic propositions are types and proofs are typed terms. Assumptions correspond to typed variables. The logical implication corresponds to the function type, logical conjunction to the product type, logical disjunction to the sum type, logical truth to the unit type, and logical falsity to the empty type.
The rules of natural deduction become term constructors. Implication introduction sends a derivation of from a variable to the abstraction , while implication elimination becomes application . Pairing and projection implement conjunction, and injections with case analysis implement disjunction. Under this correspondence, normalization of proofs is computation by beta reduction in the simply typed lambda calculus.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 120 3 a Solution 2026-09-28
The Church numeral corresponding to the natural number isA function is a lambda-definable function if some closed lambda term satisfiesfor all natural numbers .
DefineThen beta reduction givesTherefore the successor function is lambda-definable; this is the lambda definition of the successor function.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 120 3 c Solution 2026-09-28
By assumption the set of combinators is recursively enumerable. Finite beta reduction sequences, and hence finite certificates of beta equivalence, are also recursively enumerable.
For a closed term , choose a fresh variable . The term is a fixed-point combinator exactly whenIndeed, substitution then gives the required equivalence for every , and the forward direction follows by taking . Dovetail the enumeration of closed terms with all finite beta-equivalence certificates. Whenever a certificate of the displayed equivalence is found, output . This enumerates exactly the fixed-point combinators, proving recursively enumerable fixed-point combinators.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 120 2 c Solution 2026-09-28
A term is in beta-normal form when it contains no beta-redex, meaning no subterm of the formEquivalently, no beta reduction can be performed anywhere in the term.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 120 2 d Solution 2026-09-28
The Weak normalization theorem for simply typed lambda calculus states that every well-typed term of the simply typed lambda calculus admits at least one finite sequence of beta reductions ending in a beta-normal form.