CoProver: A Recommender System for Proof Construction

Eric Yeh, B. Hitaj, S. Owre, Maena Quemener, N. Shankar
{"title":"CoProver: A Recommender System for Proof Construction","authors":"Eric Yeh, B. Hitaj, S. Owre, Maena Quemener, N. Shankar","doi":"10.48550/arXiv.2304.10486","DOIUrl":null,"url":null,"abstract":"Interactive Theorem Provers (ITPs) are an indispensable tool in the arsenal of formal method experts as a platform for construction and (formal) verification of proofs. The complexity of the proofs in conjunction with the level of expertise typically required for the process to succeed can often hinder the adoption of ITPs. A recent strain of work has investigated methods to incorporate machine learning models trained on ITP user activity traces as a viable path towards full automation. While a valuable line of investigation, many problems still require human supervision to be completed fully, thus applying learning methods to assist the user with useful recommendations can prove more fruitful. Following the vein of user assistance, we introduce CoProver, a proof recommender system based on transformers, capable of learning from past actions during proof construction, all while exploring knowledge stored in the ITP concerning previous proofs. CoProver employs a neurally learnt sequence-based encoding of sequents, capturing long distance relationships between terms and hidden cues therein. We couple CoProver with the Prototype Verification System (PVS) and evaluate its performance on two key areas, namely: (1) Next Proof Action Recommendation, and (2) Relevant Lemma Retrieval given a library of theories. We evaluate CoProver on a series of well-established metrics originating from the recommender system and information retrieval communities, respectively. We show that CoProver successfully outperforms prior state of the art applied to recommendation in the domain. We conclude by discussing future directions viable for CoProver (and similar approaches) such as argument prediction, proof summarization, and more.","PeriodicalId":236059,"journal":{"name":"International Conference on Intelligent Computer Mathematics","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Intelligent Computer Mathematics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2304.10486","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Interactive Theorem Provers (ITPs) are an indispensable tool in the arsenal of formal method experts as a platform for construction and (formal) verification of proofs. The complexity of the proofs in conjunction with the level of expertise typically required for the process to succeed can often hinder the adoption of ITPs. A recent strain of work has investigated methods to incorporate machine learning models trained on ITP user activity traces as a viable path towards full automation. While a valuable line of investigation, many problems still require human supervision to be completed fully, thus applying learning methods to assist the user with useful recommendations can prove more fruitful. Following the vein of user assistance, we introduce CoProver, a proof recommender system based on transformers, capable of learning from past actions during proof construction, all while exploring knowledge stored in the ITP concerning previous proofs. CoProver employs a neurally learnt sequence-based encoding of sequents, capturing long distance relationships between terms and hidden cues therein. We couple CoProver with the Prototype Verification System (PVS) and evaluate its performance on two key areas, namely: (1) Next Proof Action Recommendation, and (2) Relevant Lemma Retrieval given a library of theories. We evaluate CoProver on a series of well-established metrics originating from the recommender system and information retrieval communities, respectively. We show that CoProver successfully outperforms prior state of the art applied to recommendation in the domain. We conclude by discussing future directions viable for CoProver (and similar approaches) such as argument prediction, proof summarization, and more.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
CoProver:一个用于证明构建的推荐系统
交互定理证明器(ITPs)作为构造和(正式)验证证明的平台,是形式化方法专家库中不可或缺的工具。证明的复杂性,加上这一过程成功通常需要的专门知识水平,往往会阻碍技术转让方案的采用。最近的一项工作是研究将ITP用户活动跟踪训练的机器学习模型作为实现完全自动化的可行途径的方法。虽然这是一条有价值的调查路线,但许多问题仍然需要人类的监督才能完全完成,因此应用学习方法来帮助用户提供有用的建议可能会更有成效。在用户的帮助下,我们推出了CoProver,一个基于变压器的证明推荐系统,能够在证明构建过程中学习过去的行为,同时探索存储在ITP中的关于以前证明的知识。CoProver采用基于序列的神经学习编码,捕捉术语和隐藏线索之间的远距离关系。我们将CoProver与原型验证系统(Prototype Verification System, PVS)结合在一起,并在两个关键领域对其性能进行了评估,即:(1)下一步证明行动推荐;(2)给定理论库的相关引理检索。我们分别根据来自推荐系统和信息检索社区的一系列完善的指标来评估CoProver。我们展示了coprove成功地超越了应用于该领域推荐的先前技术状态。最后,我们讨论了CoProver(以及类似的方法)未来可行的方向,比如论证预测、证明总结等等。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Multiple-Inheritance Hazards in Dependently-Typed Algebraic Hierarchies Teaching Linear Algebra in a Mechanized Mathematical Environment Large-Scale Formal Proof for the Working Mathematician - Lessons Learnt from the ALEXANDRIA Project CoProver: A Recommender System for Proof Construction Highlighting Named Entities in Input for Auto-Formulation of Optimization Problems
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1