arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1812.04452cs.LOmath.CO
收藏

走向$λ$ -演算中替换解析的平均案例分析

Towards the average-case analysis of substitution resolution in $λ$-calculus

Maciej Bendkowski

摘要:

替换解析支持$β$ -归约的计算特性,通过避免捕获的绑定变量项交换来补充其执行。唉,替换的元级定义,掩盖了一个非平凡的计算,把$β$ -归约变成了一个原子重写规则,尽管它的操作复杂度不同。在本文中,我们提出了一个有点间接的平均情况下分析的替代决议在经典的$λ$演算,在$λ\upsilon$,一个扩展的$λ$演算内化的显式替代的$\upsilon$演算的替代定量分析的基础上。在这个框架内,我们表明,对于任何固定的$n \geq 0$,一个均匀随机的概率,条件的大小,$λ\upsilon$ -长期$\upsilon$ -规范化在$n$正常顺序(即最左最外)减少步骤往往是一个可计算的限制,长期大小趋于无穷大。为此,我们建立了一个有效的层次结构$\left(\mathscr{G}_n\right)_n$的定期树文法分区$\upsilon$ -规范化条款到类的条款规范化在$n$正常顺序重写步骤。在我们的建设的主要技术成分是一个归纳的方法来建设$\mathscr{G}_{n+1}$出$\mathscr{G}_n$的基础上,反过来,有限的交集分区的算法建设,罗宾逊的统一算法的启发。最后,我们简要地讨论了我们的方法的应用程序,其他长期重写系统,集中在两个密切相关的形式主义,即完整的$λ\upsilon$演算和组合逻辑。

英文摘要:

Substitution resolution supports the computational character of $β$-reduction, complementing its execution with a capture-avoiding exchange of terms for bound variables. Alas, the meta-level definition of substitution, masking a non-trivial computation, turns $β$-reduction into an atomic rewriting rule, despite its varying operational complexity. In the current paper we propose a somewhat indirect average-case analysis of substitution resolution in the classic $λ$-calculus, based on the quantitative analysis of substitution in $λ\upsilon$, an extension of $λ$-calculus internalising the $\upsilon$-calculus of explicit substitutions. Within this framework, we show that for any fixed $n \geq 0$, the probability that a uniformly random, conditioned on size, $λ\upsilon$-term $\upsilon$-normalises in $n$ normal-order (i.e. leftmost-outermost) reduction steps tends to a computable limit as the term size tends to infinity. For that purpose, we establish an effective hierarchy $\left(\mathscr{G}_n\right)_n$ of regular tree grammars partitioning $\upsilon$-normalisable terms into classes of terms normalising in $n$ normal-order rewriting steps. The main technical ingredient in our construction is an inductive approach to the construction of $\mathscr{G}_{n+1}$ out of $\mathscr{G}_n$ based, in turn, on the algorithmic construction of finite intersection partitions, inspired by Robinson's unification algorithm. Finally, we briefly discuss applications of our approach to other term rewriting systems, focusing on two closely related formalisms, i.e. the full $λ\upsilon$-calculus and combinatory logic.

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

↑