mlsanityData to 26 Nov 2026

Repair, Retry, and the Cost of Hindsight: Verifier Feedback in Formal Theorem Proving

arXiv 2610.22698 ↗Submitted 15 Oct 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Verifier-guided self-repair conditions a model on feedback from failed attempts before it tries again, without weight updates. Yet two findings in prior work are in tension: verifier feedback can improve repair of failures, but self-repair itself can provide little-to-no advantage over independent resampling. We reconcile these findings in Lean theorem proving through controlled one-step experiments that hold the preceding failure fixed while varying whether the failed proof is shown, whether the compiler error corresponds to that failure, and the retry instruction. We test frozen Qwen3.6-27B, a general-purpose model, and DeepSeek-Prover-V2-7B, a specialized prover, on difficult MiniF2F problems. We find two opposing effects. Showing the model its failed predecessor reduces success and sharply increases copying of it, while on Qwen adding that attempt's compiler error recovers the loss, to the level of the diagnostic alone. Replacing the predecessor with another theorem's failed proof largely removes the degradation on both models; on Qwen, replacing the diagnostic with another problem's error substantially reduces the recovery. Without the failed proof, correct diagnostics show no resolved advantage over wrong-diagnostic controls on either model. The failed-proof penalty persists with and without the retry instruction, whereas Qwen's diagnostic recovery is weaker without it. In 11-problem sequential experiments through 64 attempts, Qwen retains a correct-diagnostic benefit within failed-proof histories, while DeepSeek-Prover shows no resolved recovery. However, no tested one-step feedback condition establishes an advantage over instruction-only resampling, nor does 64-attempt sequential repair with failed proofs and correct diagnostics at equal token budgets. Verifier feedback can thus improve repair without overcoming the performance loss from conditioning on a failed attempt.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 17 of its 20 references that are in the map. Submitted 15 Oct 2026.

Builds on

17 of 20 references.

References · 17

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
  2. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,170
  3. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 1,124
  4. 2023Teaching Large Language Models to Self-Debugcited by 1,049
  5. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 430
  6. 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 335
  7. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 222
  8. 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 182
  9. 2023An In-Context Learning Agent for Formal Theorem-Provingcited by 91
  10. 2026A Minimal Agent for Automated Theorem Provingcited by 24
  11. 2026Learning to Repair Lean Proofs from Compiler Feedbackcited by 11
  12. 2026Understanding Performance Gap Between Parallel and Sequential Sampling in Large Reasoning Modelscited by 6
5 more
  1. 2026Falsification, Not Exposure: An Internally Preregistered Placebo-Controlled Decomposition of Self-Repair Feedback in Frozen Small Code Modelscited by 5
  2. 2026Form, Not Content? A Preregistered, Placebo-Controlled Evaluation of Learned Error-Conditioned Self-Repair Through Prompts and Weights in Frozen Small Code Modelscited by 4
  3. 2026Type-Error Ablation and AI Coding Agentscited by 3
  4. 2026Try Again, Don't Look Back: Blind Resampling Outperforms Self-Repair in Small Code Modelscited by 3
  5. 2026Compile to Compress: Boosting Formal Theorem Provers by Compiler Outputscited by 2

Built on by

Not cited yet.