mlsanityData to 7 Oct 2026

Formalize Once, Edit the Rest: Efficient Lean-Based Answer Selection for Math Reasoning

arXiv 2606.15972 ↗First posted 14 Jun 2026cs.CL cs.AI cs.LGcited by 0

On the map: LLM reasoning → Mathematical reasoning

Abstract (arXiv)

With large language models (LLMs) increasingly applied to mathematical reasoning, formal proof assistants such as Lean can be leveraged to verify reasoning outputs with machine-checkable rigor, enabling use cases such as answer selection in test-time scaling with K sampled candidate answers. However, employing Lean requires that LLM outputs, originally in natural language, first be formalized. Existing Lean-based answer-selection work uses an autoformalization model to generate a formal statement in Lean for each candidate answer independently, incurring a significant computational cost. We propose BASE, a base-and-edit pipeline that formalizes a single base candidate per problem and derives the remaining K-1 statements by editing the answer expression in place. To facilitate this, we train a rewriter model LEANSCRIBE to localize the answer in the base formalization and generate a reusable edit function for the other K-1 candidates. BASE simultaneously improves selection accuracy and reduces formalization cost - a Pareto improvement that holds on all 12 (dataset, solver) configurations across four benchmarks and three solvers, cutting autoformalizer calls by about 5x at K=8, with the reduction expected to become larger as K grows. Code is available at https://github.com/ucr-rai/base-and-edit.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 14 of its 44 references that are in the map. First posted on arXiv 14 Jun 2026.

Builds on

14 of 44 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025HERMES: Towards Efficient and Verifiable Mathematical Reasoning in LLMs24 Nov
  2. 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decomposition30 Apr
  3. 2025Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learning15 Apr
  4. 2020Generative Language Modeling for Automated Theorem Proving7 Sep

Other references · 10

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2025Qwen3 Technical Reportcited by 8,195
  3. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
  4. 2022Solving math word problems with process- and outcome-based feedbackcited by 871
  5. 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 140
  6. 2026Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematicscited by 43
  7. 2025ProofFlow: A Dependency Graph Approach to Faithful Proof Autoformalizationcited by 18
  8. 2025ProofBridge: Auto-Formalization of Natural Language Proofs in Lean via Joint Embeddingscited by 16
  9. 2025Autoformalizer with Tool Feedbackcited by 7
  10. 2026FormalEvolve: Neuro-Symbolic Evolutionary Search for Diverse Autoformalizationcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Formally Solving Answer-Construction Problems in Lean
  2. 2025FANS -- Formal Answer Selection for Natural Language Math Reasoning Using Lean4
  3. 2026Risk-Controlled Lean-as-Judge for Natural-Language Mathematical Reasoning
  4. 2025FMC: Formalization of Natural Language Mathematical Competition Problems
  5. 2025FormalMATH: Benchmarking Formal Mathematical Reasoning of Large Language Models
  6. 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks
  7. 2026Magenta: Closing the Loop Between Mathematical Reasoning and Lean Verification
  8. 2025LeanProgress: Guiding Search for Neural Theorem Proving via Proof Progress Prediction