Formal theorem proving, a field at the intersection of mathematics and computer science, has seen renewed interest with advancements in large language models (LLMs). This paper introduces SubgoalXL, a novel approach that synergizes subgoal-based proofs with expert learning to enhance LLMs' capabilities in formal theorem proving within the Isabelle environment. SubgoalXL addresses two critical challenges: the scarcity of specialized mathematics and theorem-proving data, and the need for improved multi-step reasoning abilities in LLMs. By optimizing data efficiency and employing subgoal-level supervision, SubgoalXL extracts richer information from limited human-generated proofs. The framework integrates subgoal-oriented proof strategies with an expert learning system, iteratively refining formal statement, proof, and subgoal generators. Leveraging the Isabelle environment's advantages in subgoal-based proofs, SubgoalXL achieves a new state-of-the-art performance of 56.1\% in Isabelle on the standard miniF2F dataset, marking an absolute improvement of 4.9\%. Notably, SubgoalXL successfully solves 41 AMC12, 9 AIME, and 3 IMO problems from miniF2F. These results underscore the effectiveness of maximizing limited data utility and employing targeted guidance for complex reasoning in formal theorem proving, contributing to the ongoing advancement of AI reasoning capabilities. The implementation is available at \url{https://github.com/zhaoxlpku/SubgoalXL}.
FormalML: A Benchmark for Evaluating Formal Subgoal Completion in Machine Learning Theory
State Key Laboratory of Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);School of Intelligence Science and Technology, Nanjing University(南京大学智能科学与技术学院);Department of Computer Science, ETH Zurich, Switzerland(瑞士苏黎世联邦理工学院计算机科学系);School of Computing and Mathematical Sciences, Birkbeck, University of London, UK(伦敦大学伯克贝克学院计算与数学科学学院)
MechMath: Sorrifier-Driven Formal Decomposition Workflow for Automated Theorem Proving
Academy of Mathematics and Systems Science, CAS(数学与系统科学研究院,中国科学院);School of Advanced Interdisciplinary Sciences, UCAS(交叉科学学院,中国科学院大学);School of Mathematical Science, UCAS(数学科学学院,中国科学院大学)
Sun Yat-sen University(中山大学);University of Edinburgh(爱丁堡大学);City University of Hong Kong(香港城市大学);HKU(香港大学);HKUST (Guangzhou)(香港科技大学(广州));HKUST(香港科技大学);MBZUAI(穆罕默德·本·扎耶德人工智能大学)
Nanyang Technological University Singapore(南洋理工大学新加坡分校);Imperial College London London, UK(伦敦帝国理工学院伦敦分校);University of Edinburgh Edinburgh, UK(爱丁堡大学爱丁堡分校)
Prover Agent: An Agent-Based Framework for Formal Mathematical Proofs
The University of Tokyo, Tokyo, Japan(东京大学);National Institute of Informatics, Tokyo, Japan(日本信息处理学会);Research and Development Center for Large Language Models, National Institute of Informatics, Tokyo, Japan(大型语言模型研究开发中心);Kyoto University, Kyoto, Japan(京都大学);Shiga University, Shiga, Japan(滋贺大学);RIKEN Center for Advanced General Intelligence for Science Program, Kobe, Japan(理化学研究所高级一般智能科学项目中心);National Institute of Science Technology Policy (NISTEP), Tokyo, Japan(科学与技术政策国立研究所)
Self-driven Grounding: Large Language Model Agents with Automatical Language-aligned Skill Learning
Intelligent Software Research Center, Institute of Software, CAS(中国科学院软件研究所智能软件研究中心);SKL of Processors, Institute of Computing Technology, CAS(中国科学院计算技术研究所处理器国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Cambricon Technologies(寒武纪科技);University of Science and Technology of China(中国科学技术大学)
Neuro-Symbolic Proof Generation for Scaling Systems Software Verification
State Key Laboratory of Novel Software Technology, Nanjing University, China(南京大学新型软件技术国家重点实验室);School of Computer Science, Nanjing University, China(南京大学计算机科学学院);Department of Computer Science, ETH Zurich, Switzerland(苏黎世联邦理工学院计算机科学系);School of Computing and Mathematical Sciences, Birkbeck, University of London, UK(伦敦大学伯克贝克学院计算与数学科学学院)