Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-m8s7h Total loading time: 0 Render date: 2024-07-22T07:29:48.692Z Has data issue: false hasContentIssue false

1 - The type-free λ-calculus

Published online by Cambridge University Press:  02 December 2009

J. Roger Hindley
Affiliation:
University of Wales, Swansea
Get access

Summary

The λ-calculus is a family of prototype programming languages invented by a logician, Alonzo Church, in the 1930's. Their main feature is that they are higherorder; that is, they give a systematic notation for operators whose input and output values may be other operators. Also they are functional, that is they are based on the notion of function or operator and include notation for function-application and abstraction.

This book will be about the simplest of these languages, the pure λ-calculus, in which λ-terms are formed by application and abstraction from variables only. No atomic constants will be allowed.

λ-terms and their structure

Definition (λ-terms) An infinite sequence of term-variables is assumed to be given. Then linguistic expressions called λ--terms are defined thus:

  1. each term-variable is a λ-term, called an atom or atomic term;

  2. if M and N are λ-terms then (MN) is a λ-term called an application;

  3. if x is a term-variable and M is a λ-term then (λx. M) is a λ-term called an abstract or a λ-abstract.

A composite λ-term is a λ-term that is not an atom.

Notation Term-variables are denoted by “u”, “v”, “w”, “x”, “y”, “z”, with or without number-subscripts. Distinct letters denote distinct variables unless otherwise stated.

Arbitrary λ-terms are denoted by “L”, “M”, “N”, “P”, “Q”, “R”, “S”, “T”, with or without number-subscripts. For “λ-term” we shall usually say just “term”.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 1997

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×