Skip to content
View original post on X: Sundar PichaiOfficial
Published
Same story78/100

Google uses Gemini 4 Carbon to formally verify Signal protocol code

AIGoogle says its teams used Gemini 4 Carbon and AlphaProof Code to formally verify the code underlying the Signal protocol, down to compiled device code. The effort produced over 6M lines of machine-checked Lean proofs, with about 1% of the codebase requiring human review.
Sundar PichaiVerified on XOfficial
@sundarpichai
View on X

Our teams put Gemini 4 Carbon to work on a major security challenge: mathematically proving the code underlying the Signal protocol.

Using AlphaProof Code, @GoogleDeepMind researchers guided agents to verify the protocol down to compiled device code, closing the gap where real bugs hide. The result:

- Gemini 4 Carbon generated over 6M lines of machine-checked Lean proofs
- years of expert manual verification compressed to just weeks
~1% of the codebase required human review (Lean automatically checked the rest)

This is helping unlock scalable formal verification for building secure software, laying the groundwork to fundamentally shift the advantage to defenders. We’re open sourcing the results for the security community.

This story is featured in top picks: “Google DeepMind uses AI agents to formally verify Signal's cryptographic protocol code”

Source details

Sundar Pichai · x.comPublished · added here

Original title: Our teams put Gemini 4 Carbon to work on a major security challenge: mathematically proving the code underlying the Signal protocol.