What changed

A team at Google's DeepMind AI labs has performed a complete formal proof of the code that implements the encryption mechanism for the Signal private chat application. The scientists call their procedure AlphaProof Code and claim it can be applied to other situations requiring complete end-to-end verification of computer code, meaning Signal is safe. The full paper and code repository detailing the proof are available for review.

What this means in practice

The team reviewed an Arm-compiled version of libsignal, the library that the Signal application itself incorporates and uses, with some minimal scaffolding around it. The verification was executed against an AArch64 binary, not the source code, meaning the method can be reused for future verifications of other software. The work was primarily done in Lean, a purpose-built language for formal proofs, to check that the final binary executable corresponds to the initial specification. The process involved millions of lines of Lean proofs, with the team and Gemini 4 Carbon agents generating over 5.3 million lines to verify that each binary instruction matched the previously defined AArch64, CPU, and process formal behaviors. One percent of the codebase was flagged for human review, and the team confirmed that the cryptographic engine in the binary matched all generated proofs down to the last processed bit.

Limitations and availability

The verification was done on an Arm-compiled version of libsignal and not the source code, so the method may not apply directly to other implementations. The AlphaProof Code framework is not yet widely available for general use, though the full paper and code repository are accessible. The researchers note that while this proof ensures libsignal works as advertised, it does not guarantee protection against malicious code injection or third-party apps that may not fully implement the Signal protocol. The team emphasizes that writing specifications against real code is a stress test for the literature and that the majority of effort went into creating specifications rather than proofs.

Source facts for Google DeepMind Proves Signal's Encryption Code Mathematically: In a similar vein to the AI labs' work on mathematics, the bulk of the work was done in Lean, a purpose-built language for formal proofs. There's a key difference for this effort, though. Lean is primarily used to prove the underlying math in algorithms, which in this case would be the specifications for Signal's encryption.
Original AINewsTrend explainer based on the cited source. This graphic summarizes source statements; it is not an independent benchmark.

Sources and further reading

  1. tomshardware: Google DeepMind AI engineers conjure mathematical proof of Signal's encryption protocol