Improving semantic equivalence in research-level math formalization
Not on the map. Why?
Abstract (arXiv)
Formalizing mathematics in Lean is never a word-for-word translation of a paper: a Lean formalization changes definitions, strengthens hypotheses, splits arguments, and adds lemmas the paper never mentions. It stands to reason that a model that is good at autoformalization must be a good predictor of how a natural language source must differ from its faithful Lean formalization. With that in mind, we collect 4,076 audited examples of such changes from 832 Lean projects that formalize research-level mathematics, and use them to ask a practical question: how well can a model write Lean inside a real research-level project that may contain tens of thousands of lines of code, and does training on discrepancies between natural language sources and their faithful Lean formalizations help? Our training set consists of 3,431 tasks from 141 repositories, and the test set consists of 645 tasks from the remaining 27 repositories. Training on in-project Lean nearly doubles complete proofs (11% → 20%) and raises the share of statements in gold agreement with the project's own formalization by nearly a third (30% to 39%). The gain comes from the pairs themselves: an adapter trained only to predict how the Lean will differ, or a model told the difference in advance, barely helps. Training on where formalizations depart from their sources is thus an effective way of improving semantic equivalence in research-level formalization.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 8 of its 9 references that are in the map. Submitted 21 Nov 2026, announced 24 Nov 2026.
Builds on
8 of 9 references.
References · 8
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 457
- 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 335
- 2022Autoformalization with Large Language Modelscited by 282
- 2023ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematicscited by 218
- 2025Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learningcited by 203
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 184
- 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 182
- 2024Lean Workbook: A large-scale Lean problem set formalized from natural language math problemscited by 133
Built on by
Not cited yet.