Normalization property (lambda-calculus)
From Wikipedia, the free encyclopedia
In mathematical logic and theoretical computer science, a rewrite system has the normalization property if every term is strongly normalizing; that is, if every sequence of rewrites eventually terminates to a term in normal form.
The pure untyped lambda calculus is not strongly normalizing. Consider the term λx.xxx. It has the following rewrite rule: For any term t,
But consider what happens when we apply λx.xxx to itself:
Therefore the term (λx.xxx)(λx.xxx) is not strongly normalizing.
Various systems of typed lambda calculus including the simply typed lambda calculus, Jean-Yves Girard's System F, and Thierry Coquand's calculus of constructions are strongly normalizing.
A lambda calculus system with the normalization property can be viewed as a programming language with the property that every program terminates. Although this is a very useful property, it has a drawback: a programming language with the normalization property cannot be Turing complete. That means that there are computable functions that cannot be defined in the simply typed lambda calculus (and similarly there are computable functions that cannot be computed in the calculus of constructions or system F). As an example, it is impossible to define the normalization algorithms of any of the calculi cited above within the same calculi.