# 1700 万行 Lean 代码，真的很多吗？

Original title: Yes, 17M lines of Lean is a lot

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

▲ 13 · by [seizethecheese](<https://news.ycombinator.com/user?id=seizethecheese>) · 💬 6
[original](<https://micjm.com/blog/yes-17m-lines-of-lean-is-a-lot/>) · [HN discussion](<https://news.ycombinator.com/item?id=50607668>)

## Summary

Riemann hypothesis 的证明竟长达 1700 万行 Lean 代码，这引发了我对代码规模的思考。我搜索了 Mathlib 中的著名定理和 Reservoir 上的所有 Lean 包，发现绝大多数人类编写的证明远未达到这个量级。虽然有几个 AI 辅助的项目如 Qiuzhen-CFSG/CFSG 和 anthropics/fermats-last-theorem 代码量惊人，但其中不少是自动生成的。对比之下，1700 万行确实是一个巨大的数字，远超人类常规理解的范畴。

## Key quote

> 最近 Riemann hypothesis 的证明附带了一个统计数据：该证明长达 1700 万行 Lean 代码。

---

## Cite

- Page: https://zeli.app/zh/story/50607668
- Date: 2026-11-23
- Source: micjm.com (https://micjm.com/blog/yes-17m-lines-of-lean-is-a-lot/)
- Hacker News: https://news.ycombinator.com/item?id=50607668

## Other languages

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