Machine-Generated, Machine-Checked Proofs for a Verified Compiler (Experience Report)
Zoe Paraskevopoulou
National Technical University of Athens
Key points
From the paper's conclusion- We report on using an agentic coding assistant (Claude Code, powered by Claude Opus 4.6) to mechanize a substantial Rocq correctness proof from scratch, with human guidance but without any human-authored proof code.
Abstract
We report on using an agentic coding assistant (Claude Code, powered by Claude Opus 4.6) to mechanize a substantial Rocq correctness proof from scratch, with human guidance but without any human-authored proof code. The proof establishes semantic preservation for the administrative normal form (ANF) transformation in the CertiRocq (formerly CertiCoq) verified compiler for Rocq. The closely related continuation-passing style (CPS) transformation in CertiRocq was previously proved correct by human experts over several months. We use this proof as a template and instruct the LLM to adapt the proof technique to the ANF setting, which differs in important technical ways. The resulting ANF proof comprises approximately 6,000 lines of Rocq proof (larger than the 4,200-line CPS proof) and was developed in 94.5 hours. We describe the proof technique and report on the experience of developing it with an LLM, discussing both the strengths and limitations of the approach and its implications for verified compiler construction.
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
- RAIN: Agentic Proof Generation for Rocq-based Software VerificationarXiv · 2026
- CompCert4Lean: Porting a Verified C Compiler to Lean in Six Weeks with Parallel Coding AgentsarXiv · 2026
- Modern Software Engineering with Verification Agents: A Spec-First Architecture for Autonomous Synthesis, Verification IRs, and Organizational ScalearXiv · 2026
- Agentic Verified Optimization of Real-World SoftwarearXiv · 2026
- An End-to-End Theory for Compositional Symbolic Execution: From Expressive Specifications to SMT (Extended Version)arXiv · 2026