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.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: arxiv.org · Undated
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Build and publish a BaZi chart reading agent
Built solo with coding agents, an agent computes BaZi charts, interprets them, detects language and takes on-chain payments for readings.
Schedule Codex automations for docs, tracking, and API tests
The poster uses Codex automations to update agents.md files, refresh a daily master tracking file for a large project, and test ICS source code and an API.
Find a Linux vulnerability hidden for 23 years
An account of Claude Code uncovering a long-standing vulnerability in Linux.
Reverse engineer a patch into a full exploit chain
A researcher used Claude Opus in Claude Code with Playwright MCP to decompile code, find vulnerabilities, and build a working exploit.
Discover room-temperature magnetic semiconductor candidates with agents
Opus 5.5 agents were used to identify two candidate room-temperature magnetic semiconductors, per the post's headline.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.