AlphaProof Code: AI Proves Signal's Encryption Correct
Gemini Carbon agents wrote more than six million lines of Lean, verifying Signal's core cryptography in four weeks instead of years of expert labor.
In short
AlphaProof Code is a Google DeepMind agent framework that writes machine-checked mathematical proofs about real source code, and it has now verified the Signal messenger's core cryptography down to the implementation level for the first time.
At a glance
- Announced November 10, 2026: AlphaProof Code, a Google DeepMind agent framework for formal code verification.
- Agents built on Gemini Carbon generated more than six million lines of Lean proofs.
- Signal's core cryptography was verified in four weeks; expert teams historically needed years.
- About 1 percent of the codebase was flagged by the agents for human review.
- Two real, previously fixed bugs were reintroduced as a control test, and both were caught.
Google DeepMind introduced AlphaProof Code on November 10, 2026: a framework in which several AI agents work alongside human experts to produce machine-checked mathematical proofs about real source code. Its first large target was the core cryptography behind the Signal messenger. The lab calls this the first formal verification of that implementation by any method.
A proof is not a test
Security testing feeds a program inputs and hopes a defect shows up. Formal verification inverts that: it states a security property as a theorem and proves it for every possible execution. The cost has always been the bottleneck, because experts write those proofs by hand in Lean, a language built for machine-checked mathematics.
AlphaProof Code splits the labor differently. Humans turn security goals into formal specifications; agents built on Gemini Carbon write the Lean proofs that discharge them. DeepMind puts the output at more than six million lines of Lean code, with Lean itself doing the final mechanical check on every step.
Four weeks on Signal's cryptography
The team reports verifying Signal's core cryptography in four weeks, against the years such efforts have historically taken. Depth is the real claim here. Earlier proofs mostly covered protocol design rather than the compiled code running on handsets, and that gap is exactly where implementation bugs live.
The agents also audit their own proofs, and that pass flagged about 1 percent of the codebase for human experts to read. As a control, the team reintroduced two real bugs that had been fixed in the past. Both were detected.
“Using AI agents to translate live code into valid Lean theorems is a major breakthrough,” says Ehren Kret, chief technology officer of Signal.
What the proof does not cover
By DeepMind's own account the work targeted key security properties, not the whole application. A proof only ever holds relative to its specification, so a mis-stated security goal yields a result that is formally valid and practically empty. The post does not break down which Signal modules were in scope, and the single source available for this story does not settle it.
DeepMind adds that scaling the approach needs further research, and points toward pairing verification with automated defense agents such as CodeMender. The verification artifacts are described as open-sourced, with a technical paper linked from the post. We did not inspect those files.
Why this matters past one messenger
Cryptography is where a silent defect costs the most, and also where properties are cleanest to express as theorems. If agents can compress that work from years into weeks, formal verification stops being a research specialty and starts being something ordinary engineering teams can reach for. Whether the same holds on large, mathematically messy codebases is not something one project establishes.
FAQ
What is Google DeepMind's AlphaProof Code?
A framework where multiple AI agents work with human experts to generate correctness proofs in Lean. The proofs are then checked mechanically, rather than sampled by testing.
Does AlphaProof Code make Signal unhackable?
No. The work covered key security properties of the core cryptography, not the whole app or the device around it. A proof only guarantees that the code satisfies the specification that was written for it.
Where can I find the AlphaProof Code verification artifacts?
DeepMind says the verification artifacts are being open-sourced and links a technical paper from the announcement. We did not verify the scope of the published files ourselves.