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

减少毁林:重新聚焦

A Deforestation of Reducts: Refocusing

Olivier Danvy

摘要:

在具有确定性归约策略的小步语义中,重新聚焦是将基于归约的归一化函数(即,列举归约序列中的连续项-连续归约的归一化函数)和无归约归一化函数(即,不构造任何约简的归一化函数,因为所有的约简都被砍伐)。这种转换是尼尔森和作者在2000年代初引入的,并附有非正式的正确性证明。从那时起,它已被用于各种设置,从Biernacka和作者的演算和抽象机器之间的语法对应开始,并提出了几个形式化的证明。本文提供了一个简单的重新聚焦的正式证明,它使用了Coq证明助手,并与原始想法的简单性保持一致。

英文摘要:

In a small-step semantics with a deterministic reduction strategy, refocusing is a transformation that connects a reduction-based normalization function (i.e., a normalization function that enumerates the successive terms in a reduction sequence -- the successive reducts) and a reduction-free normalization function (i.e., a normalization function that does not construct any reduct because all the reducts are deforested). This transformation was introduced by Nielsen and the author in the early 2000's with an informal correctness proof. Since then, it has been used in a variety of settings, starting with Biernacka and the author's syntactic correspondence between calculi and abstract machines, and several formal proofs of it have been put forward. This article presents a simple, if overdue, formal proof of refocusing that uses the Coq Proof Assistant and is aligned with the simplicity of the original idea.

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

↑