@GergelyOrosz: There’s a popular theory that AI will finally make formal verification mainstream because mathematical proof of correct…
Summary
A podcast episode featuring Hillel Wayne discusses whether AI will drive mainstream adoption of formal verification, highlighting TLA+ use at Amazon and the challenges of writing formal specs.
View Cached Full Text
Cached at: 07/30/26, 07:51 AM
There’s a popular theory that AI will finally make formal verification mainstream because mathematical proof of correctness will be needed when machines write most or all of the code. But will this happen? Hillel Wayne is one of the best people to answer. Timestamps:
00:00 Intro 04:32 The Crossover Project 11:37 What software engineering does better 15:30 What traditional engineering does better 18:17 Formal methods 29:32 TLA+: what it is and demo 36:58 TLA+ at Amazon 38:10 Ways distributed systems break 41:03 Formal methods and systems thinking 46:20 The value of learning math 50:23 What TLA+ is good for and isn’t 52:50 Alloy: a declarative language for software modeling 58:53 Other formal methods tools 1:01:24 Property-based testing 1:05:31 AI and the need for formal verification 1:12:29 Logic for programmers 1:14:35 Hillel’s 2025 prediction on AI’s impact 1:21:30 Book recommendation
Brought to you by:
• @AntithesisHQ – verify your system’s correctness without human review or traditional integration tests – and avoid bugs or outages. https://antithesis.com/pragmatic
• @turbopuffer – a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable. https://turbopuffer.com/pragmatic
• @WorkOS – everything you need to make your app enterprise ready. https://workos.com
Two things I found especially interesting, talking with Hillel:
- Amazon used TLA+ to find a bug almost impossible to locate without formal methods.
In the paper How AWS uses formal methods, the AWS team shared that they’d found a complicated bug for which the shortest error trace to exhibit was 35 steps (!!). The bug passed unnoticed through extensive design review, code reviews, and testing. AWS concluded they wouldn’t have uncovered it if they’d stuck to conventional testing approaches.
- Why not use formal verification for everything, then?
It’s because specs in the real world are a nightmare to write. Even a simple problem like “find the file in a directory that has the most lines” gets complicated when modeled with formal methods. We would have to answer questions like: ‘do we look at ASCII or UTF-8 new line characters, what about unreadable files, and Symlinks?’ Without formal methods, we can write a simple verification that is right in 99%+ of cases. Formal methods require a lot of extra effort for the less than 1% of exotic use cases!
Redirecting…
Source: https://antithesis.com/pragmatic/ Redirecting to/?utm_medium=podcast&utm_campaign=pragmatic_2026&utm_source=pragmatic&utm_content=pragmatic_20260513
Similar Articles
@GergelyOrosz: One thing that I no longer hear much talk about: Whether AI would help with formal verification go mainstream. Formally…
Gergely Orosz observes that the discussion about AI enabling mainstream formal verification has faded, and questions why AI hasn't impacted that field.
@paulg: Interesting. AI will in effect increase both supply and demand for formal methods. You need them more, but you also hav…
Jane Street, previously skeptical about formal methods, is now building a team to use them, driven by AI and agentic coding that reduce costs and increase benefits for software verification.
@VitalikButerin: Many people have claimed that with AI-assisted bug finding, secure code (and hence trustless anything) will be impossib…
Vitalik Buterin shares an optimistic take on AI-assisted formal verification as a path to secure, trustless code, linking to his blog post explaining the basics of formal verification using Lean.
You Don't Know Jack About Formal Verification
An opinion piece that explores common misconceptions about formal verification and highlights its critical role in ensuring software and AI system reliability.
@geoffreyirving: New paper with Gopal Sarma, Rachel Steratore, and Sunny Bhatt, and me surveying formal methods folk about importance an…
A new paper surveying formal methods practitioners on the importance and tractability of applications to AI safety, accompanied by a broader plea for ambitious software verification.