MathForm: Scaling Mathematical Autoformalization with Knowledge Retrieval and Verification-Guided Refinement
Not on the map. Why?
Abstract (arXiv)
Autoformalization is commonly framed as translating natural-language mathematical statements into machine-verifiable formal languages such as Lean 4. However, faithful formalization requires more than translation. Models must map mathematical concepts to the complex hierarchy of types and definitions in formal libraries such as Mathlib, while ensuring that generated statements preserve the meaning of the source propositions. Existing approaches struggle because they rely heavily on the model's parametric memory for library-specific knowledge, while common data construction pipelines often resort to filtering single-pass outputs and lack mechanisms for feedback-driven revision. To address these challenges, we introduce MathForm, an autoformalization framework for constructing verified training data through Mathlib knowledge retrieval and verification-guided iterative refinement. Before generation, a retrieval planner gathers relevant definitions and existing formalizations from Mathlib to guide the formalization generator. Generated statements are then revised using compiler diagnostics and semantic-consistency feedback. Using this framework, we construct FormalVerse, a Lean 4 dataset containing approximately 367K verified examples across diverse mathematical domains and sources. We then train MathForm-8B through supervised fine-tuning followed by reinforcement learning. Across six benchmarks, MathForm-8B achieves average Pass@8 rates of 88.06% under Syntax Check (SC) and 72.37% under Consistency Check (CC), outperforming multiple specialized 32B autoformalizers. On the challenging FATE-H and FATE-X subsets, it attains CC pass rates of 63% and 37%, exceeding the strongest specialized baselines in both cases.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 29 of its 39 references that are in the map. First posted on arXiv 14 Aug 2026.
Builds on
29 of 39 references.
References · 29
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 391
- 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 287
- 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoningcited by 280
- 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 154
- 2024Lean Workbook: A large-scale Lean problem set formalized from natural language math problemscited by 122
17 more
- 2025AceReason-Nemotron: Advancing Math and Code Reasoning through Reinforcement Learningcited by 87
- 2024TheoremLlama: Transforming General-Purpose LLMs into Lean4 Expertscited by 59
- 2025FormalMATH: Benchmarking Formal Mathematical Reasoning of Large Language Modelscited by 48
- 2025CombiBench: Benchmarking LLM Capability for Combinatorial Mathematicscited by 31
- 2025FATE: A Formal Benchmark Series for Frontier Algebra of Multiple Difficulty Levelscited by 27
- 2024LEAN-GitHub: Compiling GitHub LEAN repositories for a versatile LEAN provercited by 25
- 2025DeepTheorem: Advancing LLM Reasoning for Theorem Proving Through Natural Language and Reinforcement Learningcited by 24
- 2025Aria: An Agent For Retrieval and Iterative Auto-Formalization via Dependency Graphcited by 21
- 2025ReForm: Reflective Autoformalization with Prospective Bounded Sequence Optimizationcited by 20
- 2025Mathesis: Towards Formal Theorem Proving from Natural Languagescited by 18
- 2025LeanExplore: A search engine for Lean 4 declarationscited by 18
- 2025Kimina Lean Server: A High-Performance Lean Server for Large-Scale Verificationcited by 17
- 2025StepFun-Formalizer: Unlocking the Autoformalization Potential of LLMs through Knowledge-Reasoning Fusioncited by 16
- 2025DRIFT: Decompose, Retrieve, Illustrate, then Formalize Theoremscited by 8
- 2025Autoformalizer with Tool Feedbackcited by 7
- 2026Reasoning over mathematical objects: on-policy reward modeling and test time aggregationcited by 3
- 2026MA-ProofBench: A Two-Tiered Evaluation of LLMs for Theorem Proving in Mathematical Analysiscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Autoformalize Mathematical Statements by Symbolic Equivalence and Semantic Consistency
- 2025Improving Autoformalization Using Direct Dependency Retrieval
- 2025Automated Formalization via Conceptual Retrieval-Augmented LLMs
- 2025ATLAS: Autoformalizing Theorems through Lifting, Augmentation, and Synthesis of Data
- 2025FMC: Formalization of Natural Language Mathematical Competition Problems
- 2025Autoformalization in the Era of Large Language Models: A Survey
- 2024Consistent Autoformalization for Constructing Mathematical Libraries
- 2024Process-Driven Autoformalization in Lean 4