arXiv AI By Yiming Fu, Peixuan Liu, Zichen Wang, Kun yuan

Proof-Refactor: Refactoring Generated Formal Proofs into Modular Artifacts

Read the original on arXiv AI →

arXiv:2606. 03743v1 Announce Type: new Abstract: While Large Language Models (LLMs) have shown strong performance in generating formal proofs, their outputs often remain less readable, modular, maintainable, and reusable than proofs in mature formal mathematics libraries.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

Hugging Face Trending Papers
Nov 10

ProofCoder: Continuous Reasoning for Automated Software Verification

ProofCoder is an agentic proof‑synthesis system for Rocq that continuously reasons during proof search, using feedback from the proof assistant to decide when to gather information, inspect states, revise fragments, or backtrack. Unlike rigid tactic‑generation loops, ProofCoder iteratively constructs, repairs, and refines proofs at both tactic‑level and whole‑proof granularity. In experiments on 280 AutoRocq Benchmark tasks, it raises success from 47% to 60%, a 27.7% relative improvement at roughly half the cost, demonstrating the importance of continuous reasoning and feedback‑guided revision.

arXiv Computation and Language
Sep 7

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

The paper introduces a compiler-guided adaptive proof search framework for Lean 4 theorem proving, addressing the challenge of context-dependent proofs in real-world projects. It balances exploration and exploitation by generating diverse starting points via dual-model generation and resampling when stagnation occurs, while refining promising states using compiler-grounded pairwise comparison. Experiments on seven Lean 4 projects from miniCTX‑v2 demonstrate that the method improves average pass rates by 12.8 percentage points within a pass@32 budget and reduces LLM calls by 21.9 % compared to pass@k baselines.

By Zhuo Liu, Ding Yu, Hangfeng He
arXiv AI
Nov 11

ProofCoder: Continuous Reasoning for Automated Software Verification

ProofCoder is an agentic proof‑synthesis system for Rocq that continuously reasons during proof search, using proof‑assistant feedback to decide when to gather information, inspect states, revise fragments, or backtrack. Unlike rigid tactic‑generation loops, it iteratively constructs, repairs, and refines proofs at both tactic‑level and whole‑proof granularity. On 280 AutoRocq Benchmark tasks, ProofCoder raises success from 47% to 60%, a 27.7% relative improvement at roughly half the cost, demonstrating that continuous reasoning and feedback‑guided revision are key to robust automated software verification.

By Martim Afonso, In\^es Lynce, Maurizio Morisio, Jo\~ao F. Ferreira
arXiv AI
Oct 28

How Stable Are LLM-Generated Proofs Under Program Refactoring? A Stress Test for Verifiable Code Generation

The paper introduces RefactorProof, a benchmark that tests whether proofs generated for code remain valid after program refactoring that preserves behavior. Using 458 Lean-certified variants derived from 185 VERINA tasks, the study finds that structural refactorings expose brittleness in proofs, with task-normalized structural PSR ranging from 4.3% for supplied references to 13.3–26.8% for specialized provers. Despite higher failure rates, specialized prover proofs (DeepSeek-Prover-V2-7B, Goedel-Prover-V2-32B, Goedel-Prover-V2-8B) show significantly higher unchanged-proof survival compared to reference artifacts, and many failures can be repaired with minimal edits.

By Aravind Mandiga, Guoming Li