A golden padlock sitting on a computer keyboard
Photo by Towfiqu barbhuiya on Unsplash · source · credits

AlphaProof Code: How DeepMind's AI Agents Formally Verified Signal's Code

AlphaProof Code is a new Google DeepMind system in which AI agents write mathematical proofs that real software is secure, and its first big result is Signal. DeepMind announced on 10 November 2026 that it had proved key security properties of libsignal, the code behind the Signal protocol, down to the compiled machine code. The agents ran on Gemini Carbon and produced about 6.5 million lines of proof in Lean. A team of five did the work in four weeks.

What AlphaProof Code is

Formal verification means proving with maths that code always does what a written specification says, instead of only testing some cases. It is the strongest kind of security assurance, but usually so slow and costly that only a few systems ever get it. DeepMind's technical paper splits the work into three parts:

  1. Specification: a human-guided agent turns security goals from the research literature into a Lean specification. Reviewer agents critique the drafts and a human approves the final version.
  2. Machine-code model: the unmodified Rust code is compiled with the normal compiler, and the resulting ARM (AArch64) program is loaded into Lean together with a formal model of how that processor runs it.
  3. Proof: a team of prover agents, organised under "team lead" agents, writes the proofs. A proof only counts if Lean's kernel checks it, so the result does not depend on trusting the AI.

What was proved about Signal

Item Detail (from DeepMind's paper)
Code verified libsignal v0.105.4, compiled for AArch64 Linux
Protocol parts PQXDH post-quantum handshake and the Triple Ratchet
Properties Forward secrecy, authentication, post-compromise security, handshake secrecy
Proof size About 6.5 million lines of Lean proof, resting on about 26,000 lines of trusted specifications and processor model
Human review Agents flagged about 1% of the work for a human second look
Time and team Five people, four weeks
Bug check Two real bugs that had been fixed before were put back in a test copy; the system proved that copy insecure
Open source Lean development published on GitHub

DeepMind says this is the first time the code of a widely deployed cryptographic protocol, not just its design, has been formally verified by any method. Signal CTO Ehren Kret said the work gives Signal "even greater confidence" in its privacy guarantees. The Register notes it is a step towards a challenge the Beneficial AI Foundation set in April 2026 to verify the Signal protocol and app in Lean.

What it does not prove

What it means for builders

Sources

FAQ

What is AlphaProof Code?

It is a Google DeepMind framework (AlphaProof Code kya hai: AI agents that write maths proofs about code) in which humans and AI agents write a formal specification and AI agents then prove, in Lean, that the compiled code meets it.

Did AlphaProof Code prove Signal is unhackable?

No. It proved specific security properties of libsignal's one-to-one protocol code, assuming the cryptographic primitives are sound. It does not cover the Signal apps, group chats or attacks outside that model.

Is AlphaProof Code open source?

DeepMind has published the Lean proofs and specifications on GitHub (google-deepmind/code-verification). It has not announced AlphaProof Code as a product you can sign up for.

Which AI model did AlphaProof Code use?

DeepMind says the proof agents were powered by Gemini Carbon, with a mix of models helping to write the specifications.

About the author

Suraj Kumar builds and edits AIUseFlow, a directory of AI tools for vibe coders, agent builders and creators. News summaries are written in our own words and link to the original reporting. How we rank tools.

Get the weekly stack

Rank movers and new AI tools for builders, once a week. Free, no spam, unsubscribe anytime.