paper-with-me

홈 › Papers

Learning to Repair Lean Proofs from Compiler Feedback

2026-02-03 · Evan Wang, Simon Chess, Daniel Lee, Siyuan Ge, Ajit Mallavarapu, Jarod Alper, Vasily Ilin arxiv

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 introduce APRIL (Automated Proof Repair in Lean), a dataset of 260,000 supervised tuples pairing systematically generated proof failures with compiler diagnostics and aligned repair and explanation targets. Training language models on APRIL substantially improves repair accuracy and feedback-conditioned reasoning; in our single-shot repair evaluation setting, a finetuned 4B-parameter model outperforms the strongest open-source baseline. We view diagnostic-conditioned supervision as a complementary training signal for feedback-using provers. Our dataset is available at https://huggingface.co/datasets/uw-math-ai/APRIL.

📄 PDF Abstract BibTeX arXiv:2602.02990

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

OProver: A Unified Framework for Agentic Formal Theorem Proving

2026-05-17 · David Ma, Kaijing Ma, Shawn Guo, Yunfeng Shi 외 arxiv

Recent progress in formal theorem proving has benefited from large-scale proof generation and verifier-aware training, but agentic proving is rarely integrated into prover training, appearing only at inference time. We p…

Compiler-Guided Adaptive Proof Search with Cross-Model Synergy on Context-Dependent Theorem Proving

2026-06-04 · Zhuo Liu, Ding Yu, Hangfeng He arxiv

Theorem proving in real-world Lean 4 projects is challenging because proofs often depend on project-specific context. While iterative refinement can use compiler errors to repair failed proofs, reusing failed attempts re…

APOLLO: Automated LLM and Lean Collaboration for Advanced Formal Reasoning

2025-05-09 · Azim Ospanov, Farzan Farnia, Roozbeh Yousefzadeh

Formal reasoning and automated theorem proving constitute a challenging subfield of machine learning, in which machines are tasked with proving mathematical theorems using formal languages like Lean. A formal verificatio…

Automated Theorem Proving

Automating Formal Verification with Reinforcement Learning and Recursive Inference

2026-05-29 · Max Tan arxiv

Automated formal verification remains challenging for large language models because data for proof assistants and verification-aware languages is scarce, and correctness depends on satisfying precise machine-checkable sp…

Reinforcement Learning

M2F: Automated Formalization of Mathematical Literature at Scale

2026-02-19 · Zichen Wang, Wanli Ma, Zhenyu Ming, Gong Zhang 외 arxiv

Automated formalization of mathematics enables mechanical verification but remains limited to isolated theorems and short snippets. Scaling to textbooks and research papers is largely unaddressed, as it requires managing…