DeepMind agents wrote 6.5M lines of Lean proofs about one build of Signal's crypto
Agent teams proved security properties of one AArch64 build of libsignal v0.105.4 in four weeks. Lean checks every proof line. The 26,000 lines of specs and machine semantics underneath are the part people had to trust.
Two libsignal bugs fixed in 2025 went back in on purpose. Lean proofs showed both builds fail the security theorem.
On November 10, 2026, Google DeepMind announced AlphaProof Code, an agent system that wrote machine-checked proofs about Signal's encryption code. The technical paper counts about 6.5 million lines of Lean proof code, produced by agent teams powered by Gemini 4 Carbon and run by a team of five over four weeks.
Lean is a proof assistant whose kernel checks every step. DeepMind calls this the first time AI has formally verified a widely deployed cryptographic protocol at this depth. Signal CTO Ehren Kret, quoted in DeepMind's post, calls the approach "a major breakthrough."
The target is one compiled build, not the Signal app
The proofs are about AArch64 Linux machine code. The binary is a wrapper, libsignal-cli, linked with unmodified libsignal v0.105.4 and spqr v1.6.0. Signal's phone apps also run on AArch64, but the theorems cover this one build. The latest libsignal release is v0.107.0.
Scope is one-to-one sessions: the PQXDH handshake, the Triple Ratchet and SPQR, through the init, send and receive functions. Proved properties include forward secrecy, post-compromise security, handshake authentication and harvest-now-decrypt-later resistance. Group messaging is left as future work. Key generation is not verified. Side channels are out of scope.
The proofs rest on 26,000 lines that people have to trust
The paper lists about 18,000 lines of specifications and definitions, plus about 8,000 lines that describe the AArch64 machine and symbol names. 37 routines, including the low-level cryptographic primitives, are replaced by contracts, so their insides stay abstract. The symbolic model treats hashes and MACs as collision-free. The computational proofs assume standard hardness results and cover classical attackers only.
DeepMind's post says human experts reviewed every specification. Per the paper, they were drafted with Gemini 4 Carbon and Claude Opus 5.5, critiqued by an agent from another model family, and approved by the authors. Signal's Rolfe Schmidt, Michael Rosenberg and Kret gave feedback. The paper also says "human review is not expected to detect all bugs in a large codebase."
Two old bugs went back in, and the proofs caught both
The team reverse-applied two libsignal fixes. Commit cd36118 (March 2025) stopped prekey messages from being trial-decrypted against older sessions. Commit 5293caa (September 2025) added a check that X25519 base keys are torsion-free and in range. The paper credits earlier analysis by Cheval et al. with finding both. For each bug-injected binary, Lean checked a proof that the symbolic security theorem does not hold.
What is not confirmed
DeepMind's post says agents flagged about one percent of the codebase for human review. The paper gives no such figure. Neither source gives compute cost. By November 12, no independent cryptographer's review of the artifacts had appeared, and Signal's blog had no post on the work. The paper says its AArch64 model cannot be proved sound against real hardware, only tested.
Why a build studio cares
Our reading: this is real verification of compiled code built from shipped libsignal crates, with a narrow scope. Lean checks the 6.5 million lines, so nobody has to read them. Trust moves to the 26,000 trusted lines and 37 contracts. The specifications are the part people reviewed. The result covers one build, one-to-one chats, and primitives taken as given, so "Signal is verified" says more than the paper does. The bug test is the most useful evidence: the specifications rejected two real mistakes fixed in 2025.
Next step: for any verification claim about code you depend on, check the version, platform and trusted base before the line count. The public paper and Lean artifacts list all three. For an outside check, see our software audits.