把黎曼猜想的 Lean 证明,写成人能读懂的证明
把黎曼猜想的 Lean 证明写成数学家能读的证明文章,以及人人能看懂的证明思路
Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #9 第 0 章:五条主定理的标准数学陈述(issue #4 草稿)
2 commits
+121 −0 routes/zcode-kepler/chapter-0/0.tex added View file
| @@ -0,0 +1,121 @@ | ||
| 1 | +% Chapter 0: the five main statements of the Alpoege formalization, in ordinary mathematical language. | |
| 2 | +% Draft by zcode-kepler, 2026-11-28. NOT YET EXPERT-REVIEWED. | |
| 3 | +% Anchors checked by hand against the pinned source archive lean.tar.gz | |
| 4 | +% (SHA-256 9631b4f020199e580ba86178cb56c6e9b09f690c2369a80dc4334aa93f49c7fc): | |
| 5 | +% the four Dirichlet statements are src/Statements.lean lines 3-16; the zeta statements are | |
| 6 | +% src/Main.lean lines 4-6, whose common type unfolds exactly as stated here | |
| 7 | +% (the unfolding proof is src/Formalism/GammaFactorNonvanishing/RhOfRight.lean). | |
| 8 | +% The site has no published atlas yet, so these anchors are unchecked by the checker. | |
| 9 | +\section{The five main statements}\label{ch0:intro} | |
| 10 | + | |
| 11 | +This chapter states, in standard notation, the five propositions that the Lean | |
| 12 | +formalization takes as its targets, and records where the formalized wording differs | |
| 13 | +from the classical one. Throughout, $\zeta(s)$ is the Riemann zeta function, and for a | |
| 14 | +Dirichlet character $\chi$ modulo $N$ we write $L(s,\chi)$ for its Dirichlet $L$-function, | |
| 15 | +defined for $\operatorname{Re}(s)>1$ by $\sum_{n\ge 1}\chi(n)n^{-s}$ and continued | |
| 16 | +meromorphically to the plane by the standard completed $L$-function; $\chi$ is | |
| 17 | +\emph{primitive} if its conductor equals $N$. A complex number $s$ is a | |
| 18 | +\emph{trivial zero} of $\zeta$ if $s=-2(n+1)$ for some $n\in\mathbb{N}$ | |
| 19 | +(that is, $s\in\{-2,-4,-6,\dots\}$). | |
| 20 | + | |
| 21 | +\begin{theorem}[Riemann hypothesis, target 1]\label{ch0:rh} | |
| 22 | +Let $s\in\mathbb{C}$. If $\zeta(s)=0$, if $s$ is not a trivial zero, and if $s\neq 1$, | |
| 23 | +then $\operatorname{Re}(s)=\tfrac12$. | |
| 24 | +\lean{riemannHypothesis}\leanok | |
| 25 | +\end{theorem} | |
| 26 | + | |
| 27 | +\begin{theorem}[Zeros of $\zeta$ on the critical line, target 2]\label{ch0:zeta-line} | |
| 28 | +Let $s\in\mathbb{C}$. If $\zeta(s)=0$, if $s$ is not a trivial zero, and if $s\neq 1$, | |
| 29 | +then $\operatorname{Re}(s)=\tfrac12$. | |
| 30 | +\lean{riemannZeta_eq_zero_re}\leanok | |
| 31 | +\begin{remark}\label{ch0:rh-dup} | |
| 32 | +In the formalization, Theorems \ref{ch0:rh} and \ref{ch0:zeta-line} are one and the same | |
| 33 | +proposition: their types unfold to identical statements, and a single argument | |
| 34 | +(the anchor of Theorem \ref{ch0:rh}) proves both. The duplication is bookkeeping: | |
| 35 | +one name speaks to the classical hypothesis, the other to the zero-location reading. | |
| 36 | +\end{remark} | |
| 37 | +\end{theorem} | |
| 38 | + | |
| 39 | +\begin{theorem}[Nonvanishing right of the line, target 3]\label{ch0:nonvanish} | |
| 40 | +Let $N\ge 1$, let $\chi$ be a Dirichlet character modulo $N$ with values in | |
| 41 | +$\mathbb{C}$, and let $s\in\mathbb{C}$ with $\operatorname{Re}(s)>\tfrac12$. | |
| 42 | +Assume $\chi\neq\mathbf{1}$ or $s\neq 1$, where $\mathbf{1}$ is the principal | |
| 43 | +character. Then $L(s,\chi)\neq 0$. | |
| 44 | +\lean{LFunction_ne_zero_of_half_lt_re}\leanok | |
| 45 | +\end{theorem} | |
| 46 | + | |
| 47 | +\begin{theorem}[Zeros of $L$ on the critical line, target 4]\label{ch0:zeros-line} | |
| 48 | +Let $N\ge 1$, let $\chi$ be a Dirichlet character modulo $N$, and let $s\in\mathbb{C}$ | |
| 49 | +with $0<\operatorname{Re}(s)<1$. If $L(s,\chi)=0$, then $\operatorname{Re}(s)=\tfrac12$. | |
| 50 | +\lean{LFunction_eq_zero_re}\leanok | |
| 51 | +\end{theorem} | |
| 52 | + | |
| 53 | +\begin{theorem}[Primitive version, target 5]\label{ch0:zeros-line-primitive} | |
| 54 | +Let $N\ge 1$, let $\chi$ be a primitive Dirichlet character modulo $N$, and let | |
| 55 | +$s\in\mathbb{C}$ with $0<\operatorname{Re}(s)<1$. If $L(s,\chi)=0$, then | |
| 56 | +$\operatorname{Re}(s)=\tfrac12$. | |
| 57 | +\lean{LFunction_eq_zero_re_of_isPrimitive}\leanok | |
| 58 | +\end{theorem} | |
| 59 | + | |
| 60 | +\subsection{How this differs from the classical wording}\label{ch0:differences} | |
| 61 | + | |
| 62 | +\begin{itemize} | |
| 63 | +\item \textbf{Trivial zeros are parametrized.} The exclusion ``$s$ is not a trivial | |
| 64 | +zero'' is written literally as: there is no $n\in\mathbb{N}$ with | |
| 65 | +$s=-2(n+1)$. Since $\mathbb{N}$ starts at $0$, this is the classical set | |
| 66 | +$\{-2,-4,-6,\dots\}$ of \cite{Tit51}, \S2.4. | |
| 67 | +\item \textbf{The point $s=1$ is excluded in the zeta statements.} In | |
| 68 | +Theorems \ref{ch0:rh} and \ref{ch0:zeta-line} the hypothesis $s\neq 1$ is present | |
| 69 | +even though $1$ is a pole of $\zeta$, not a zero, so the hypothesis is vacuous there; | |
| 70 | +it is carried so that the zeta and character statements share one shape. The proof of | |
| 71 | +the formalization uses it through its mirror form: $\zeta(s)\neq 0$ for | |
| 72 | +$\operatorname{Re}(s)>1$, $s\neq 1$, which is the Hadamard--de la Vall{\'e}e Poussin | |
| 73 | +zero-free region of \cite{MV07}, Ch.~6. | |
| 74 | +\item \textbf{The pole of the principal character is carved out.} In | |
| 75 | +Theorem \ref{ch0:nonvanish} the alternative ``$\chi\neq\mathbf{1}$ or $s\neq 1$'' | |
| 76 | +removes exactly the one point where $L(s,\chi)$ can fail to be regular: for the | |
| 77 | +principal character, $L(s,\mathbf{1})=\zeta(s)$ has its pole at $s=1$; for every | |
| 78 | +other character $L(\,\cdot\,,\chi)$ is entire (\cite{Dav00}, \S9, \cite{IK04}, | |
| 79 | +\S3.2). | |
| 80 | +\item \textbf{Targets 4 and 5 differ only in primitiveness.} Theorem \ref{ch0:zeros-line} | |
| 81 | +allows an imprimitive $\chi$, where $L(s,\chi)$ equals $L(s,\chi^\ast)$ times finitely | |
| 82 | +many factors $1-\chi^\ast(p)p^{-s}$ over the primes $p$ dividing $N$ but not the | |
| 83 | +conductor; such a factor can vanish only on the line $\operatorname{Re}(s)=0$, since | |
| 84 | +$|\chi^\ast(p)|=1$ there (\cite{IK04}, \S3.3). So inside the strip | |
| 85 | +$0<\operatorname{Re}(s)<1$ the two targets assert the same zero set, and the | |
| 86 | +formalization keeps both statements, general and primitive, as separate targets. | |
| 87 | +\item \textbf{Scope.} Target 3 alone already gives nonvanishing for | |
| 88 | +$\operatorname{Re}(s)>\tfrac12$, which contains the classical region | |
| 89 | +$\operatorname{Re}(s)\ge 1$ of \cite{Had1896}, \cite{vM1895}; together with | |
| 90 | +Theorem \ref{ch0:zeros-line} it is the full generalized Riemann hypothesis for | |
| 91 | +Dirichlet $L$-functions, in the zero-location form of \cite{IK04}, \S3. The | |
| 92 | +announced method is stated to extend to GRH \cite{Rie1859} itself and beyond; | |
| 93 | +this chapter records only what the five targets assert. | |
| 94 | +\end{itemize} | |
| 95 | + | |
| 96 | +\subsection{Sources for the anchors}\label{ch0:sources} | |
| 97 | + | |
| 98 | +Each anchor above names a theorem in the file \texttt{Main.lean} of the pinned | |
| 99 | +archive; the four character statements are their types in \texttt{Statements.lean}, | |
| 100 | +and the two zeta targets share the type unfolded by the proof anchored at | |
| 101 | +Theorem \ref{ch0:rh}. These are citations of code locations, not redistributions: | |
| 102 | +no Lean source text is reproduced here. | |
| 103 | + | |
| 104 | +\subsection*{Literature} | |
| 105 | +\begin{itemize} | |
| 106 | +\item \textbf{Rie1859}: B.~Riemann, ``Ueber die Anzahl der Primzahlen unter einer | |
| 107 | +gegebenen Gr{\"o}sse'', Monatsber.~K{\"o}nigl.~Preuss.~Akad.~Wiss.~Berlin (1859). | |
| 108 | +\item \textbf{Had1896}: J.~Hadamard, ``Sur la distribution des z{\'e}ros de la | |
| 109 | +fonction $\zeta(s)$ et ses cons{\'e}quences arithm{\'e}tiques'', Bull.~Soc.~Math.~France | |
| 110 | +24 (1896), 199--220. | |
| 111 | +\item \textbf{vM1895}: H.~von Mangoldt, ``Zu Riemanns vorlegte Abhandlung'', | |
| 112 | +Sitzungsber.~K{\"o}nigl.~Preuss.~Akad.~Wiss.~Berlin (1895). | |
| 113 | +\item \textbf{Tit51}: E.~C.~Titchmarsh, \emph{The Theory of the Riemann | |
| 114 | +Zeta-Function}, Oxford (1951; 2nd ed.~Heath-Brown 1986). | |
| 115 | +\item \textbf{Dav00}: H.~Davenport, \emph{Multiplicative Number Theory}, 3rd ed., GTM 74, | |
| 116 | +Springer (2000). | |
| 117 | +\item \textbf{MV07}: H.~L.~Montgomery, R.~C.~Vaughan, \emph{Multiplicative Number Theory | |
| 118 | +I. Classical Theory}, Cambridge (2007). | |
| 119 | +\item \textbf{IK04}: H.~Iwaniec, E.~Kowalski, \emph{Analytic Number Theory}, AMS Colloq. | |
| 120 | +Publ.~53 (2004). | |
| 121 | +\end{itemize} | |
+70 −0 routes/zcode-kepler/chapter-0/README.md added View file
| @@ -0,0 +1,70 @@ | ||
| 1 | +--- | |
| 2 | +issue: 4 | |
| 3 | +status: done | |
| 4 | +--- | |
| 5 | + | |
| 6 | +# 第 0 章:用普通数学语言写出五条主定理 | |
| 7 | + | |
| 8 | +Issue #4 的章节草稿:把 Alpöge 形式化的五个目标命题写成标准数学语言(`0.tex`), | |
| 9 | +每条挂 `\lean{}` 锚,并写明与经典表述的差异。**尚未经专家审阅**;闭章需两位非作者 | |
| 10 | +评审与一位人类数学家签字(issue #4 的完成标准),本 PR 只提交草稿供评审。 | |
| 11 | + | |
| 12 | +## 命令 | |
| 13 | + | |
| 14 | +```sh | |
| 15 | +python3 verify.py routes/zcode-kepler/chapter-0/ | |
| 16 | +``` | |
| 17 | + | |
| 18 | +本地输出(exit 0): | |
| 19 | + | |
| 20 | +```text | |
| 21 | +chapter 0: not yet expert-reviewed; coverage unchecked | |
| 22 | +atlas not yet published: anchors unchecked | |
| 23 | +blueprint: syntax only; coverage unchecked | |
| 24 | +``` | |
| 25 | + | |
| 26 | +## 五条陈述是怎么确定的(可复现) | |
| 27 | + | |
| 28 | +Alpöge 的 4 页公告(https://alpo.ge/remark.pdf)是叙事性的,不含定理的数学陈述, | |
| 29 | +所以锚的内容不能从它抄。实际做法: | |
| 30 | + | |
| 31 | +1. 下载 14 部分源码档案并拼接为 `lean.tar.gz`(239,275,554 字节),SHA-256 | |
| 32 | + `9631b4f020199e580ba86178cb56c6e9b09f690c2369a80dc4334aa93f49c7fc`,与 ATLAS.md | |
| 33 | + 记录一致。仅在本地阅读,未把任何源码文本放入本仓库(AGENTS.md/README 的许可与限制)。 | |
| 34 | +2. `src/Main.lean`(13 行)给出五个目标的签名;`src/Statements.lean` 给出其中四条 | |
| 35 | + 类型的逐字定义(`RiemannZetaZerosOnLine`、`DirichletLNonvanishingRightOfHalf`、 | |
| 36 | + `DirichletLZerosOnLine`、`PrimitiveDirichletLZerosOnLine`)。 | |
| 37 | +3. `RiemannHypothesis` 在 src/ 无定义(应来自 Mathlib pin `0df444a3`),但 | |
| 38 | + `src/Formalism/GammaFactorNonvanishing/RhOfRight.lean` 的证明对它 `unfold` 后 | |
| 39 | + intro 出 `(s, hs, htriv, hs1)` 并按函数方程三分讨论,可完整还原出它就是: | |
| 40 | + `∀ s, riemannZeta s = 0 → (¬∃ n, s = -2*(n+1)) → s ≠ 1 → s.re = 1/2`——与 | |
| 41 | + `RiemannZetaZerosOnLine` 逐字相同。所以目标 1 与目标 2 在形式化里是同一命题, | |
| 42 | + 同一证明(`rhOfAll`)同时给出两者;`0.tex` 里作为 remark 写明。 | |
| 43 | +4. `lakefile.toml`/`lean-toolchain` 确认环境:Lean 4.33.1 (`819816b2`)、Mathlib | |
| 44 | + pin `0df444a3`,与 ATLAS.md 记录一致。 | |
| 45 | + | |
| 46 | +## 0.tex 内容 | |
| 47 | + | |
| 48 | +五条定理(RH、ζ 零点在线、右半平面非消失、临界带 L 零点在线、本原特征版), | |
| 49 | +每条一个 `\lean{}` 锚加 `\leanok`(锚均经上述源码人工核对);一节“与经典表述的 | |
| 50 | +差异”:平凡零点参数化为 −2(n+1)、ζ 陈述里 s≠1 的冗余排除及其在证明中的镜像用法、 | |
| 51 | +主特征极点 (χ≠1 ∨ s≠1) 的剔除、目标 4/5 在临界带内零点集相同(非本原 L 与本原 L | |
| 52 | +相差的 Euler 因子只在 Re(s)=0 上可能为零)、目标 3+4 合起来即 Dirichlet L 函数的 | |
| 53 | +完整 GRH。文献引用用 `\cite{key}`,出处列在章末(检查器不 build bibliography, | |
| 54 | +故用普通段落列出)。TeX 未复现任何 Lean 源码文本,只引用代码位置。 | |
| 55 | + | |
| 56 | +## 已知限制 | |
| 57 | + | |
| 58 | +- 站点无 runner(推送时站点明确提示 “No runner serves cogito/alpoge-rh-blueprint”), | |
| 59 | + 也没有已发布的 atlas:本路线的检查状态只能是 syntax only、锚未查、coverage 未查。 | |
| 60 | + `0.tex` 顶部 `%` 注释记录了人工核对锚所用的档案哈希与文件行号,供后续 atlas | |
| 61 | + 发布后复核。 | |
| 62 | +- 章节未评审:按 AGENTS.md 标注“not yet expert-reviewed”。 | |
| 63 | + | |
| 64 | +## Next | |
| 65 | + | |
| 66 | +1. 维护者接入 runner 并发布 atlas 后,本路线应重跑检查,锚与 coverage 才有机器判定。 | |
| 67 | +2. 需要两位非作者评审 + 一位人类数学家签字才能闭章(issue #4 完成标准);评审时请 | |
| 68 | + 重点核对 `0.tex` 中 RiemannHypothesis 的还原是否与 Mathlib pin 里的定义一致 | |
| 69 | + (第 3 点是从证明反推的,是五条中唯一不是逐字抄自 `Statements.lean` 的)。 | |
| 70 | +3. 差异小节里目标 4/5 等价性的 Euler 因子论证引用了 IK04 §3.3,评审可核对页码。 | |