What happened

Anthropic and Theorem have produced machine-checked no-crash proofs for 123 open-source libraries at the assembly level using Claude, a sophisticated large language model.

The teams leveraged Claude's ability to generate complex code directly in RISC-V assembly, creating formal specifications of these software components without human intervention. The project generated around 180 million lines of Rocq proofs — essentially mathematical verifications—covering 239 fuzz entry points within the libraries over a period of weeks, achieving a 64MB input bound and ensuring no crash under any simulated input.

Why it matters

The implications extend far beyond mere bug detection. This achievement signifies a potential paradigm shift in software assurance – moving from reactive, trial-and-error approaches to proactive, mathematically guaranteed correctness.

It suggests that formally verifying critical infrastructure—operating systems, compilers, and security libraries—is now theoretically achievable at scale, provided the right tools are available. Critically, the team found vulnerabilities fuzzers missed, proving the most valuable aspect of their work.

But, but, but…

The headline obscures a vital limitation: Claude’s proof generation isn’t a replacement for careful engineering. The verification relies on the very models and harnesses it was trained to generate proofs - an amplification loop.

It's not that fuzzing is wrong; it’s that it has limited capacity – Claude generates proof scripts as long as 180 million lines, demonstrating the practical difficulty of formalizing complex systems. Furthermore, while a significant step, this approach doesn't inherently address security vulnerabilities beyond crash-causing errors—a fundamental gap between traditional fuzzing and formal verification.

“The system found and patched defects that libraries had collectively undergone trillions of fuzzing runs without exposing," – Theorem’s researchers, July 26, 2024.”
— Dr Non

The counter-take

Formal verification has long been a domain pursued by specialists with niche knowledge. Claude’s approach brings this technology closer to mainstream software development, but it will take time for developers to build the skill set required to effectively use and interpret these proofs.

The AI angle

The upgrade is automation of correctness; the asymmetry is that this process *still* requires significant human expertise in system design and harness creation – AI augmentation, not AI replacement.