mlsanityData to 24 Nov 2026

ProofCoder: Continuous Reasoning for Automated Software Verification

arXiv 2611.14106 ↗Submitted 10 Nov 2026cs.SE cs.AIcited by 0

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

Formal verification using proof assistants provides strong correctness guarantees for software, but constructing proofs remains labor-intensive and requires significant expertise. Recent approaches based on large language models (LLMs) have shown promise in automating proof synthesis. However, these approaches typically constrain the model to a rigid tactic-generation loop, in which the surrounding system controls premise retrieval, proof-state management, and backtracking. We introduce ProofCoder, an agentic proof-synthesis system for Rocq that approaches theorem proving from a coding-agent perspective. Rather than generating tactics within a fixed loop, ProofCoder reasons continuously throughout proof search and uses proof-assistant feedback to decide when to gather additional information, inspect proof states, revise previously generated proof fragments, or backtrack to an earlier point in the proof. This allows it to iteratively construct, repair, and refine proofs, at either tactic-level or whole-proof granularity. We evaluate ProofCoder on 280 challenging verification tasks from the AutoRocq Benchmark. On the best-performing configurations, ProofCoder increases proof success from 47% to 60% over the state-of-theart AutoRocq system, corresponding to a 27.7% relative improvement at approximately half the cost. Our ablations identify continuous reasoning as a key design choice: without it, the agent solves fewer lemmas at substantially higher cost, backtracks four to six times more often, and more frequently discards its own revisions. Whole-proof and tactic-level generation achieve similar success rates but follow distinct search and repair strategies. These results suggest that effective automated software verification requires more than improved tactic selection: continuous reasoning and feedback-guided proof revision are critical ingredients for robust proof synthesis.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 19 of its 49 references that are in the map. Submitted 10 Nov 2026.

Builds on

19 of 49 references.

References · 19

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  2. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 457
  3. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 319
  4. 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 138
  5. 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 125
  6. 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 114
  7. 2023An In-Context Learning Agent for Formal Theorem-Provingcited by 91
  8. 2024SpecRover: Code Intent Extraction via LLMscited by 81
  9. 2024Towards AI-Assisted Synthesis of Verified Dafny Methodscited by 63
  10. 2024A Survey on Deep Learning for Theorem Provingcited by 62
  11. 2023Magnushammer: A Transformer-Based Approach to Premise Selectioncited by 55
  12. 2019Generating Correctness Proofs with Neural Networkscited by 39
7 more
  1. 2024Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verificationcited by 33
  2. 2024FVEL: Interactive Formal Verification Environment with Large Language Models via Theorem Provingcited by 24
  3. 2020QED at Large: A Survey of Engineering of Formally Verified Softwarecited by 17
  4. 2024Graph2Tac: Online Representation Learning of Formal Math Conceptscited by 17
  5. 2024Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verificationcited by 11
  6. 2024CoqPyt: Proof Navigation in Python in the Era of LLMscited by 6
  7. 2025PAT-Agent: Autoformalization for Model Checkingcited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Harnessing Code Agents for Automatic Software Verification
  2. 2026RocqSmith: Can Automatic Optimization Forge Better Proof Agents?
  3. 2026On Reasoning-Centric LLM-based Automated Theorem Proving
  4. 2026OProver: A Unified Framework for Agentic Formal Theorem Proving
  5. 2026Efficient Test-Time Optimization for Multi-Agent Proof Autoformalization
  6. 2026Agentic Proving for Program Verification
  7. 2026WybeCoder: Verified Imperative Code Generation
  8. 2026A Minimal Agent for Automated Theorem Proving