摘要
The space complexity of functional programs is not well understood. In particular, traditional implementation techniques are tailored to time efficiency, and space efficiency induces time inefficiencies, as it prefers re-computing to saving. Girard's geometry of interaction underlies an alternative approach based on the interaction abstract machine (IAM), claimed as space efficient in the literature. It has also been conjectured to provide a reasonable notion of space for the λ-calculus, but such an important result seems to be elusive.
In this paper we introduce a new intersection type system precisely measuring the space consumption of the IAM on the typed term. Intersection types have been repeatedly used to measure time, which they achieve by dropping idempotency, turning intersections into multisets. Here we show that the space consumption of the IAM is connected to a further structural modification, turning multisets into trees. Tree intersection types lead to a finer understanding of some space complexity results from the literature. They also shed new light on the conjecture about reasonable space: we show that the usual way of encoding Turing machines into the λ-calculus cannot be used to prove that the space of the IAM is a reasonable cost model.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Intersection types and (positive) almost-sure termination 引用了 Consuming and Persistent Types for Classical Logic
- Reasonable Space for the λ-Calculus, Logarithmically 引用了 The weak call-by-value λ-calculus is reasonable for both time and space
- Reasonable Space for the λ-Calculus, Logarithmically 引用了 The (In)Efficiency of interaction
- Higher Order Bayesian Networks, Exactly 引用了 Intersection types and (positive) almost-sure termination
- Higher Order Bayesian Networks, Exactly 引用了 The (In)Efficiency of interaction
- The (In)Efficiency of interaction 引用了 Consuming and Persistent Types for Classical Logic
引用它的顶会 Paper2
它引用的 Paper4
- Intersection types and (positive) almost-sure terminationUgo Dal Lago, Claudia Faggian, Simona Ronchi Della RoccaPOPL 2021 · 21 次引用
- The (In)Efficiency of interactionBeniamino Accattoli, Ugo Dal Lago, Gabriele VanoniPOPL 2021 · 13 次引用
- Consuming and Persistent Types for Classical LogicDelia Kesner, Pierre VialLICS 2020 · 11 次引用
- The weak call-by-value λ-calculus is reasonable for both time and spaceYannick Forster, Fabian Kunze, Marc RothPOPL 2020 · 1 次引用
相关 Paper
- Interaction EquivalenceBeniamino Accattoli, Adrienne Lancelot, Giulio Manzonetto, Gabriele VanoniPOPL 2025 · 2 次引用
- A Machine-Independent, Log-Sensitive Space-Cost Measure for the Weak Lambda-CalculusThibaut BalabonskiLICS 2026 · 1 次引用
- A Compositional Cost Model for the λ-calculusJames LairdLICS 2021
- Quantitative Inhabitation for Different Lambda Calculi in a Unifying FrameworkVictor Arrial, Giulio Guerrieri, Delia KesnerPOPL 2023 · 5 次引用
- Why Are Proofs Relevant in Proof-Relevant Models?Axel Kerinec, Giulio Manzonetto, Federico OlimpieriPOPL 2023 · 6 次引用
