Paper record

W2019376542

The Principal Type-Scheme of an Object in Combinatory Logic

Roger Hindley

Year
1969
Venue
Transactions of the American Mathematical Society
References
5
Cited by
725

Details and counts from OpenAlex.

Abstract

Introduction.In their book Combinatory Logic [1], Curry and Feys introduced the notion of "functional character" (here called "type-scheme") of an object of combinatory logic.Roughly speaking, each object of combinatory logic ("ob" for short) represents a function or an operator on functions ; for instance the ob I represents the identity operator, and we have for all obs X, IX = X.One of the aims of combinatory logic is to study the most basic properties of functions and other concepts, with as few restrictions as possible; hence in the simplest form of combinatory logic there is nothing to stop a function being applied to itself; thus XX is an ob for all obs X. However it is also natural to look at the consequences of introducing type-restrictions, formulated by assigning types to the obs according to certain rules, to be described later.Each type is a linguistic expression representing a set of functions, and for any type a the statement " X has type a" is intended to mean that the ob X represents a member of the set represented by a.Given types <x and ß, the set of all functions from the set a into the set ß is represented by the type "Faß" (using Curry's notation).Now consider the ob I; if Y has type a, then the ob IX must also have type a. Hence I represents a function from a into a, and so it must be given the type Fact, for each type a.Thus I has not just one type, but a whole class of types.This might seem strange, but it comes from the fact that I represents the abstract notion of "identity-function", rather than one particular identity-function for a particular set.The identity-function involves basically the same concept, no matter what we are applying it to.Similarly the other two basic combinators S and K (see later, or [1, §5A]) represent certain simple operations which can be performed on almost any functions, and thus they too have an infinite class of types (see §1 later for details, and §5 for comment).To denote classes of types, we can use variables a, b, c; then the fact that I has every type of form Fota can be expressed by assigning to I the type-scheme Faa.