API
< Back to all clusters
[TECHNOLOGY] · United States · 2 sources

started · updated

Anthropic and Theorem use AI for large-scale formal software verification

Anthropic and partner Theorem have demonstrated that large language models can enable formal software verification at scale. Using the Claude model, the researchers successfully generated formal proofs for 123 open-source libraries from Google’s OSS-Fuzz project.

Unlike traditional fuzzing, which relies on random inputs to find crashes, this method translates testing requirements into mathematical statements. Claude generates these proofs, which are then validated by the Rocq proof checker. The project verified 239 fuzz tests, proving that no input under 64 MB would cause a crash or memory error for statically linked RISC-V programs running on Linux.

During the process, the AI identified hundreds of bugs, many of which were difficult for traditional fuzzers to detect. While manual formal verification of a system like the seL4 microkernel kernel required twenty person-years, Claude completed the verification for these 123 libraries in just a few weeks. The resulting proofs encompass approximately 180 million lines in the Rocq proof language.

Entities

Anthropic · Claude · Google · Rocq · Theorem