Article contents
Some improvements to Turner's algorithm for bracket abstraction
Published online by Cambridge University Press: 12 March 2014
Extract
A computer handles λ-terms more easily if these are translated into combinatory terms. This translation process is called bracket abstraction. The simplest abstraction algorithm—the (fab) algorithm of Curry (see Curry and Feys [6])—is lengthy to implement and produces combinatory terms that increase rapidly in length as the number of variables to be abstracted increases.
There are several ways in which these problems can be alleviated:
(1) A change in order of the clauses in the algorithm so that (f) is performed as a last resort.
(2) The use of an extra clause (c), appropriate to βη reduction.
(3) The introduction of a finite number of extra combinators.
The original 1924 form of bracket abstraction of Schönfinkel [17], which in fact predates λ-calculus, uses all three of these techniques; all are also mentioned in Curry and Feys [6].
A technique employed by many computing scientists (Turner [20], Peyton Jones [16], Oberhauser [15]) is to use the (fab) algorithm followed by certain “optimizations” or simplifications involving extra combinators and sometimes special cases of (c).
Another is either to allow a fixed infinite set of (super-) combinators (Abdali [1], Kennaway and Sleep [10], Krishnamurthy [12], Tonino [19]) or to allow new combinators to be defined one by one during the abstraction process (Hughes [7] and [8]).
A final method encodes the variables to be abstracted as an n-tuple—this requires only a finite number of combinators (Curien [5], Statman [18]).
- Type
- Research Article
- Information
- Copyright
- Copyright © Association for Symbolic Logic 1990
References
REFERENCES
- 6
- Cited by