Skip to main content
Live
Main content

Google DeepMind uses AlphaProof Code to verify Signal protocol at machine-code level

Gemini-powered agents produced about 6.5 million lines of machine-checked Lean proof in four weeks, and the Lean artifacts are being open-sourced.

Jaeden Schafer
Editor in Chief · · 5 min read
Google logo

Google DeepMind has introduced AlphaProof Code, a multi-agent AI framework for formal software verification, and used it to mathematically prove key security properties of the actual code behind the Signal protocol. The company said the work produced about 6.5 million lines of machine-checked Lean proof and took four weeks, a task it said historically takes expert teams years.

The target was libsignal v0.105.4 with spqr v1.6.0, Signal's reference implementation, compiled with a stock Rust toolchain into an AArch64 Linux binary. The proofs cover one-to-one sessions, including the PQXDH handshake, the Triple Ratchet, HKDF, HMAC-SHA256, AES-CBC with HMAC, XEdDSA, X25519 and protobuf serialization. Group messaging is listed as future work.

AlphaProof Code splits the job between people and agents. Human experts choose what to prove and review and approve every formal specification, while autonomous prover agents write the proofs. A gatekeeper accepts a proof only if Lean's kernel checks it against the approved specification. Google DeepMind said the prover agents were powered by Gemini 4 Carbon, with a typical agent team running 40 to 80 agents on a single machine for 24 to 72 hours per campaign.

Key facts

  • 01Google DeepMind introduced AlphaProof Code on November 10, 2026, a multi-agent framework for formal software verification.
  • 02The team proved security properties of libsignal v0.105.4 compiled for AArch64, covering one-to-one Signal sessions.
  • 03The proofs total about 6.5 million lines of machine-checked Lean, resting on about 26,000 lines of trusted specifications and semantics.
  • 04DeepMind says the verification took four weeks; prover agents were powered by Gemini 4 Carbon.
  • 05Reintroducing two previously fixed libsignal bugs produced machine-checked proofs that the buggy versions were insecure.

The 6.5 million lines of proof rest on about 26,000 lines of trusted specifications and AArch64 semantics, and DeepMind said human review covered about one percent of the codebase. The machine-code model alone describes 467 instructions and 31 system calls in 7,578 lines of Lean.

Google DeepMind called the result the first time the implementation of a widely deployed protocol like this has been formally verified by any method, with or without AI. The accompanying paper frames it against earlier landmark efforts: the seL4 microkernel took twenty person-years to verify, and the CompCert compiler took six.

The proven properties include forward secrecy, post-compromise security, authentication, handshake secrecy and resistance to key-compromise impersonation. To test the system, the researchers reintroduced two real, previously fixed libsignal bugs, including a small-subgroup bug, into an isolated copy of the code. In both cases AlphaProof Code produced a machine-checked proof that the buggy version was insecure.

Signal engineers Rolfe Schmidt, Michael Rosenberg and Ehren Kret gave feedback on the methodology, according to the paper. Google DeepMind said the protocol protects billions of private conversations in apps such as Signal and Google Messages, and the paper notes variants also run in WhatsApp and Messenger.

“Using AI agents to translate live code into valid Lean theorems is a major breakthrough.”
— Ehren Kret, Chief Technology Officer of Signal

The paper is explicit about scope. The symbolic guarantees assume perfect cryptography, the computational proofs cover classical adversaries only, and side channels are out of scope. The ratchet theorems show the Triple Ratchet is no weaker than the Double Ratchet, but do not prove the post-quantum healing that SPQR adds.

Related · from this week
Google opens Gemini 4 Carbon to developers at $2 per million input tokens
Jaeden Schafer · 5 min read →

Google DeepMind is open-sourcing the Lean specifications and proofs on GitHub. The company said verifying Signal's core cryptography lays groundwork for securing other systems, from medical device firmware to power grid software, and that scaling the techniques requires continued research.

ShareXLinkedInEmail
AI Box

Every AI model. One chat.

The latest models from ChatGPT, Claude, Gemini, Sora, ElevenLabs — 80+ models in a single chat. Compare answers side by side. Pick the best one every time.

  • ChatGPT, Claude, Gemini, Grok, DeepSeek — in one chat
  • Generate images & video with Sora, Veo, Ideogram
  • Compare any two models side by side
  • From $8.99/mo · 80+ models, all included
Try AI Boxaibox.ai
Trusted by 3,000+ teams
Got a tip?

Working on something we should cover, or seeing a story we missed? Send leads, documents, or feedback to hello@aichatdaily.com. For sensitive tips, see our secure tips page for Signal and PGP options.

Spotted an error? Email hello@aichatdaily.com with the URL and the issue, or read our full corrections policy.

AI Box Daily briefingFree · Daily · No fluff

Stay ahead of everyone in AI.

The tightly edited AI news email engineers, founders, and investors actually open. One email. Every weekday. Five minutes to finish.

Loved by 10,000+ AI professionals
Free forever. Unsubscribe with one click.

The briefing read inside teams at

Keep reading

More from Models

Google logo
Models

Google opens Gemini 4 Carbon to developers at $2 per million input tokens

Google's strongest model moves past its cyber-defender preview to paying API customers, enterprises and AI Ultra subscribers, with prices doubling after Nov. 30.

Jaeden Schafer5 min read
Google logo
Models

Google unveils Gemini 4 Carbon, ranking first on Artificial Analysis index at 59

Carbon arrives two weeks after Gemini 4 Argon, goes first to cyber defenders, and keeps Argon's $2/$10 introductory per-million-token pricing.

Jaeden Schafer5 min read
Google logo
Models

Google DeepMind's WeatherNext 3 delivers hourly forecasts at 5-kilometer resolution

The new model trains on live satellite data instead of physics simulations, cutting the six-hour lag that plagues traditional forecasting.

Jaeden Schafer5 min read