DeepMind formally proves Signal crypto code with AI
2026-11-25 · Tom's Hardware
A Google DeepMind team has completed a full formal proof of libsignal, the encryption library used by the Signal messaging app. They call the method AlphaProof Code and say it can be reused for other software needing end-to-end verification. Per Tom's Hardware, the work targeted libsignal compiled for Arm (AArch64) with minimal scaffolding, not the source code.
Prior efforts were slow: seL4 reportedly took about 20 years and CompCert about six. Here humans and DeepMind agents worked back and forth. People set scope and wrote "skills" for specification, proof and orchestration roles; agents defined AArch64 instructions, registers, memory, system calls and Linux process behavior in Lean, then drafted libsignal cryptography specs, about 1.2 million lines of Lean.
The largest step was proving every binary instruction matched those formal models, about 5.3 million lines of Lean. Agents flagged roughly 1% of the code for human review. The team says the binary matches the proofs bit for bit.
Their key lesson: once proofs become cheap, the hard question is what to prove; most effort went into specifications. The result is the researchers' own account, with a paper and repository published.
Limits apply: the proof shows libsignal works as specified, but would likely not catch code added elsewhere in an app to copy messages, and third-party apps using the Signal protocol are not automatically fully private.