Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematics
Academy of Mathematics and Systems Science, University of Chinese Academy of Sciences(中国科学院数学与系统科学研究院);Tongji University(同济大学);University of Cambridge(剑桥大学);Imperial College London(伦敦帝国学院);University of Edinburgh(爱丁堡大学);University of Liverpool(利物浦大学);Xi'an Jiaotong-Liverpool University(西安交通大学利物浦大学)
Junqi Liu, Zihao Zhou, Zekai Zhu, Marco Dos Santos, Weikun He, Jiawei Liu, Ran Wang, Yunzhou Xie, Junqiao Zhao, Qiufeng Wang, Lihong Zhi, Jia Li, Wenda Li
代理系统近年来已成为形式定理证明的主导范式,通过协调多个模型和工具实现了强劲的性能。然而,现有方法往往依赖于任务特定的流水线和训练过的形式证明器,限制了其灵活性和可重复性。在本文中,我们提出了一种直接使用通用编码代理作为形式数学推理器的范式。这一范式受到三个因素的启发:(1)通用编码代理为超越证明的多样化推理任务提供了自然的接口;(2)通过简单替换底层基础模型即可提升性能,而无需训练;(3)MCP能够实现灵活的扩展和自主调用专用工具,避免复杂的架构设计。基于这一范式,我们引入了Numina-Lean-Agent,它结合了Claude Code与Numina-Lean-MCP,以实现与Lean的自主交互、相关定理的检索、非正式证明和辅助推理工具。使用Claude Opus 4.5作为基础模型,Numina-Lean-Agent解决了Putnam 2025中的所有问题(12/12),与最佳闭源系统相匹配。除了基准评估外,我们还通过与数学家互动,成功形式化了Brascamp-Lieb定理,以证明其通用性。我们发布Numina-Lean-Agent和所有解决方案在https://github.com/project-numina/numina-lean-agent。
英文摘要:
Agentic systems have recently become the dominant paradigm for formal theorem proving, achieving strong performance by coordinating multiple models and tools. However, existing approaches often rely on task-specific pipelines and trained formal provers, limiting their flexibility and reproducibility. In this paper, we propose the paradigm that directly uses a general coding agent as a formal math reasoner. This paradigm is motivated by (1) A general coding agent provides a natural interface for diverse reasoning tasks beyond proving, (2) Performance can be improved by simply replacing the underlying base model, without training, and (3) MCP enables flexible extension and autonomous calling of specialized tools, avoiding complex design. Based on this paradigm, we introduce Numina-Lean-Agent, which combines Claude Code with Numina-Lean-MCP to enable autonomous interaction with Lean, retrieval of relevant theorems, informal proving and auxiliary reasoning tools. Using Claude Opus 4.5 as the base model, Numina-Lean-Agent solves all problems in Putnam 2025 (12 / 12), matching the best closed-source system. Beyond benchmark evaluation, we further demonstrate its generality by interacting with mathematicians to successfully formalize the Brascamp-Lieb theorem. We release Numina-Lean-Agent and all solutions at https://github.com/project-numina/numina-lean-agent.
SHADOWBENCH: Toward Reliable Automatic Evaluation of Semantic Alignment in Autoformalization
Electronics and Telecommunications Research Institute(电子通信研究院);Seoul National University(首尔大学);University of Maryland, College Park(马里兰大学帕克分校);Amazon Web Services(亚马逊网络服务)
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(北京大学机器学习研究中心)
IneqAgent: Agentic Inequality Proving in Lean with Symbolic Computation
School of Software Engineering, East China Normal University(华东师范大学软件工程学院);School of Computer and Information Science, Southwest University(西南大学计算机与信息科学学院)
AIProver: Agentic Auto-Formalization of Mathematical Research via Certificate-Driven Evolving Harness
Georgia Institute of Technology(佐治亚理工学院);University of Pennsylvania(宾夕法尼亚大学);Foothill College(山麓学院);Rutgers University(罗格斯大学);Simon Fraser University(西蒙弗雷泽大学);University of Texas at Austin(德克萨斯大学奥斯汀分校)
Awakening the Sleeping Agent: Lean-Specific Agentic Data Reactivates General Tool Use in Goedel Prover
Princeton Language and Intelligence(普林斯顿语言与智能);Amazon(亚马逊);Department of Computer Science, University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校计算机科学系)
LeanConjecturer: Automatic Generation of Mathematical Conjectures for Theorem Proving
OMRON SINIC X Corporation(OMRON SINIC X公司);Department of Physics, Kyoto University(京都大学物理系);AI Innovation Research Promotion Center, Shiga University(Shiga大学AI创新研究促进中心);Research and Development Center for Large Language Models, National Institute of Informatics(国家信息研究所大型语言模型研究开发中心);National Institute of Science and Technology Policy (NISTEP)(科学技术政策研究所)
LeanMarathon: Toward Reliable AI Co-Mathematicians through Long-Horizon Lean Autoformalization
Department of Statistics, University of Warwick, UK(英国沃里克大学统计系);Center for Advanced Intelligence Project, RIKEN, Japan(日本理化学研究所高级智能项目);Department of Statistics, University of Michigan, USA(美国密歇根大学统计系);Department of Mathematical Informatics, The University of Tokyo(东京大学数学信息学系;日本理化学研究所高级智能项目);also Center for Advanced Intelligence Project, RIKEN, Japan(加州大学伯克利分校电气工程与计算机科学系;统计系);Department of Electrical Engineering and Computer Sciences, also Department of Statistics, University of California, Berkeley, USA(上海交通大学数学科学学院,自然科学院和MOE-LSC);School of Mathematical Sciences, Institute of Natural Sciences and MOE-LSC, Shanghai Jiao Tong University, China
The mechanization of science illustrated by the Lean formalization of the multi-graded Proj construction
Einstein Institute of Mathematics, The Hebrew University of Jerusalem(以撒·牛顿数学研究所,耶路撒冷希伯来大学);Department of Mathematics, Imperial College London(伦敦帝国理工学院数学系)
TheoremBench: Evaluating LLMs on Theorem Proving in Formal Mathematics
Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究所);HSE University(高等经济大学);Artificial Intelligence Research Institute(人工智能研究所);Sberbank(俄罗斯联邦储蓄银行)
MathlibLemma: Folklore Lemma Generation and Benchmark for Formal Mathematics
Department of Computer Science, University of Virginia(弗吉尼亚大学计算机科学系);Astronomy , California Institute of Technology(加州理工学院天文学系);Purdue University(普渡大学);Massachusetts Institute of Technology(麻省理工学院)
From LLM-Generated Conjectures to Lean Formalizations: Automated Polynomial Inequality Proving via Sum-of-Squares Certificates
School of Software Engineering, East China Normal University, Shanghai, China(东华大学软件工程学院);College of Computer Science and Technology, National University of Defense Technology, Changsha, China(国防科技大学计算机科学与技术学院);School of Computer and Information Engineering, Henan University, Kaifeng, China(河南大学计算机与信息工程学院)
Herald: A Natural Language Annotated Lean 4 Dataset
Peking University(北京大学);National University of Singapore(新加坡国立大学);Beijing International Center for Mathematical Research(北京国际数学研究中心);Center for Machine Learning Research, Peking University(北京大学机器学习研究中心)
Ax-Prover: A Deep Reasoning Agentic Framework for Theorem Proving in Mathematics and Quantum Physics
Axiomatic_AI(公理人工智能);Massachusetts Institute of Technology (MIT)(麻省理工学院);Institut de Ciències Fotòniques (ICFO)(光子科学研究所);Institució Catalana de Recerca i Estudis Avançats (ICREA)(加泰罗尼亚高级研究与高等学院)