TY - GEN
T1 - On the invariance of the unitary cost model for head reduction
AU - Accattoli, Beniamino
AU - Lago, Ugo Dal
PY - 2012/12/1
Y1 - 2012/12/1
N2 - The λ-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 λ-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 λ-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.
AB - The λ-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 λ-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 λ-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.
KW - Cost models
KW - Explicit substitutions
KW - Implicit computational complexity
KW - Lambda calculus
UR - https://www.scopus.com/pages/publications/84880243586
U2 - 10.4230/LIPIcs.RTA.2012.22
DO - 10.4230/LIPIcs.RTA.2012.22
M3 - Conference contribution
AN - SCOPUS:84880243586
SN - 9783939897385
T3 - Leibniz International Proceedings in Informatics, LIPIcs
SP - 22
EP - 37
BT - 23rd International Conference on Rewriting Techniques and Applications, RTA 2012
T2 - 23rd International Conference on Rewriting Techniques and Applications, RTA 2012
Y2 - 30 May 2012 through 1 June 2012
ER -