DigestAI news desk

Cut through the AI noise.

Research4 min read

Google DeepMind proves Signal encryption code with AlphaProof Code

Google DeepMind researchers have completed a formal mathematical proof of the encryption code used in the Signal messaging app. They named their method AlphaProof Code, which uses a human-bot cooperation framework powered by Gemini 4 Carbon agents.

1 source

Key points

  • Google DeepMind formally proved Signal's libsignal encryption code using AlphaProof Code.
  • The process generated 5.3 million lines of Lean code to verify binary instructions.
  • Gemini 4 Carbon agents handled bulk work, flagging one percent of code for human review.

The team verified an Arm-compiled binary of libsignal, the library Signal uses, rather than just the source code. This approach ensures the final executable matches the initial specification exactly.

The process involved generating millions of lines of Lean code, a language for formal proofs. Agents created definitions for AArch64 instructions and drafted specifications for libsignal's cryptography. This resulted in just over 1.2 million lines of Lean for mathematical reasoning and 5.3 million lines to verify binary instructions against formal behaviors. Humans reviewed one percent of the codebase flagged by the agents. The researchers noted that the hardest part was writing accurate specifications, not the proofs themselves.

This achievement is significant because formal proofs are rare and time-consuming; previous efforts like the seL4 microkernel took twenty years. While this proof confirms libsignal works as advertised, it does not protect against malicious code added to the app itself. The full paper and code repository are available for public review.

Model page: Gemini 4 Carbon →

Full story from Tom's Hardware · by Bruno FerreiraOpen source ↗
Pass it on WhatsApp Telegram Email

Topics · follow one to build your own front page

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Research

All →

Related stories