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.
Correctness, Artificial Intelligence, and the Epistemic Value of Mathematical Proof
Department of Logic and Philosophy of Science University of California, Irvine(逻辑与科学哲学系加州大学伊维奇分校);Department of Mathematics University of California, Irvine(数学系加州大学伊维奇分校)
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(北京大学机器学习研究中心)
Towards a Mathematics Formalisation Assistant using Large Language Models
Microsoft Research(微软研究院);Indian Institute of Science(印度科学学院);London School of Geometry and Number Theory(伦敦几何与数论学院);Indian Institute of Science Education and Research(印度科学教育与研究院)
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(麻省理工学院)
First Experiments with Neural Translation of Informal to Formal Mathematics
University of Innsbruck(因斯布鲁克大学);Czech Technical University in Prague(布拉格捷克理工大学)
我们报告了我们的实验,训练深度神经网络,自动翻译非正式的LaTeX写的Mizar文本到正式的Mizar语言。据我们所知,这是第一次当神经网络已被采用在数学的形式化。Using Luong et al.的神经机器翻译模型(NMT),我们测试了我们对齐的非正式正式语料库对各种超参数和评估他们的结果。实验结果表明,我们的最佳模型配置能够在65.73%的推理数据上生成正确的Mizar语句,所有模型的联合覆盖率为79.17%。这些结果表明,通过人工神经网络的形式化是一种很有前途的方法自动形式化的数学。我们提出了几个案例研究来说明我们的结果。
Safe: Enhancing Mathematical Reasoning in Large Language Models via Retrospective Step-aware Formal Verification
School of Computer Science, National Key Laboratory for Multimedia Information Processing, PKU-Anker LLM Lab, Peking University(计算机学院、多媒体信息处理国家重点实验室、PKU-Anker LLM实验室、北京大学);Huawei Noah’s Ark Lab(华为诺亚实验室);The Hong Kong University of Science and Technology(香港科技大学);The Hong Kong Polytechnic University(香港理工大学)
An AI-Assisted Formalization of the Poincaré Conjecture
Peking University(北京大学);Beijing Normal University(北京师范大学);Capital Normal University(首都师范大学);New Cornerstone Science Laboratory(新基石科学实验室);Center for Machine Learning Research, Peking University(北京大学机器学习研究中心);Great Bay University(大湾区大学);Zhongguancun Academy(中关村学院)