AlphaProof Code and Signal: what the proof covers
On 10 November, Google DeepMind unveiled AlphaProof Code, a system of AI agents that mathematically proved key security properties of the code behind Signal, the encryption protocol used by the Signal app and others. Squeezed into a headline, that becomes “AI verifies Signal”, which misses the point. Nobody had to trust the agents. Every step of their work was rechecked by a program that cannot be talked into anything, and people decided what had to be proved. None of this makes Signal “unbreakable”, and if you use the app there is nothing for you to do.
What did Google DeepMind announce?
DeepMind’s announcement of 10 November 2026 describes AlphaProof Code as a team of AI agents (programs built on language models that carry out a task on their own) steered by human experts. The work was split three ways:
- experts, helped by language models, turned Signal’s security goals into formal specifications (precise mathematical statements), each one reviewed by a person;
- agents running on Gemini 4 Carbon wrote the proofs: more than six million lines of Lean, a language for writing proofs that a program can check (more on that below);
- the agents then audited the proofs and flagged the parts a person should check, which DeepMind puts at 1% of the codebase.
DeepMind says the whole job took four weeks. To see whether the system could tell good code from bad, the researchers put two real, long-fixed bugs back into an isolated copy of the code. According to the announcement, both times the system produced a machine-checked proof that the buggy version was insecure. DeepMind also claims this is the first time the implementation of such a widely deployed protocol has been formally verified by any method.
What is formal verification, in plain English?
A test runs code on a handful of cases. If it passes, those cases work. Formal verification proves that a property holds in every case the formal description of the system allows, the way you prove a theorem. For Signal, for example: messages sent before a device is compromised stay protected (forward secrecy), and once the compromise is over, new messages are protected again as soon as the two sides refresh their keys with a new exchange (post-compromise security). Both are listed as proved in the project’s map from paper to code.
Lean is the language the proofs are written in, and it is also the program that checks them. A proof that skips a step gets rejected. That is why writing a complete proof is slow; DeepMind says this kind of job has historically taken expert teams years.
Another detail matters a lot. The proofs cover the compiled code, the instructions the processor actually runs, not just the protocol design. As the announcement points out, real vulnerabilities tend to hide in the gap between the design and the implementation.
Can you trust a proof written by AI?
Nobody is going to read six million lines of machine-written proof, and the method is built so that nobody has to. Lean checks every proof against fixed rules. If an agent makes a mistake or invents a step, the proof fails. Humans spend most of their time where automation cannot help: deciding what to prove, and reviewing the few parts the agents flag.
The weak point is elsewhere. Lean guarantees the proof matches the specification. It cannot tell you whether the specification says the right thing. State the wrong property, or a weaker one, and you get a flawless proof of the wrong claim. So the human review of each specification is the step that matters most, and the reason the result deserves to be taken seriously.
The check is not locked inside a lab either. DeepMind’s public repository holds the specifications, the proofs and the scripts anyone can use to rerun Lean’s check. Bring a big machine: the README mentions several hours and up to roughly 34 GiB of RAM.
What the proof covers, and what it does not
The fine print is in the repository, not in the headlines:
- One specific version. The proof targets libsignal v0.105.4 together with spqr v1.6.0. The libsignal library, written in Rust, is what the official Signal apps (Android, iOS and desktop) and Signal’s servers use. The verified executable is pinned by its SHA-256 hash, a kind of fingerprint of the file, so a new release is a different file, one the proof does not automatically cover.
- Not the app on your phone. What was verified is a command-line program written by Google that calls libsignal’s one-to-one session functions (conversations between two people). It is compiled for Linux on 64-bit ARM processors (see the README and the notes on the libsignal code it uses).
- The basic cryptography is assumed. The cryptographic primitives, the low-level functions used to encrypt, sign and hash, are replaced by mathematical descriptions, and so is the random number generator. The proof assumes they behave as specified; it does not prove it. On top of that, the computational proof (see below) only holds while the maths behind the cryptography stays hard: according to the list of deviations from the reference model, if X25519, one of the algorithms the two sides use to agree on keys, were broken, the theorems would guarantee nothing.
- So is the processor description. The formal description of the ARM instructions is tested against emulators (programs that imitate a processor) and against another formal description of the architecture. The map calls this “testing, not proof”.
- The computational proof says nothing about quantum computers. There are two proofs: one in a symbolic model, where cryptography is described by abstract rules and the attacker can only do what those rules allow, and one in a computational model, which reasons about the probability that an attacker breaks the protection. For the second, the list of deviations states plainly that no security is claimed against an attacker with a quantum computer, not even for the post-quantum part of the protocol.
- Other conditions. In the computational model, messages must be under a million bytes; in the symbolic model there are only two honest parties with fixed roles, plus the attacker. The main ones are in the paper-to-code map; for the computational model, the full list is in the deviations.
So the accurate sentence is not “Signal is proven secure” but “some security properties hold for the compiled code of this version, under these assumptions”. It is still a remarkable result.
Does anything change if you use Signal?
There is nothing to do. This is not a vulnerability report and there is no patch to install. DeepMind’s post also names Google Messages among the apps that use the protocol, but the proof is about libsignal’s code and says nothing about other implementations. If you use Signal, what changes is how much confidence you can place in the cryptographic code underneath Signal (libsignal), within the limits above.
What it means if you write software
There is no tool to try yet. The repository has specifications, proofs and checking scripts, but not the agent system, and the announcement does not mention a product.
The lesson travels without Lean, though. When AI writes code, its answer is worth exactly as much as whatever checks it next: the compiler, the type checker (which catches, say, text passed where a number was expected), the tests, a reviewer who knows what to look for. The more mechanical that check is, and the less it depends on the model, the less it matters how convincing the answer sounds. DeepMind took that idea as far as it goes, with a mathematical proof instead of tests. An ordinary project needs far less: write the tests before you ask the AI for the code, and accept nothing that fails them.
The blog’s posts on artificial intelligence are collected in the AI category.
Sources: AlphaProof Code announcement (Google DeepMind, 10 November 2026); repository with specifications and proofs, in particular the paper-to-code map and the deviations from the reference model; libsignal v0.105.4; Lean 4 repository.