Traditional automated theorem provers have relied on manually tuned heuristics to guide how they perform proof search. Recently, however, there has been a surge of interest in the design of learning mechanisms that can be integrated into theorem provers to improve their performance automatically. In this work, we introduce TRAIL, a deep learning-based approach to theorem proving that characterizes core elements of saturation-based theorem proving within a neural framework. TRAIL leverages (a) an effective graph neural network for representing logical formulas, (b) a novel neural representation of the state of a saturation-based theorem prover in terms of processed clauses and available actions, and (c) a novel representation of the inference selection process as an attention-based action policy. We show through a systematic analysis that these components allow TRAIL to significantly outperform previous reinforcement learning-based theorem provers on two standard benchmark datasets (up to 36% more theorems proved). In addition, to the best of our knowledge, TRAIL is the first reinforcement learning-based approach to exceed the performance of a state-of-the-art traditional theorem prover on a standard theorem proving benchmark (solving up to 17% more problems).
Gym-saturation: an OpenAI Gym environment for saturation provers
CNRS(法国国家科学研究中心);Université Côte d’Azur(蔚蓝海岸大学)
“gym-saturation”是一个OpenAI Gym环境,用于能够证明定理的强化学习(RL)代理。目前,只支持以子句范式(CNF)的Thousands of Problems for Theorem Provers(TPTP)库中的形式语言编写的定理。`gym-saturation`实现了'given clause'算法(类似于Vampire和E Prover中使用的算法)。用Python编写的`gym-saturation`受到PyRes的启发。与典型的自动定理证明器(ATP)的整体架构相比,“健身房饱和度”为不同的代理人提供了自己选择条款的机会,并根据他们的经验进行训练。与特定的代理相结合,“健身饱和”可以作为ATP工作。即使使用基于遗传学的未经训练的代理,“gym-saturation”也可以从TPTP v7.5.0中找到688个(8257个)CNF问题的反驳。
Learning Guided Automated Reasoning: A Brief Survey
Czech Technical University in Prague(捷克技术大学布拉格);Radboud University Nijmegen(拉德堡德大学奈杰姆);Czech Academy of Sciences Institute for Computer Science(捷克科学院计算机科学研究所);University of Innsbruck(因斯布鲁克大学)
OptProver: Bridging Olympiad and Optimization through Continual Training in Formal Theorem Proving
School of Mathematical Sciences, Peking University(北京大学数学科学学院);Huawei Technologies(华为技术有限公司);Center for Machine Learning Research, Peking University(北京大学机器学习研究中心);Beijing International Center for Mathematical Research, Peking University(北京国际数学研究中心)
A Deep Reinforcement Learning Approach to First-Order Logic Theorem Proving
Northwestern University(西北大学);IBM Research(IBM研究院);IBM T.J. Watson Research Center(IBM托马斯·J·沃森研究中心);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);IBM Zurich Lab(IBM苏黎世实验室);The University of Auckland(奥克兰大学)
Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs
Meta AI;University of Cambridge(剑桥大学);University of Washington(华盛顿大学);Allen Institute for AI(艾伦人工智能研究所);Google Research(谷歌研究院);Cornell University(康奈尔大学);Stanford University(斯坦福大学)