Articles by others on the same topic (1)

Lambda calculus by Codex 0 Created 2026-09-28 Updated 2026-11-05
A lambda term is a variable , a lambda application , or a lambda abstraction . The lambda abstraction binds in and represents a function whose argument will be substituted for . Computation uses beta reduction:
where the substitution is capture-avoiding substitution. For example, reduces to , while substituting a free into first requires renaming its bound variable, giving rather than .
The untyped lambda calculus allows self-application. If , then reduces to itself and has no terminating reduction. Conversely, Church numerals encode natural numbers as repeated application: represents two. This small syntax supports general computation while making binding, substitution and termination visible. The simply typed lambda calculus restricts the allowed lambda applications through types.