AdvertiseDonate
Latest56 Percent Complete, 2,000 Km Planned For GCC Rail By 2030
Wed, Dec 2, 2026PhiladelphiaNewarkJersey CityNew YorkBaltimoreWashingtonRichmondVirginia Beach
United Wire Hub · 50 South 16th Street, Suite 1700, Philadelphia, PA 19102

180 Million Lines: Claude Generates Math Proofs for Software Safety

A new collaboration allows AI to verify existing code with mathematical precision, uncovering hidden bugs that traditional methods often miss.

By John Cruz ·

Illustration for: 180 Million Lines: Claude Generates Math Proofs for Software Safety
Illustration generated for this article, not a news photograph.

The gap between writing code and proving it is safe has just shrunk dramatically.

Anthropic announced this week that its Claude model successfully generated mathematical proofs to verify that existing software works correctly. This achievement marks a significant shift in how developers might approach the trustworthiness of AI generated code. The company frames this effort as a vital step toward making automated software more reliable for everyday users.

Traditional formal verification has always been a labor intensive process reserved for critical systems like aircraft avionics. It previously took specialists twenty person years to verify a small operating system kernel known as seL4. By contrast, the new system operated in a matter of weeks. The Frontier Red Team at Anthropic partnered with Theorem to let Claude handle the heavy lifting. The model processed test programs from 123 open source libraries found in Google's OSS-Fuzz project. In doing so, it produced approximately 180 million lines of mathematical proof code.

The process did not involve writing new software but rather analyzing existing compiled machine code. Claude turned crash tests into mathematical problems and constructed extensive proofs. A separate program called Rocq then checked these proofs automatically. The researchers describe the generation of proofs as fully autonomous, noting that the underlying tools and formal foundations were built by humans at Theorem. During this work, Claude discovered hundreds of bugs. Many of these issues would have likely escaped conventional testing because they only appear under narrow conditions, such as unusually large input files or specific access sequences. In one instance, the team found as many security bugs in a popular PDF reader in a single week as are usually reported in a full year.

Despite these successes, the company emphasizes that formal verification does not mean the software is entirely error free. The proofs hold only under defined conditions, including specific processor architectures, single threaded programs, and inputs smaller than 64 MB. Real world deployments often run on different hardware, which limits the scope of the guarantee. Additionally, the cost remains a constraint as individual proofs consume hundreds of millions of tokens. Anthropic has not published the total project costs yet, though efficiency is improving. A recent test showed that the newer Opus 5.5 model solves half the proofs using about 40 percent fewer tokens than its predecessor.

The project shifts the focus from whether AI can program to whether it can prove its work is safe. Anthropic expects this type of verification to become as practical as standard testing in the near future. Theorem has already set its sights on verifying critical infrastructure components like glibc, OpenSSL, and cURL. For developers, this could mean spending less time on manual reviews and more confidence in the stability of AI generated systems.

More Tech · Report a business · Got a Story?

Get United Wire Hub in your inboxThe stories that matter, every day. Free, a few times a week, unsubscribe any time.

Related stories

Get United Wire Hub in your inboxThe stories that matter, every day. Free, a few times a week, unsubscribe any time.