Lassie:HOL4战术举例
Lassie: HOL4 Tactics by Example
摘要:
使用交互式定理证明的证明工程工作已经在软件系统和数学领域产生了几个令人印象深刻的项目。这种努力的一个关键障碍是要求领域专家也是在构造定理证明器中的证明的低层次细节方面的专家。特别地,用户需要选择导致成功证明的一系列策略,这是一项通常需要知道确切名称并使用大量策略的任务。我们提出了Lassie,HOL4定理证明器的战术框架,允许个人用户通过示例定义自己的战术语言,并给出常用的战术或战术组合,以便于记住名称。Lassie的核心是一个可扩展的语义解析器,它允许用户通过定义泛化的过程交互地扩展策略语言。因此,在Lassie中定义策略不需要任何实现自定义策略的知识,而在Lassie中编写的证明保留了HOL4系统提供的正确性保证。我们通过案例研究展示了Lassie如何被新手和更有经验的交互式定理证明器用户用于小型和大型证明,以及我们如何设想它在HOL4教程中缓解学习曲线。
英文摘要:
Proof engineering efforts using interactive theorem proving have yielded several impressive projects in software systems and mathematics. A key obstacle to such efforts is the requirement that the domain expert is also an expert in the low-level details in constructing the proof in a theorem prover. In particular, the user needs to select a sequence of tactics that lead to a successful proof, a task that in general requires knowledge of the exact names and use of a large set of tactics. We present Lassie, a tactic framework for the HOL4 theorem prover that allows individual users to define their own tactic language by example and give frequently used tactics or tactic combinations easier-to-remember names. The core of Lassie is an extensible semantic parser, which allows the user to interactively extend the tactic language through a process of definitional generalization. Defining tactics in Lassie thus does not require any knowledge in implementing custom tactics, while proofs written in Lassie retain the correctness guarantees provided by the HOL4 system. We show through case studies how Lassie can be used in small and larger proofs by novice and more experienced interactive theorem prover users, and how we envision it to ease the learning curve in a HOL4 tutorial.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。