Autoformalize Mathematical Statements by Symbolic Equivalence and Semantic Consistency
Zenan Li, Yifan Wu, Zhaoyu Li, Xinming Wei, Xian Zhang, Fan Yang, Xiaoxing Ma
Abstract
Autoformalization, the task of automatically translating natural language descriptions into a formal language, poses a significant challenge across various domains, especially in mathematics. Recent advancements in large language models (LLMs) have unveiled their promising capabilities to formalize even competition-level math problems. However, we observe a considerable discrepancy between pass@1 and pass@k accuracies in LLM-generated formalizations. To address this gap, we introduce a novel framework that scores and selects the best result from k autoformalization candidates based on two complementary self-consistency methods: symbolic equivalence and semantic consistency. Elaborately, symbolic equivalence identifies the logical homogeneity among autoformalization candidates using automated theorem provers, and semantic consistency evaluates the preservation of the original meaning by informalizing the candidates and computing the similarity between the embeddings of the original and informalized texts. Our extensive experiments on the MATH and miniF2F datasets demonstrate that our approach significantly enhances autoformalization accuracy, achieving up to 0.22-1.35x relative improvements across various LLMs and baseline methods.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Llemma: An Open Language Model for Mathematics cites Self-Consistency Improves Chain of Thought Reasoning in Language Models
- Llemma: An Open Language Model for Mathematics cites Autoformalization with Large Language Models
- Llemma: An Open Language Model for Mathematics cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- miniF2F-Lean Revisited: Reviewing Limitations and Charting a Path Forward cites ATLAS: Autoformalizing Theorems through Lifting, Augmentation, and Synthesis of Data
- miniF2F-Lean Revisited: Reviewing Limitations and Charting a Path Forward cites Autoformalization with Large Language Models
- miniF2F-Lean Revisited: Reviewing Limitations and Charting a Path Forward cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- Least-to-Most Prompting Enables Complex Reasoning in Large Language Models cites Self-Consistency Improves Chain of Thought Reasoning in Language Models
- ATLAS: Autoformalizing Theorems through Lifting, Augmentation, and Synthesis of Data cites Llemma: An Open Language Model for Mathematics
- ATLAS: Autoformalizing Theorems through Lifting, Augmentation, and Synthesis of Data cites Autoformalization with Large Language Models
- ATLAS: Autoformalizing Theorems through Lifting, Augmentation, and Synthesis of Data cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- Autoformalization with Large Language Models cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- AutoGPS: Automated Geometry Problem Solving via Multimodal Formalization and Deductive Reasoning cites Autoformalization with Large Language Models
- Automated Formalization via Conceptual Retrieval-Augmented LLMs cites ATLAS: Autoformalizing Theorems through Lifting, Augmentation, and Synthesis of Data
- Automated Formalization via Conceptual Retrieval-Augmented LLMs cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- ASSESS: A Semantic and Structural Evaluation Framework for Statement Similarity cites ATLAS: Autoformalizing Theorems through Lifting, Augmentation, and Synthesis of Data
- ASSESS: A Semantic and Structural Evaluation Framework for Statement Similarity cites Autoformalization with Large Language Models
- ASSESS: A Semantic and Structural Evaluation Framework for Statement Similarity cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
Cited by top-tier papers11
- ATLAS: Autoformalizing Theorems through Lifting, Augmentation, and Synthesis of DataXiaoyang Liu, Kangjie Bao, Jiashuo Zhang, Yunqi Liu et al.NeurIPS 2025 · 28 citations
- miniF2F-Lean Revisited: Reviewing Limitations and Charting a Path ForwardAzim Ospanov, Farzan Farnia, Roozbeh MohitNeurIPS 2025 · 14 citations
- AutoGPS: Automated Geometry Problem Solving via Multimodal Formalization and Deductive ReasoningBowen Ping, Minnan Luo, Zhuohang Dang, Chenxi Wang et al.ICLR 2026 · 12 citations
- ASSESS: A Semantic and Structural Evaluation Framework for Statement SimilarityXiaoyang Liu, Tao Zhu, Zineng Dong, Yuntian Liu et al.ICLR 2026 · 9 citations
- Automated Formalization via Conceptual Retrieval-Augmented LLMsWangyue Lu, Lun Du, Sirui Li, Ke Weng et al.ICLR 2026 · 8 citations
Builds on13
- Self-Consistency Improves Chain of Thought Reasoning in Language ModelsXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le et al.ICLR 2023 · 681 citations
- Llemma: An Open Language Model for MathematicsZhangir Azerbayev, Hailey Schoelkopf, Keiran Paster, Marco Dos Santos et al.ICLR 2024 · 433 citations
- Autoformalization with Large Language ModelsYuhuai Wu, Albert Qiaochu Jiang, Wenda Li, Markus N. Rabe et al.NeurIPS 2022 · 364 citations
- miniF2F: a cross-system benchmark for formal Olympiad-level mathematicsKunhao Zheng, Jesse Michael Han, Stanislas PoluICLR 2022 · 342 citations
- Least-to-Most Prompting Enables Complex Reasoning in Large Language ModelsDenny Zhou, Nathanael Schärli, Le Hou, Jason Wei et al.ICLR 2023 · 318 citations
Related papers
- Mathesis: Towards Formal Theorem Proving from Natural LanguagesXuejun Yu, Jianyuan Zhong, Zijin Feng, Pengyi Zhai et al.ICLR 2026 · 15 citations
- ReForm: Reflective Autoformalization with Prospective Bounded Sequence OptimizationGuoxin Chen, Jing Wu, Xinjie Chen, Xin Zhao et al.ICLR 2026 · 22 citations
- Consistent Autoformalization for Constructing Mathematical LibrariesLan Zhang, Xin Quan, André FreitasEMNLP 2024 · 2 citations
- Don't Trust: Verify - Grounding LLM Quantitative Reasoning with AutoformalizationJin Peng Zhou, Charles Staats, Wenda Li, Christian Szegedy et al.ICLR 2024 · 72 citations
- LoC-Decomp: LLM Autoformalization via Logical Concept Decomposition and Iterative Feedback CorrectionJiangze Shi, Zhiwei Zhang, Baoquan Ma, Shuai Zhao et al.ICLR 2026
