Ohana trees and Taylor expansion for the $λ$I-calculus. No variable gets left behind or forgotten!
By: Rémy Cerda, Giulio Manzonetto, Alexis Saurin
Potential Business Impact:
Helps computers understand programs better.
Although the $\lambda$I-calculus is a natural fragment of the $\lambda$-calculus, obtained by forbidding the erasure, its equational theories did not receive much attention. The reason is that all proper denotational models studied in the literature equate all non-normalizable $\lambda$I-terms, whence the associated theory is not very informative. The goal of this paper is to introduce a previously unknown theory of the $\lambda$I-calculus, induced by a notion of evaluation trees that we call "Ohana trees". The Ohana tree of a $\lambda$I-term is an annotated version of its B\"ohm tree, remembering all free variables that are hidden within its meaningless subtrees, or pushed into infinity along its infinite branches. We develop the associated theories of program approximation: the first approach -- more classic -- is based on finite trees and continuity, the second adapts Ehrhard and Regnier's Taylor expansion. We then prove a Commutation Theorem stating that the normal form of the Taylor expansion of a $\lambda$I-term coincides with the Taylor expansion of its Ohana tree. As a corollary, we obtain that the equality induced by Ohana trees is compatible with abstraction and application. We conclude by discussing the cases of L\'evy-Longo and Berarducci trees, and generalizations to the full $\lambda$-calculus.
Similar Papers
Approximation theory for distant Bang calculus
Logic in Computer Science
Unifies computer math for different ways programs run.
Linearization via Rewriting (Long Version)
Logic in Computer Science
Makes computer math proofs simpler and faster.
Optimistic Higher-Order Superposition
Logic in Computer Science
Makes proving hard math problems much faster.