通过模块化变换实现Coq中的通用自动化
General Automation in Coq through Modular Transformations
摘要:
基于高阶逻辑的证明助手受益于外部求解器的自动化,而基于类型论的证明助手则抵制自动化,因此需要更多的专业知识。事实上,后者使用更有表现力的逻辑,这是进一步远离一阶逻辑,最自动定理证明器的逻辑。在这篇文章中,我们开发了一种方法来将Coq目标的子集转换为一阶语句,这些语句可以由自动证明器自动排出。一般的想法是编写模块化的、成对独立的转换并将它们组合起来。这些都消除了Coq逻辑向一阶逻辑的一个特定方面。作为概念证明,我们将这种方法应用于一组简单但至关重要的转换,这些转换扩展了本地上下文,并证明了一阶断言,使Coq定义和代数类型显式。它们允许Coq的用户自动解决重要的目标。这种方法为定义和组合更复杂的转换铺平了道路,使Coq更容易访问。
英文摘要:
Whereas proof assistants based on Higher-Order Logic benefit from external solvers' automation, those based on Type Theory resist automation and thus require more expertise. Indeed, the latter use a more expressive logic which is further away from first-order logic, the logic of most automatic theorem provers. In this article, we develop a methodology to transform a subset of Coq goals into first-order statements that can be automatically discharged by automatic provers. The general idea is to write modular, pairwise independent transformations and combine them. Each of these eliminates a specific aspect of Coq logic towards first-order logic. As a proof of concept, we apply this methodology to a set of simple but crucial transformations which extend the local context with proven first-order assertions that make Coq definitions and algebraic types explicit. They allow users of Coq to solve non-trivial goals automatically. This methodology paves the way towards the definition and combination of more complex transformations, making Coq more accessible.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。