The Suspension Notation for Lambda Terms and its Use in Metalanguage Implementations

Autor: Gopalan Nadathur
Rok vydání: 2002
Předmět:
Zdroj: Electronic Notes in Theoretical Computer Science. 67:35-48
ISSN: 1571-0661
DOI: 10.1016/s1571-0661(04)80539-5
Popis: Many metalanguages and logical frameworks have emerged in recent years that use the terms of the lambda calculus as data structures. A common set of questions govern the suitability of a representation for lambda terms in the implementation of such systems: α-convertibility must be easily recognizable, sharing in reduction steps, term traversal and term structure must be possible, comparison and unification operations should be efficiently supported and it should be possible to examine terms embedded inside abstractions. Explicit substitution notations for lambda calculi provide a basis for realizing such requirements. We discuss here the issues related to using one such notation—the suspension notation of Nadathur and Wilson—in this capacity. This notation has been used in two significant practical systems: the Standard ML of New Jersey compiler and the Teyjus implementation of λ-Prolog. We expose the theoretical properties of this notation, highlight pragmatic considerations in its use in implementing operations such as reduction and unification and discuss its relationship to other explicit substitution notations.
Databáze: OpenAIRE