arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.06984cs.PL
收藏

一个强按值调用的抽象机

An Abstract Machine for Strong Call by Value

Małgorzata Biernacka, Dariusz Biernacki, Witold Charatonik, Tomasz Drab

摘要:

我们提出了一个抽象的机器,实现了一个完整的减少(a.k.a.强)纯$λ$ -演算按值调用策略。它是使用Danvy et al.的函数对应从Crégut的KN:(1)解构KN的调用的名称规范化的评估功能类似于Filinski和Rohde的,(2)修改所得到的规范化,使其实现从右到左调用的价值函数的应用程序,和(3)构建功能上相应的抽象机。这台新机器实现了一个减少战略,包括火球演算变量的呼叫由Accattoli等人研究的值。我们描述了强大的战略的机器方面的减少语义和证明机器的正确性使用的方法的基础上Biernacka等人。的广义重新聚焦。作为一个副产品,我们提出了一个示例应用程序的机器检查长期可转换性的基础上,他们的部分规范化形式的歧视。

英文摘要:

We present an abstract machine that implements a full-reducing (a.k.a. strong) call-by-value strategy for pure $λ$-calculus. It is derived using Danvy et al.'s functional correspondence from Crégut's KN by: (1) deconstructing KN to a call-by-name normalization-by-evaluation function akin to Filinski and Rohde's, (2) modifying the resulting normalizer so that it implements the right-to-left call-by-value function application, and (3) constructing the functionally corresponding abstract machine. This new machine implements a reduction strategy that subsumes the fireball-calculus variant of call by value studied by Accattoli et al. We describe the strong strategy of the machine in terms of a reduction semantics and prove the correctness of the machine using a method based on Biernacka et al.'s generalized refocusing. As a byproduct, we present an example application of the machine to checking term convertibility by discriminating on the basis of their partially normalized forms.

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

↑