Circularity and Lambda Abstraction
نویسندگان
چکیده
In this tribute to Doaitse Swierstra, we present the first transformation between lazy circular programs à la Bird and strict circular programs à la Pettorossi. Circular programs à la Bird rely on lazy recursive binding: they involve circular unknowns and make sense equationally. Circular programs à la Pettorossi rely on the inductive construction of functions and their eventual application: they involve no circular unknowns and make sense operationally. Our derivation connects these equational and operational approaches: given a lazy circular program à la Bird, we decouple the circular unknowns from what is done to them, which we lambda-abstract with functions. The circular unknowns then become dead variables, which we eliminate. The result is a strict circular program à la Pettorossi. This transformation is reversible: given a strict circular program à la Pettorossi, we introduce circular unknowns as dead variables, and we apply the functions to them. The result is a lazy circular program à la Bird. We illustrate the two transformations by mapping an algebraic construct to an isomorphic one with new leaves, reading a binary number as suggested by Knuth, and backpatching.
منابع مشابه
On the algebraic models of lambda calculus
The variety (equational class) of lambda abstraction algebras was introduced to algebraize the untyped lambda calculus in the same way Boolean algebras algebraize the classical propositional calculus. The equational theory of lambda abstraction algebras is intended as an alternative to combinatory logic in this regard since it is a rst-order algebraic description of lambda calculus, which allow...
متن کاملModularity in lambda calculus
The variety (equational class) of lambda abstraction algebras was introduced to algebraize the untyped lambda calculus in the same way cylindric and polyadic algebras algebraize the rst-order predicate logic. In this paper we prove that the variety of lambda abstraction algebras is not congruence modular and that the lattice of lambda theories is not modular.
متن کاملThe variety of lambda abstraction algebras does not admit n-permutable congruences for all n
In this section we summarize deenitions and results concerning the lambda calculus and the theory of lambda abstraction algebras. Our main references will be 10] and 11] for lambda abstraction algebras and Barendregt's book 1] for lambda calculus. Lambda calculus. The untyped lambda calculus was introduced by Church as a foundation for logic. Although the appearance of paradoxes caused the prog...
متن کاملCircularity in Searle’s Social Ontology: With a Hegelian Reply
John Searle’s theory of social ontology posits that there are indispensable normative components in the linguistic apparatuses termed status functions, collective intentionality, and collective recognition, all of which, he argues, make the social world. In this paper, I argue that these building blocks of Searle’s social ontology are caught in a petitio of constitutive circularity. Mo...
متن کاملTerm Models for Abstraction Principles
Kripke’s notion of groundedness plays a central role in many responses to the semantic paradoxes. Can the notion of groundedness be brought to bear on the paradoxes that arise in connection with abstraction principles? We explore a version of grounded abstraction whereby term models are built up in a ‘grounded’ manner. The results are mixed. Our method solves a problem concerning circularity an...
متن کامل