BlueprintRepair: Typed Local Edits for Failed Lean Proof Blueprints
TL;DR - BlueprintRepair uses schema-checked local edits to repair failed LLM-generated Lean proof blueprints without allowing changes to the target theorem. It achieves similar coverage to free-form patching and rewriting at substantially lower token cost.
- Provides ten typed operations for locally editing proof dependency graphs, with every change verified by Lean.
- Introduces BlueprintTrace, a benchmark of 142 controlled failures with accepted and rejected repair trajectories.
- With DeepSeek-V4-Flash, patching costs 1.30Ă— and rewriting 2.06Ă— more per solved state than typed repair.
- Typed repair approaches its final coverage within 10,000 completion tokens, outperforming free-form interfaces at that budget.