Large language models (LLMs) have been used to generate formal proofs of mathematical theorems in proofs assistants such as Lean. However, we often want to optimize a formal proof with respect to various criteria, depending on its downstream use. For example, we may want a proof to adhere to a certain style, or to be readable, concise, or modularly structured. Having suitably optimized proofs is also important for learning tasks, especially since human-written proofs may not optimal for that purpose. To this end, we study a new problem of automated proof optimization: rewriting a proof so that it is correct and optimizes for an arbitrary criterion, such as length or readability. As a first method for automated proof optimization, we present ImProver, a large-language-model agent that rewrites proofs to optimize arbitrary user-defined metrics in Lean. We find that naively applying LLMs to proof optimization falls short, and we incorporate various improvements into ImProver, such as the use of symbolic Lean context in a novel Chain-of-States technique, as well as error-correction and retrieval. We test ImProver on rewriting real-world undergraduate, competition, and research-level mathematics theorems, finding that ImProver is capable of rewriting proofs so that they are substantially shorter, more modular, and more readable.
Lean Meets Theoretical Computer Science: Scalable Synthesis of Theorem Proving Challenges in Formal-Informal Pairs
D-CHAB, ETH Zurich, Zurich, Switzerland.;D-INFK, ETH Zurich, Zurich, Switzerland.;ETH AI Center, Zurich, Switzerland.;University of Pennsylvania, PA, USA.;Independent Researcher.
Bolzano: From Expert-Guided Proof Search to Automated Open-Problem Solving
Computer Science Institute, Charles University(查尔斯大学计算机科学研究所);Institute of Formal and Applied Linguistics, Charles University(查尔斯大学形式与应用语言学研究所);Department of Applied Mathematics, Charles University(查尔斯大学应用数学系);Institute of Mathematics, Czech Academy of Sciences(捷克科学院数学研究所)
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(斯坦福大学)
Automated Proof Generation for Rust Code via Self-Evolution
Peking University(北京大学);Microsoft Research(微软研究院);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Columbia University(哥伦比亚大学);University of California Irvine(加州大学 Irvine 分校)
Mask-Proof: An LLM-based Automated Data Curation Pipeline on Mathematical Proofs
School of Computer Science, Beijing University of Posts and Telecommunications(北京邮电大学计算机学院);Graduate College for Engineers, Beijing University of Posts and Telecommunications(北京邮电大学研究生院工程师学院);School of Mathematical Sciences, Fudan University(复旦大学数学科学学院);School of Cyberspace Security, Beijing University of Posts and Telecommunications(北京邮电大学网络空间安全学院);School of Computer Science and Technology, Dalian University of Technology(大连理工大学计算机科学与技术学院);Chu Kochen Honors College, Zhejiang University(浙江大学竺可桢学院);Department of Psychological and Cognitive Sciences, Tsinghua University(清华大学心理学与认知科学系);State Key Laboratory of Virtual Reality Technology and Systems, Beihang University(北京航空航天大学虚拟现实技术与系统国家重点实验室);School of Intelligence Science and Technology, Nanjing University(南京大学智能科学与技术学院)
AutoVerus: Automated Proof Generation for Rust Code
University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Columbia University(哥伦比亚大学);University of California Irvine(加州大学尔湾分校);University of Toronto(多伦多大学);Microsoft Research(微软研究院);Microsoft Research Asia(微软亚洲研究院);University of Chicago(芝加哥大学)
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(数学科学学院,中国科学院大学)
Automated Completion of Statements and Proofs in Synthetic Geometry: an Approach based on Constraint Solving
UMR 7357 CNRS University of Strasbourg(斯特拉斯堡大学国家科学研究中心7357联合研究单位);Department for Computer Science Faculty of Mathematics University of Belgrade(贝尔格莱德大学数学学院计算机科学系)
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(因斯布鲁克大学)
RefGrader: Automated Grading of Mathematical Competition Proofs using Agentic Workflows
Pennsylvania State University(宾夕法尼亚州立大学);City University of New York(纽约市立大学);New York University(纽约大学);Amirkabir University of Technology(阿米尔卡比尔理工大学);Autodesk(欧特克公司);Carnegie Mellon University(卡内基梅隆大学)
LLM-based Automated Theorem Proving Hinges on Scalable Synthetic Data Generation
State Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术全国重点实验室);School of Computing and Mathematical Sciences, Birkbeck, University of London(伦敦大学伯贝克学院计算与数学科学学院)
Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verification
University of California San Diego(加利福尼亚大学圣迭戈分校);INESC-ID(INESC-ID(里斯本计算机与系统工程研究所));IST, University of Lisbon(里斯本大学高等技术学院);Imperial College London(伦敦帝国学院);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)
Rango 是一个面向 Coq 的全自动证明合成工具,通过在每步证明中利用检索增强技术自适应地引入相关前提和相似证明,在自建基准上比 SOTA 工具 Tactician 多证明 29% 的定理。
M2F: Automated Formalization of Mathematical Literature at Scale
School of Mathematical Sciences, Peking University(北京大学数学科学学院);Beijing International Center for Mathematical Research, Peking University(北京大学北京国际数学研究中心);Huawei Technologies(华为技术有限公司);Center for Machine Learning Research, Peking University(北京大学机器学习研究中心)