AdvertiseDonate
The topics that matter today.
Thursday, December 3, 2026
Best News Topics · 5049 Edwards Ranch Road, FL 4, Fort Worth, TX 76109

Formal Verification: Claude Generates 180 Million Lines of Proof

Anthropic and Theorem used AI to verify 123 open-source libraries, finding hidden bugs that conventional testing missed.

By Maya Paredes ·

Illustration for: Formal Verification: Claude Generates 180 Million Lines of Proof
Illustration generated for this article, not a news photograph.

Anthropic reports that its Claude model generated approximately 180 million lines of mathematical proof code in a matter of weeks. This effort aimed to verify the correctness of existing software, a task that traditionally requires immense specialist labor.

The project involved the Frontier Red Team working with Theorem to process test programs from 123 open-source libraries within Google's OSS-Fuzz security project. Instead of writing new code, Claude converted crash tests into mathematical problems and analyzed compiled machine code to construct these proofs.

A separate verification program named Rocq automatically checks the generated proofs. Anthropic states the process requires minimal human review, describing the proof generation as fully autonomous. Human experts at Theorem built the underlying tools and formal foundations.

During the verification, Claude encountered hundreds of bugs and was authorized to fix them. Researchers noted that many of these errors would likely evade standard testing because they trigger only under narrow conditions, such as unusually large input files. In one instance, the team found as many security bugs in a single week for a widely used PDF reader as are typically reported in a full year.

Claude also identified a logical error in another application that had gone unnoticed for more than a decade. Anthropic adds that even when a complete proof fails, the attempt can still reveal real bugs. The company emphasizes that formal verification does not mean the software is error-free, as proofs hold only under specific conditions like a particular processor architecture and inputs smaller than 64 MB.

Cost remains a constraint, with individual proofs consuming hundreds of millions of tokens. However, a smaller test run showed that efficiency is improving. Opus 5.5 solves half the proofs using about 40 percent fewer tokens than Opus 5. Anthropic argues that if AI can verify its own code, developers could trust AI-generated software more and spend less time on manual reviews.

The project shifts the focus from whether AI can program to whether it can prove that code is safe. Theorem's roadmap targets critical infrastructure libraries including glibc, OpenSSL, and cURL. Anthropic expects formal verification with AI to become as practical as standard testing.

More Tech · Report a business · Got a Story?

Get Best News Topics in your inboxThe topics that matter today. Free, a few times a week, unsubscribe any time.

Related stories

Get Best News Topics in your inboxThe topics that matter today. Free, a few times a week, unsubscribe any time.