AdvertiseDonate
Los AngelesLong BeachSanta AnaAnaheimIrvineRiversideBakersfieldSan Diego
Sunday, December 6, 2026The stories that matter, every day.
Digital Newz Now · 2829 Townsgate Road, Suite 100, Westlake Village, CA 91361

180 million lines of proof: Claude checks old code for hidden errors

Anthropic and Theorem used the AI model to verify 123 open-source libraries, finding bugs that standard testing often misses.

By Minjun Nwosu ·

Illustration for: 180 million lines of proof: Claude checks old code for hidden errors
Illustration generated for this article, not a news photograph.

Claude generated 180 million lines of mathematical proof code in a matter of weeks. This output came from a project led by Anthropic’s Frontier Red Team in partnership with Theorem. The goal was to mathematically prove that existing software behaves correctly. Traditionally, this process demands enormous expert effort. It has been largely confined to extreme cases like Airbus avionics software. Specialists previously required 20 person-years to verify seL4, a small operating system kernel.

The AI did not write new software. It verified existing code by turning crash tests into mathematical problems. The model analyzed compiled machine code and constructed extensive proofs. It drew on test programs from 123 open-source libraries in Google's OSS-Fuzz security project. A separate verification program called Rocq checks these proofs automatically. Anthropic states the process needs almost no human reviewers. The researchers describe the proof generation as fully autonomous, though humans at Theorem built the tools and formal foundations.

Claude found hundreds of bugs during the work. The researchers say many of these issues would likely have escaped conventional testing. They appear only under narrow conditions, such as unusually large input files or specific sequences of accesses. In one instance, the team verified a widely used PDF reader. They found as many security bugs in one week as are usually reported for that software in a full year. In another application, Claude identified a logical error that had gone unnoticed for more than a decade. Anthropic notes that even when a complete proof fails, the attempt can reveal real bugs.

The company notes that formally verified does not mean error-free. The proofs hold only under defined conditions. These include a particular processor architecture, single-threaded programs, and inputs smaller than 64 MB. Real-world deployments of these libraries often run on different hardware and configurations. This limits the scope of what the proofs guarantee for actual users.

Cost remains a constraint. Individual proofs consume hundreds of millions of tokens. Anthropic has not published total project costs. The company argues that if AI can verify its own code, developers could trust AI-generated software more. This would allow them to spend less time reviewing it. A smaller test run indicated that proofs can be reused. Efficiency is also improving. Opus 5.5 solves half the proofs using about 40 percent fewer tokens than Opus 5.

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

More Tech · Report a business · Got a Story?

Get Digital Newz Now in your inboxThe stories that matter, every day. Free, a few times a week, unsubscribe any time.

Related stories

Get Digital Newz Now in your inboxThe stories that matter, every day. Free, a few times a week, unsubscribe any time.