Ruka hadi maudhui
The Lumenary
Shahada ya kwanza (juu)ComputationImepangwa

The λ-calculus

The untyped λ-calculus (terms, β-reduction, Church encodings, fixed-point combinators, confluence) and the simply typed λ-calculus with normalisation.

math.comp.lambda-calculus

Somo la mada hii bado halijaandikwa. Muhtasari ulio hapa chini ni sehemu ya ramani ya mtaala na haujakaguliwa.

Inajengwa juu ya

Masharti ya awali ya lazima 15 (hadi chini kabisa)

Utajifunza

  • Reduce λ-terms and encode booleans, pairs and natural numbers (Church numerals).
  • Use a fixed-point combinator to define recursive functions, and explain why untyped terms need not terminate.
  • State the Church–Rosser theorem and explain why every simply typed term has a normal form.

Fasili

  • λ-terms are built from variables by application (M N) and abstraction (λx. M).
  • β-reduction rewrites (λx. M) N to M[N/x], using capture-avoiding substitution.
  • A term is in normal form if no β-reduction applies to it.

Nadharia

  • Church–Rosser: β-reduction is confluent, so a term has at most one normal form.
  • The untyped λ-calculus computes exactly the partial recursive functions.
  • Every simply typed λ-term has a normal form; in fact the simply typed λ-calculus is strongly normalising.

Mawazo potofu ya kawaida

  • Substituting without renaming bound variables (variable capture).
  • Thinking every λ-term has a normal form; (λx. x x)(λx. x x) does not.

Inaelekea kwa

Ugunduzi wa hiari

Njia za kujifunza

Usomaji zaidi

  • H. P. Barendregt, The Lambda Calculus: Its Syntax and Semantics (1981)
  • J. Roger Hindley and Jonathan P. Seldin, Lambda-Calculus and Combinators: An Introduction (2008)
  • Benjamin C. Pierce, Types and Programming Languages (2002)