The Nerd Uncle
One stop shop for AI news.


The Nerd Uncle › Research

AI writes three million lines of proof for Signal's encryption

Google DeepMind says its AI system produced machine-checked proofs that key security promises of the Signal protocol hold. Here is why a proof says more than a test.

10 NOVEMBER 2026 · 3 min read

Entrance of building where Google and its subsidiary Deep Mind are located at 6 Pancras Square, London, UK
Entrance of building where Google and its subsidiary Deep Mind are located at 6 Pancras Square, London, UK Photograph: Gciriani (CC BY-SA 4.0)

Every time you send a message on Signal, WhatsApp or Google Messages, a set of rules called the Signal protocol scrambles it so that only the person you are writing to can read it. Google DeepMind now says it has mathematically proved that several of that protocol's key security guarantees hold. It used a new system called AlphaProof Code, made up of AI agents: programs that work through a multi-step task on their own, checking and correcting their work as they go.

According to DeepMind, those agents wrote about three million lines of proof in Lean, a language in which every step of a mathematical argument is checked by a computer rather than by a tired human reader. Wired reports that the project took just four weeks and was run as a proof of concept.

Tested versus proved

Most software is described as well tested. Engineers feed it lots of inputs and confirm that it behaves. Tests are valuable, but they can only speak for the situations somebody thought to try. A flaw hiding in a case nobody tried stays hidden.

Formal verification works differently. First you write down, precisely, what the software is supposed to guarantee, for example that nobody without the right key can read a message. That written statement is called a specification. Then you build a step-by-step argument that the code meets it in every possible situation, not just a sample. Because a machine checks each step, a gap in the reasoning gets caught instead of slipping past. Supporters have long prized the method for exactly this reason. The catch has always been labour: describing the properties, turning them into formal statements and writing the proof took people enormous time. Wired notes that AI mainly speeds up the last of those jobs, the proof itself.

What the check found, and what it did not

DeepMind found no new weaknesses in the parts of the protocol it examined. As a test of the method, the team also ran AlphaProof Code on older versions of Signal containing known flaws that were fixed long ago; it caught them, and the proofs could not be completed. The researchers are publishing their specification and proof so others can build on them.

The limits matter. The work covered key guarantees of the protocol, not the whole Signal app. DeepMind also says it had a head start from formal verification the Signal Foundation had already done. Signal's chief technology officer, Ehren Kret, said in a statement that earlier efforts covered smaller portions of the code and this approach allows a significant expansion. DeepMind did the analysis free of charge as a research project, and Google declined to say what it cost, or whether a commercial product is planned. Whether this can scale at a sensible price is still open; DeepMind research scientist Swarat Chaudhuri told Wired "there is a long distance to go". He also stressed that humans review the work at key points, rather than letting AI set its own goals and then prove them.

The idea to take away

A proof is only as strong as the statement it proves. Testing tells you the software behaved every time you looked. Verification tells you it cannot break the specific promise you wrote down, in any situation at all. That is a far stronger guarantee, but it covers only what the specification says, which is why Signal's result applies to certain protocol guarantees and not to the entire app. It is also why people still need to check the goals: an AI that writes both the promise and the proof would be marking its own homework. When you hear "formally verified", the useful next question is always: verified to do what, exactly?

Read next

CHOSEN BY DESK
The Nerd Uncle

Subscribe

One edition a day, finished and dated, at six in your own morning. No account, no tracking, no price.

or

Double opt-in, one unsubscribe link in every message, and the list lives in our own database rather than a provider’s.