The ever-growing complexity of mathematical proofs makes their manual verification by mathematicians very cognitively demanding. Autoformalization seeks to address this by translating proofs written in natural language into a formal representation that is computer-verifiable via interactive theorem provers. In this paper, we introduce a semantic parsing approach, based on the Universal Transformer architecture, that translates elementary mathematical proofs into an equivalent formalization in the language of the Coq interactive theorem prover. The same architecture is also trained to translate simple imperative code decorated with Hoare triples into formally verifiable proofs of correctness in Coq. Experiments on a limited domain of artificial and human-written proofs show that the models generalize well to intermediate lengths not seen during training and variations in natural language.
Consistent Autoformalization for Constructing Mathematical Libraries
Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);Idiap Research Institute(Idiap研究 institute);National Biomarker Centre, CRUK Manchester Institute(国家生物标志物中心,CRUK曼彻斯特研究所)
Autoformalization in the Wild: Assessing LLMs on Real-World Mathematical Definitions
Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);School of Computer Science, University of Sheffield(谢菲尔德大学计算机科学学院);Idiap Research Institute(Idiap研究机构);National Biomarker Centre, CRUK Manchester Institute(国家生物标志物中心、CRUK曼彻斯特研究所)
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
Multi-Dimensional Reference-Free Refinement for Autoformalization
Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);School of Computer Science, University of Sheffield(谢菲尔德大学计算机科学学院);Idiap Research Institute(Idiap研究所);National Biomarker Centre, CRUK Manchester Institute(国家生物标记中心,CRUK曼彻斯特研究所)
The University of Hong Kong(香港大学);University of Cambridge(剑桥大学);City University of Hong Kong(香港城市大学);Peking University(北京大学);Huawei Hisilicon(华为海思);Sun Yat-sen University(中山大学);Hong Kong University of Science and Technology(香港科技大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
MASA: LLM-Driven Multi-Agent Systems for Autoformalization
Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);School of Computer Science, University of Sheffield(谢菲尔德大学计算机科学学院);Idiap Research Institute(Idiap研究 institute);National Biomarker Centre, CRUK Manchester Institute(国家生物标志物中心,CRUK曼彻斯特研究所)
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(亚马逊网络服务)
ReForm: Reflective Autoformalization with Prospective Bounded Sequence Optimization
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);Tongyi Lab, Alibaba Group(阿里巴巴集团通义实验室);Zhejiang University(浙江大学);Beijing Key Laboratory of Research on Large Models and Intelligent Governance(北京大模型与智能治理重点实验室)
Autoformalize Mathematical Statements by Symbolic Equivalence and Semantic Consistency
State Key Lab of Novel Software Technology, Nanjing University(南京大学现代软件技术国家重点实验室);Peking University(北京大学);University of Toronto(多伦多大学);Microsoft Research Asia(微软亚洲研究院)
针对 LLM 数学命题自动形式化中 pass@1 与 pass@k 的差距,提出结合符号等价性和语义一致性从 k 个候选中选择最佳结果的框架,在 MATH 与 miniF2F 上显著提升准确率。
FMC: Formalization of Natural Language Mathematical Competition Problems
State Key Laboratory for Multimedia Information Processing, School of Computer Science, PKU-Anker LLM Lab, Peking University, Beijing, China(多媒体信息处理国家重点实验室,计算机科学学院,PKU-Anker LLM实验室,北京大学,北京,中国);Paul G. Allen School of Computer Science(保罗·G·阿伦计算机科学学校);Engineering, University of Washington, U.S.A.(工程,华盛顿大学,美国)
KELPS: A Framework for Verified Multi-Language Autoformalization via Semantic-Syntactic Alignment
School of Information Science and Technology, University of Science and Technology of China(信息科学与技术学院,中国科学技术大学);USTC Knowledge Computing Lab(中国科学技术大学知识计算实验室)
RePro: Proof-Verified Benchmark Rewriting for Reliable Evaluation of LLM Mathematical Problem Solving
Nanyang Technological University(南洋理工大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));INSAIT;Sofia University “St. Kliment Ohridski”(索非亚大学“圣·克利门特·奥赫里德斯基”);Shenzhen Loop Area Institute(深圳河套学院);AIRS
A self-evolving multi-role collaborative framework with fine-grained difficulty guidance for innovative mathematical problem generation
School of Physics and Information Technology, Shaanxi Normal University(陕西师范大学物理与信息技术学院);Department of Computing Technologies, Swinburne University of Technology(斯威本科技大学计算技术系);Department of Software Engineering, University of Szeged(塞格德大学软件工程系)
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(印度科学教育与研究院)
Evaluating the Correctness of Inference Patterns Used by LLMs for Judgment
Shanghai Jiao Tong University(上海交通大学);The Chinese University of Hong Kong(香港中文大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Zhejiang University(浙江大学);Beijing Institute for General Artificial Intelligence(北京一般人工智能研究所)
AdvancedMathBench: A Benchmark Suite for Advanced Mathematical Proof Generation and Verification
Shanghai AI Laboratory(上海人工智能实验室);MMLab, The Chinese University of Hong Kong(香港中文大学多媒体实验室);Shanghai Jiao Tong University(上海交通大学);Great Bay University(大湾区大学)