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

强大的酿酒厂

A Strong Distillery

Beniamino Accattoli, Pablo Barenbaum, Damiano Mazza

摘要:

抽象机器的强评估的非线性项(即,在抽象)是一个最被忽视的话题,尽管他们在实现证明助手和高阶逻辑程序设计语言的使用。本文介绍了一种最简单形式的强求值机,即对范式的最左最外(按名称调用)求值,证明了它的正确性、完备性,并限制了它的开销。这样的机器,被认为是强米尔纳抽象机,是KAM计算范式的变体,只使用一个全局环境。它的性质通过一种特殊形式的解码来研究,称为蒸馏,进入线性替换演算,巧妙地将机器重新制定为显式替换的标准微步策略,即线性最左最外约简,即,线性水头降阶的范式的推广。此外,机器的开销被证明是线性的步骤的数量和初始项的大小,验证其设计。该研究强调了强机器的两个显著特征,即回溯阶段及其与抽象和环境的相互作用。

英文摘要:

Abstract machines for the strong evaluation of lambda-terms (that is, under abstractions) are a mostly neglected topic, despite their use in the implementation of proof assistants and higher-order logic programming languages. This paper introduces a machine for the simplest form of strong evaluation, leftmost-outermost (call-by-name) evaluation to normal form, proving it correct, complete, and bounding its overhead. Such a machine, deemed Strong Milner Abstract Machine, is a variant of the KAM computing normal forms and using just one global environment. Its properties are studied via a special form of decoding, called a distillation, into the Linear Substitution Calculus, neatly reformulating the machine as a standard micro-step strategy for explicit substitutions, namely linear leftmost-outermost reduction, i.e., the extension to normal form of linear head reduction. Additionally, the overhead of the machine is shown to be linear both in the number of steps and in the size of the initial term, validating its design. The study highlights two distinguished features of strong machines, namely backtracking phases and their interactions with abstractions and environments.

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

↑