AdvertiseDonate
Thu, Dec 3, 2026New YorkJersey CityBaltimoreMilwaukeeAlbuquerqueAtlantaHoustonPhoenix
Hot Herald Daily · 200 Pemberwick Road, Greenwich, CT 06831

Claude Generates 180 Million Lines of Proof for Open-Source Code

Anthropic and Theorem used the AI model to mathematically verify 123 libraries in weeks, a task that previously took decades.

By James Rogers ·

Illustration for: Claude Generates 180 Million Lines of Proof for Open-Source Code
Illustration generated for this article, not a news photograph.

180 million lines of mathematical proof code were generated by Anthropic’s Claude model over a matter of weeks. The output serves as a formal verification for 123 open-source libraries within Google’s OSS-Fuzz security project. This automated process replaces a manual task that has historically required massive human effort.

Formal verification has long been a niche practice due to its high cost. Specialists required 20 person-years to verify seL4, a small operating system kernel. Because of this expense, the technique was largely reserved for high-stakes applications like Airbus avionics software. Anthropic’s Frontier Red Team partnered with Theorem to change that dynamic by handing the proof work to Claude.

The model did not write new software. Instead, it analyzed existing code by turning crash tests into mathematical problems. Claude examined compiled machine code and constructed extensive proofs to demonstrate correctness. A separate program called Rocq automatically checks these proofs. The researchers describe the generation process as fully autonomous, though they note that humans at Theorem built the underlying tools and formal foundations.

The verification process uncovered hundreds of bugs that Claude was permitted to fix. Many of these errors would likely have escaped conventional testing because they only appear under narrow conditions, such as unusually large input files. In one specific instance, the team found as many security bugs in a widely used PDF reader in one week as are usually reported for that software in a full year. Claude also identified a logical error in another application that had gone unnoticed for more than a decade.

Anthropic emphasizes that formally verified code is not error-free. The proofs hold only under specific conditions, including a particular processor architecture and single-threaded programs with inputs smaller than 64 MB. Real-world deployments often run on different hardware and configurations. Individual proofs consume hundreds of millions of tokens, and the company has not published total project costs.

The company argues that AI verification will allow developers to trust AI-generated software more and reduce review time. A smaller test run showed that proofs can be reused and efficiency is improving. Opus 5.5 solves half the proofs using about 40 percent fewer tokens than Opus 5. Theorem’s roadmap already targets critical infrastructure including glibc, OpenSSL, and cURL.

More Tech · Report a business · Got a Story?

Get Hot Herald Daily in your inboxWhat’s happening across America. Free, a few times a week, unsubscribe any time.

Related stories

Get Hot Herald Daily in your inboxWhat’s happening across America. Free, a few times a week, unsubscribe any time.