Claude Opus 5.5 + Lean Formal Verification of Agent SDK Yields 16 Bug-Fix PRs

On 09-23, Anthropic developer Boris Cherny (bcherny, creator of Claude Code) shared a hands-on approach to LLM-driven formal verification: using Claude Opus 5.5 to build a Lean formal model of the Claude Agent SDK, a few short prompts produced 16 PRs fixing bugs and race conditions. Cherny himself is not proficient in Lean or TLA+, suggesting LLMs may be dramatically lowering the barrier to formal verification.

Confirmed

Why it matters

2026-09-23 ~ 2026-09-25 · 19 related posts

Primary sources

15 near-duplicate retellings: hargup13 · andreisavu · _catwu · julianweisser · jimmykoppel · doodlestein · shyamalanadkat · blaizedsouza · JiaweiLiu_ · dyn___ · spikedoanz · bcherny · LingmingZhang · jfiance · AccBalanced