AI and the World's Hard Problems · Theoretical computer science · arXiv · 2026-11-17
CompCert4Lean: Porting a Verified C Compiler to Lean in Six Weeks with Parallel Coding Agents

CompCert4Lean ports the core of the verified C compiler CompCert 3.17 from Rocq to Lean in about six weeks, with one expert directing parallel LLM agents. All 4,908 recorded proof obligations are discharged without project-specific axioms, and only three of 1,071 human interactions gave technical direction. On 29 small test programs, the Lean version generated code running 11.7% faster than the original CompCert, versus 2.3% for the Rocq version, while keeping the end-to-end correctness theorem.