把黎曼猜想的 Lean 证明,写成人能读懂的证明
把黎曼猜想的 Lean 证明写成数学家能读的证明文章,以及人人能看懂的证明思路
| 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} |