Six and a half million lines of mathematical proof, four weeks of work, and one of the most widely used encryption protocols on Earth, checked down to the machine code it actually runs. That is what Google DeepMind announced on November 10, 2026, unveiling AlphaProof Code, an agentic framework for formal verification that proved key security properties of Signal’s cryptographic protocol.
Formal verification is the highest standard of security assurance: instead of testing a program and hoping you tried the right inputs, you state the security properties in mathematics and prove the code satisfies them.
The stakes are hard to overstate. Signal’s protocol protects billions of private conversations in the Signal app, WhatsApp, Meta Messenger, and Google Messages, where one flaw could expose millions of people at once.
What AlphaProof Code Actually Proved
DeepMind’s team verified the compiled code of libsignal, the official Rust implementation of the Signal protocol, version 0.105.4 with SPQR v1.6.0, compiled to AArch64. The proofs apply to that compiled binary, not to an idealized model of the protocol.
| Property proved | What it guarantees |
|---|---|
| Message confidentiality | Only the intended recipient can read it |
| Message authenticity | A message really came from its sender |
| Forward secrecy | Past messages stay secret if keys leak |
| Post-compromise security | Security heals after a compromise |
| Handshake secrecy | Handshake stays secret, even vs. a future quantum attacker (symbolic model) |
The scope is one-to-one sessions using the post-quantum PQXDH handshake and the Triple Ratchet — the first time, DeepMind says, a widely deployed cryptographic protocol has been verified at this depth, by AI or any other method.
The verification, in numbers
About 6.5 million lines of machine-checked Lean proof, generated by AI agents.
About 26,000 lines of trusted specifications and AArch64 semantics to review.
Only 1% needed a second look by humans, because Lean checks the rest.
4 weeks, a task DeepMind says historically takes expert teams years.
Source: Google DeepMind blog, Nov 10, 2026 — deepmind.google/blog/introducing-alphaproof-code. Full figures in the technical paper — google-deepmind.github.io/code-verification.
How AI Agents Did Four Weeks of Work
AlphaProof Code splits the work the way a research team would: human experts work with AI to decide what to prove, translating Signal’s security goals into formal specifications, and every specification gets a human review before any proof begins.
Then a team of AI agents, powered by Gemini, writes the proofs. Every proof is accepted only if Lean’s kernel checks it against the approved specification; a wrong proof is simply rejected.
How AlphaProof Code verifies software, step by step
Step 1: Humans and AI state the security properties in Lean.
Step 2: Unmodified Rust code compiles to AArch64 machine code.
Step 3: AI prover agents prove the compiled code meets the specification.
Step 4: Lean’s kernel checks every proof; only machine-checked proofs are accepted.
Step 5: Human experts review the 1% the agents flagged.
The Bug Test: It Can Tell Good Code From Bad Code
A proof system is only useful if it can catch real mistakes: DeepMind reintroduced two real, previously fixed bugs into an isolated version of Signal’s code, and in both cases the system proved the buggy version insecure.
That matters more than the headline numbers: a verification tool that passes everything is a rubber stamp, and AlphaProof Code failed the broken code on purpose.
What the Proof Does Not Cover
A proof this strong invites overreading. Here is what it does not mean.
- Not the whole Signal app. The proof covers libsignal’s core cryptographic code, not the app’s interface, servers, or storage.
- No group chats: the scope is one-to-one sessions only.
- No multi-device state: device linking and multi-device sync are outside the verified scope.
- No post-quantum guarantee for SPQR’s healing: the proof gives none for the SPQR ratchet’s healing property.
- Primitives are assumed secure: low-level primitives are trusted contracts, and the proof trusts Lean’s kernel and the AArch64 semantics.
How to Profit: Sell Formal Verification as a Service
DeepMind says this work shows AI can bring elite security assurance to businesses, governments, and critical infrastructure — a market a freelancer or small dev shop can enter now.
- Learn the vocabulary first. Read DeepMind’s paper and open artifacts. Clients pay for someone who can explain what a machine-checked proof is, and is not.
- Offer verification audits, not just code review: a machine-checked proof beats a penetration test report as a deliverable, and it commands a premium price.
- Start with small, high-value code: payment flows, authentication logic, and key handling are small enough to specify and valuable enough to verify.
- Use the open artifacts as your demo: walk a prospect through the Signal verification and show what the same process would look like on their code.
- Price it as assurance, not hours. Clients buy the proof and the trust it creates. Quote the outcome, not the time.
FAQ
Q: What is AlphaProof Code?
A: A multi-LLM agentic framework from Google DeepMind: humans and AI write a specification of what the code must prove, AI agents write the proofs, and Lean’s kernel checks every proof.
Q: What did DeepMind verify in Signal?
A: Key security properties of libsignal v0.105.4 with SPQR v1.6.0, compiled to AArch64, for one-to-one sessions using the PQXDH handshake and Triple Ratchet.
Q: How long did the verification take?
A: Four weeks. DeepMind says the same task historically takes expert teams years.
Q: Does this mean Signal is unhackable?
A: No: it covers the core cryptographic code for one-to-one sessions, not the whole app, group chats, multi-device state, or servers.
Q: Is AlphaProof Code available to use?
A: DeepMind open-sourced the artifacts on GitHub; no product, API, price, or waitlist has been announced.
Q: Can freelancers offer formal verification services?
A: Yes. Read the paper and open artifacts, start with small high-value code such as payment flows or authentication logic, and sell the machine-checked proof as a premium audit.
Sources: DeepMind blog, Nov 10, 2026 — deepmind.google/blog/introducing-alphaproof-code; paper — google-deepmind.github.io/code-verification; artifacts — github.com/google-deepmind/code-verification.