The lambda-calculus is a widely accepted computational model of higher-order functional programs, yet there is not any direct and universally accepted cost model for it. As a consequence, the computational difficulty of reducing lambda-terms to their normal form is typically studied by reasoning on concrete implementation algorithms. In this paper, we show that when head reduction is the underlying dynamics, the unitary cost model is indeed invariant. This improves on known results, which only deal with weak (call-by-value or call-by-name) reduction. Invariance is proved by way of a linear calculus of explicit substitutions, which allows to nicely decompose any head reduction step in the lambda-calculus into more elementary substitution steps, thus making the combinatorics of head-reduction easier to reason about. The technique is also a promising tool to attack what we see as the main open problem, namely understanding for which normalizing strategies the unitary cost model is invariant, if any.

On the Invariance of the Unitary Cost Model for Head Reduction / Beniamino Accattoli; Ugo Dal Lago. - ELETTRONICO. - (2012), pp. 22-37. (Intervento presentato al convegno 23rd International Conference on Rewriting Techniques and Applications tenutosi a Nagoya, Giappone nel 28 Maggio - 3 Giugno 2012) [10.4230/LIPIcs.RTA.2012.22].

On the Invariance of the Unitary Cost Model for Head Reduction

DAL LAGO, UGO
2012

Abstract

The lambda-calculus is a widely accepted computational model of higher-order functional programs, yet there is not any direct and universally accepted cost model for it. As a consequence, the computational difficulty of reducing lambda-terms to their normal form is typically studied by reasoning on concrete implementation algorithms. In this paper, we show that when head reduction is the underlying dynamics, the unitary cost model is indeed invariant. This improves on known results, which only deal with weak (call-by-value or call-by-name) reduction. Invariance is proved by way of a linear calculus of explicit substitutions, which allows to nicely decompose any head reduction step in the lambda-calculus into more elementary substitution steps, thus making the combinatorics of head-reduction easier to reason about. The technique is also a promising tool to attack what we see as the main open problem, namely understanding for which normalizing strategies the unitary cost model is invariant, if any.
2012
23rd International Conference on Rewriting Techniques and Applications (RTA'12)
22
37
On the Invariance of the Unitary Cost Model for Head Reduction / Beniamino Accattoli; Ugo Dal Lago. - ELETTRONICO. - (2012), pp. 22-37. (Intervento presentato al convegno 23rd International Conference on Rewriting Techniques and Applications tenutosi a Nagoya, Giappone nel 28 Maggio - 3 Giugno 2012) [10.4230/LIPIcs.RTA.2012.22].
Beniamino Accattoli; Ugo Dal Lago
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/154273
 Attenzione

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

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