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

数学基础形式化智能体:一种通用的数学基础形式化方法

Math Foundation Formalization Agent: A General-Purpose Approach to Formalizing Mathematical Foundations

School of Electronic Engineering, Beijing University of Posts and Telecommunications(北京邮电大学电子工程学院)

Jiaxin Xie, Guowei Dou, Xiang Ji, Wensheng Yu

AI总结:

本文提出通用智能体MFF-Agent,结合LLMs与Rocq能力,通过多数学领域案例验证其在异构基础级形式化任务中的可行性,明确了相关框架与完全集成数学基础的差距。

摘要:

数学形式化在建立严谨且可被机器验证的数学推理基础方面发挥着重要作用。随着大语言模型(LLMs)和交互式定理证明器的发展,智能体为数学理论形式化的自动化提供了一种有前景的方法。本文提出了数学基础形式化智能体(Math Foundation Formalization Agent,简称MFF-Agent),这是一种通用智能体,旨在支持多个数学领域的形式化任务。该智能体将大语言模型的推理能力与Rocq证明助手的形式验证能力相结合,融入了任务分类、工具辅助执行、验证反馈以及基于状态的任务管理,以支持形式化证明的生成、优化和验证。与专注于单一数学理论的方法不同,该智能体通过涉及莫尔斯-凯利公理集合论(MK)、实数、命题逻辑和选择公理等价性的案例研究进行了检验,这些案例探究了其在数学基础中的适用性,并区分了源级完成、交互式验证和可复现编译。结果表明,针对异构基础级任务的统一操作框架具有可行性,并阐明了该框架与完全集成的数学基础之间的差距。

英文摘要:

Mathematical formalization plays an important role in establishing rigorous and machine-verifiable foundations for mathematical reasoning. With the development of large language models (LLMs) and interactive theorem provers, intelligent agents offer a promising approach to automating the formalization of mathematical theories. This paper presents the Math Foundation Formalization Agent (MFF-Agent), a general-purpose intelligent agent designed to support formalization tasks across multiple mathematical domains. The agent integrates the reasoning capabilities of large language models with the formal verification capabilities of the Rocq proof assistant. It incorporates task classification, tool-assisted execution, verification feedback, and state-based task management to support the generation, refinement, and verification of formal proofs. Unlike an approach focused on a single mathematical theory, the agent is examined through case studies involving Morse--Kelley axiomatic set theory (MK), real numbers, propositional logic, and equivalences of the axiom of choice. These cases investigate its applicability across mathematical foundations and distinguish source-level completion, interactive verification, and reproducible compilation. The results demonstrate the feasibility of a unified operational framework for heterogeneous foundation-level tasks and clarify the gap between such a framework and a fully integrated mathematical foundation.

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

↑