My Life with an Automatic Theorem Prover

Vampire Workshop Pub Date : 2016-02-23 DOI:10.29007/5b7w
J. Blanchette
{"title":"My Life with an Automatic Theorem Prover","authors":"J. Blanchette","doi":"10.29007/5b7w","DOIUrl":null,"url":null,"abstract":"Sledgehammer integrates third-party automatic theorem provers in the proof assistant Isabelle/HOL. In the seven years since its first release in 2007, it has grown to become an essential part of most Isabelle users’ workflow. Although a lot of effort has gone into tuning the system, the main reason for Sledgehammer’s success is the impressive power of the external provers, especially E, SPASS, Vampire, and Z3. In this paper, I review Vampire’s strengths and weaknesses in this context and propose a few directions for future work. Isabelle/HOL [27] is a proof assistant based on polymorphic higher-order logic extended with axiomatic type classes. Its tool Sledgehammer [5,28] integrates third-party automatic theorem provers to increase the level of automation. It consists of three main components: • The relevance filter [23, 26] heuristically selects a few hundred facts (lemmas, definitions, axioms) from the thousands available to Isabelle users. • The translation module [6, 25] encodes polymorphic higher-order propositions in the target prover’s logic (e.g., untyped or monomorphic first-order logic). • The reconstruction module [29, 33] produces a textual proof that can be inserted in an Isabelle development to replay the proof. Sledgehammer was originally designed by Lawrence Paulson and his team from 2003 to 2009. I took over its development in 2010 at Tobias Nipkow’s suggestion. In the last seven years or so, it has grown to become an essential part of most Isabelle users’ workflow. The following provers are supported as backends: • Unit-equality prover: Waldmeister [17]; • Superposition-based first-order provers: E [32], SPASS [38], and Vampire [31]; • Instantiation-based first-order provers: iProver [19] and iProver-Eq [20]; • SMT (satisfiability modulo theories) solvers: Alt-Ergo [10], CVC3 [3], Yices [14], and Z3 [13]; • Higher-order provers: AgsyHOL [24], LEO-II [4], and Satallax [12]. It is straightforward to extend this list with provers that can communicate in the TPTP/ TSTP [35] or SMT-LIB [30] formats. For historical reasons, the SMT solver translation is distinct from the TPTP/TSTP translation. Originally, most provers developed in the community around CADE and TPTP had no support for types or arithmetic, but this is now changing [37]. Systems such as Isabelle adhere to the tradition initiated in the 1970s by the LCF system [16]: All inferences are derived by a small trusted kernel; types and functions are defined","PeriodicalId":204675,"journal":{"name":"Vampire Workshop","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-02-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Vampire Workshop","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.29007/5b7w","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Sledgehammer integrates third-party automatic theorem provers in the proof assistant Isabelle/HOL. In the seven years since its first release in 2007, it has grown to become an essential part of most Isabelle users’ workflow. Although a lot of effort has gone into tuning the system, the main reason for Sledgehammer’s success is the impressive power of the external provers, especially E, SPASS, Vampire, and Z3. In this paper, I review Vampire’s strengths and weaknesses in this context and propose a few directions for future work. Isabelle/HOL [27] is a proof assistant based on polymorphic higher-order logic extended with axiomatic type classes. Its tool Sledgehammer [5,28] integrates third-party automatic theorem provers to increase the level of automation. It consists of three main components: • The relevance filter [23, 26] heuristically selects a few hundred facts (lemmas, definitions, axioms) from the thousands available to Isabelle users. • The translation module [6, 25] encodes polymorphic higher-order propositions in the target prover’s logic (e.g., untyped or monomorphic first-order logic). • The reconstruction module [29, 33] produces a textual proof that can be inserted in an Isabelle development to replay the proof. Sledgehammer was originally designed by Lawrence Paulson and his team from 2003 to 2009. I took over its development in 2010 at Tobias Nipkow’s suggestion. In the last seven years or so, it has grown to become an essential part of most Isabelle users’ workflow. The following provers are supported as backends: • Unit-equality prover: Waldmeister [17]; • Superposition-based first-order provers: E [32], SPASS [38], and Vampire [31]; • Instantiation-based first-order provers: iProver [19] and iProver-Eq [20]; • SMT (satisfiability modulo theories) solvers: Alt-Ergo [10], CVC3 [3], Yices [14], and Z3 [13]; • Higher-order provers: AgsyHOL [24], LEO-II [4], and Satallax [12]. It is straightforward to extend this list with provers that can communicate in the TPTP/ TSTP [35] or SMT-LIB [30] formats. For historical reasons, the SMT solver translation is distinct from the TPTP/TSTP translation. Originally, most provers developed in the community around CADE and TPTP had no support for types or arithmetic, but this is now changing [37]. Systems such as Isabelle adhere to the tradition initiated in the 1970s by the LCF system [16]: All inferences are derived by a small trusted kernel; types and functions are defined
我和自动定理证明器的生活
Sledgehammer在证明助手Isabelle/HOL中集成了第三方自动定理证明器。自2007年首次发布以来的七年里,它已经发展成为大多数Isabelle用户工作流程的重要组成部分。尽管我们在调整系统方面投入了大量精力,但《Sledgehammer》的成功主要还是得益于外部验证器的强大功能,尤其是E、SPASS、Vampire和Z3。在本文中,我将回顾《Vampire》在这方面的优势和劣势,并提出未来工作的一些方向。Isabelle/HOL[27]是一个基于多态高阶逻辑扩展公理类型类的证明助手。其工具Sledgehammer[5,28]集成了第三方自动定理证明器,以提高自动化水平。它由三个主要组成部分组成:•相关性过滤器[23,26]从Isabelle用户可用的数千个事实中启发式地选择几百个事实(引理、定义、公理)。•翻译模块[6,25]在目标证明者的逻辑(例如,无类型或单态一阶逻辑)中编码多态高阶命题。•重构模块[29,33]生成文本证明,该文本证明可以插入到Isabelle开发中以重播证明。大锤最初是由劳伦斯·保尔森和他的团队从2003年到2009年设计的。2010年,在Tobias Nipkow的建议下,我接手了它的开发工作。在过去的七年左右,它已经发展成为大多数Isabelle用户的工作流程的重要组成部分。支持以下证明器作为后端:•单位等式证明器:Waldmeister [17];•基于叠加的一阶证明:E[32]、SPASS[38]和Vampire [31];•基于实例的一阶证明器:iprove[19]和iprove - eq [20];•SMT(可满足模理论)求解器:Alt-Ergo[10]、CVC3[3]、Yices[14]、Z3 [13];•高阶证明:AgsyHOL [24], LEO-II[4],和Satallax[12]。使用可以以TPTP/ TSTP[35]或SMT-LIB[30]格式通信的证明程序扩展此列表是很简单的。由于历史原因,SMT求解器翻译不同于TPTP/TSTP翻译。最初,社区中围绕CADE和TPTP开发的大多数证明程序都不支持类型或算术,但现在这种情况正在改变[37]。像Isabelle这样的系统坚持了20世纪70年代由LCF系统发起的传统[16]:所有推论都由一个小的可信内核推导;定义了类型和函数
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书