AI RESEARCH

Learning to Repair Lean Proofs from Compiler Feedback

arXiv CS.LG

ArXi:2602.02990v2 Announce Type: replace As neural theorem provers become increasingly agentic, the ability to interpret and act on compiler feedback is critical. However, existing Lean datasets consist almost exclusively of correct proofs, offering little supervision for understanding and repairing failures. We study Lean proof repair as a supervised learning problem: given an erroneous proof and compiler feedback, predict both a corrected proof and a natural-language diagnosis grounded in the same feedback. We