arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.14027cs.AI
收藏

Numina-Lean-Agent: 一种面向形式数学的开放且通用的代理推理系统

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

AI总结:

Numina-Lean-Agent通过通用编码代理实现形式数学推理,解决Putnam 2025全部问题并成功形式化Brascamp-Lieb定理。

摘要:

代理系统近年来已成为形式定理证明的主导范式,通过协调多个模型和工具实现了强劲的性能。然而,现有方法往往依赖于任务特定的流水线和训练过的形式证明器,限制了其灵活性和可重复性。在本文中,我们提出了一种直接使用通用编码代理作为形式数学推理器的范式。这一范式受到三个因素的启发:(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑