Can the λ-calculus be considered a reasonable computational model? Can we use it for measuring the time and space consumption of algorithms? While the literature contains positive answers about time, much less is known about space. This paper presents a new reasonable space cost model for the λ-calculus, based on a variant over the Krivine abstract machine. For the first time, this cost model is able to accommodate logarithmic space. Moreover, we study the time behavior of our machine, which is unreasonable but it can be turned into a reasonable one using known techniques. Finally, we show how to transport our results to the call-by-value λ-calculus.
Accattoli, B., Lago, U.D., Vanoni, G. (2024). Reasonable Space for the Lambda-Calculus, Logarithmically. LOGICAL METHODS IN COMPUTER SCIENCE, Volume 20, Issue 4(4), 1-57 [10.46298/lmcs-20(4:15)2024].
Reasonable Space for the Lambda-Calculus, Logarithmically
Accattoli, Beniamino;Lago, Ugo Dal
;Vanoni, Gabriele
2024
Abstract
Can the λ-calculus be considered a reasonable computational model? Can we use it for measuring the time and space consumption of algorithms? While the literature contains positive answers about time, much less is known about space. This paper presents a new reasonable space cost model for the λ-calculus, based on a variant over the Krivine abstract machine. For the first time, this cost model is able to accommodate logarithmic space. Moreover, we study the time behavior of our machine, which is unreasonable but it can be turned into a reasonable one using known techniques. Finally, we show how to transport our results to the call-by-value λ-calculus.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.