arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1604.07030cs.LO
收藏

Lambda项沿最左最外Beta约化的线性深度增加

Linear Depth Increase of Lambda Terms along Leftmost-Outermost Beta-Reduction

Clemens Grabmayer

摘要:

执行$β$-归约到$λ$ -演算中给定项的$n$步骤可能导致所得项的大小增加,这在$n$中是指数级的。对于沿着$β$ -约简序列的项的可能深度增加也是如此。我们解释说,情况是不同的最左最外策略$β$减少:虽然指数大小的增加仍然是可能的,深度增加的步骤数是有界的线性。对于具有深度$d$的每个$λ$项$M$,在从$M$开始的最左最外$β$缩减重写序列的每个步骤中,项深度增加至多$d$。因此,在这样的重写序列中,$M$的第$n$次约简的深度由$d\cdot (n+1)$限定。我们证明了这个结果的提升$λ$ -项表示作为正交的一阶项重写系统,这可以得到的提升变换。为了转移到微积分,我们依赖于通过提升的对应语句。我们认为,线性深度增加属性可以成为Accattoli和Dal Lago(2015)的另一种证明的垫脚石,因此可以为Accattoli和Dal Lago(2015)的结果提供新的启示:最左最外的$β$ -约简重写序列的长度$n$可以在一个合理的机器上实现,其开销在$n$和初始项的大小中是多项式的。

英文摘要:

Performing $n$ steps of $β$-reduction to a given term in the $λ$-calculus can lead to an increase in the size of the resulting term that is exponential in $n$. The same is true for the possible depth increase of terms along a $β$-reduction sequence. We explain that the situation is different for the leftmost-outermost strategy for $β$-reduction: while exponential size increase is still possible, depth increase is bounded linearly in the number of steps. For every $λ$-term $M$ with depth $d$, in every step of a leftmost-outermost $β$-reduction rewrite sequence starting from $M$ the term depth increases by at most $d$. Hence the depth of the $n$-th reduct of $M$ in such a rewrite sequence is bounded by $d\cdot (n+1)$. We prove the lifting of this result to $λ$-term representations as orthogonal first-order term rewriting systems, which can be obtained by the lambda-lifting transformation. For the transfer to lambda-calculus, we rely on correspondence statements via lambda-lifting. We argue that the linear-depth-increase property can be a stepping stone for an alternative proof of, and so can shed new light on, a result by Accattoli and Dal Lago (2015) that states: leftmost-outermost $β$-reduction rewrite sequences of length $n$ in the lambda-calculus can be implemented on a reasonable machine with an overhead that is polynomial in $n$ and the size of the initial term.

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

↑