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

基于接口理论的形式系统间对齐翻译

Alignment-based Translations Across Formal Systems Using Interface Theories

Dennis Müller, Colin Rothgang, Yufei Liu, Florian Rabe

摘要:

在不同的逻辑和定理证明器之间转换表达式是众所周知的,并且通常非常困难,这是由于逻辑基础、系统的实现以及各自库的结构之间的巨大差异。在定理证明者之间交换定理的实际解决方案仍然是脆弱的。因此,库不容易跨系统重用,并且必须花费大量的精力来重新形式化和证明每个系统中的基本结果。值得注意的是,如果我们只尝试交换定理陈述而放弃交换证明,这个问题就已经存在了。在以前的工作中,我们介绍了对齐作为一个轻量级的标准,跨库的相关概念,并强调它将提供一个很好的基础,翻译表达式。在本文中,我们证明了这种方法的可行性。我们使用一个基本的未提交的框架来编写接口理论,从逻辑基础,实现和库结构中抽象出来。然后,我们使用对齐来记录接口理论中的概念是如何在几个主要的证明助手库中实现的,我们使用这些信息来跨库翻译表达式。具体来说,我们提出了几个领域的数学和示范性的接口理论-在总数-手动找到几百个路线。

英文摘要:

Translating expressions between different logics and theorem provers is notoriously and often prohibitively difficult, due to the large differences between the logical foundations, the implementations of the systems, and the structure of the respective libraries. Practical solutions for exchanging theorems across theorem provers have remained both weak and brittle. Consequently, libraries are not easily reusable across systems, and substantial effort must be spent on reformalizing and proving basic results in each system. Notably, this problem exists already if we only try to exchange theorem statements and forgo exchanging proofs. In previous work we introduced alignments as a lightweight standard for relating concepts across libraries and conjectured that it would provide a good base for translating expressions. In this paper, we demonstrate the feasibility of this approach. We use a foundationally uncommitted framework to write interface theories that abstract from logical foundation, implementation, and library structure. Then we use alignments to record how the concepts in the interface theories are realized in several major proof assistant libraries, and we use that information to translate expressions across libraries. Concretely, we present exemplary interface theories for several areas of mathematics and - in total - several hundred alignments that were found manually.

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

↑