# Lean 4 新增四个验证内核，AI 助阵

Original title: Lean Now Ships with Verified Kernels

> Hacker News story 50114758 · language: zh · submitted 2026-10-16
> Web version: https://zeli.app/zh/story/50114758
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 204 · by [matt_d](<https://news.ycombinator.com/user?id=matt_d>) · 💬 79
[original](<https://leodemoura.github.io/blog/2026-10-15-lean-now-ships-with-verified-kernels/>) · [HN discussion](<https://news.ycombinator.com/item?id=50114758>)

## Summary

AI 代理在挖掘软件漏洞方面表现出色，连 Lean 证明助手的内核（证明检查器）也未能幸免。为此，我们推出了 Lean v4.35.0，内置 `lake check` 命令，可在沙箱环境中利用 `leanchecker` 重新验证开发成果。新版本还集成了 nanoda、lean4lean、con-leche 和 con-ron 四个额外内核，通过 `lake check --paranoid` 即可一键全量重检。其中，由 Claude 在 Joachim Breitner 指导下用 Lean 编写并证明一致的 con-leche 内核尤为亮眼，它消除了内核实现中的编程错误类漏洞，且性能优异。此外，AI 还协助将 con-leche 翻译为 Rust 版本 con-ron，通过跨语言交叉验证进一步提升安全性。面对 Mathlib 等库代码量激增的挑战，我们正致力于优化二进制导出格式和增量检查，以应对未来十亿行代码规模的验证需求。

## Key quote

> Con-leche 是第一个用 Lean 编写且被证明一致的 Lean 内核。

## HN discussion (79 comments)

### [chasingbrains](<https://news.ycombinator.com/item?id=50139128>)

> 抱歉，这几乎是个完全无关的洗澡时的灵感，但：你可以把你的博客命名为“Leanardo”。

### [nickysielicki](<https://news.ycombinator.com/item?id=50137648>)

> 假设 Lean 在当前的状态下早在 15 年前就存在了，并且假设数学界开始热情地大规模贡献代码到一个共享仓库。你认为今年我们看到的那些数学突破和长期悬而未决的问题，有多少本可以提前解决？
>
> 换句话说，今年的这些进展中，有多少是直接归功于 LLM 使用 Lean，又有多少仅仅是因为 Lean 对于某些数学子领域来说，比英语和 LaTeX 显著更高效？
>
> 鉴于今年我们看到的大量形式化成果，很难相信这一切本不能更早发生。
>
> 追问：如果数学领域的快速变化是 GitHub 上集体协作的结果，完全由人类作者共同署名分享荣誉，而非由大型语言模型生成，你认为数学家们还会如此不满吗？
>
> 换句话说，数学家们是在对大型语言模型感到不满，还是仅仅因为形式化和大规模协作被证明极其有效，从而消解了数学家们曾经享受的那种“英雄主义”叙事——即独自一人在封闭房间里苦思冥想？
>
> 值得深思。
>
> 一位同事最近指出，Lean 似乎像是一种新的基础语言家族，每位程序员都应该像阅读 C 和 Python 一样能够读懂它，我觉得这一点很难反驳。下一代模型将会……

### [s_Hogg](<https://news.ycombinator.com/item?id=50137621>)

> 作为一个对此并不完全理解的人，这里的提议难道不就是“一路检查到底”（checkers all the way down）吗？

### [sinuhe69](<https://news.ycombinator.com/item?id=50137773>)

> 这里的“verified”（已验证）具体是什么意思？是有人对内核进行了形式化验证，还是不同的内核之间互相交叉检查？

### [runningmike](<https://news.ycombinator.com/item?id=50138587>)

> “AI 代理在发现我们软件中的漏洞方面非常有效。”不对！AI 能发现的是代码弱点，而不是漏洞。所有漏洞都是弱点，但并非所有弱点都是漏洞。

---

## Cite

- Page: https://zeli.app/zh/story/50114758
- Date: 2026-10-16
- Source: leodemoura.github.io (https://leodemoura.github.io/blog/2026-10-15-lean-now-ships-with-verified-kernels/)
- Hacker News: https://news.ycombinator.com/item?id=50114758

## Other languages

- en: https://zeli.app/story/50114758 · markdown: https://zeli.app/story/50114758.md
- ja: https://zeli.app/ja/story/50114758 · markdown: https://zeli.app/ja/story/50114758.md
- ko: https://zeli.app/ko/story/50114758 · markdown: https://zeli.app/ko/story/50114758.md
- de: https://zeli.app/de/story/50114758 · markdown: https://zeli.app/de/story/50114758.md
- es: https://zeli.app/es/story/50114758 · markdown: https://zeli.app/es/story/50114758.md
- ru: https://zeli.app/ru/story/50114758 · markdown: https://zeli.app/ru/story/50114758.md
