λx.x denotes the identity function, which simply returns its argument;
λx.c denotes the constant function, which always returns the constant c regardless of its argument;
λx.f(f(x)) denotes the composition of the function f with itself, i.e. the function that, for any argument x, returns f(f(x)).
Much of the power of the notation derives from the ability to represent higher-order functions. For example, λf.λx.f(f(x))
denotes the (higher-order) function that, when applied to a function f, returns the function obtained by composing f with itself.
As well as a notation, the λ-calculus comprises rules for reducing λ-expressions to equivalent ones. The most important is the rule of β-reduction, by which an expression of the form (λx.e1)(e2)
reduces to e1 with all free occurrences of x replaced by e2. For example, (λx.f(λx.x,x))(a)
reduces to f(λx.x,a)
As a second example, involving a functional variable, the expression (λf.f(a))(λx.g)(x,b))
reduces to (λx.g(x,b))(a)
and hence to g(a,b)
In theoretical terms, the formalism of λ-calculus can be shown to be equivalent in expressive power to that of Turing machines. It has a special role in the study of programming languages: one can point to its influence on the design of functional languages such as J. McCarthy's LISP; to P. Landin's reduction of Algol 60 to λ-calculus, and to D. Scott's construction of a set-theory meaning for the full unrestricted λ-calculus – a construction that ushered in the theory of domains in the denotational semantics of programming languages.
"lambda calculus." A Dictionary of Computing. . Encyclopedia.com. (February 10, 2019). https://www.encyclopedia.com/computing/dictionaries-thesauruses-pictures-and-press-releases/lambda-calculus
"lambda calculus." A Dictionary of Computing. . Retrieved February 10, 2019 from Encyclopedia.com: https://www.encyclopedia.com/computing/dictionaries-thesauruses-pictures-and-press-releases/lambda-calculus
Encyclopedia.com gives you the ability to cite reference entries and articles according to common styles from the Modern Language Association (MLA), The Chicago Manual of Style, and the American Psychological Association (APA).
Within the “Cite this article” tool, pick a style to see how all available information looks when formatted according to that style. Then, copy and paste the text into your bibliography or works cited list.
Because each style has its own formatting nuances that evolve over time and not all information is available for every reference entry or article, Encyclopedia.com cannot guarantee each citation it generates. Therefore, it’s best to use Encyclopedia.com citations as a starting point before checking the style against your school or publication’s requirements and the most-recent information available at these sites:
Modern Language Association
The Chicago Manual of Style
American Psychological Association
- Most online reference entries and articles do not have page numbers. Therefore, that information is unavailable for most Encyclopedia.com content. However, the date of retrieval is often important. Refer to each style’s convention regarding the best way to format page numbers and retrieval dates.
- In addition to the MLA, Chicago, and APA styles, your school, university, publication, or institution may have its own requirements for citations. Therefore, be sure to refer to those guidelines when editing your bibliography or works cited list.