Multi Types and Reasonable Space (Long Version)

07/18/2022
by   Beniamino Accattoli, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/01/2022

Reasonable Space for the λ-Calculus, Logarithmically

Can the λ-calculus be considered as a reasonable computational model? Ca...
research
04/28/2021

The Space of Interaction (long version)

The space complexity of functional programs is not well understood. In p...
research
09/21/2023

Strong Call-by-Value and Multi Types

This paper provides foundations for strong (that is, possibly under abst...
research
11/30/2022

Linear Rank Intersection Types

Non-idempotent intersection types provide quantitative information about...
research
02/11/2021

Strong Call by Value is Reasonable for Time

The invariance thesis of Slot and van Emde Boas states that all reasonab...
research
02/13/2021

Strong Call-by-Value is Reasonable, Implosively

Whether the number of beta-steps in the lambda-calculus can be taken as ...
research
02/19/2018

Efficient Implementation of Evaluation Strategies via Token-Guided Graph Rewriting

In implementing evaluation strategies of the lambda-calculus, both corre...

Please sign up or login with your details

Forgot password? Click here to reset