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

Coq 中替换引理的形式化扩展

A Formalized Extension of the Substitution Lemma in Coq

Maria J. D. Lima, Flávio L. C. de Moura

AI总结:

本文在 Coq 中形式化验证了扩展显式替换算子后的 lambda 演算语法下替换引理仍然成立,采用 nominal 方法处理 alpha 等价,为不同显式替换演算提供了通用框架。

摘要:

替换引理是 lambda 演算理论领域中一个著名的定理,涉及元替换操作的交互行为。在本文中,我们通过引入一个未解释的显式替换算子来扩展 lambda 演算的语法,这使得我们的框架能够适用于具有显式替换的不同演算系统。我们的主要贡献在于验证了尽管进行了这些修改,替换引理仍然保持有效。这一确认是通过 Coq 证明助手实现的。我们的形式化方法采用 nominal 方法,该方法提供了 alpha 等价概念的直接实现。证明中涉及的变量重命名策略带来了挑战,特别是在确保探索我们对 lambda 演算语法扩展的影响方面。

英文摘要:

The substitution lemma is a renowned theorem within the realm of lambda-calculus theory and concerns the interactional behaviour of the metasubstitution operation. In this work, we augment the lambda-calculus's grammar with an uninterpreted explicit substitution operator, which allows the use of our framework for different calculi with explicit substitutions. Our primary contribution lies in verifying that, despite these modifications, the substitution lemma continues to remain valid. This confirmation was achieved using the Coq proof assistant. Our formalization methodology employs a nominal approach, which provides a direct implementation of the alpha-equivalence concept. The strategy involved in variable renaming within the proofs presents a challenge, specially on ensuring an exploration of the implications of our extension to the grammar of the lambda-calculus.

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

↑