Multi types and reasonable space
Accattoli, Dal Lago, and Vanoni have recently proved that the space used by the Space KAM, a variant of the Krivine abstract machine, is a reasonable space cost model for the lambda-calculus accounting for logarithmic space, solving a longstanding open problem. In this paper, we provide a new system of multi types (a variant of intersection types) and extract from multi type derivations the space used by the Space KAM, capturing into a type system the space complexity of the abstract machine. Additionally, we show how to capture also the time of the Space KAM, which is a reasonable time cost model, via minor changes to the type system.
Authors
- Gabriele Vanoni (ORCID: https://orcid.org/0000-0001-8762-8674)
- Beniamino Accattoli (ORCID: https://orcid.org/0000-0003-4944-9944)
- Ugo Dal Lago (ORCID: https://orcid.org/0000-0001-9200-070X)
Publication Details
- Journal
- Journal of Functional Programming
- Published
- 2026-08-14
- DOI
- https://doi.org/10.46298/jfp.17809
- Citations
- 1
- Primary Topic
- Logic, programming, and type systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00