Google DeepMind completes formal proof of Signal encryption protocol using AlphaProof Google DeepMind researchers used an agentic AI framework called AlphaProof Code, running agents on Google's Gemini 4 Carbon and Anthropic's Claude Opus 5.5, to produce a machine-checked Lean proof of a Google-built AArch64 binary of libsignal, the reference implementation of the Signal protocol, in roughly four weeks. The effort generated more than six million lines of Lean proof code, with an independent count reporting 7,546,996 total lines across 11,377 files, covering forward secrecy, post-compromise security and authentication for the PQXDH post-quantum handshake and Triple Ratchet. The result applies only to that specific binary and command-line harness, not to Signal's shipped mobile or desktop applications, and holds relative to a model of the hardware, compiler, operating system and attacker, leaving side channels and third-party integrations outside the boundary. Google DeepMind completes formal proof of Signal encryption protocol using AlphaProof Google DeepMind researchers have used an agentic AI framework called AlphaProof Code to produce a machine-checked formal proof of the binary implementing Signal's core encryption library, libsignal. The work, conducted over approximately four weeks using agents running on Google's Gemini 4 Carbon and Anthropic's Claude Opus 5.5, generated more than six million lines of Lean proof code that was verified by the Lean theorem prover. The proof covers selected cryptographic guarantees—forward secrecy, post-compromise security and authentication—for the PQXDH post-quantum handshake and Triple Ratchet, but it applies to a specific Google-built AArch64 binary with a command-line harness, not to Signal's shipped applications. What was actually verified The team applied AlphaProof Code to an Arm-compiled version of libsignal, the reference implementation of the Signal protocol used by Signal, Google Messages, WhatsApp and other platforms. Rather than verifying source code, they verified the final executable binary against formal specifications written in Lean. According to the researchers, the effort produced just over 1.2 million lines of Lean for the mathematical reasoning behind the protocol and a further 5.3 million lines verifying that each binary instruction matched the defined formal behavior of the AArch64 architecture, CPU and processes \ 3\ https://mezha.net/eng/news/mezha-92cfda6919a04d8a72cea366 google deepmind team . An independent count later reported 7,546,996 total lines across 11,377 files including proofs, specifications, semantics and supporting material \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 . The verified properties address the headline guarantees that make Signal's design notable among cryptographers: forward secrecy whether an attacker who steals today's keys can read yesterday's messages , post-compromise security whether a conversation heals after a key leak and authentication whether you are talking to the intended party \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 \ 3\ https://mezha.net/eng/news/mezha-92cfda6919a04d8a72cea366 google deepmind team . A fourth property is reported differently across coverages: shattered.io mentions handshake secrecy in connection with the PQXDH handshake \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 , while verisq.ai cites message integrity as the fourth verified property \ 4\ https://www.verisq.ai/intelligence/advisories/73178-formal-verification-of-the-signal-protocol-using-ai . The Lean checker rejected invalid proofs produced by the agents, meaning only mathematically correct proofs remain in the final artifact \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 . Scope and limitations Several caveats bound the result. The verification covered Google's own build of libsignal linked into a command-line harness and compiled with stock rustc for AArch64—it did not cover Signal's own mobile or desktop applications, nor does it prove that every libsignal version or third-party integration is bug-free \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 \ 3\ https://mezha.net/eng/news/mezha-92cfda6919a04d8a72cea366 google deepmind team . The proofs hold relative to a model of the hardware, compiler, operating system and attacker; side channels, implementation choices outside the proved code and user behavior sit beyond the boundary \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 . As the researchers noted, the proof would not catch additional malicious code in an app designed to copy messages, and a third-party app's use of the Signal protocol does not automatically confer full privacy \ 3\ https://mezha.net/eng/news/mezha-92cfda6919a04d8a72cea366 google deepmind team . The trusted base consists of approximately 26,000 lines of human-reviewed specifications and AArch64 semantics \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 . Agents flagged roughly one percent of the codebase for human review during the process \ 3\ https://mezha.net/eng/news/mezha-92cfda6919a04d8a72cea366 google deepmind team . No named individual gave an on-record quotation in the available coverage \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 . Methodology: agents propose, Lean decides AlphaProof Code is an agentic framework where humans or agents write precise specifications, agents generate machine-checkable proofs, and the Lean proof checker accepts or rejects each proof without appeal to model confidence \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 . The researchers used agents running on both Gemini 4 Carbon and Claude Opus 5.5 to develop specifications and proofs; the public record does not say how the work divided between the two models \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 . DeepMind has released the formal specifications, Lean proof artifacts and a technical paper publicly, inviting community review and extension \ 4\ https://www.verisq.ai/intelligence/advisories/73178-formal-verification-of-the-signal-protocol-using-ai . The approach builds on a long history of formal verification—seL4's microkernel proof took twenty years, CompCert's C compiler six—but attacks the bottleneck of human proof labor by handing proof writing to agents while keeping the checker as a safety net \ 3\ https://mezha.net/eng/news/mezha-92cfda6919a04d8a72cea366 google deepmind team . The researchers described the main lesson as: "the most important lesson from our experience is that, once proofs become cheap, the hard question is what to prove," adding that "the majority of our effort went not into proofs but into specifications" \ 3\ https://mezha.net/eng/news/mezha-92cfda6919a04d8a72cea366 google deepmind team . Significance and context This represents a concrete advance in AI-assisted formal verification of critical cryptographic infrastructure. Previous efforts required years of specialist human effort; the AlphaProof Code pipeline compressed the proof-writing phase to weeks while maintaining machine-checked rigor. The result also demonstrates a generate-then-check pattern where an unreliable generator the language model is made trustworthy by an exact verifier Lean —a pattern that generalizes to any domain with a cheap, exact checker such as compilers or type systems \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 . However, the work remains a research demonstration on a well-maintained, open-source cryptographic library with precise security claims. Whether agents can repeat it on messier, proprietary codebases is unproven. The introductory pricing for Gemini 4 Carbon $2 per million input tokens, $10 per million output tokens through November 30, 2026, doubling thereafter suggests Google is positioning this as a commercial capability for enterprise verification workloads \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 , but no separate AlphaProof Code product, API or standalone price has been confirmed \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 . For security teams, the practical takeaway is that agent-generated verification is moving from lab demonstration toward something a well-funded team can trial on small, high-consequence components such as token validation, key derivation or session state machines. The specification work remains the human part, and honest scoping—documenting what the proof covers and what it leaves out—separates a useful assurance artifact from marketing \ 2\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 . Sources 1. DeepMind Agents Find Cheaper Quantum Algorithms https://www.technology.org/2026/11/25/deepmind-gemini-4-agents-quantum-algorithms-lean-verified technology.org 2. Gemini 4 Carbon: 6.5M Lean Proof Lines Verify Signal \ 2026\ https://shattered.io/gemini-4-carbon-access-signal-libsignal-alphaproof-code-6-5m-lean-proofs-2026 shattered.io 3. Google DeepMind team formally verifies Signal's libsignal encryption binary https://mezha.net/eng/news/mezha-92cfda6919a04d8a72cea366 google deepmind team mezha.net 4. AI‑Powered Formal Verification Confirms Signal Protocol's Cryptographic Guarantees https://www.verisq.ai/intelligence/advisories/73178-formal-verification-of-the-signal-protocol-using-ai verisq.ai 5. Finding faster quantum algorithms with agents and formal verification — Google DeepMind https://deepmind.google/blog/finding-faster-quantum-algorithms-with-agents-and-formal-verification deepmind.google 6. GitHub - google-deepmind/formal-quantum-computation: A Lean 4 library for formally specifying and verifying quantum programs, grounded in quantum Hoare logic with classical variables. · GitHub https://github.com/google-deepmind/formal-quantum-computation github.com