RAIN: Agentic Proof Generation for Rocq-based Software Verification
Jinyi Zhou, Zenan Li, Yuan Yao, Jun Ma, Taolue Chen, Xiaoxing Ma
Key points
From the paper's conclusion- We also compare with general-purpose coding agents, the results show that RAIN maintains comparable prove success rate but with significant lower cost.
Abstract
Interactive theorem provers can provide strong correctness guarantees for software, but constructing the proofs remains a challenging and labor-intensive task. Inspired by the recent progress of modern coding agents, we present RAIN, a lightweight proof-specialized agent for Rocq proof generation. RAIN augments an LLM with proof engineering capabilities, including repository exploration, iterative refinement, and checker feedback. This design allows the agent to retrieve lemmas autonomously, revise complete proof scripts instead of isolated tactics, and iteratively refine its proof strategy using enriched proof-state information. Evaluated on a subset from CoqStoq, RAIN shows substantial improvements over the existing baselines, achieving over 90% prove success rate with at least 24.7% improvements. We also compare with general-purpose coding agents, the results show that RAIN maintains comparable prove success rate but with significant lower cost.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ProofCoder: Continuous Reasoning for Automated Software VerificationarXiv · 2026
- Planning to Hammer: Difficulty-Aware Decomposition for Automating Rocq ProofsProceedings of the ACM on Programming Languages · 2026
- Cost-Efficient Theorem Proving via Agent Orchestration in Program VerificationarXiv · 2026
- Machine-Generated, Machine-Checked Proofs for a Verified Compiler (Experience Report)Proceedings of the ACM on Programming Languages · 2026
- Interactive Proofs as a Unified Framework for Evaluating and Leveraging Verifiable Proof Generation by LLM AgentsarXiv · 2026
- Growing an Agent/Prover Interface: Evolutionary Tool Design for Cost-Efficient Theorem Proving in Rocq and LeanarXiv · 2026