AI 编程 5.0 · 必读 2026-11-11 · 文章

Introducing AlphaProof Code: a breakthrough in verifying complex software at depth

DeepMind 发布 AlphaProof Code:多 LLM 智能体形式化验证框架,完成了公认的重大挑战数学证明 Signal 协议实际代码的关键安全性质,是首个对广泛部署的加密协议实现的形式化验证人类专家与模型协作把安全目标翻译为形式化规约并逐条复审,Gemini Carbon 智能体生成 600 多万行 Lean 证明;仅约 1% 代码需人工复审,其余由 Lean 机器校验验证覆盖到设备上运行的编译代码,耗时四周(历史上需专家团队数年);向隔离副本回插两个已修复的真实漏洞,系统均给出机器证明其不安全验证工件已开源

打开原文回到归档

Introducing AlphaProof Code: a breakthrough in verifying complex software at depth

  • ID: f8c1a737
  • 原文链接: https://deepmind.google/blog/introducing-alphaproof-code
  • 作者: Swarat Chaudhuri, Andrew Ferraiuolo, Anton Kovsharov, Tej Chajed, Sam Schlesinger, Karn Seth, Jonathan Katz, Charles Sutton, Pushmeet Kohli (Google DeepMind)
  • 日期: 2026-11-10
  • 更新: N/A
  • 分类: coding
  • 来源类型: article
  • 标签: formal-verification, security, ai-agents, deepmind
  • 质量评分: 5/5
  • 抓取时间: 2026-11-11T04:30:40Z

中文导读

DeepMind 发布 AlphaProof Code:多 LLM 智能体形式化验证框架,完成了公认的重大挑战数学证明 Signal 协议实际代码的关键安全性质,是首个对广泛部署的加密协议实现的形式化验证人类专家与模型协作把安全目标翻译为形式化规约并逐条复审,Gemini Carbon 智能体生成 600 多万行 Lean 证明;仅约 1% 代码需人工复审,其余由 Lean 机器校验验证覆盖到设备上运行的编译代码,耗时四周(历史上需专家团队数年);向隔离副本回插两个已修复的真实漏洞,系统均给出机器证明其不安全验证工件已开源

为什么值得关注

DeepMind AlphaProof Code 形式化验证 Signal 协议代码:600 万行 Lean,四周完成

价值在于三点:一是首次把形式化验证从协议设计推进到广泛部署协议的实际实现代码——官方明确说明这是此类协议实现首次被任何方法(无论是否用 AI)完成这一深度的形式化验证;二是验证覆盖编译后、设备上实际执行的代码,而大多数协议验证止步于设计层,真实漏洞恰恰藏在设计与实现的缝隙里;三是 600 多万行 Lean 证明中仅约 1% 代码库需要人工复审,其余由 Lean 机器校验,人工判断被精确聚焦到最需要的地方。两个真实历史漏洞回插隔离副本后均被机器证明不安全,验证工件已开源,可作为形式化验证与安全智能体的参照实现。

关键信息

  • 文章标题(抓取时页面):Formal Verification of Signal’s Protocol with Gemini — Google DeepMind
  • 发布方:Google DeepMind 官方博客
  • 发布时间:2026-11-10
  • 原文链接:https://deepmind.google/blog/introducing-alphaproof-code
  • 关联标签:formal-verification, security, ai-agents, deepmind

原文关键事实

  • AlphaProof Code 是多 LLM 智能体形式化验证框架:人类专家与模型协作把 Signal 的安全目标翻译为形式化数学规约,每条规约都经人工复审。
  • 由 Gemini Carbon 驱动的智能体完成证明,生成超过 600 万行 Lean 证明代码,其余部分由 Lean 自动机器校验。
  • 智能体复审证明后仅标记约 1% 的代码库需要人工二次审查,专家可以把精力集中在人类判断最关键的位置。
  • 验证覆盖到设备上实际执行的编译代码(如设备临时被攻破前后消息仍受保护这类性质),而大多数协议验证止步于设计层。
  • 整个验证过程耗时四周;历史上这类任务需要专家团队数年。
  • 把两个已修复的真实漏洞回插到隔离副本,系统均生成机器校验证明:含漏洞版本不安全。
  • 验证工件开源供社区使用;Signal CTO Ehren Kret 评价把运行中的代码翻译为有效 Lean 定理是重大突破。
  • 论文作者:Swarat Chaudhuri, Andrew Ferraiuolo, Anton Kovsharov, Tej Chajed, Sam Schlesinger, Karn Seth, Jonathan Katz, Charles Sutton, Pushmeet Kohli。

English Summary

Google DeepMind introduces AlphaProof Code, an agentic formal-verification framework combining multiple LLMs, and reports a milestone: AI agents mathematically proved key security properties of the actual code underlying the Signal protocol - the first such verification of a widely deployed protocol implementation by any method. Human experts and models translated Signal's security goals into formal specifications, each human-reviewed; Gemini Carbon-powered agents generated over six million lines of Lean proofs and flagged ~1% of the codebase for human review while Lean machine-checked the rest. Verification covered compiled code down to device-executed instructions and took four weeks versus expert-team years. Reintroducing two previously fixed real bugs into an isolated copy, the system produced machine-checked proofs that both buggy versions were insecure.

Obsidian Notes

  • 内容获取路径:优先尝试 opencli web read(两次均返回 Navigation rejected),改由 curl 抓取博客页面 HTML,抽取正文段落、发布日期与作者信息回填;全部关键事实均可在抓取正文中找到对应句子。
  • 条目标题沿用 entries.json 既有标题;抓取时页面当前标题为 "Formal Verification of Signal’s Protocol with Gemini — Google DeepMind",两者指向同一篇文章。
  • 中文导读与价值判断均锚定在条目已有摘要与抓取到的博客正文上;未补充正文之外的技术细节。
  • 现代站点生成器按 content/f8c1a737.md 查找内容页;本文件写入 canonical content 目录,而不是 openclaw/content/。