DeepMind's AlphaProof Code formally verifies Signal protocol code
Google DeepMind used AI agents and Lean to prove key security properties of the code behind the Signal protocol in four weeks.

TL;DR
- AlphaProof Code agents proved key security properties of the actual code behind the Signal protocol [1].
- Agents powered by Gemini Carbon wrote over six million lines of Lean; the work took four weeks [1].
- DeepMind is open-sourcing its formal verification artifacts and has published a technical paper [1].
Google DeepMind announced AlphaProof Code on 10 November 2026, an agentic framework for formal verification [1]. Researchers used it to guide AI agents to mathematically prove key security properties of the actual code behind the Signal protocol, which protects private conversations in apps like Signal and Google Messages [1].
Why it matters
Formal verification proves mathematically that code behaves as specified, and DeepMind calls it the highest standard of security assurance, but it is difficult and often labour-intensive [1]. Most protocol verification stops at the design level [1]. Here the agents proved that the compiled code meets the specified security properties, down to the exact code that runs on devices [1]. DeepMind says real vulnerabilities often hide in the gap between design and implementation [1].
DeepMind says this is the first time AI has been used to formally verify a widely deployed cryptographic protocol at this depth [1]. It also says it is the first time the implementation of a widely deployed protocol like this has been formally verified by any method [1]. Cryptographic protocols underpin nearly all digital communication, from online banking to web browsing, and one flaw can expose millions of people at once [1].
How it worked
AlphaProof Code is a multi-LLM agentic framework that splits the work like a research team [1]. First, researchers worked with several models to turn Signal’s security goals into formal mathematical specifications, and human experts reviewed every one [1]. Agents powered by Gemini Carbon then wrote the proofs, producing over six million lines of Lean, a language for machine-checked mathematical proofs [1].
The agents then audited the proof and flagged areas for human review, about one percent of the codebase [1]. Lean automatically checks the rest [1]. The whole verification took four weeks, a task DeepMind says historically takes expert teams years [1].
To test that the system can tell correct code from buggy code, the team put two real, previously fixed bugs back into an isolated copy of Signal’s code [1]. In both cases, the system produced a machine-checked proof that the buggy version was insecure [1].
Limits and next steps
Signal CTO Ehren Kret said earlier formal verification work had focused on smaller scopes and that automatically translating live code into valid Lean theorems was a breakthrough [1]. DeepMind says scaling these techniques still needs more research [1]. It is open-sourcing its formal verification artifacts and has released a technical paper [1].
Sources
Written and checked by AI from the sources below
Fact-checked by gpt-6.1-sol on · Editorial policy



