This post was translated from Korean by AI. Read the original (Korean)
AlphaProof Code Released: AI Formally Verifies Signal's Cryptographic Code
SET-UP AI| (Updated November 20, 2026)
On November 10, 2026, Google DeepMind released AlphaProof Code. It reports that an AI agent mathematically proved properties of Signal protocol's real cryptographic code, mechanically confirming that security properties hold at the level of the implementation running on devices, not just the design. For developers and security leaders, it offers one answer to the question of how to guarantee code safety in an era when AI writes code. However, the announcement does not say that this tool will be offered as a product.
What AlphaProof Code is, and why Signal
DeepMind describes AlphaProof Code as an agent framework that combines several large language models. Human experts decide "what to prove" together with the AI, multiple AI agents produce the proofs, and every proof is checked by Lean. Formal verification, which mathematically proves that code behaves without defects, is the highest level of security assurance, but it requires a great deal of human effort.
The target, the Signal protocol, protects billions of private conversations in apps such as Signal and Google Messages. Because a single flaw in a cryptographic protocol can expose millions of people at once, it has long been the subject of formal analysis, yet most verification stops at the design level. DeepMind explains that real vulnerabilities often hide in the gap between design and implementation.
| Category | Traditional protocol verification | This AlphaProof Code effort |
|---|---|---|
| Verification target | Mainly protocol design | Compiled code that actually runs on devices |
| Writing proofs | Difficult and labor-intensive | Written by AI agents; humans review the specifications and some parts |
| Time required | Years for expert teams | 4 weeks |
In what order did the verification proceed?
DeepMind's published diagram shows three stages. In the specification stage, an agent translates the security goals in the paper into a Lean specification, which a review agent and a human check and approve. In the code stage, the target of proof is the machine code compiled from Signal's Rust code, along with a Lean model of the processor that executes that machine code. In the proof stage, a team of proof agents produces proofs, and a verifier (Gatekeeper) lets through only correct proofs.
Image: Google DeepMind
In the diagram, the agent outputs are marked "untrusted output," and only the specification and Lean's verifier are trusted. Even if an agent produces a wrong proof, Lean filters it out, so what humans need to review shrinks to the specification and a small number of flagged parts.
| Item | Announcement |
|---|---|
| Specification | Security goals of Signal translated into a formal mathematical specification; a human expert reviewed every specification |
| Proofs | Agents based on Gemini Carbon wrote more than 6 million lines of Lean code |
| Re-review | Agents flagged the parts that humans should review again, about 1% of the total |
| Properties proved | Core security properties, including that messages stay protected before and after a device is temporarily compromised |
| Time required | 4 weeks |
The pricing and performance of Carbon, the model used to generate the proofs, are summarized in the Gemini 4 Carbon launch article.
Does it actually catch bugs?
DeepMind tested the system by putting two real Signal bugs, which had already been fixed, back into isolated Signal code. In both cases, the system produced a machine-verified proof that the buggy version was unsafe. This shows it can distinguish correct code from buggy code. However, the tests described in the announcement are these two cases only, and it does not explain how many unknown bugs this approach would find.
How does it differ from Anthropic's Lean work the same week?
In the same period, Anthropic also published the results of AI agents formalizing mathematics in Lean: a proof of Fermat's Last Theorem by Claude. Both announcements rely on Lean to check results, but their targets and methods differ.
| Item | DeepMind AlphaProof Code | Anthropic Fermat's Last Theorem formalization |
|---|---|---|
| Target | Security properties of real software (Signal's cryptographic code) | A mathematical theorem (Fermat's Last Theorem) |
| Scale | More than 6 million lines of Lean | 13 million lines of Lean, 29,500 intermediate lemmas |
| Duration | 4 weeks | 11 days (pre-release research model). 30 hours with 1,000 agents for Fable 5.2 |
| Human role | Reviewed all specifications, re-reviewed about 1% of proofs | Occasional high-level direction |
| Model | Agents based on Gemini Carbon | Claude internal research model, later Fable 5.2 |
Image: Anthropic
Anthropic's figures can be read alongside pricing in the Claude Fable 5.2 and Mythos 5.2 launch article. The two announcements involve tests under different conditions, so their times and line counts cannot be compared directly.
What does it mean for developers and security teams?
DeepMind explains that this result could bring the highest level of security assurance to businesses, governments and critical infrastructure, and could serve as a foundation for verifying other critical systems such as medical device firmware and power grid software. It also suggests using the system together with automated defense tools such as the code security agent CodeMender. Signal's CTO, Ehren Kret, praised the step of using agents to turn real code into Lean theorems as significant progress.
| Question | Answer based on the announcement |
|---|---|
| What is guaranteed? | That Signal's core cryptographic code satisfies the security properties defined in advance |
| What is not guaranteed? | It does not mean the whole app is free of defects. The scope is limited to core cryptographic code and the specified properties |
| What is the key to the guarantee? | The specification that defines what is proved. If the specification is wrong, the proof guarantees something else, which is why DeepMind had humans review every specification |
| Can I try it myself? | The announcement does not mention how to use it or any plans to offer it |
| Are the outputs released? | The formal verification artifacts will be released as open source, and a technical paper is referenced |
| Korea-related | The announcement makes no mention of Korean services or regions |
There is not much developers can do right now, but the announcement matters because it shows, at real scale, a structure in which AI verifies code written by AI, with a machine such as Lean handling the final check. If you want to try the same model family directly, you can check the Antigravity and Gemini API routes in the Carbon article above.
Three-line summary
- Google DeepMind announced that it formally verified the real code of the Signal protocol using Lean proofs through AlphaProof Code.
- The agents produced more than 6 million lines of proofs, humans re-reviewed about 1% of them, and the work took 4 weeks.
- The verification scope is Signal's core cryptographic code and the specified security properties. There is no indication that it will be offered as a product, and the verification artifacts will be released as open source.
Sources (checked 2026-11-20)
- Google DeepMind 블로그: Introducing AlphaProof Code · checked 2026-11-20
- Formalizing Fermat's Last Theorem (Anthropic Research) · checked 2026-11-20
This post was written by SET-UP’s AI after reviewing public official sources. If you spot a mistake, please let us know in the comments.
Comments 0
Loading