The practical takeaway: formal verification, long reserved for avionics and mission-critical kernels because it costs years of specialist effort, is now within reach for ordinary software. In a collaboration between Anthropic and Theorem, Claude autonomously produced machine-checked proofs that compiled binaries won't crash on any input below 64 MB across 239 entry points spanning 123 open-source libraries. It's described as the first large-scale application of AI-driven formal verification to production code at the assembly level.
Why this matters: AI is getting better at finding and chaining bugs into exploits, and conventional testing can't guarantee their absence. Fuzzing throws huge volumes of mutated inputs at a program but can never cover every path. A formal proof does—it mathematically rules out any crash reachable from an entry point. The trick here was converting existing fuzz tests from Google's OSS-Fuzz into specifications ("this test never crashes for any input under 64 MB"), compiling to RISC-V, and letting Claude write proofs the Rocq kernel checks. While proving, Claude also found and patched hundreds of bugs—some that had survived trillions of test runs for years.

The scale is the real story. The proofs total roughly 180 million lines of Rocq, with a typical proof around 600,000 lines covering binaries of about 18,000 RISC-V instructions. Almost none of that needs human review: the Rocq checker verifies the proof against the spec automatically. Your trust base shrinks to three things—the RISC-V and Linux process semantics, the exact theorem statements, and the Rocq checker itself. That's a far more tractable surface to harden than auditing every line of every covered project, and it doesn't grow as you add more projects.
Know the boundaries before you overclaim. The guarantees hold under specific assumptions: single-threaded static binaries, fixed memory budget, RISC-V CPU, Linux OS, inputs under 64 MB. "No crash" means no memory-safety violations or failed assertions—not that the program is semantically correct in every sense. Bugs outside that scope, or inside the trusted components, remain possible. Extending coverage mainly means standardizing semantics for more architectures and OS behaviors.
What you can do now: Theorem is publishing a Claude skill to help developers verify their own code, and is offering to run the same pipeline on other open-source projects. Anthropic is releasing a subset of the proofs plus the RISC-V and OS semantics for independent verification and reuse. If you maintain security-sensitive C or C++ with existing fuzz harnesses, this is a concrete path to turning those tests into proofs. And if you tried formal verification with weaker models and gave up, it's worth a second look—proof cost falls as models improve and as reusable, standardized proofs amortize across codebases.
