Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-fv566 Total loading time: 0 Render date: 2024-07-20T18:33:03.759Z Has data issue: false hasContentIssue false

8 - Counting a type's inhabitants

Published online by Cambridge University Press:  02 December 2009

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

Summary

Given a type τ, how many closed terms can receive type τ in TAλ? As stated this question is trivial, since if the answer is not zero it is always infinite; for example the type a→a can be assigned to all members of the sequence I, II, III, etc. But if we change the question to ask only for terms in normal form, the answer is often finite and interesting patterns show up which are still not completely understood.

The aim of this chapter is to describe an algorithm from Ben-Yelles 1979 that answers the “how many” question for normal forms. For each τ it will decide in a finite number of steps whether the number of closed β-normal forms that receive type τ is finite or infinite, will compute this number in the finite case, and will list all the relevant terms in both cases.

Ben-Yelles' algorithm can be used in particular to test whether the number of terms with type τ is zero or not, and as mentioned in 6B7.3 this gives a test for provability in Intuitionist implicational logic.

The first section below will describe the sets to be counted. The next will show some examples of the algorithm's strategy in action. Then in 8C–D the algorithm will be stated formally, and the rest of the chapter will be occupied by a proof that the algorithm does what it claims to do.

Inhabitants

This section gives precise definitions and notations for the sets to be counted.

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
×