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

Megrez:基于MK集合论的知识引导型形式数学智能体

Megrez: A Knowledge-Guided Agent for Formal Mathematics over MK Set Theory

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

Tiancheng Xu, Wensheng Yu

AI总结:

针对形式数学库形式化的三大障碍,提出基于MK集合论的Megrez智能体,通过知识图谱、短爆发证明循环和三检查流水线实现跨章节形式化与可扩展前提检索。

摘要:

配备证明助手工具的通用编码智能体在独立竞赛问题上表现出强劲性能,但低资源数学库内的累积教科书形式化仍面临三大障碍:将教科书概念与库声明对齐、使长程搜索与实时证明状态同步、将本地验证的证明可靠集成到不断增长的代码库中。我们提出Megrez,一种基于Morse–Kelley(MK)集合论的Rocq库知识引导型形式化智能体。Megrez通过三种机制协调通用编码智能体:(1)可源重建的知识图谱,融合形式声明、编译器引用和精选元数据,以支持通过中文别名、概念簇、证明依赖及多通道全文排名进行检索;(2)反馈驱动的1-5步策略短爆发证明循环,搭配目标本地分支账本和指数间隔结构化反思;(3)三检查接受流水线(语句保真度、公理审计和完整构建),结合多语料库提供者栈和候选边界可恢复批处理状态机。在点集拓扑语料库上的部署与评估表明,其具备有效的跨章节形式化能力和可扩展的前提检索能力。

英文摘要:

General-purpose coding agents equipped with proof-assistant tools have shown strong performance on standalone competition problems, yet cumulative textbook formalization inside a low-resource mathematical library still faces three obstacles: aligning textbook concepts with library declarations, keeping long-horizon search synchronized with live proof states, and integrating locally verified proofs reliably into a growing codebase. We present Megrez, a knowledge-guided formalization agent for Rocq libraries built on Morse--Kelley (MK) set theory. Megrez coordinates a general coding agent through three mechanisms: (1) a source-rebuildable knowledge graph merging formal declarations, compiler references, and curated metadata to support retrieval via Chinese aliases, concept clusters, proof dependencies, and multi-lane full-text ranking; (2) a feedback-driven 1--5 tactic short-burst proving loop paired with a goal-local branch ledger and exponential-interval structured reflection; and (3) a three-check acceptance pipeline (statement fidelity, axiom auditing, and full builds) coupled with a multi-corpus Provider stack and a candidate-bound recoverable batch state machine. Deployment and evaluation on a point-set topology corpus demonstrate effective cross-chapter formalization and scalable premise retrieval.

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

↑