On 10 November 2026, Google DeepMind announced that it had used a new system, AlphaProof Code, to mathematically prove the core security properties of the Signal protocol's code. According to the company, this is the first time a widely used cryptographic protocol has been formally verified to such depth with the help of artificial intelligence (AI). No live code of such a protocol had ever been formally verified by any method before.
According to DeepMind, the Signal protocol protects billions of private conversations in apps such as Signal and Google Messages. The verification results were published on the company's official blog, and The Register covered the story in its own report the same day.
What Was Verified
AlphaProof Code verified two key parts of the Signal protocol: the post-quantum PQXDH handshake — a key-exchange step resistant to attacks by quantum computers — and the Triple Ratchet mechanism. The verification confirmed four properties of the libsignal library's design: forward secrecy, authentication, post-compromise security, and handshake secrecy.
Formal verification differs from ordinary testing: a test checks code in individual cases, while a formal proof mathematically confirms that a property holds in all cases. The proofs were written in Lean — a proof written in this language is checked automatically by a machine, so the result rests on machine verification rather than human judgment.
What makes this verification distinctive is that it was not limited to the protocol's design: the agents proved that the exact code running on devices matches the specified security properties. DeepMind says this is the first time the implementation of a widely used protocol has been formally verified. You can read about DeepMind's other research this week — its work on RSA-1024 — in our earlier article.
How AlphaProof Code Works
AlphaProof Code is an agentic framework built on several large language models (LLMs), designed for formal verification. Human experts work with AI agents to define what needs to be proved, and the agents do the work of writing the proof.
The proofs were written by Gemini Carbon agents: they generated more than 6 million lines of code in Lean. That figure shows the scale of the proofs — the proof text was generated automatically by the agents, not written by hand.
The agents then checked the proofs themselves and flagged only about 1% of the codebase for human review. That 1% means experts can focus their attention only where human judgment is needed — the rest was left without human review. More details were published in the Google DeepMind blog.
Four Weeks Instead of Years
The verification took four weeks. DeepMind says that historically, such work took teams of experts years. For comparison, the research paper cites two famous examples: formally verifying the seL4 microkernel took 20 person-years, while verifying the CompCert C compiler took six years.
That expresses the volume of work in person-years: the equivalent of one expert working for 20 years, or 20 experts working for one year. The six years in the CompCert example show how long formal verification can stretch even within a single project. According to The Register, those two examples were cited precisely to show AlphaProof Code's speed.
AlphaProof Code completed the Signal verification in four weeks — a sharp reduction in formal verification time compared with previous experience.
The Bug-Detection Test
To test the system's reliability, DeepMind deliberately reintroduced two previously fixed real bugs into an isolated copy of the Signal code. In both cases, AlphaProof Code showed, with a machine-checked proof, that the buggy version was not secure.
The bugs were introduced into an isolated copy of the Signal code — so they did not affect the code real users run. The test shows the system can both confirm correct code and detect buggy code — the proof process does not automatically approve any code. The test was run to check whether the system can distinguish buggy code; The Register's report also covers it.
What It Means
Signal estimates that this approach enables a significant expansion compared with previous verification work — earlier work covered only smaller pieces of code. Signal's statement says:
"While prior formal verification work has necessarily focused on smaller scopes, this new approach enables a significant expansion."
DeepMind said it has published the formal verification artifacts openly for the community to use — meaning other researchers can use these materials in their own work.




