LLMs are making formal software verification feasible at a much larger scale

The 30-Second Skim
- What happened: Claude, an LLM developed by Anthropic, has demonstrated the ability to autonomously generate formal proofs for real-world software, proving security properties across 123 open-source libraries at the RISC-V assembly level and uncovering long-standing bugs.
- Key facts & numbers: Claude produced formal proofs for 123 open-source software libraries, verifying that 239 entry points will not crash under any input up to 64 MB when compiled to RISC-V assembly, marking the first large-scale use of AI for formal verification at the binary level Claude discovered previously undetected bugs in production software that had survived trillions of test runs, demonstrating AI's ability to surpass traditional testing methods like fuzzing in identifying critical vulnerabilities Theorem collaborated with researchers to translate RISC-V assembly and Linux process semantics into mathematical models, enabling LLM-generated proofs to be checked against formal security specifications using the Rocq proof checker
- What happens next: Claude didn’t just find bugs— it proved entire programs can’t crash, turning guesswork into mathematical certainty. The era of provably secure code just went mainstream.
- Claude produced formal proofs for 123 open-source software libraries, verifying that 239 entry points will not crash under any input up to 64 MB when compiled to RISC-V assembly, marking the first large-scale use of AI for formal verification at the binary level
- Claude discovered previously undetected bugs in production software that had survived trillions of test runs, demonstrating AI's ability to surpass traditional testing methods like fuzzing in identifying critical vulnerabilities
- Theorem collaborated with researchers to translate RISC-V assembly and Linux process semantics into mathematical models, enabling LLM-generated proofs to be checked against formal security specifications using the Rocq proof checker
- Researchers converted existing fuzz tests from Google’s OSS-Fuzz initiative into formal specifications, allowing Claude to prove that certain memory-safety errors and assertion failures cannot occur under defined conditions
Why It Matters
Formal verification, once limited to mission-critical systems due to its high cost and expertise barrier, is now scalable thanks to LLMs—reducing proof effort from decades to weeks. This shift lowers the risk of undetected vulnerabilities in widely used software, benefiting developers and users of open-source infrastructure.
Sources Cited
Related Coverage
Ask SkimNews