Explore Grablex
NEWS / SOFTWARE SECURITY / FORMAL VERIFICATION

A proof is only as wide
as its specification.

Google DeepMind reports that AI agents helped formally verify specific security properties of Signal’s protocol implementation in Lean. The key question is not only how much code was proved, but which properties were specified and exactly what the proof covers.

Archival scientific illustration of a protocol diagram passing through a proof-checking gate, with a code fragment examined under a magnifying glass.SYMPLOKA / NEWS / SYMPLOKA
SOFTWARE SECURITY / FORMAL METHODS

A machine checks the proof. People choose what to prove.

Original conceptual illustration; it does not depict the Signal implementation or AlphaProof Code’s actual proof system.

01 / A SPECIFIC IMPLEMENTATION

The work targets libsignal’s one-to-one protocol code, not the entire Signal application.

Google DeepMind’s November 10 paper describes proofs about libsignal version 0.105.4, compiled to AArch64 machine code and placed in a small command-line harness. The verified scope includes the PQXDH handshake and Triple Ratchet for one-to-one sessions. The authors leave group messaging as future work.

That detail changes how the result should be described. It concerns selected properties of a particular implementation and execution model—not every component, deployment, device, or use of Signal.

SOURCESAlphaProof Code: Verifying Signal’s Security at the Machine-Code Level ↗Google DeepMind’s AlphaProof Code announcement ↗
02 / HOW THE PROOF WORKS

People approve the specification; Lean checks the agents’ proof.

A human-guided agent helps draft a formal specification from established security claims. Human reviewers examine and approve that specification. Prover agents then produce Lean proof code, and Lean’s kernel accepts a result only if it proves the approved statement.

The paper reports about 6.5 million lines of machine-checked proof code, resting on about 26,000 lines of trusted specifications and AArch64 semantics. The proof agents are treated as untrusted: their reasoning can be wrong, but an invalid proof will not pass the checker.

SOURCESAlphaProof Code specification and proof pipeline ↗
03 / THE GUARANTEES HAVE NAMES

The authors state the properties they proved and the threat models they used.

For the modeled protocol paths, the paper reports proofs covering properties including forward secrecy, authentication, post-compromise security, and handshake secrecy. These statements are mathematical guarantees relative to the approved specification, modeled execution environment, and stated assumptions.

Formal verification is powerful precisely because a proof can rule out every behavior that violates its theorem. It does not silently expand the theorem to cover requirements that were never written into it.

SOURCESAlphaProof Code security properties and threat models ↗
04 / WHAT REMAINS TRUSTED

The specification and the modeled world still need careful scrutiny.

The authors identify trusted specifications, the Lean kernel, the AArch64 machine-code semantics, and assumptions about cryptographic primitives. The semantics models a defined user-mode environment and does not cover threads, signals, dynamic linking, or every interaction with the operating system.

Those boundaries are normal in formal verification. They make the result legible: a reviewer can inspect what was assumed, what was modeled, and which behaviors are excluded. They also define what the result cannot establish on its own.

SOURCESTrusted assumptions and machine-code semantics in the paper ↗
05 / THE CLAIM IS NOT “SIGNAL IS PROVEN SECURE”

A proof of specified properties is not a universal security audit.

The proof does not cover group messaging, the full Signal client and server systems, every hardware or operating-system behavior, or all possible privacy and security concerns. The technical paper explicitly limits the implementation and session scope and documents its assumptions.

The accurate headline is narrower and more interesting: AI-assisted formal methods connected selected protocol-level guarantees to a compiled implementation. That is a substantial engineering result, and its value depends on keeping the scope visible.

SOURCESAlphaProof Code scope and limitations ↗
06 / THE NEXT STEP

Make the specifications, proofs, and assumptions easy to examine.

Google DeepMind has published the Lean development, including the specifications and proofs, with its technical report. That gives security researchers material to inspect and reuse. The next questions are practical: can the proofs be reproduced from the published artifacts, how do they evolve with the code, and how should the same method be evaluated on other systems?

Our reading: machine checking can make ambitious verification more accessible, but trustworthy claims still need explicit properties, a clear scope, inspectable assumptions, and independent scrutiny.

SOURCESAlphaProof Code paper and artifact availability ↗Published Lean specifications and proofs ↗