Claude + Lean formally verifies Agent SDK, yielding 16 bug-fix PRs from short prompts

JiaweiLiu_ · x · 2026-09-24

Anthropic engineer Boris Cherny shares that he 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. He sometimes combines Lean and TLA+ to hunt issues in data flow, concurrency, and state management, noting Claude excels at both despite his own unfamiliarity.

Related ecosystem work from the TLA+ community and Specula team:

Related event: Opus 5.5 + Lean Formally Verifies Agent SDK, Yielding 16 Bug-Fix PRs(13 posts)→

Original post →

More from coding & agent

coding & agent channel →