arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1601.01233cs.PLcs.LO
收藏

(最左-最外)Beta减少确实是不变的

(Leftmost-Outermost) Beta Reduction is Invariant, Indeed

Beniamino Accattoli, Ugo Dal Lago

摘要:

Slot和van Emde Boas的弱不变性论文指出,合理的机器可以在时间上的多项式开销内相互模拟。微积分是合理的机器吗?有没有一种方法可以测量一个连续项的计算复杂性?本文对这个长期存在的问题提出了第一个完全肯定的答案。此外,我们的答案是完全独立于机器的,并基于一个标准的概念,在理论上的微积分:长度的最左边的最外面的推导范式是一个不变的成本模型。这样一个定理不能通过直接将微积分与图灵机或随机存取机联系起来来证明,因为规模爆炸问题:有些项在线性步骤中产生指数长的输出。解决方案的第一步是转换到一个评估的概念,即输出的长度和大小是线性相关的。这是通过采用线性替换演算(LSC),线性逻辑证明网后建模的显式替换演算,并允许分解具有所需属性的最左-最外推导来完成的。因此,LSC相对于随机存取机是不变的。第二步是证明LSC相对于微积分是不变的。规模爆炸问题似乎意味着这是不可能的:具有相同的范式概念,在LSC中的求值比在代数演算中的求值要指数地长。我们通过引入一种新形式的共享范式和共享约简来解决这样的僵局。有用的评估避免了那些只会取消共享输出而不会对beta-赎回做出贡献的步骤,即导致大小爆炸的步骤。该文件的主要技术贡献确实是有用的减少的定义和彻底分析其属性。

英文摘要:

Slot and van Emde Boas' weak invariance thesis states that reasonable machines can simulate each other within a polynomially overhead in time. Is lambda-calculus a reasonable machine? Is there a way to measure the computational complexity of a lambda-term? This paper presents the first complete positive answer to this long-standing problem. Moreover, our answer is completely machine-independent and based over a standard notion in the theory of lambda-calculus: the length of a leftmost-outermost derivation to normal form is an invariant cost model. Such a theorem cannot be proved by directly relating lambda-calculus with Turing machines or random access machines, because of the size explosion problem: there are terms that in a linear number of steps produce an exponentially long output. The first step towards the solution is to shift to a notion of evaluation for which the length and the size of the output are linearly related. This is done by adopting the linear substitution calculus (LSC), a calculus of explicit substitutions modeled after linear logic proof nets and admitting a decomposition of leftmost-outermost derivations with the desired property. Thus, the LSC is invariant with respect to, say, random access machines. The second step is to show that LSC is invariant with respect to the lambda-calculus. The size explosion problem seems to imply that this is not possible: having the same notions of normal form, evaluation in the LSC is exponentially longer than in the lambda-calculus. We solve such an impasse by introducing a new form of shared normal form and shared reduction, deemed useful. Useful evaluation avoids those steps that only unshare the output without contributing to beta-redexes, i.e. the steps that cause the blow-up in size. The main technical contribution of the paper is indeed the definition of useful reductions and the thorough analysis of their properties.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑