agentusecasesAll 965 use cases
Security, Science & Hardware

Repair formal proofs for a verified garbage collector

Codex edited files and ran builds to repair CertiGC proofs; it handled local repair well, but humans had to check that its invariants preserved the specification.

Done withCodex

What they did
Codex had repository access, edited Rocq proof files, ran targeted make builds, and used a rocq-mcp server to inspect proof states. It repaired the VST proofs first, then the graph-isomorphism theorem. It proposed the recorded-backward-edge invariant, and the author reviewed it. He required discussion before any Definition changed and refused new VST preconditions without evidence.
How it went
The branch compiled and merged upstream as PR 30. The main theorem was accepted April 29, and a later audit removed a stale no-backward-edge premise. It was a single case, not a controlled study.
Worth knowing
Expect heavy supervision: about 59 active Codex hours, 415 human prompts and 13,305 tool calls over ten days, with no measured speedup.

Try it yourself with Codex

In my [Coq/Lean/Isabelle] project at [folder], the proof [file or lemma] is broken after [change you made]. Edit the files, run the build, and repair the proof with the smallest local changes. Do not weaken or change any specification or invariant without asking me first, and finish with a list of every statement you altered so I can review it.

Read the original ↗

Source: arxiv.org · Undated

Five of these in your inbox every morning

The best things people got an AI agent to do, each with the prompt to try it.

More like this