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.
2024
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].
Accattoli, Beniamino; Lago, Ugo Dal; Vanoni, Gabriele
File in questo prodotto:
Eventuali allegati, non sono esposti

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/1007930
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact