Prediction: AI will make formal verification go mainstream — Martin Kleppmann’s blog
Much has been said about the effects that AI will have on software development, but there is an angle I haven’t seen talked about: I believe that AI will bring formal verification, which for decades has been a bit of a fringe pursuit, into the software engineering mainstream. Proof assistants and proof-oriented programming languages such as Rocq, Isabelle, Lean, F*, and Agda have been around for a long time. They make it possible to write a formal specification that some piece of code is supposed to satisfy, and then mathematically prove that the code always satisfies that spec (even on weird edge cases that you didn’t think of testing). These tools have been used to develop some large formally verified software systems, such as an operating system kernel, a C compiler, and a cryptographic protocol stack. At present, formal verification is mostly used by research projects, and it is uncommon for industrial software engineers to use formal methods (even those working on classic high-ass
Prediction: AI will make formal verification go mainstream - Martin Kleppmann's blog Skip to content Martin Kleppmann Student Projects About/Contact Supporters Prediction: AI will make formal verification go mainstream Published by Martin Kleppmann on 08 Dec 2025. Much has been said about the effects that AI will have on software development, but there is an angle I haven’t seen talked about: I believe that AI will bring formal verification, which for decades has been a bit of a fringe pursuit, into the software engineering mainstream. Proof assistants and proof-oriented programming languages
related reading
- When AI Writes the World's Software, Who Verifies It? — Leonardo de Mouraleodemoura.github.io
- Formally Verifying the Easy Partbrainflow.substack.com
- A shallow dive into formal verificationvitalik.eth.limo
- Automatic Formal Verification for Code Generationlogicalintelligence.com
- The Case Against Formal Verification, 50 Years Laterivan-gavran.github.io
- AI Will Write All the Code. Mathematics Will Prove It Works.menlovc.com
- Your job is to deliver code you have proven to worksimonwillison.net
- Solve math, solve everything. — Math, Inc.math.inc
- Asymmetry of verification and verifier’s rule - Jason Weijasonwei.net
- What Happens When the World is Run on Code No One Understands?time.com
- How Could Formal Verification Help with Cyber Resilience?astrangeattractor.substack.com
- Intent Formalization: A Grand Challenge for Reliable Coding in the Age of AI Agentsalphaxiv.org