Thrilled to announce that our @GoogleDeepMind team has cracked a major challenge in software engineering and cybersecurity: formally verifying a real-world implementation of the #Signal cryptographic protocol at the machine-code level. This proof was done using AlphaProof Code, our new AI framework for formal specification and verification.
* Paper: https://t.co/mq5WyFl4jb
* Lean code: https://t.co/u4UIl154AY
* DeepMind blog post: https://t.co/eBxLMPlIDJ
A huge shoutout to my amazing teammates: @tchajed,
@FerrousAndrew, Jonathan Katz, @pushmeet, @antonkovsharov, Karn Seth, Sam Schlesinger, @RandomlyWalking.
I started working on formal software verification 20+ years ago as a grad student. I was persuaded by Dijkstra and other computer science pioneers’ vision of programming backed up by mathematical theorems. At that time, we had to choose between automated code analysis algorithms that scaled but could only prove shallow properties, and deep manual verification that took decades of expert human work.
Thanks to progress in AI for mathematical reasoning, we don’t have to make that choice any more. Over four weeks in October 2026, AlphaProof Code agents generated more than 6 million lines of machine-checked Lean proof. We proved deep computational and symbolic security properties of the entire protocol core of Signal, all the way down to the ARM machine-code level.
This is just the first step, of course, because our goal is nothing short of verifying the world’s software infrastructure. Most cyberattacks, including the AI-powered ones recently in the news, happen because of preventable code bugs. I expect that agents for formal code analysis will eliminate these bugs one category at a time.
As our paper explains in more detail, this doesn’t at all mean humans are out of the picture! Proofs are now largely automated, but human experts will need to decide what is proved with AI assistance. AlphaProof Code offers an early glimpse of what such human-AI collaboration could look like, but many other proposals of this nature will emerge.
We have released all our Lean specs and proofs and plan to work with the open-source community on improving them. If you are building critical software and would like to apply these ideas, come talk to us!
So the log_softmax bug https://t.co/plXnVXVvEW that's been making the rounds. TorchLean also had the same problem (fixed in https://t.co/kfrbkZ8YoJ). How come? This example is pretty illustrative of the proper mindset you need when working on formal verification. 🧵
Happy to announce that our work on quantitative verification got the distinguished paper award at ATVA 2026. Looking forward to visiting Hong Kong this December!
Paper: https://t.co/ff8WsngIKS
My view, which I've publicly held for a long time, is that nobody actually wants to do proofs about their programs (except a tiny but vocal minority). People instead want *confidence* in their programs. Finally, we can focus on the human factors we've neglected all along.
You won't believe how many people told me over the past 10+ years that proof assistants would never achieve widespread use, and that my work was therefore not useful. Ignore people who discount entire fields of research because they are hard. All the more motivation for research
One heartening thing about the @AnthropicAI + @theoremlabs verification work: almost every PL researcher on my feed is excited about the future and seeing years of research put to use. Quite a contrast to the “AI is taking our jobs” mood I’ve seen in other communities.
From Formal Methods to Fuzzing and Back
Invited paper for my upcoming talk at FSTTCS, on how I started in FM (intellectually mind bending bug would not scale!), moved mainly into fuzzing (so much fun!), and am now getting right back into FM thanks to AI.
https://t.co/O7EwclUbER