计算机科学 > 计算机科学中的逻辑
[提交于 2012年2月9日]
标题:On the Invariance of the Unitary Cost Model for Head Reduction (Long Version)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The lambda calculus is a widely accepted computational model of higher-order functional pro- grams, 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 derivation complexity is an invariant cost model, if any.
提交历史
来自:Ugo Dal Lago[v1] 2012年2月9日 星期四 00:00:00 UTC