AdvertiseDonate
Your daily read on the news.
Wednesday, December 2, 2026
Journal Channel · 845 15th Street, San Diego, CA 92101
Tech · AI

AI Can Now Prove Its Own Code Is Safe, Anthropic Says

Anthropic reports that its Claude model has mathematically verified the safety of existing open-source software code and generated proof of its correctness.

By Ryan Mehta ·

Illustration for: AI Can Now Prove Its Own Code Is Safe, Anthropic Says
Illustration generated for this article, not a news photograph.

Software that runs without errors under all conditions has always been prohibitively expensive to certify. Creating proof for a small operating system kernel took 20 person-years, meaning formal verification was reserved for critical systems such as Airbus avionics software. Now, Anthropic reports that its Claude model can take on that proof work, a move that could change how developers review software created by artificial intelligence. The company says the model generated proof of correctness for existing code.

The effort began when Anthropic's Frontier Red Team, working with partner Theorem, tasked Claude with verifying software instead of writing it. The model generated roughly 180 million lines of mathematical proof code in just a few weeks. This work used test programs from 123 open-source libraries that are part of Google's OSS-Fuzz security project. The process involved translating crash tests into mathematical problems and analyzing compiled machine code.

As the model worked to prove the safety of existing code, it uncovered hundreds of bugs that conventional testing had missed. Many of these issues only appear under very specific conditions, such as with unusually large input files or a particular sequence of accesses. In one instance involving a widely used PDF reader, the team found as many security bugs in one week as are typically reported for that software in an entire year. Another application revealed a logical error that had remained undetected for over a decade.

The researchers say Claude was allowed to fix the bugs it discovered. An independent verification program called Rocq then checks the proofs that are generated. Anthropic describes this as a fully autonomous process that requires almost no human reviewers, though the tools and formal foundations were built by humans at Theorem. Anthropic also states that the attempt to prove a piece of code can surface real bugs even when the final proof fails.

The company acknowledges that a formally verified status does not mean error-free. The proofs only hold under strict conditions: a specific processor architecture, single-threaded programs, and inputs under 64 MB. The compute cost for the project is also steep, with some proofs running up hundreds of millions of tokens. However, Anthropic notes that newer models are getting more efficient. It expects formal verification with AI will soon become as practical as standard testing, and Theorem's roadmap targets critical infrastructure like glibc, OpenSSL, and cURL.

More Tech · Report a business · Got a Story?

Get Journal Channel in your inboxYour daily read on the news. Free, a few times a week, unsubscribe any time.

Related stories

Get Journal Channel in your inboxYour daily read on the news. Free, a few times a week, unsubscribe any time.