\documentclass[11pt]{amsart} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage{booktabs} \usepackage{array} \usepackage{hyperref} % --------------------------------------------------------------------------- % Theorem environments % --------------------------------------------------------------------------- \newtheorem{theorem}{Theorem}[section] \newtheorem{proposition}[theorem]{Proposition} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \numberwithin{equation}{section} \setlength{\emergencystretch}{2em} % --------------------------------------------------------------------------- % Macros % --------------------------------------------------------------------------- \newcommand{\NN}{\mathbb{N}} \newcommand{\ZZ}{\mathbb{Z}} \newcommand{\QQ}{\mathbb{Q}} \newcommand{\RR}{\mathbb{R}} \newcommand{\CC}{\mathbb{C}} \newcommand{\cN}{\mathcal{N}} \newcommand{\cE}{\mathcal{E}} \newcommand{\cS}{\mathcal{S}} \newcommand{\cP}{\mathcal{P}} \newcommand{\Acert}{A_{\mathrm{cert}}} \newcommand{\Abody}{A_{\mathrm{body}}} \newcommand{\Vcert}{V_{\mathrm{cert}}} \newcommand{\etafar}{\eta_{\mathrm{far}}} \newcommand{\xtop}{x_{\mathrm{top}}} \renewcommand{\Re}{\operatorname{Re}} \renewcommand{\Im}{\operatorname{Im}} \newcommand{\eps}{\varepsilon} \newcommand{\ind}[1]{[\,#1\,]} \newcommand{\lean}[1]{{\def\_{\textunderscore\allowbreak}\texttt{#1}}} \begin{document} \title{One of $\zeta(7),\zeta(9),\dots,\zeta(21)$ is irrational} \author{Shawn Krisman} \subjclass[2020]{Primary 11J72; Secondary 11M06, 41A60, 68V20} \keywords{Riemann zeta function, odd zeta values, irrationality, hypergeometric linear forms, saddle-point method, formal verification, Lean} \date{\today} \begin{abstract} We prove that at least one of the eight numbers $\zeta(7),\allowbreak\zeta(9),\allowbreak\dots,\allowbreak\zeta(21)$ is irrational. The previous best result of this kind not involving $\zeta(5)$, a consequence of a theorem of Lai and Zhou, was that one of $\zeta(7),\dots,\zeta(35)$ is irrational. We use Zudilin's hypergeometric construction: sums of fourth derivatives of rational functions with quintuple zeros give linear forms in $1,\zeta(7),\dots,\zeta(21)$ with no $\zeta(3)$ or $\zeta(5)$ term. The improvement comes from spreading the poles over eighteen blocks with nearby offsets, a sharper $p$-adic bound on the denominators, and a saddle-point analysis of a cotangent contour integral. The estimates rest on exact rational and interval-arithmetic certificates. The whole proof, including these certificates, is formalised in Lean~4 with Mathlib and checked by the Lean kernel using only the standard axioms. \end{abstract} \maketitle \tableofcontents % =========================================================================== \section{Introduction}\label{sec:intro} % =========================================================================== Let $\zeta(s)=\sum_{m\ge1}m^{-s}$ be the Riemann zeta function. \begin{theorem}\label{thm:main} At least one of the eight numbers $\zeta(7),\allowbreak \zeta(9),\allowbreak \zeta(11),\allowbreak \dots,\allowbreak \zeta(21)$ is irrational. \end{theorem} \subsection{Context} The even values $\zeta(2k)$ are nonzero rational multiples of $\pi^{2k}$, hence transcendental. Among the odd values, $\zeta(3)$ is irrational by Ap\'ery's theorem \cite{Apery1979}. Rivoal \cite{Rivoal2000} and Ball and Rivoal \cite{BallRivoal2001} proved that infinitely many odd values are irrational, and Fischler, Sprang and Zudilin \cite{FSZ2019} sharpened the count. For short windows, Zudilin \cite{Zudilin2001} proved that one of $\zeta(5),\zeta(7),\zeta(9),\zeta(11)$ is irrational (see also \cite[Thm.~3]{Zudilin2004}); Rivoal \cite{Rivoal2002} and Zudilin \cite[Thm.~1]{Zudilin2002} proved it for the nine numbers $\zeta(5),\dots,\zeta(21)$; and Zudilin gave an elementary proof for $\zeta(5),\dots,\zeta(25)$ \cite{Zudilin2018}. A statement ``one of $\zeta(5),\dots,\zeta(N)$ is irrational'' holds as soon as $\zeta(5)$ is irrational, and then it says nothing about $\zeta(7),\zeta(9),\dots$. The known explicit results about windows that start at $\zeta(7)$ are the following. \begin{itemize} \item Zudilin \cite[Thm.~1]{Zudilin2002} proved that one of $\zeta(7),\zeta(9),\dots,\zeta(37)$ is irrational, and more generally \cite[Thm.~2]{Zudilin2002} that for every odd $b\ge1$ one of $\zeta(b+2),\zeta(b+4),\dots,\zeta(8b-1)$ is irrational. (Theorem numbers and statements of \cite{Zudilin2002} refer to the arXiv version, arXiv:math/0104249, where we checked them.) \item Lai and Zhou \cite{LaiZhou2022} proved that at least two of $\zeta(5),\zeta(7),\dots,\zeta(35)$ are irrational. This implies, with no hypothesis on $\zeta(5)$, that one of $\zeta(7),\dots,\zeta(35)$ is irrational: if $\zeta(7),\dots,\zeta(35)$ were all rational, at most one number in the list $\zeta(5),\dots,\zeta(35)$ could be irrational. \item Rivoal and Zudilin \cite{RivoalZudilin2020} proved that at least two of $\zeta(5),\dots,\zeta(69)$ are irrational, which gives the same conclusion for $\zeta(7),\dots,\zeta(69)$. \end{itemize} So the window $\zeta(7),\dots,\zeta(35)$ was the shortest of this kind that we know of. Theorem~\ref{thm:main} shortens it to $\zeta(7),\dots,\zeta(21)$, which is Rivoal's window of nine numbers with $\zeta(5)$ removed. A proof that $\zeta(5)$ is irrational has recently been announced in an unrefereed preprint by A.~Fauzan, with Lean formalisations (for instance \cite{zeta5}). Theorem~\ref{thm:main} does not use the arithmetic nature of $\zeta(5)$ or $\zeta(3)$ in any way: neither number occurs in our linear forms (Corollary~\ref{cor:form}). Theorem~\ref{thm:main} neither implies nor is implied by the result of Lai and Zhou. To our knowledge it is new. Our literature search covered arXiv and the web, but not MathSciNet or zbMATH; we would be grateful to hear of prior work. \subsection{The method} We follow the approach of Ball and Rivoal \cite{BallRivoal2001} and Zudilin \cite{Zudilin2002,Zudilin2004} through linear forms with rational coefficients, and the construction is not new: it is the derivative form of Zudilin's well-poised hypergeometric construction \cite[\S8, (8.2)--(8.4)]{Zudilin2004}, in which $\frac1{(r-1)!}\sum_{t\ge0}R^{(r-1)}(t)$ is summed; here $r=5$, so the derivative has order $4$. For $n$ in an arithmetic progression we put \[ R_n(t)=\frac{(2t+n)\prod_{l=1}^{rn}(t-l)^5\prod_{l=n+1}^{(1+r)n}(t+l)^5}{\prod_{j}\prod_{k=\delta_jn}^{(1-\delta_j)n}(t+k)^{m_j}}, \qquad L_n=\sum_{t\ge1}R_n''''(t). \] Differentiating four times raises every pole order by $4$, so $\zeta(3)$ cannot occur; $\zeta(5)$ drops out because the residues of $R_n$ add up to $0$; and the symmetry $R_n(-n-t)=-R_n(t)$ removes the even zeta values (Section~\ref{sec:algebra}). Since all zeros and poles are integers there is no $2$-adic or $3$-adic cost of the kind that half-integer or third-integer shifts produce. As far as we can tell, Zudilin's theorem for $\zeta(7),\dots,\zeta(37)$ is of the same type, with all poles in a single block; our single-block instance Z1 of Section~\ref{sec:general} reaches the same window. The analytic method, a saddle point of the Ball--Rivoal--Zudilin type, is also standard. What is new is the following. \begin{enumerate} \item \emph{A near-continuous pole profile.} The denominator of $R_n$ is a product of eighteen blocks, one at each offset $\delta_j=j/80$, $1\le j\le18$, with $r=11/12$. Zudilin's parametrisation allows such profiles; the profile used here was found by a numerical search (Section~\ref{sec:search}). Even $S=18$ is useful: the top index is then $S+3=21$, so the window $\zeta(7),\dots,\zeta(21)$ gets one block more than an odd $S$ would. \item \emph{An arithmetic refinement.} If $k
0}$, offsets $\delta_j\in\QQ\cap[0,\frac12)$ with multiplicities $m_j\in\NN_{\ge1}$, and $q\in\NN_{\ge1}$ with $rq\in\ZZ$ and $\delta_jq\in\ZZ$ for all $j$. We assume $S:=\sum_jm_j\ge2$. The integer $n$ always runs through $q\NN=\{q,2q,3q,\dots\}$. Put \begin{gather*} a_j:=\delta_jn,\quad b_j:=n-a_j,\quad I_j:=[a_j,b_j]\cap\ZZ,\\ B_k:=\sum_jm_j\ind{k\in I_j}\ (0\le k\le n),\\ G:=\sum_jm_j(1-2\delta_j)-10r,\qquad \cN:=(2+r)n+1, \end{gather*} and let $N_\cP$ be the largest odd integer $\le S+4$ (so $N_\cP=S+4$ for odd $S$ and $S+3$ for even $S$). \end{definition} Each $I_j$ is a nonempty integer interval, symmetric under $k\mapsto n-k$, with $\#I_j=(1-2\delta_j)n+1$; so $B_{n-k}=B_k$ and $0\le B_k\le S$. The \emph{zero set} is \[ \mathcal Z_n:=[1,rn]\cup[-(1+r)n,\,-n-1]\subset\ZZ, \] two runs of $rn$ consecutive integers on either side of the pole region $[-n,0]$; each zero will have multiplicity $5$. For $e\in\{0,1\}$ define \begin{equation}\label{eq:R} R_n(t):=\frac{(2t+n)^e\prod_{l=1}^{rn}(t-l)^5\prod_{l=n+1}^{(1+r)n}(t+l)^5}{\prod_{j}\prod_{k\in I_j}(t+k)^{m_j}} =\frac{(2t+n)^e\prod_{z\in\mathcal Z_n}(t-z)^5}{\prod_{k=0}^{n}(t+k)^{B_k}}, \end{equation} and \begin{equation}\label{eq:L} L_n:=\sum_{t=1}^{\infty}R_n''''(t). \end{equation} \begin{lemma}\label{lem:counts} $\sum_{k=0}^nB_k=\sum_jm_j\#I_j=(G+10r)n+S$ and $\deg R_n=e-Gn-S$. In particular $Gn\in\ZZ$. If $G>0$, then $\deg R_n\le-2$, so $R_n(t)=O(t^{-2})$, $R_n''''(t)=O(t^{-6})$ as $t\to\infty$, and the series \eqref{eq:L} converges absolutely. \end{lemma} \begin{proof} $\sum_jm_j((1-2\delta_j)n+1)=(G+10r)n+S$, and the numerator has degree $e+10rn$. Hence $Gn=e+10rn-S-\deg R_n\in\ZZ$. If $G>0$ then $Gn\ge1$ and $\deg R_n\le1-1-S\le-2$. \end{proof} \begin{lemma}[Symmetry]\label{lem:sym} If $e\equiv1+S+Gn\pmod2$, then $\deg R_n$ is odd and $R_n(-n-t)=-R_n(t)$. \end{lemma} \begin{proof} The first claim is Lemma~\ref{lem:counts}. The map $z\mapsto-n-z$ sends $[1,rn]$ onto $[-n-rn,-n-1]$ and back, and $-n-t-z=-(t-(-n-z))$; the $e$-factor becomes $2(-n-t)+n=-(2t+n)$; and $-n-t+k=-(t+(n-k))$ with $B_{n-k}=B_k$. So every linear factor changes sign and the multisets of zeros and poles are preserved, whence $R_n(-n-t)=(-1)^{\deg R_n}R_n(t)=-R_n(t)$. \end{proof} If $qG$ is even, then $Gn$ is even for every $n\in q\NN$, and the condition of Lemma~\ref{lem:sym} fixes $e\equiv1+S\pmod2$ independently of $n$. This is hypothesis (H6) of Section~\ref{sec:general}. In the language of hypergeometric series, this symmetry together with the factor $2t+n$ makes $R_n$ \emph{very-well-poised}. \subsection{The instance Z7} Theorem~\ref{thm:main} uses the following parameter set, called Z7 (the last column of Table~\ref{tab:instances}). \begin{itemize} \item $r=11/12$ and $q=240$: $n=240N_0$ with $N_0\in\NN_{\ge1}$, so $rn=220N_0$ and $(1+r)n=460N_0$. \item Eighteen blocks $(\delta_j,m_j)=(j/80,1)$, $1\le j\le18$, so $a_j=3jN_0$. \item $e=1$. \end{itemize} \begin{table}[ht] \centering \begin{tabular}{@{}p{0.36\textwidth}p{0.58\textwidth}@{}} \toprule quantity & value\\ \midrule $r$, $q$, $e$ & $11/12$, $240$, $1$\\ blocks $(\delta_j,m_j)$ & $(j/80,1)$ for $j=1,\dots,18$\\ $S=\sum_jm_j$, $N_\cP$ & $18$, $21$\\ $\sum_jm_j(1-2\delta_j)$ & $18-\frac{171}{40}=\frac{549}{40}$\\ $G=\sum_jm_j(1-2\delta_j)-10r$ & $\frac{549}{40}-\frac{55}{6}=\frac{547}{120}$; $qG=1094$\\ zero set $\mathcal Z_n$ & $[1,220N_0]\cup[-460N_0,-240N_0-1]$, each of order $5$\\ $\sum_kB_k$ & $3294N_0+18$\\ $\deg R_n$ & $-1094N_0-17$ (odd)\\ $\cN=(2+r)n+1$ & $700N_0+1$\\ \bottomrule \end{tabular} \caption{The parameters of Z7.}\label{tab:blocks} \end{table} All blocks have $\delta_j\ge\frac1{80}$, so $B_k=0$ for $k<3N_0$: there is no pole at $0$, and every pole of $R_n$ lies in $[-n+3N_0,-3N_0]$. The $e$-factor vanishes at $t=-n/2$, which is the central pole ($B_{n/2}=18$); so that pole has order $17$, and the Taylor data below absorb this automatically ($u_e=0$ in Lemma~\ref{lem:A}). By Lemma~\ref{lem:sym} and $qG=1094\equiv0$, $S=18$, the choice $e=1$ gives $R_n(-n-t)=-R_n(t)$ for every $n\in240\NN$. % =========================================================================== \section{\texorpdfstring{The linear form lies in $\QQ+\QQ\zeta(7)+\dots+\QQ\zeta(21)$}{The linear form lies in Q + Q zeta(7) + ... + Q zeta(21)}}\label{sec:algebra} % =========================================================================== In this section $\cP$ is any parameter set with $G>0$ and $e$ as in Lemma~\ref{lem:sym}. For $0\le k\le n$ define the power series in $\QQ[[\eps]]$ \begin{equation}\label{eq:fk} f_k(\eps):=(n-2k+2\eps)^e\prod_{z\in\mathcal Z_n}(-k-z+\eps)^5\prod_{\substack{0\le k'\le n\\k'\ne k}}(k'-k+\eps)^{-B_{k'}}, \end{equation} with $(d+\eps)^{-1}=\sum_{M\ge0}(-1)^Md^{-M-1}\eps^M$ for $d\ne0$. Note $-k-z\ne0$, because no zero lies in the pole region $[-n,0]$. If $t_0:=-k$, then $f_k(\eps)$ is the Taylor expansion of $R_n(t_0+\eps)(t_0+\eps+k)^{B_k}$ at $\eps=0$. We write $u_z:=-k-z$, $u_e:=n-2k$ and $d_{k'}:=k'-k$ when $k$ is fixed. \begin{lemma}[Partial fractions]\label{lem:pf} Put $a_{i,k}:=[\eps^{B_k-i}]f_k$ for $0\le k\le n$, $1\le i\le B_k$, and $a_{i,k}:=0$ otherwise. Then $a_{i,k}\in\QQ$ and, for every $t\in\CC\setminus\{-k:B_k\ge1\}$, \[ R_n(t)=\sum_{k=0}^{n}\sum_{i=1}^{S}\frac{a_{i,k}}{(t+k)^i}. \] \end{lemma} \begin{proof} By Lemma~\ref{lem:counts} the numerator of \eqref{eq:R} has smaller degree than the denominator, so $R_n$ is the sum of its principal parts at the distinct poles $-k$. The principal part at $t_0=-k$ is $\sum_{i=1}^{B_k}a_{i,k}(t-t_0)^{-i}$, where $a_{i,k}$ is the coefficient of $(t-t_0)^{B_k-i}$ in the Taylor expansion of $R_n(t)(t-t_0)^{B_k}$, which is $f_k$. Since $B_k\le S$, all $i\le S$ are covered. \end{proof} \begin{lemma}\label{lem:shift} For integers $j\ge2$ and $k\ge0$, $\sum_{t\ge1}(t+k)^{-j}=\zeta(j)-H_k^{(j)}$. \end{lemma} \begin{proof} Substitute $m=t+k$. \end{proof} \begin{proposition}[Expansion]\label{prop:expansion} Define \[ \tau_i:=(i)_4\sum_{k=0}^{n}a_{i,k},\qquad \rho_n:=-\sum_{k=0}^{n}\sum_{i=1}^{S}(i)_4\,a_{i,k}\,H_k^{(i+4)} . \] Then $\rho_n,\tau_i\in\QQ$ and $L_n=\rho_n+\sum_{i=1}^{S}\tau_i\,\zeta(i+4)$. \end{proposition} \begin{proof} All poles are $\le0$, so for real $t>0$ Lemma~\ref{lem:pf} may be differentiated termwise: $R_n''''(t)=\sum_{k,i}a_{i,k}(i)_4(t+k)^{-i-4}$. Sum over $t\ge1$; this is a finite sum of absolutely convergent series, and Lemma~\ref{lem:shift} with $j=i+4\ge5$ gives the claim. \end{proof} \begin{lemma}[Symmetry of the coefficients]\label{lem:tau-even} $a_{i,n-k}=(-1)^{i+1}a_{i,k}$ for all $i,k$. Consequently $\tau_i=0$ for every even $i$. \end{lemma} \begin{proof} By Lemmas~\ref{lem:sym} and~\ref{lem:pf}, \[ R_n(t)=-R_n(-n-t)=-\sum_{k,i}\frac{a_{i,k}}{(-n-t+k)^i}=\sum_{k,i}\frac{(-1)^{i+1}a_{i,k}}{(t+(n-k))^i}, \] and uniqueness of the partial-fraction decomposition gives $a_{i,n-k}=(-1)^{i+1}a_{i,k}$. Summing over $k$ gives $\tau_i=(-1)^{i+1}\tau_i$. \end{proof} \begin{lemma}[The residues add up to zero]\label{lem:tau1} $\sum_ka_{1,k}=0$; hence $\tau_1=0$. \end{lemma} \begin{proof} As $t\to+\infty$, $tR_n(t)\to0$ because $\deg R_n\le-2$, while $t\sum_{k,i}a_{i,k}(t+k)^{-i}\to\sum_ka_{1,k}$. \end{proof} \begin{corollary}\label{cor:form} $L_n=\rho_n+\sum_{i}\tau_i\,\zeta(i+4)$, where $i$ runs over the odd integers with $3\le i\le S$. Hence $L_n\in\QQ+\QQ\zeta(7)+\QQ\zeta(9)+\dots+\QQ\zeta(N_\cP)$; for Z7, \[ L_n=\rho_n+\sum_{j=3}^{10}\tau_{2j-3}\,\zeta(2j+1)\in\QQ+\QQ\zeta(7)+\QQ\zeta(9)+\dots+\QQ\zeta(21). \] In particular $\zeta(3)$ and $\zeta(5)$ do not occur. \end{corollary} \begin{proof} In Proposition~\ref{prop:expansion} only $\zeta(i+4)$ with $1\le i\le S$ occurs. Lemma~\ref{lem:tau-even} removes the even $i$ and Lemma~\ref{lem:tau1} removes $i=1$. For Z7, $i=2j-3$ with $3\le j\le10$. \end{proof} % =========================================================================== \section{Denominators}\label{sec:arith} % =========================================================================== In this section $\cP$ is any parameter set with $G>0$, $e$ is as in Lemma~\ref{lem:sym}, and $n\in q\NN$ with $n>r$. For $0\le k\le n$ we have $0<|u_z|<\cN$ for $z\in\mathcal Z_n$ (indeed $|u_z|\le(1+r)n$), $|u_e|\le n<\cN$, and $|d_{k'}|\le n<\cN$. \subsection{Valuations of the Taylor coefficients} \begin{definition} Let $p$ be a prime and $\nu,\lambda\in\ZZ$. A power series $g\in\QQ[[\eps]]$ is \emph{$(\nu,\lambda)$-bounded at $p$} if $v_p([\eps^M]g)\ge \nu-\lambda M$ for all $M\ge0$. \end{definition} \begin{lemma}\label{lem:psge} Let $p$ be a prime and $\lambda\in\ZZ$. \begin{enumerate} \item If $g_1$ is $(\nu_1,\lambda)$-bounded and $g_2$ is $(\nu_2,\lambda)$-bounded at $p$, then $g_1g_2$ is $(\nu_1+\nu_2,\lambda)$-bounded at $p$. \item If $u,c\in\QQ$ with $v_p(u)\ge \nu$ and $v_p(c)\ge \nu-\lambda$, then $u+c\eps$ is $(\nu,\lambda)$-bounded at $p$. \item If $d\in\QQ\setminus\{0\}$ with $v_p(d)\le\lambda$ and $\nu\le -v_p(d)$, then $(d+\eps)^{-1}$ is $(\nu,\lambda)$-bounded at $p$. \end{enumerate} \end{lemma} \begin{proof} (1) $[\eps^M](g_1g_2)=\sum_{a+b=M}[\eps^a]g_1\,[\eps^b]g_2$, and each term has valuation $\ge \nu_1-\lambda a+\nu_2-\lambda b$. (2) is immediate (also when $u=0$). (3) The coefficient of $\eps^M$ is $(-1)^Md^{-M-1}$, of valuation $-v_p(d)-Mv_p(d)\ge \nu-\lambda M$. \end{proof} \begin{lemma}[Lemma A]\label{lem:A} Let $p$ be a prime, $\lambda\ge0$ an integer and $0\le k\le n$. Let $\nu_E\in\ZZ$, $\nu_z\in\ZZ$ $(z\in\mathcal Z_n)$ and $\nu_{k'}\in\ZZ$ $(k'\ne k,\ B_{k'}\ge1)$ satisfy \begin{itemize} \item $v_p(u_e)\ge \nu_E$ and $v_p(2)\ge \nu_E-\lambda$ (only if $e=1$; put $\nu_E:=0$ if $e=0$); \item $v_p(u_z)\ge \nu_z$ and $\nu_z\le\lambda$ for every $z\in\mathcal Z_n$; \item $v_p(d_{k'})\le\lambda$ and $\nu_{k'}\le -v_p(d_{k'})$ for every $k'\ne k$ with $B_{k'}\ge1$. \end{itemize} Put $\nu:=\nu_E+5\sum_{z}\nu_z+\sum_{k'\ne k}B_{k'}\nu_{k'}$. Then $f_k$ is $(\nu,\lambda)$-bounded at $p$, and $v_p(a_{i,k})\ge \nu-\lambda(B_k-i)$ for $1\le i\le B_k$. \end{lemma} \begin{proof} Apply Lemma~\ref{lem:psge}(2) to $u_e+2\eps$ and to each $u_z+\eps$ (here $v_p(1)=0\ge\nu_z-\lambda$), Lemma~\ref{lem:psge}(3) to each $(d_{k'}+\eps)^{-1}$, and Lemma~\ref{lem:psge}(1) to the product \eqref{eq:fk}. \end{proof} For a prime $p$ and $0\le k\le n$ define \begin{gather*} c_p(k):=5\,\#\{z\in\mathcal Z_n:p\mid k+z\}+e\,\ind{p\mid n-2k},\\ P_{p,j}(k):=\#\{k'\in I_j\setminus\{k\}:p\mid k'-k\},\qquad P_p(k):=\sum_jm_jP_{p,j}(k),\\ \nu_p(k):=5\sum_{z\in\mathcal Z_n}v_p(k+z)-\sum_jm_j\sum_{k'\in I_j\setminus\{k\}}v_p(k'-k), \end{gather*} and $\lambda_p:=\lfloor\log_p\cN\rfloor$. Note $\sum_{k'\ne k}B_{k'}g(k')=\sum_jm_j\sum_{k'\in I_j\setminus\{k\}}g(k')$ for any $g$. \begin{corollary}\label{cor:A} Let $0\le k\le n$ and $1\le i\le B_k$. \begin{enumerate} \item[(b$'$)] If $P_p(k)=0$, i.e.\ no pole $-k'\ne-k$ of $R_n$ has $p\mid k'-k$, then $a_{i,k}\in\ZZ_{(p)}$. \item[(a)] If $p>n$, then $a_{i,k}\in\ZZ_{(p)}$. \item[(b)] If $p^2>\cN$, then $v_p(a_{i,k})\ge c_p(k)-P_p(k)-(B_k-i)$. \item[(c)] $v_p(a_{i,k})\ge \nu_p(k)-\lambda_p(B_k-i)$. \end{enumerate} \end{corollary} \begin{proof} We apply Lemma~\ref{lem:A}; $v_p(u_z)=v_p(k+z)$. \begin{enumerate} \item[(b$'$)] Take $\lambda=0$ and all exponents $0$. The hypotheses hold because all $u$'s are integers and $v_p(d_{k'})=0$ for every pole $-k'\ne-k$. \item[(a)] For $k'\ne k$, $0<|k'-k|\le n
\cN$; and $v_p(H_k^{(j)})\ge-j\lambda_p$ always. \end{lemma} \begin{proof} Each term $m^{-j}$ has valuation $\ge-j\lambda$. For the special cases use $\lambda=0$ (if $k
n,\\ \max\bigl(0,\ \max_{k:\,B_k\ge1}e_p(k)\bigr), & p\le n,\ p^2>\cN,\\ \max_{0\le k\le n}\bigl(-\nu_p(k)\bigr)+(S+4)\lambda_p, & p^2\le \cN \end{cases} \] (the cases are applied in this order). Put $D_n:=\prod_{p\le n}p^{E_p}\in\QQ_{>0}$. \end{definition} Thus $v_p(D_n)=E_p$ for every prime $p$. We do not need $E_p\ge0$ in the third range, so we only assert $D_n\in\QQ_{>0}$. \begin{proposition}[Integrality]\label{prop:integral} $D_n\rho_n\in\ZZ$ and $D_n\tau_i\in\ZZ$ for all $i$. \end{proposition} \begin{proof} It suffices to show $v_p(\tau_i)\ge -E_p$ and $v_p(\rho_n)\ge-E_p$ for every prime $p$. Since $(i)_4\in\ZZ$, it suffices to bound $v_p(a_{i,k})$ and $v_p(a_{i,k}H_k^{(i+4)})$ from below by $-E_p$, for $0\le k\le n$ and $1\le i\le B_k$ (the other $a_{i,k}$ vanish). \begin{itemize} \item $p>n$: $a_{i,k}\in\ZZ_{(p)}$ by Corollary~\ref{cor:A}(a), and $H_k^{(i+4)}\in\ZZ_{(p)}$ by Lemma~\ref{lem:B} since $k\le n
\cN$, $k\ge p$: by Corollary~\ref{cor:A}(b) and Lemma~\ref{lem:B}, \[ v_p\bigl(a_{i,k}H_k^{(i+4)}\bigr)\ge c_p(k)-P_p(k)-(B_k-i)-(i+4)=-e_p(k)\ge-E_p, \] and $v_p(a_{i,k})\ge c_p(k)-P_p(k)-B_k+1\ge-e_p(k)$. \item $p\le n$, $p^2>\cN$, $k
k$, form an interval $[A_1,B_1]$ of positive integers, and those with
$k' \max\{-k:B_k\ge1\}$ and $j\ge0$. There is $C=C(n,c,j)$ with $|R_n^{(j)}(z)|\le C(1+|z|^2)^{-1}$ whenever
$\Re z\ge c$. Moreover $R_n^{(j)}(\bar z)=\overline{R_n^{(j)}(z)}$.
\end{lemma}
\begin{proof}
By Lemma~\ref{lem:counts}, $|R_n(w)|\le C_1|w|^{-2}$ for $|w|\ge R_1$. Cauchy's estimate on circles of radius
$\frac12$ gives $|R_n^{(j)}(z)|\le C_1'|z|^{-2}$ for $|z|\ge2R_1+2$, and on the compact set
$\{\Re z\ge c,\ |z|\le2R_1+2\}$, which contains no pole, $R_n^{(j)}$ is bounded. The symmetry holds because $R_n$ has
real coefficients.
\end{proof}
\begin{lemma}[The kernel]\label{lem:trig}
With $\mathsf C:=\cot(\pi z)$ and $\mathsf S:=1/\sin(\pi z)$,
\begin{gather*}
k_1=-\pi^2\mathsf S^2,\quad k_2=2\pi^3\mathsf C\mathsf S^2,\\
k_3=-2\pi^4(\mathsf S^4+2\mathsf C^2\mathsf S^2),\quad k_4=8\pi^5(\mathsf C^3\mathsf S^2+2\mathsf C\mathsf S^4).
\end{gather*}
Consequently $\sin^5(\pi z)\,k_4(z)=\pi^5T(z)$ with the entire function
\begin{align*}
T(z)&:=8\cos(\pi z)\bigl(\cos^2(\pi z)+2\bigr)=2\cos3\pi z+22\cos\pi z\\
&=e^{-3\pi iz}\bigl(1+11\mathbf q+11\mathbf q^2+\mathbf q^3\bigr),\qquad \mathbf q:=e^{2\pi iz},
\end{align*}
and $|T(z)|\le24e^{3\pi\Im z}$ for $\Im z\ge0$. The kernel $k$ has a simple pole with residue $1$ at every
integer; $k_0,\dots,k_4$ are bounded on every vertical line $\Re z=c\notin\ZZ$ and on $\{|\Im z|\ge1\}$.
\end{lemma}
\begin{proof}
Use $\mathsf C'=-\pi\mathsf S^2$ and $\mathsf S'=-\pi\mathsf C\mathsf S$ and differentiate. Then
$\sin^5(\pi z)k_4=8\pi^5\cos(\pi z)(\cos^2(\pi z)+2)$, and $8\cos^3u+16\cos u=2\cos3u+22\cos u$. Expanding the
cosines in exponentials gives the $\mathbf q$-form, and $|\mathbf q|\le1$ for $\Im z\ge0$. The last statements
are standard.
\end{proof}
\begin{proposition}\label{prop:contour}
Put $G_n(z):=R_n(z)k_4(z)$. For every real $c\in(0,rn+1)\setminus\ZZ$,
\begin{align*}
L_n&=-\frac1{2\pi i}\int_{c-i\infty}^{c+i\infty}R_n''''(z)\,k(z)\,dz
=-\frac1{2\pi i}\int_{c-i\infty}^{c+i\infty}G_n(z)\,dz\\
&=-\frac1\pi\,\Re\int_0^\infty G_n(c+iy)\,dy .
\end{align*}
\end{proposition}
\begin{proof}
\emph{First equality.} Let $N>c$ be an integer and $Y>1$, and integrate $R_n''''k$ counterclockwise around the
rectangle with vertices $c\pm iY$, $N+\frac12\pm iY$. Inside, the integrand is meromorphic with simple poles at
the integers $t\in(c,N]$, with residue $R_n''''(t)$. On the horizontal sides $k$ is bounded and
$|R_n''''(z)|\le C(1+|z|^2)^{-1}\le CY^{-2}$, so these sides contribute $O(N/Y^2)$, which tends to $0$ as
$Y\to\infty$. On $\Re z=N+\frac12$, $|k|\le\pi$ and $|R_n''''|\le C(1+|z|^2)^{-1}$, so that side tends to $0$ as
$N\to\infty$. On $\Re z=c$ the integral converges absolutely. Hence
$-\int_{c-i\infty}^{c+i\infty}R_n''''k\,dz=2\pi i\sum_{t>c}R_n''''(t)=2\pi i\,L_n$, where the last equality
uses Lemma~\ref{lem:vanish}: every integer $1\le t n$ [numerical]. At the same time the window
was confirmed to be exactly $\zeta(7),\dots,\zeta(N_\cP)$, and $L_n$ was compared with the direct sum
$\sum_tR_n''''(t)$ to $30$ digits.
% ===========================================================================
\section{The formalisation}\label{sec:lean}
% ===========================================================================
\subsection{What is formalised}
The repository \url{https://github.com/telaviv/zeta-irrationality} \cite{ZetaRepo}, at tag \lean{v1.0},
contains a proof of
Theorem~\ref{thm:main} in Lean~4 \cite{LeanFour} (version v4.35.0) with Mathlib \cite{Mathlib} (version v4.35.0
\cite{Mathlib4}). All declaration names and file paths in this section refer to that tag; paths are relative
to the repository root. The formalisation covers every step of the proof of
Theorem~\ref{thm:main}, including the parts that a written proof would cite: the prime number theorem, Stirling's
formula with explicit remainder in sectors, the contour-integral representation, the deformation of contours, and all
numerical certificates. Much of the instance-independent infrastructure (prime number theorem, Stirling, interval
arithmetic, contour and Laplace lemmas, partial fractions, valuations) is adapted from the formalisation of the
$\beta$-analogue \cite{BetaPaper}.
\subsection{The statement}
The definition that the reader has to check is, in \lean{ZetaIrrational\slash{}Statement.lean} (namespace
\lean{ZetaIrr}):
\begin{quote}\ttfamily\footnotesize
def OneOfZeta7To21 : Prop :=\\
\hspace*{2em}$\exists$ j $\in$ (\char123 7,~9,~11,~13,~15,~17,~19,~21\char125~:~Finset~$\mathbb{N}$),\\
\hspace*{4em}Irrational (riemannZeta j).re\\[2pt]
theorem ZetaIrr.Z7.oneOfZeta7To21 : OneOfZeta7To21
\end{quote}
The theorem is in \lean{ZetaIrrational\slash{}Z7\slash{}MainUnconditional.lean}. Here \lean{riemannZeta : $\mathbb C\to\mathbb C$} is
Mathlib's Riemann zeta function, the natural number \lean{j} is cast to $\CC$, and \lean{Irrational x} is Mathlib's
predicate $x\notin\QQ$. Nothing defined in the project occurs in the statement. Mathlib's
\lean{zeta\_nat\_eq\_tsum\_of\_gt\_one} identifies \lean{riemannZeta j} with $\sum_{m\ge1}m^{-j}$ for $j\ge2$; the
file \lean{ZetaIrrational\slash{}Defs.lean} uses it to pass to the real series used internally
(\lean{riemannZeta\_re\_eq\_zetaR}). The statement assumes nothing about $\zeta(3)$ or $\zeta(5)$.
The command \lean{lake env lean Axioms.lean} prints
\begin{quote}\ttfamily\small
'ZetaIrr.Z7.oneOfZeta7To21' depends on axioms:\\
\hspace*{2em}[propext, Classical.choice, Quot.sound]
\end{quote}
and the same axiom list for each of the main ingredients listed in \lean{Axioms.lean}. These are Lean's three
standard axioms, which Mathlib also uses. The development contains no \lean{sorry}, no added axiom, no
\lean{native\_decide} and no \lean{implemented\_by}, so no step relies on compiled code.
\subsection{Correspondence with the paper}
Table~\ref{tab:lean} lists the main formal counterparts. The theorem is \lean{oneOfZeta7To21\_of\_certUnits}
applied to the kernel-checked sum \lean{CertA.bodyUnits\_400}. It goes through \lean{oneOfZeta7To21\_of\_parts},
whose inputs are the certificate inequality, Proposition~\ref{prop:size} and Corollary~\ref{cor:nonvan}, and through
the criterion \lean{exists\_irrational\_of\_small\_forms}, which formalises Section~\ref{sec:proof}.
\begin{table}[ht]
\centering\small
\begin{tabular}{@{}>{\raggedright\arraybackslash}p{0.27\textwidth}>{\raggedright\arraybackslash}p{0.69\textwidth}@{}}
\toprule
paper & Lean declaration (namespace \lean{ZetaIrr}) \\
\midrule
Lemma~\ref{lem:pf}, Prop.~\ref{prop:expansion} & \lean{Z7.R\_eq\_pfR}, \lean{PF.pf\_eval}, \lean{PFData.tsum\_R4}\\
Lemmas~\ref{lem:tau-even}, \ref{lem:tau1}, Cor.~\ref{cor:form} & \lean{Z7.pf\_symmetric}, \lean{PFData.tau\_eq\_zero\_of\_even}, \lean{PF.pf\_top\_coeff}, \lean{Z7.pf\_tau\_one}, \lean{PFData.tsum\_R4\_odd}, \lean{Z7.expansion\_Z7}\\
Lemmas~\ref{lem:psge}, \ref{lem:A}, Cor.~\ref{cor:A} & \lean{Arith.psge\_mul}, \lean{Arith.psge\_inv}, \lean{Z7.Arith.vge\_a}, \lean{Z7.Arith.a\_int\_of\_nodvd}, \lean{Z7.Arith.a\_int}, \lean{Z7.Arith.a\_bound\_sharp}, \lean{Z7.Arith.a\_bound\_small}\\
Lemma~\ref{lem:B} & \lean{Arith.vge\_Hq}, \lean{Arith.vge\_Hq\_of\_lt}\\
Def.~\ref{def:Ep}, Prop.~\ref{prop:integral} & \lean{Z7.Arith.Ep}, \lean{Z7.Arith.D}, \lean{Z7.Arith.int\_rho}, \lean{Z7.Arith.int\_tau}\\
Props.~\ref{prop:smallprimes}, \ref{prop:decomp} & \lean{Z7.Arith.Ep\_sub\_le\_small}, \lean{Z7.Arith.small\_primes\_sum\_le}, \lean{Z7.Arith.log\_D\_sub\_le}\\
Prop.~\ref{prop:pointwise}, Lemma~\ref{lem:tail} & \lean{Z7.CertA.pointwise\_le\_eStar\_prime}, \lean{Z7.Esharp\_sub\_le\_eStar}, \lean{Z7.CertA.eStar\_le\_tail}\\
Lemma~\ref{lem:step} & \lean{Z7.CertA.eStar\_eq\_mid}, \lean{Z7.CertA.eStar\_isGreatest}\\
Prop.~\ref{prop:certA} & \lean{Z7.CertA.bodyUnits\_400}, \lean{Z7.CertA.certFact\_of\_units}\\
Lemma~\ref{lem:pnt-tail}, Prop.~\ref{prop:lemma5} & \lean{PNT.eventually\_primeSum\_lemma5\_le}, \lean{Z7.sharp\_of\_pointwise}, \lean{Z7.arith\_Z7}\\
prime number theorem & \lean{PNT.theta\_div\_tendsto}\\
Lemma~\ref{lem:trig} & \lean{Analytic.hasDerivAt\_kk}, \lean{Analytic.sin\_pow\_five\_mul\_kk4}, \lean{Analytic.T\_eq\_exp}\\
Prop.~\ref{prop:contour} & \lean{Analytic.hasSum\_cot\_eq\_line\_integral}, \lean{Analytic.integral\_line\_by\_parts4}, \lean{Z7.Analytic.L\_eq\_half\_line}\\
Lemma~\ref{lem:gamma}, Prop.~\ref{prop:integrand} & \lean{Z7.Analytic.RC\_eq\_En}, \lean{Z7.Analytic.Gfn\_eq\_PT}, \lean{Z7.Analytic.Pfun\_asymp}, \lean{Z7.Analytic.Gfn\_path}, \lean{Z7.Analytic.norm\_Gfn\_le}, \lean{Z7.Analytic.Gfn\_disc\_approx}\\
Thm.~\ref{thm:stirling}, Cor.~\ref{cor:stirling} & \lean{Stirling.norm\_J\_le}, \lean{Stirling.stirling\_scaled}\\
Thm.~\ref{thm:saddle} & \lean{Z7.Interval.Z7\_saddleData} (a term of the structure \lean{Z7.Analytic.SaddleData})\\
Lemmas~\ref{lem:deform}, \ref{lem:laplace} & \lean{Z7.Analytic.contour\_eq\_polyline\_Gfn}, \lean{Analytic.laplace\_bound}\\
Prop.~\ref{prop:asymp}, Cor.~\ref{cor:nonvan} & \lean{Z7.Analytic.nonvan\_of\_saddleData}, \lean{Z7.nonvan\_Z7}\\
Prop.~\ref{prop:size} & \lean{Z7.Analytic.size\_of\_saddleData}, \lean{Z7.size\_Z7}\\
Section~\ref{sec:proof} & \lean{exists\_irrational\_of\_small\_forms}, \lean{oneOfZeta7To21\_of\_forms}, \lean{Z7.oneOfZeta7To21\_of\_hyp}, \lean{Z7.oneOfZeta7To21\_of\_parts}, \lean{Z7.oneOfZeta7To21\_of\_certUnits}, \lean{Z7.oneOfZeta7To21}\\
\bottomrule
\end{tabular}
\caption{Formal counterparts of the main steps.}\label{tab:lean}
\end{table}
\subsection{Notes on the formal proof}\label{sec:lean-diff}
The formal proof is the proof of this paper. The following points are worth noting when reading the two side by
side.
\begin{itemize}
\item \emph{The analytic part} uses the four integrations by parts of Proposition~\ref{prop:contour}, not the kernel
split of Remark~\ref{rem:split}. There is no boundary term, and only Stirling's formula for $\log\Gamma$ is needed,
for shifts $\beta\in[0,2]$ (the factor list contains $\Gamma(z)$ and $\Gamma(z+\delta_jn)$, with $\beta=0$). The
start of the contour near the real axis is handled by (S5); no separate condition at the crossing point $x_c$ is
needed, because the integrand $G_n$ has no singular kernel.
\item \emph{The size of $L_n$} comes from the saddle point (Proposition~\ref{prop:size}), with
$\Vcert=-10.1167$; see Remark~\ref{rem:realaxis}.
\item \emph{Corollary~\ref{cor:A}(b$'$)} is proved without any condition on $p$, and only its integrality form is
used.
\item \emph{The pointwise bound} (Proposition~\ref{prop:pointwise}) holds for every prime $p\le n$.
\item \emph{Small primes.} Definition~\ref{def:Ep} uses $(S+4)\lambda_p$ (for Z7, $22\lambda_p$) and drops the
$e$-factor from $\nu_p(k)$; Proposition~\ref{prop:smallprimes} has the explicit constant $182$.
\item \emph{The tail.} Lemma~\ref{lem:tail} gives $e^*(x)\le S+14+G\{x\}$; the certificate uses the slightly larger
constant $S+15=33$, which costs $1/400$ in $\Acert$.
\item \emph{The event set} for Z7 has $30{,}138$ points, so the sum of Proposition~\ref{prop:certA} has $30{,}137$
terms.
\item \emph{The saddle certificate} uses its own steepest-descent contour (Theorem~\ref{thm:saddle}: $\rho=1/20$,
$23$ segments, $\etafar=0.0199414$, $a=1/100$, top ray from $\xtop\approx2.0512+12.0012i$), generated independently
of the Arb computation of Table~\ref{tab:certs}; the two enclosures of $\Re\Omega$ agree.
\end{itemize}
Further, as for the $\beta$-analogue, a few standard tools are organised differently because Mathlib (at the
version used) lacks them. Mathlib has no residue theorem, so the first equality of Proposition~\ref{prop:contour}
is proved by subtracting model principal parts at the integers $c