Saturday, October 24, 2026
Headlines from coast to coast.
Tech · AI

180 Million Lines: Claude's Automated Proof of Software Safety

Anthropic’s model generated massive formal proofs for 123 libraries, identifying hundreds of latent bugs in a matter of weeks.

By Marcus Johnson ·

For decades, the gold standard of software reliability has been formal verification, a process so computationally intensive and labor-intensive that it was reserved almost exclusively for mission-critical systems like aviation and nuclear infrastructure. This week, a significant shift occurred in that landscape as Anthropic demonstrated that its Claude model can now automate this rigorous mathematical process at a scale previously thought impossible.

The scale of the operation is the most striking aspect of the new development. In a collaboration with partner Theorem, the model generated approximately 180 million lines of mathematical proof code over a period of just a few weeks. This output covered 123 open-source libraries sourced from Google’s OSS-Fuzz security project. The sheer volume of data processed and verified marks a departure from the manual, specialist-heavy workflows that have defined the field for years.

To understand the magnitude of this achievement, consider the historical baseline for the technology. Previously, a team of human specialists required 20 person-years to formally verify the seL4 operating system kernel, a relatively small piece of software. That level of resource allocation made formal verification prohibitively expensive for general commercial use, limiting its application to extreme cases where the cost of failure was catastrophic, such as Airbus avionics software.

The methodology employed by Anthropic’s Frontier Red Team and Theorem was distinct from standard AI coding tasks. Rather than generating new code from scratch, Claude focused on validating existing software. The model translated crash tests into mathematical problems, analyzed the compiled machine code, and produced the corresponding proofs. An independent verification program named Rocq then automatically checked these proofs for correctness. Anthropic describes the process as "fully autonomous," noting that it required almost no human reviewers, although the underlying formal foundations and tools were built by humans at Theorem.

The practical outcome of this automation was the identification of hundreds of bugs that conventional testing methods had missed. The researchers noted that many of these flaws only manifested under very specific conditions, such as unusually large input files or particular sequences of data access. During the verification of a widely used PDF reader, the team found as many security bugs in a single week as are typically reported for that software in an entire year. In another instance, Claude detected a logical error that had remained undetected for over a decade, illustrating that even failed proof attempts can surface critical issues.

However, the technology is not without its limitations, and Anthropic is careful to clarify that "formally verified" does not equate to "error-free." The proofs are valid only under strict conditions, including a specific processor architecture, single-threaded execution, and input sizes under 64 MB. In real-world scenarios, these libraries often run on diverse hardware and configurations, meaning the verification provides a high level of confidence within a defined scope rather than universal guarantee.

The economic implications of this work are significant, particularly regarding compute costs. Individual proofs can consume hundreds of millions of tokens, a steep price for traditional computing resources. However, the efficiency of the model is improving; newer iterations like Opus 5.5 solve half the proofs with approximately 40 percent fewer tokens than its predecessor, Opus 5. This trend suggests that as models become more efficient, the cost barrier to entry for formal verification will continue to drop, making the process more accessible to a broader range of developers.

If AI can write code and simultaneously prove its correctness under defined conditions, the fundamental question in software development shifts from "Can AI program?" to "Can AI prove that the code it writes is safe?" Anthropic believes the answer is increasingly yes, and the company expects formal verification with AI to become as routine and practical as standard testing in the near future.

The long-term stakes are high, with the potential to reshape how software is trusted and deployed. Theorem’s roadmap already targets critical infrastructure components such as glibc, OpenSSL, and cURL. If successful, this approach could reduce the time and cost associated with the entire coding and review process, allowing developers to trust AI-generated software more deeply. For the Southeast and beyond, this signals a future where the reliability of digital infrastructure is not just tested, but mathematically guaranteed by the very systems that build it.

Source: The Decoder

Get Trending Blast in your inboxHeadlines from coast to coast. Free, a few times a week, unsubscribe any time.

More from AI

Get Trending Blast in your inboxHeadlines from coast to coast. Free, a few times a week, unsubscribe any time.