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

按值调用λ演算机的形式化小步验证

Formal Small-step Verification of a Call-by-value Lambda Calculus Machine

Fabian Kunze, Gert Smolka, Yannick Forster

摘要:

我们正式验证一个抽象的机器调用的值的alcuda演算与de Bruijn条款,简单的替代,和小步语义。我们遵循逐步改进的方法,从一个带有替换的朴素堆栈机器开始。然后,我们细化到一个具有闭包的机器,最后是一个具有为闭包提供结构共享的堆的机器。我们证明了三个细化步骤的正确性与组成小步自下而上的模拟。有一个附带的Coq开发验证所有结果。

英文摘要:

We formally verify an abstract machine for a call-by-value lambda-calculus with de Bruijn terms, simple substitution, and small-step semantics. We follow a stepwise refinement approach starting with a naive stack machine with substitution. We then refine to a machine with closures, and finally to a machine with a heap providing structure sharing for closures. We prove the correctness of the three refinement steps with compositional small-step bottom-up simulations. There is an accompanying Coq development verifying all results.

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

↑