AdvertiseDonate
☰ SectionsToday’s news, without the noise.
Live Herald Wire · 1111 Brickell Avenue, 10th Floor, Miami, FL 33131
Tech · AI

180 Million Lines of Proof Generated in a Few Weeks

Claude converted crash tests into mathematical proofs to verify software correctness and identify previously undetected bugs.

By Owen Menon ·

Illustration for: 180 Million Lines of Proof Generated in a Few Weeks
Illustration generated for this article, not a news photograph.

Formal verification of software, once prohibitively expensive, has become faster than ever before.

Anthropic's Frontier Red Team, in collaboration with partner Theorem, deployed the Claude model to mathematically verify the correctness of existing software code. The system produced formal proofs regarding the safety of code contained in 123 open-source libraries associated with Google's OSS-Fuzz security project.

The generation of proof code proceeded rapidly. The model produced roughly 180 million lines of mathematical proof code in just a few weeks. Historically, formal verification has been reserved for high-stakes environments such as avionics software because verifying even small systems, like the seL4 operating system kernel, required 20 person-years of specialist labor.

Rather than generating new software, Claude analyzed compiled machine code and translated crash tests into mathematical problems. The model then produced proofs to confirm the software's safety. An independent verification program named Rocq automatically checks these proofs. Anthropic describes the system as generating fully autonomous proofs, though the necessary tools and formal foundations were constructed by humans at Theorem.

During the proof generation process, the model encountered and fixed hundreds of bugs that conventional testing had previously missed. The researchers report that these issues only surface under specific conditions, such as unusually large input files or particular sequences of data access. While verifying a PDF reader, the team identified as many security bugs in one week as are typically reported for that application in an entire year. In another instance, the system detected a logical error that had remained undetected for over a decade.

Anthropic acknowledges that a status of formally verified does not equate to being error-free. The mathematical proofs only remain valid under strict conditions, including a specific processor architecture, single-threaded programs, and inputs under 64 MB. These libraries, however, are generally utilized across different hardware and configurations.

The computational cost remains steep, with individual proofs requiring up to hundreds of millions of tokens. Anthropic does not report the total costs for the project. Despite this, the company argues that verifying generated code reduces the time developers must spend reviewing it, which saves costs across the entire coding process. A smaller test run also demonstrated that proofs are reusable. Anthropic states that newer models are becoming more efficient, noting that Opus 5.5 solves half the proofs with about 40 percent fewer tokens than Opus 5.

The project strengthens the case for software automation. If an AI can write code and mathematically guarantee its safety under defined conditions, the central question for developers changes from whether AI can program to whether it can prove the code it writes is safe. Anthropic expects formal verification with AI will soon become as practical as standard testing, and Theorem's roadmap already targets critical infrastructure like glibc, OpenSSL, and cURL.

More Tech · Report a business · Got a Story?

Get Live Herald Wire in your inboxToday’s news, without the noise. Free, a few times a week, unsubscribe any time.

Related stories

Get Live Herald Wire in your inboxToday’s news, without the noise. Free, a few times a week, unsubscribe any time.