BlueprintRepair: Typed Local Edits for Failed Lean Proof Blueprints
Not on the map. Why?
Abstract (arXiv)
LLM-based Lean proving systems increasingly organize a proof as a blueprint: a dependency graph of formal statements. We introduce BlueprintRepair, a repair interface that lets a model change this graph through ten schema-checked local operations. An operation names the node it edits, so the target theorem cannot be changed. Lean checks every applied change, and an accepted repair must declare every blueprint lemma its proof uses. We also construct BlueprintTrace, a benchmark of 142 controlled failures with complete accepted and rejected repair trajectories. We compare typed edits, exact source patches, and complete module rewrites under matched source, feedback, model, and budget, one episode per state and interface. With DeepSeek-V4-Flash, the three interfaces solve almost the same number of the benchmark's localized failures. Typed repair is the cheapest per solved state (patching is 1.30x as expensive, rewriting 2.06x), and within 10,000 completion tokens per task it reaches almost all of its final coverage, while both free-form interfaces are well behind. A second model, Qwen3.6-Flash, solves fewer states but keeps typed repair cheapest, puts it ahead on the proof-authoring states, and repeats the localized pattern.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 18 of its 22 references that are in the map. First posted on arXiv 30 Jul 2026.
Builds on
18 of 22 references.
References · 18
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
- 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 270
- 2025APOLLO: Automated LLM and Lean Collaboration for Advanced Formal Reasoningcited by 34
- 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworkscited by 11
- 2026LeanMarathon: Toward Reliable AI Co-Mathematicians through Long-Horizon Lean Autoformalizationcited by 11
- 2020Proof Repair across Type Equivalencescited by 8
- 2026Goedel-Architect: Streamlining Formal Theorem Proving with Blueprint Generation and Refinementcited by 7
- 2026Faults in Our Formal Benchmarking: Dataset Defects and Evaluation Failures in Lean Theorem Provingcited by 7
- 2026Learning to Repair Lean Proofs from Compiler Feedbackcited by 6
- 2026OProver: A Unified Framework for Agentic Formal Theorem Provingcited by 6
6 more
- 2026LeanArchitect: Automating Blueprint Generation for Humans and AIcited by 5
- 2026Process-Verified Reinforcement Learning for Theorem Proving via Leancited by 5
- 2026Planning to Hammer: Difficulty-Aware Decomposition for Automating Rocq Proofscited by 4
- 2026Optimizing the Cost-Quality Tradeoff of Agentic Theorem Provers in Leancited by 3
- 2026FormalRewardBench: A Benchmark for Formal Theorem Proving Reward Modelscited by 2
- 2026VERITAS: Verifier-Guided Proof Search for Zero-Shot Formal Theorem Provingcited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.