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

7 - The converse principal-type algorithm

Published online by Cambridge University Press:  02 December 2009

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

Summary

This chapter combines the theme of propositional logic from Chapter 6 with that of principal types from Chapter 3. We saw in the Curry-Howard theorem (6B7) that the types of the closed terms are exactly the theorems of the intuitionist logic of implication: hence the principal types of these terms must form a subset of these theorems, and the very natural question arises of just how large this subset is. Do its members form an aristocracy distinguished in some structural way from the general rabble of theorems, or can every theorem be a principal type?

The main result of the chapter will show that there is in fact no aristocracy: if a type τ is assignable to a closed term M but is not the principal type of M, then it is the principal type of another closed term M*.

The proof will include an algorithm to construct M* when τ and M are given. To build M* an occurrence of M will be combined with some extra terms chosen from a certain carefully defined stock of “building blocks”, closed terms with known principal types; and the main aim of this chapter will be to build M* from as restricted a set of building blocks as possible.

The algorithm in the earliest known proof needed full λ-calculus (Hindley 1969), but two later ones used only λI-terms as building blocks (Mints and Tammet 1991, Hirokawa 1992a §3) and another used an even more restricted class (Meyer and Bunder 1988 §9). The algorithm below will be based on the latter very economical one.

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
×