Twitxy Saved

Michig ᠮᠢᠰᠾᠢᠭ

@mishig25

artificial intelligence @huggingface
Paris, France mishig25.github.io Joined December 2009
1.1K Following 7K Followers 4.7K Posts

Latest posts 5

Michig ᠮᠢᠰᠾᠢᠭ @mishig25
it is no longer test-driven development, but a proof-driven one

assuming lean kernel is bug-free, you can be certain that your code really works as expected
Boris Cherny Verified account @bcherny Sep 22
I used Opus 5.5 to formally verify the Claude Agent SDK using Lean. A couple short prompts = 16 PRs fixing various bugs and race conditions. Video attached.

TLA+ also works well. I sometimes combine Lean and TLA+ to look for issues around data flow, concurrency, and state mgmt.

I don't know either language well, but Claude is excellent at both. This approach is super useful for formally modeling your code and finding bugs that a human probably wouldn't have spotted.

Is formal verification the future of coding (or at least, bug finding)?
View quoted post on X