Quantitative Comparison of Credible Compilation and Verification In Coding Agent Compiler Development
Martin Rinard

TL;DR
This paper compares credible compilation and full verification in compiler development, showing credible compilation is more efficient but verified optimizations offer stronger guarantees, with detailed quantitative analysis.
Contribution
It provides the first quantitative comparison of credible compilation versus full verification in the context of a coding agent developing a verified compiler.
Findings
Verification requires about ten times more development effort.
Verified optimizations use less efficient algorithms to improve provability.
Certificate checking time dominates proof and generation times.
Abstract
Formal program verification is a longstanding goal in the field. We present the first quantitative comparison of the two primary compiler verification approaches, credible compilation/translation validation and full verification. Working with the first verified compiler developed by a coding agent (operating under human supervision), we present quantitative results from a coding agent implementing several optimizations using these two approaches. The results indicate that 1) verification requires roughly an order of magnitude more development effort than credible compilation, 2) to enhance provability, the coding agent chooses less efficient algorithms and data structures for verified optimizations, and 3) in an attempt to minimize proof effort the coding agent repeatedly implemented optimization scope reductions for verified optimizations, and 4) certificate checking time dominates…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
