Anthropic, working with a company called Theorem, says LLMs can now write formal proofs at a scale that used to be impractical. Formal verification means proving mathematically that code always follows certain rules, instead of just testing it a lot.
Their approach: take an existing fuzz test (a test that throws huge numbers of semi-random inputs at one entry point to look for crashes) and turn it into a spec saying "this never crashes for any input under 64 MB." Claude then wrote the proof against the compiled RISC-V code, and a proof checker called Rocq verified it. Over a few weeks, Claude proved this for 239 entry points across 123 OSS-Fuzz libraries, patching bugs it found along the way. Some of those bugs needed very large or oddly shaped inputs that a fuzzer would be unlikely to hit.
Anthropic is publishing a subset of the proofs and the trusted models, and Theorem offers to run the same pipeline for other open-source projects and has released a Claude skill for verifying your own code. The post also says newer models need fewer tokens, and that agents sharing proofs used 17% fewer.
My take
The part I find most convincing is the idea of reusing the tests you already have as the spec. Writing a spec is usually what kills verification projects, and this sidesteps it. If you maintain a library with fuzz tests, this is worth watching.
"Formally verified" does not mean "bug-free", and the authors say so themselves. The proofs assume a single-threaded static RISC-V binary on Linux with musl libc, while most of us run x86 or ARM with glibc. They also only cover the entry points that exist, and callers can still misuse the library. So today it's a strong signal, not a guarantee for your deployed app.
Also, this is Anthropic reporting on its own model, and the proofs can take hundreds of millions of tokens. I'd wait for independent checks of the published proofs and for real cost numbers before treating this as something a small team can afford. For builders like me, the practical step now is simple: write good fuzz tests, because they may become your spec later.
Sources
Drafted with AI assistance from the sources above, and reviewed before publishing.

Comments
What do you think? Drop your thoughts below.
Loading comments…