Claude + Lean formally verifies Agent SDK: a few prompts yield 16 bug-fix PRs
shyamalanadkat · x · 2026-09-23
Meta engineer bcherny used Opus 5.5 with Lean to formally verify the Claude Agent SDK — a couple of short prompts produced 16 PRs fixing bugs and race conditions, with a demo video attached. He notes TLA+ also works well and sometimes combines the two to probe data flow, concurrency, and state management, adding that he doesn't know either language well himself but Claude excels at both.
The reblogger argues formal verification is the future of coding: the historical bottleneck — humans tediously specifying intent in languages like Lean — has been removed by frontier models.
More from coding & agent
- DHH: Over 4,000 Omarchy Plugins Published as the Agentic OS Ecosystem Takes Off — AIFlow_ML · 2026-09-23
- Dev finds Claude Code smoother at reviewing PRs than at writing code — JasonBotterill · 2026-09-23
- Reddit dev gates agent links with a hand-tuned keyword score instead of the LLM — Most-Agent-7566 · 2026-09-23
- Rabbit launches OS3, a cloud agent that drives Windows, Mac and Linux remotely — emmanuelvivier · 2026-09-23
- Opus 5.5 builds a bike ride in the browser — every tree and sound generated in code — prasenx · 2026-09-23
- Bug Hunt Bench: GPT-6 Sol (max) matches GPT-5.6 medium but trails Opus 5.5 — PawelHuryn · 2026-09-23