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

Trocq:免费的证明迁移,有无单一性公理均可

Trocq: Proof Transfer for Free, With or Without Univalence

Cyril Cohen, Enzo Crance, Assia Mahboubi

AI总结:

本文提出用于依值类型论的证明迁移框架Trocq,基于新型类型等价推广单一性参数化翻译,避免依赖单一性公理,并实现Coq插件验证其有效性。

摘要:

形式化数学库对同一数学概念可能使用广泛的不同表示。然而,当这类显而易见的替换在纸面上通常被隐去不写时,要获得定理的相应变体,往往仍需用户进行轻度至重度的手动输入。本文提出了Trocq,一个用于依值类型论的全新证明迁移框架。Trocq基于一种新颖的类型等价表述,用于推广单一性参数化翻译。该框架负责在可能的情况下避免对单一性公理的依赖,并且可使用比仅限于等价更多的关系。我们已在CoqElpi元语言中,为Coq证明助手实现了一个相应的插件。我们在交互式定理证明中一系列具有代表性的证明迁移问题示例上使用了该插件,并阐明了Trocq如何涵盖若干现有工具的范畴,这些工具既用于程序验证,也用于广义上的形式化数学。

英文摘要:

Libraries of formalized mathematics use a possibly broad range of different representations for a same mathematical concept. Yet light to major manual input from users remains most often required for obtaining the corresponding variants of theorems, when such obvious replacements are typically left implicit on paper. This article presents Trocq, a new proof transfer framework for dependent type theory. Trocq is based on a novel formulation of type equivalence, used to generalize the univalent parametricity translation. This framework takes care of avoiding dependency on the axiom of univalence when possible, and may be used with more relations than just equivalences. We have implemented a corresponding plugin for the Coq proof assistant, in the CoqElpi meta-language. We use this plugin on a gallery of representative examples of proof transfer issues in interactive theorem proving, and illustrate how Trocq covers the spectrum of several existing tools, used in program verification as well as in formalized mathematics in the broad sense.

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

↑