Signal encryption code formally verified by DeepMind AI
Google's DeepMind team used its AlphaProof Code system and AI agents to check that Signal's compiled libsignal binary matches its encryption specification, according to Tom's Hardware.

Key takeaways
- Google DeepMind says it produced a complete formal proof of Signal's libsignal encryption binary using its AlphaProof Code method.
- The check ran against an Arm-compiled AArch64 binary, not the source, so the team says the method can be reused for other software.
- Human and Gemini 4 Carbon agents generated millions of lines of Lean, with about one percent of the code flagged for human review.
- The proof only shows libsignal matches its specification, and would not catch hidden malicious code added to an app.
In this article
What DeepMind proved
Engineers at Google's DeepMind AI labs have produced a complete formal proof of Signal encryption, according to Tom's Hardware. The proof covers the code that runs the Signal app's encryption. The team named its method AlphaProof Code and says it can be applied to other software that needs full end-to-end checks. The work is set out in a paper and a public code repository.
The proof was not run against Signal's source code. Instead, the team checked an Arm-compiled AArch64 binary of libsignal, the library that Signal itself uses, with a small amount of supporting code around it. A binary is the finished program that a computer actually runs. The researchers say that, once the work was complete, the binary's cryptographic engine matched every generated proof, bit by bit. On that basis, they describe Signal as safe.
How the AI agents worked

The process involved repeated back-and-forth between people and Gemini 4 Carbon agents. The team first set the scope of the work. It then wrote text-based bot skills for roles such as specification writing, proof work and orchestration.
Agents went on to produce Lean definitions for AArch64 instructions, registers, memory, system calls and Linux processes. Lean is a language built for formal proofs, and it is also used in the labs' earlier work on mathematics. At this stage, nothing about Signal had been proven.
Next, the team and its agents drafted revised specifications for libsignal's cryptography. This step produced more than 1.2 million lines of Lean code. The agents then produced 5.3 million lines of Lean. That work checked each binary instruction against the defined behaviour. About one percent of the code was flagged for people to review.
Why formal proofs are rare
A mathematical proof of code is not the same as ordinary software tests. It aims to show that a program always behaves as designed, with no variation. Tom's Hardware compares it to checking that a whole factory makes exactly the parts it was meant to, with identical inputs every time.
The DeepMind scientists point to earlier, slower efforts. The seL4 microkernel reportedly took 20 years to prove, and the CompCert C compiler took six. Such work is expensive, but it can make vital software very hard to break through a code flaw.
What the proof leaves out
The team is clear about the limits. The proof shows that libsignal works exactly as advertised, and nothing more. If someone hid extra code in an app to copy messages, this kind of proof would likely not catch it.
The researchers also warn that a third-party app using the Signal protocol for encryption does not, on its own, offer full privacy. Readers can consult the official Signal guidance and the published paper for the complete details.
What it means for developers
The researchers say the hardest part is choosing what to prove. In their words, once proofs become cheap, the hard question is what to prove. They add that most of their effort went into specifications rather than proofs.
They also note that writing specifications against real code served as a stress test for existing research. The team argues that verifying mission-critical code, such as a messaging protocol, is a real benefit. For the wider industry, the result hints that such checks could become far more practical with AI help.
Sources
Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.



