\documentclass[11pt]{amsart} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage{booktabs} \usepackage{array} \usepackage{graphicx} \usepackage{xcolor} \usepackage[margin=1in]{geometry} \usepackage[colorlinks=true,linkcolor=blue!50!black,citecolor=blue!50!black,urlcolor=blue!50!black]{hyperref} \newtheorem{theorem}{Theorem} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newtheorem{problem}[theorem]{Problem} \newcommand{\re}{\operatorname{Re}} \newcommand{\im}{\operatorname{Im}} \newcommand{\doi}[1]{\href{https://doi.org/#1}{doi:#1}} \title[The constant term in Cram\'er's mean-square theorem]{The constant term in Cram\'er's mean-square theorem for the primes.\\ Second-order asymptotics and limiting fluctuations of the prime energy} \author{Pedro Caceres} \address{Universidad Europea de Valencia, Valencia, Spain} \email{pedrojesus.caceres@universidadeuropea.es} \urladdr{https://orcid.org/0000-0002-6540-8993} \subjclass[2020]{Primary 11M26; Secondary 11N05, 11M06, 11K65, 11Y35} \keywords{Riemann zeta function, mean square of the prime number theorem error, cross-energy, almost periodic functions, limiting distributions, explicit formula, gaps between zeros, interval arithmetic} \date{November 2026} \setlength{\emergencystretch}{2em} \begin{document} \begin{abstract} Let $I(X)=\int_1^X(\psi(x)-x)^2x^{-2}\,dx$ be the energy of the primes. Under the Riemann hypothesis (RH) and simple zeros its slope is $C_B=2+\gamma_E-\log4\pi$ (Cram\'er). We study the next terms. Under RH, simple zeros and an additional spacing condition (H$^*$), $I(X)=C_B\log X+K+\Phi(\log X)+O(X^{-1/2})$, where $\Phi$ is an absolutely convergent almost periodic sum over pairs of zeros. The constant has a closed form without zeros, $K=\frac12C_B^2-C_B-\sigma_2+2(1+\gamma_E)\log2\pi-(\log4\pi-1)^2-1+2\sum_n\Lambda(n)\varphi(1/n)$, with $\sigma_2=\sum_\rho\rho^{-2}$ and $\varphi(y)=y-\operatorname{artanh}y-\frac y2\log(1-y^2)$; under RH, $K=2.512479790006\ldots$, certified to $6\cdot10^{-13}$ in interval arithmetic. Under RH and simple zeros alone, $K$ is the Ces\`aro mean in $\log X$ of $I(X)-C_B\log X$ if and only if $\sum_{0<|\gamma-\gamma'|<\varepsilon}|\rho\rho'|^{-1}=o(\varepsilon)$: a pair of zeros at distance $\lambda$ acts like a double zero for $\log X\ll1/\lambda$. Under (H$^*$), $I(X)-C_B\log X$ has a limiting logarithmic distribution with mean $K$ and variance $V$, an explicit double sum over zeros under linear independence, whose factors we check on finite sets of zeros; numerically $V=1.2502\cdot10^{-5}$ under LI. The primes up to $10^9$ agree with the zero side to $1.3\cdot10^{-5}$ (r.m.s.) and give $K=2.512484$. In the random models of the primes and of $\mu$ that we examine the median energy is $8$ to $150$ times larger. A Gaussian-window identity isolates the principal mode of each zero in the prime signal: a closed ellipse on the line, an expanding spiral off it. A final section assembles the slope, the intercept and the oscillation as one calibrated instrument, the energy gauge, with a multiplicity-meter reading of the slope and a ledger reading of the intercept, and runs it on the primes to $10^8$ beside $38$ zeros computed from scratch. \end{abstract} \maketitle \section{Introduction}\label{sec:intro} \subsection{Context} Let $X_n(s)=\sum_{k\le n}k^{-s}$, $s=\sigma+it$, and let \[ C_2(n,s)=|X_n(s)|^2-|X_{n-1}(s)|^2-n^{-2\sigma}=2\re\big(X_{n-1}(s)\,n^{-\bar s}\big) \] be the cross-energy of consecutive partial sums. The author's paper \cite{CE1} shows that $\lim_nC_2(n,s)$ is $1/(\frac14+t^2)$, $0$ or $+\infty$ according as $\sigma=\frac12$, $\sigma>\frac12$ or $\sigma<\frac12$ (Theorem~A, {\cite[Thm.~3.2]{CE1}}), and \cite{CE5} shows that the mean energy of the prime signal \[ E(u)=e^{-u/2}\Big(\psi(e^u)-e^u+\log2\pi+\tfrac12\log\big(1-e^{-2u}\big)\Big)=-\sum_\rho\frac{e^{(\rho-\frac12)u}}\rho \] is $\sum_\rho\lim_nC_2(n,\rho)$, at least $C_B=2+\gamma_E-\log4\pi=0.0461914\ldots$, with equality if and only if RH holds and all zeros are simple (Theorem~B and its corollary in {\cite[Sect.~2]{CE5}}). Throughout, $\rho=\beta+i\gamma$ runs over the nontrivial zeros of $\zeta$ with multiplicity, sums over zeros are taken in symmetric order unless they converge absolutely, $\gamma_E$ is Euler's constant and $\gamma_1$ the first Stieltjes constant, $\zeta(s)=\frac1{s-1}+\gamma_E-\gamma_1(s-1)+\cdots$. That result concerns the slope of the energy of the primes, \[ I(X)=\int_1^X\frac{(\psi(x)-x)^2}{x^2}\,dx=\int_0^{\log X}E_0(u)^2\,du,\qquad E_0(u)=e^{-u/2}\big(\psi(e^u)-e^u\big), \] whose asymptotic $I(X)\sim C_B\log X$ under RH is Cram\'er's theorem [Cr]. This paper studies what comes after the slope: the constant term and the oscillation of $I(X)$, the hypotheses they need, their limiting distribution, and the resolution of the prime signal into the modes of single zeros. The large values of short Dirichlet polynomials, which govern what the energy can say about zeros off the line and were treated in an earlier version of this paper, are now in \cite{CE7}. \subsection{Results} The results, with their hypotheses and status, are the following. \begin{enumerate} \item \emph{Second-order energy law} (Theorem~\ref{thm:K}; under RH, simplicity of the zeros and the additional spacing condition (H$^*$) of Sect.~\ref{sec:K}; proved): $I(X)=C_B\log X+K+\Phi(\log X)+O(X^{-1/2})$, with $\Phi$ an absolutely convergent trigonometric series over the differences $\gamma-\gamma'$ (Proposition~\ref{prop:abs}) and $K$ an explicit constant. The passage from finite sets of zeros to all zeros rests on two lemmas stated and proved here: the zero expansion converges in $L^2$ on bounded intervals (Lemma~\ref{lem:L2}, unconditional) and its energy in unit windows is bounded uniformly (Lemma~\ref{lem:window}, under RH). \item \emph{The constant without zeros} (Propositions~\ref{prop:Ksums} and~\ref{prop:K0}, Corollary~\ref{cor:Kval}; under RH; proved, and the value is certified in interval arithmetic): $K$ is given by a closed formula in $\gamma_E$, $\gamma_1$, $\log2\pi$, $\pi^2$ and a rapidly convergent sum over prime powers, and $K\in[2.512479790006\pm6\cdot10^{-13}]$. The trivial part of the explicit formula contributes $(\log4\pi-1)^2+1-\pi^2/12=2.5215682\ldots$; the interval $1\le x<2$ alone contributes exactly $1$. \item \emph{The strength of the spacing condition} (Sect.~\ref{subsec:Hstrength}; under RH and simple zeros, without (H$^*$); proved): $K$ is the Ces\`aro mean of $I(e^u)-C_Bu$ if and only if the weighted number of pairs of zeros at distance less than $\varepsilon$ is $o(\varepsilon)$ (Proposition~\ref{prop:cesaro}). A pair at distance $\lambda$ acts like a double zero on the scale $u\ll1/\lambda$, which is why some condition on small gaps is needed. If $I(e^u)-C_Bu-K$ is approximated in mean square by the truncations of $\Phi$, it has a limiting distribution without absolute convergence (Proposition~\ref{prop:B2}); under linear independence this approximation forces both a quadratic spacing condition (H$_2$) and the condition $\nu(\varepsilon)=o(\varepsilon)$ above, which are independent of each other. Whether the two together suffice is our main open problem (Problem~\ref{prob:main}). \item \emph{Limiting distribution} (Theorem~\ref{thm:dist}; under (H$^*$), and under the linear independence hypothesis LI for part~3; proved): $I(X)-C_B\log X$ has a limiting distribution in $\log X$ with mean $K$, variance $V=\sum_\lambda|a_\lambda|^2$ and support in $[K-H,K+H]$; under LI, $V$ is an explicit double sum over zeros. Its combinatorial factors are checked against a direct computation with $1$ to $5$ pairs of zeros (numerical). Numerically, under LI, $V=1.2502\cdot10^{-5}$; the truncation $V_{10^4}$ is a numerical lower bound, the part of the tail coming from pairs of distant zeros is bounded rigorously, and the part coming from close pairs only under an assumption on the gaps. The primes up to $10^9$ confirm the second-order law: the residual is $1.2$--$1.3\cdot10^{-5}$ (r.m.s.) and $K_{\rm primes}=2.512484$ (numerical). \item \emph{Comparison with random models} (Sect.~\ref{sec:random}, numerical): in Cram\'er's model the energy is $46$ to $150$ times that of the primes, and in random models of $\mu$ it is $6$ to $20$ (independent signs, smallest realization to median) and typically $8$ (random multiplicative functions) times that of $\mu$; no realization out of $100$ reaches the arithmetic value. After the zeros up to height $T$ are subtracted, the measured residual energy agrees with the contribution predicted from the zeros above $T$ to within $2\%$, for $50\le T\le10^4$; no additional stochastic component is detected at the precision and scales investigated. \item \emph{Principal modes of the zeros} (Proposition~\ref{prop:orbit} and Corollary~\ref{cor:orbit}, proved; Sect.~\ref{sec:orbits}): the Gaussian demodulation of the prime signal at the frequency $\gamma$ of a zero is an exact sum over all zeros; it splits into the principal mode of the zero itself, $-e^{(\beta-\frac12)u+(\beta-\frac12)^2s^2/2}/\rho$, and an interference term damped by $e^{-(\gamma'-\gamma)^2s^2/2}$, which we bound. The principal mode is a closed ellipse for a zero on the line and an expanding spiral off it; the measured orbit is that curve up to the interference. Computations with the primes up to $10^8$ and with the Davenport--Heilbronn function are numerical. \end{enumerate} \subsection{What is classical and what is new}\label{subsec:new} We separate three kinds of contribution. \emph{Known results, cited as such:} Cram\'er's theorem [Cr]; the equivalence of bounded mean energy with RH {\cite{CE5}}; the explicit formula and the Hadamard product [Da, In]; the theorem of Wintner and of Jessen and Wintner on limiting distributions of almost periodic functions [Wi35, ANS], and the fact that $B^2$-almost periodic functions have limiting distributions [ANS, Thm.~2.9]; the Montgomery--Vaughan inequalities [MV74]; Trudgian's bound for $N(T)$ [Tr14]. Lemmas~\ref{lem:L2}--\ref{lem:cross} are standard in nature; we prove them because the passage to the limit in Theorem~\ref{thm:K} depends on them. \emph{New results (proved here):} Theorem~\ref{thm:K} with its constant $K$; the closed formula of Proposition~\ref{prop:K0} and the certified value of $K$; Proposition~\ref{prop:cesaro}, which characterizes when $K$ is the Ces\`aro mean of the deviation without assuming (H$^*$); Proposition~\ref{prop:B2} (a direct consequence of [ANS, Thm.~2.9]); the identification of the mean and the explicit variance in Theorem~\ref{thm:dist} (the existence of the distribution under (H$^*$) is standard); the orbit identity of Proposition~\ref{prop:orbit} (elementary). \emph{New formulations of known objects:} the zero--zero part of $K$ as the second elementary symmetric function of the limits of $C_2$; the variance as a weighted Rodgers--Tao energy; the reading of single zeros through their principal modes. \emph{Numerical observations (reproducible, not theorems):} the values of $V$, the shape of the distribution, the agreement with the primes up to $10^9$, the comparison with random models, and the orbits and phases measured from the primes and from the Davenport--Heilbronn function. On priority: Brent, Platt and Trudgian [BPT] (and the related talks of Brent) study the mean square of the prime error and double sums over zeros, and give the leading term of the logarithmic mean but no constant term; Akbary, Ng and Shahabi [ANS] give general criteria for limiting distributions of the classical error terms, not this one. A targeted search did not find $K$, its closed form or the distribution of $I(X)-C_B\log X$; we cannot exclude that they appear elsewhere. The numbers $2.481$, $2.504$, $2.510$, $2.513$, $2.511$ reported in {\cite{CE18}} (in the remark on the signed form of the energy identity) for the difference between $I(N)$ and $C_B\log N$, $N=10^2,\dots,10^6$, are values of $K+\Phi(\log N)$. \subsection{Organization} Sect.~\ref{sec:setting} fixes notation and proves the three lemmas. Sect.~\ref{sec:K} contains the second-order law, the closed form of $K$ and the discussion of the spacing condition. Sect.~\ref{sec:fluct} treats the limiting distribution and its variance, Sect.~\ref{sec:random} the comparison with random models, and Sect.~\ref{sec:orbits} the principal modes of single zeros. Sect.~\ref{sec:disc} lists what is and is not achieved, and the open problems. \paragraph{Related work by the author.} This paper is Part~6 of the series \emph{Cross-Energy of Dirichlet Partial Sums} \cite{CE1}. It builds on \cite{CE1,CE4,CE5,CE7,CE8} (the cross-energy, the circles of the primes, the energy law of the primes, large values and the Euler product). The energy gauge of Section~\ref{sec:gauge} is used again for the Chebyshev race between the classes $6k\pm1$ in \cite{CE38}, and the controls are in \cite{CE46}. Each of these is a self-contained preprint; the present paper can be read without them. \section{Setting}\label{sec:setting} By the explicit formula [In, T], for $u>0$, \begin{equation}\label{eq:signal} \begin{gathered} E_0(u)=S(u)+r(u),\qquad S(u)=E(u)=-\sum_\rho\frac{e^{(\rho-\frac12)u}}\rho,\\ r(u)=-e^{-u/2}\Big(\log2\pi+\tfrac12\log\big(1-e^{-2u}\big)\Big), \end{gathered} \end{equation} the sum over zeros converging boundedly in symmetric order at points $e^u$ that are not prime powers. We use \eqref{eq:signal} only as the definition $S:=E_0-r$ on $(0,\infty)$ (as an element of $L^2_{\rm loc}$, so the values of $\psi$ at its jumps are irrelevant) and prove below the form of convergence that we need. The trivial part $r$ lies in $L^1\cap L^2(0,\infty)$ and $|r(u)|\le2e^{-u/2}$ for $u\ge1$. With $r(u)=\sum_{j\ge0}c_je^{(a_j-\frac12)u}$, $a_0=0$, $c_0=-\log2\pi$, $a_k=-2k$, $c_k=1/(2k)$ ($k\ge1$), its Laplace transform is \begin{equation}\label{eq:R} R(s)=\int_0^\infty r(u)e^{-(s-\frac12)u}\,du=\sum_{j\ge0}\frac{c_j}{s-a_j}=\frac1s\Big(\frac12\frac{\Gamma'}{\Gamma}\Big(1+\frac s2\Big)+\frac{\gamma_E}2-\log2\pi\Big), \end{equation} and the Mellin transform of the prime error is \begin{equation}\label{eq:mellin} \mathcal M(s):=\int_0^\infty E_0(u)e^{-(s-\frac12)u}\,du=-\frac{\zeta'(s)}{s\zeta(s)}-\frac1{s-1}=-\sum_\rho\frac1{\rho(s-\rho)}+R(s)\qquad(\re s>1), \end{equation} the last equality being the partial fraction expansion of $\zeta'/\zeta$ [Da, Ch.~12] divided by $s$; the series converges absolutely. We use two facts from {\cite[Sect.~2]{CE5}}. First, Theorem~B: in $[0,\infty]$, $\limsup_U\frac1U\int_0^UE(u)^2\,du=\sum_\rho\lim_nC_2(n,\rho)$ when the zeros are simple, the two sides are finite exactly under RH, and then both equal $\sum_\rho|\rho|^{-2}=C_B$. Second, the local energy law: for $U\in\mathbb R$ and $h>0$, \begin{equation}\label{eq:local} \frac1h\int_{-\infty}^\infty S(u)^2e^{-\pi(u-U)^2/h^2}\,du=\sum_{\rho,\rho'}\frac{e^{zU+z^2h^2/(4\pi)}}{\rho\,\overline{\rho'}},\qquad z=\rho+\overline{\rho'}-1, \end{equation} with absolute convergence. The energy matrix of the zeros, $M(U)_{\rho\rho'}=(\rho\bar\rho')^{-1}U^{-1}\int_0^Ue^{i(\gamma-\gamma')u}\,du$, whose diagonal consists of the limits $\lim_nC_2(n,\rho)=|\rho|^{-2}$ and whose trace is $C_B$, is also in {\cite[Sect.~2]{CE5}}; we refer to it below only to interpret the constant term. For a finite set $F$ of zeros let $S_F(u)=-\sum_{\rho\in F}e^{(\rho-\frac12)u}/\rho$, and let $F_T=\{\rho:|\gamma|1$, $\eta=\sigma_1-1$, and for zeros $\rho,\rho'$ let \[ J(\rho,\rho')=\frac1{|\rho||\rho'|}\int_{-\infty}^\infty\frac{dt}{|\sigma_1+it-\rho|\,|\sigma_1+it-\rho'|}. \] Unconditionally, $\sum_{\rho,\rho'}J(\rho,\rho')<\infty$, and for every finite set $F$ of zeros \[ \int_0^\infty|S(u)-S_F(u)|^2e^{-(2\sigma_1-1)u}\,du\le\frac1{2\pi}\sum_{\rho,\rho'\notin F}J(\rho,\rho'). \] Hence, for every $U>0$, $S_T\to S$ in $L^2(0,U)$ as $T\to\infty$, and $\int_0^US_T^2\to\int_0^US^2$. The same holds for any increasing sequence of finite sets exhausting the zeros. \end{lemma} \begin{proof} Put $f(u)=S(u)e^{-(\sigma_1-\frac12)u}$ for $u>0$ and $f(u)=0$ for $u\le0$. Since $|\psi(x)-x|\le x$ for $x\ge1$, $|E_0(u)|\le e^{u/2}$; and $r$ is in $L^1\cap L^2$. So $f\in L^1\cap L^2(\mathbb R)$, and by \eqref{eq:R} and \eqref{eq:mellin} its Fourier transform is \[ \hat f(t)=\int_0^\infty S(u)e^{-(\sigma_1-\frac12+it)u}\,du=\mathcal M(s)-R(s)=-\sum_\rho g_\rho(t),\qquad g_\rho(t)=\frac1{\rho(\sigma_1+it-\rho)},\quad s=\sigma_1+it. \] For the finite sum, $\int_0^\infty e^{(\rho-\frac12)u}e^{-(\sigma_1-\frac12+it)u}du=1/(s-\rho)$ because $\re(s-\rho)=\sigma_1-\beta>0$, so the transform of $f_F=S_Fe^{-(\sigma_1-\frac12)u}\mathbf 1_{u>0}$ is $-\sum_{\rho\in F}g_\rho$. By Plancherel and Tonelli, \[ \|f-f_F\|_2^2=\frac1{2\pi}\int\Big|\sum_{\rho\notin F}g_\rho(t)\Big|^2dt\le\frac1{2\pi}\sum_{\rho,\rho'\notin F}\int|g_\rho||g_{\rho'}|\,dt=\frac1{2\pi}\sum_{\rho,\rho'\notin F}J(\rho,\rho'), \] which is the inequality. For the convergence of $\sum J$: $|\sigma_1+it-\rho|\ge\max(\eta,|t-\gamma|)\ge\frac12(\eta+|t-\gamma|)$, and with $d=|\gamma-\gamma'|$, splitting the integral at the midpoint of $\gamma$ and $\gamma'$, \[ \int_{-\infty}^\infty\frac{dt}{(\eta+|t-\gamma|)(\eta+|t-\gamma'|)}\le\frac{4\log(1+d/(2\eta))+2}{\eta+d/2}. \] Hence $J(\rho,\rho')\ll_\eta\log(2+d)/((1+d)|\rho||\rho'|)$. Since a unit interval at height $t$ contains $\ll\log(|t|+2)$ ordinates, the sum over $\rho'$ is $\ll\log^3(|\gamma|+2)/(|\gamma|+1)$, as in the proof of Proposition~\ref{prop:abs} below, and $\sum_\rho\log^3(|\gamma|+2)/|\gamma|^2<\infty$. The tail of a convergent double series of nonnegative terms tends to $0$ along any exhaustion; finally $\int_0^U|S-S_F|^2\le e^{(2\sigma_1-1)U}\|f-f_F\|_2^2$, and $\big|\|S_T\|^2_{L^2(0,U)}-\|S\|^2_{L^2(0,U)}\big|\le\|S_T-S\|_{L^2(0,U)}\big(\|S_T\|_{L^2(0,U)}+\|S\|_{L^2(0,U)}\big)$. \end{proof} Status: proved, unconditional. Under RH, $S_F(u)=-\sum_{\rho\in F}e^{i\gamma u}/\rho$ is defined for all real $u$, and it is real when $F$ is closed under conjugation. \begin{lemma}[uniform window energy]\label{lem:window} Assume RH, and let $M=\sum_{\rho,\rho'}e^{-(\gamma-\gamma')^2/(4\pi)}/(|\rho||\rho'|)$. Then $M<\infty$, and for every finite set $F$ of zeros and every $V\in\mathbb R$, \[ \int_V^{V+1}|S_F(u)|^2\,du\le e^{\pi/4}M ; \] the same bound holds for $S$ on $[V,V+1]$, $V\ge0$. \end{lemma} \begin{proof} Since $\int e^{i\lambda u}e^{-\pi(u-V')^2}du=e^{i\lambda V'-\lambda^2/(4\pi)}$, for $V'=V+\frac12$ \[ \int_{-\infty}^\infty|S_F(u)|^2e^{-\pi(u-V')^2}du=\sum_{\rho,\rho'\in F}\frac{e^{i(\gamma-\gamma')V'-(\gamma-\gamma')^2/(4\pi)}}{\rho\,\bar\rho'}\le M, \] and the weight is at least $e^{-\pi/4}$ on $[V,V+1]$. For fixed $\rho$, the zeros $\rho'$ in unit windows at distance $j$ from $\gamma$ number $\ll\log(|\gamma|+j+2)$ and carry the factor $e^{-j^2/(4\pi)}$, so $\sum_{\rho'}e^{-(\gamma-\gamma')^2/(4\pi)}/|\rho'|\ll\log(|\gamma|+2)/(|\gamma|+1)$ and $M\ll\sum_\rho\log(|\gamma|+2)/|\gamma|^2<\infty$. For $S$ use Lemma~\ref{lem:L2} on $[V,V+1]$. \end{proof} Status: proved, under RH. It is the case $h=1$ of \eqref{eq:local} written for finite sets of zeros, which is what makes the bound uniform in $F$. \begin{lemma}[the cross term]\label{lem:cross} Assume RH. Then $\int_0^\infty|S(u)r(u)|\,du<\infty$; for $U\ge1$, \[ \int_U^\infty|S(u)r(u)|\,du\le\sum_{j\ge0}\Big(\int_{U+j}^{U+j+1}S^2\Big)^{1/2}\Big(\int_{U+j}^{U+j+1}r^2\Big)^{1/2}\le\frac{2e^{\pi/8}M^{1/2}}{1-e^{-1/2}}\,e^{-U/2}; \] and $\int_0^\infty S(u)r(u)\,du=-\sum_\rho R(1-\rho)/\rho$, where the series converges absolutely. \end{lemma} \begin{proof} The first inequality is Cauchy--Schwarz on each interval $[U+j,U+j+1]$; the second follows from Lemma~\ref{lem:window} and $|r(u)|\le2e^{-u/2}$ for $u\ge1$. On $(0,1)$, $\int_0^1|Sr|\le\|S\|_{L^2(0,1)}\|r\|_{L^2(0,1)}<\infty$. For $F=F_T$, $\int_0^\infty S_Fr=-\sum_{\rho\in F}R(1-\rho)/\rho$, because $r\in L^1$ and $\int_0^\infty e^{i\gamma u}r(u)\,du=R(\frac12-i\gamma)=R(1-\rho)$ under RH. For $U\ge1$, by Lemma~\ref{lem:L2} and the bound just proved, which holds for $S_F$ and for $S$ with the same constant, \[ \Big|\int_0^\infty(S-S_F)r\Big|\le\|S-S_F\|_{L^2(0,U)}\|r\|_2+\frac{4e^{\pi/8}M^{1/2}}{1-e^{-1/2}}e^{-U/2}; \] letting $T\to\infty$ and then $U\to\infty$ gives the identity. From \eqref{eq:R} and $\frac{\Gamma'}\Gamma(z)=\log z+O(1/|z|)$ in $\re z\ge1$, $|R(\frac12+it)|\ll\log(|t|+2)/(|t|+1)$, so $\sum_\rho|R(1-\rho)/\rho|\ll\sum_\rho\log(|\gamma|+2)/|\gamma|^2<\infty$. \end{proof} Status: proved, under RH. \section{The constant term and the oscillation of the energy}\label{sec:K} The hypothesis of Theorem~\ref{thm:K} is \begin{equation*}\tag{H$^*$}\label{eq:H} \text{RH holds, all zeros are simple, and}\qquad\sum_\rho\frac{\log(|\gamma|+2)}{|\rho|^2\,\delta_\rho}<\infty . \end{equation*} The spacing condition in \eqref{eq:H} does not follow from RH and simplicity; Sect.~\ref{subsec:Hstrength} discusses its strength and what survives without it. Write \begin{equation}\label{eq:Phi} \Phi(u)=\sum_{\rho\ne\rho'}c_{\rho\rho'}\,e^{i(\gamma-\gamma')u},\qquad c_{\rho\rho'}=\frac1{i(\gamma-\gamma')\,\rho\,\bar\rho'},\qquad H=\sum_{\rho\ne\rho'}|c_{\rho\rho'}| . \end{equation} \begin{proposition}\label{prop:abs} Under \eqref{eq:H}, $H<\infty$. Hence $\Phi$ is a uniformly convergent trigonometric series, and in particular a Bohr almost periodic function with mean zero and $|\Phi|\le H$. \end{proposition} \begin{proof} Fix $\rho$ with $|\gamma|$ large and split the sum over $\rho'$. For $|\gamma-\gamma'|\ge1$, the Riemann--von Mangoldt formula gives $\sum_{\rho'}|\gamma-\gamma'|^{-1}|\rho'|^{-1}\ll\log^2|\gamma|/|\gamma|$: the zeros with $|\gamma'|\le|\gamma|/2$ or $|\gamma'|\ge2|\gamma|$ contribute $\ll\log^2|\gamma|/|\gamma|$, and those with $\frac12|\gamma|<|\gamma'|<2|\gamma|$ contribute $\ll|\gamma|^{-1}\sum_{1\le k\le2|\gamma|}k^{-1}\log|\gamma|$. For $|\gamma-\gamma'|<1$ there are $O(\log|\gamma|)$ zeros, each contributing at most $\delta_\rho^{-1}|\rho'|^{-1}\ll\delta_\rho^{-1}|\gamma|^{-1}$. Multiplying by $|\rho|^{-1}$ and summing over $\rho$, \[ H\ll\sum_\rho\frac{\log^2(|\gamma|+2)}{|\gamma|^2}+\sum_\rho\frac{\log(|\gamma|+2)}{|\gamma|^2\delta_\rho}<\infty . \] Since the zeros are simple, $\gamma=\gamma'$ with $\rho\ne\rho'$ is impossible, so $\Phi$ has no constant term. \end{proof} Status: proved. Truncated to the zeros below height $600$, $3000$ and $10^4$, the sum is $0.136$, $0.179$ and $0.195$ (\texttt{variance.py}); all its terms are positive, so these are lower bounds for $H$, and the tail decays slowly. \begin{theorem}[second-order energy law]\label{thm:K} Assume \eqref{eq:H}. Then, with $u=\log X$, \[ I(X)=C_B\,u+K+\Phi(u)+O\big(e^{-u/2}\big), \] where $\Phi$ is given by \eqref{eq:Phi} and \begin{equation}\label{eq:K} K=\frac12\Big(C_B^2-\sum_\rho\frac1{|\rho|^4}\Big)-2\sum_\rho\frac{R(1-\rho)}\rho+\frac1{2\pi}\int_{-\infty}^\infty\big|R(\tfrac12+it)\big|^2\,dt . \end{equation} \end{theorem} \begin{proof} By \eqref{eq:signal}, $I(e^U)=\int_0^US^2+2\int_0^USr+\int_0^Ur^2$. \emph{The trivial part.} Since $r\in L^2(0,\infty)$, Plancherel's theorem for the Laplace transform on $\re s=\frac12$ gives $\int_0^\infty r^2=\frac1{2\pi}\int|R(\frac12+it)|^2dt$, and $\int_U^\infty r^2\le4e^{-U}$ for $U\ge1$, since $|r(u)|\le2e^{-u/2}$ there. \emph{The cross term.} By Lemma~\ref{lem:cross}, $\int_0^USr=\int_0^\infty Sr+O(e^{-U/2})$ and $2\int_0^\infty Sr=-2\sum_\rho R(1-\rho)/\rho$. \emph{The zero part.} For a finite set $F$ of zeros closed under conjugation, $S_F$ is real and \[ \int_0^US_F^2\,du=\int_0^U\Big|\sum_{\rho\in F}\frac{e^{i\gamma u}}\rho\Big|^2du=U\sum_{\rho\in F}\frac1{|\rho|^2}+\sum_{\substack{\rho\ne\rho'\\\rho,\rho'\in F}}\frac{e^{i(\gamma-\gamma')U}-1}{i(\gamma-\gamma')\,\rho\,\bar\rho'} . \] Take $F=F_T$ and let $T\to\infty$ with $U$ fixed. The left side tends to $\int_0^US^2$ by Lemma~\ref{lem:L2}. On the right, $\sum_{F_T}|\rho|^{-2}\to C_B$, and by Proposition~\ref{prop:abs} the double sum converges absolutely, so it tends to $\Phi(U)-\sum_{\rho\ne\rho'}c_{\rho\rho'}$. In the constant part the terms $(\rho,\rho')$ and $(\rho',\rho)$ add up to \[ -\frac1{i(\gamma-\gamma')}\Big(\frac1{\rho\bar\rho'}-\frac1{\rho'\bar\rho}\Big)=-\frac{2\im(1/\rho\bar\rho')}{\gamma-\gamma'}=\frac1{|\rho|^2|\rho'|^2}, \] since $\im(1/\rho\bar\rho')=\im(\bar\rho\rho')/(|\rho|^2|\rho'|^2)=(\gamma'-\gamma)/(2|\rho|^2|\rho'|^2)$ when $\beta=\beta'=\frac12$. Hence the constant part is the sum of $|\rho|^{-2}|\rho'|^{-2}$ over unordered pairs of distinct zeros, which is $\frac12\big((\sum_\rho|\rho|^{-2})^2-\sum_\rho|\rho|^{-4}\big)=\frac12(C_B^2-\sum_\rho|\rho|^{-4})$. Adding the three parts proves the theorem. \end{proof} Status: under RH, simplicity of the zeros and the spacing condition of \eqref{eq:H}; proved. The leading term is Cram\'er's [Cr]. Only the oscillating part $\Phi$ uses the spacing condition: the three terms of $K$ are defined, and Lemmas~\ref{lem:L2}--\ref{lem:cross} hold, under RH alone (the zero--zero term is an absolutely convergent sum over unordered pairs). In the language of {\cite{CE5}}, the constant $\frac12(C_B^2-\sum|\rho|^{-4})$ is the second elementary symmetric function of the limits $\lim_nC_2(n,\rho)$: it is what the off-diagonal entries of the energy matrix $M(U)$, decaying like $1/U$, leave after integration in time, and their oscillating remainder is $\Phi$. \begin{remark}[the Montgomery--Vaughan inequality]\label{rem:MV} The generalized Hilbert inequality of Montgomery and Vaughan [MV74], $|\sum_{m\ne n}a_m\bar a_n/(\lambda_m-\lambda_n)|\le\frac{3\pi}2\sum_n|a_n|^2\delta_n^{-1}$, applied with $a_\rho=e^{i\gamma u}/\rho$, bounds every finite truncation of $\Phi$ uniformly: $|\Phi_T(u)|\le\frac{3\pi}2\sum_\rho|\rho|^{-2}\delta_\rho^{-1}$. This is how the second-order law was first stated, with the weaker hypothesis $\sum_\rho|\rho|^{-2}\delta_\rho^{-1}<\infty$ and a proof in outline. The inequality alone does not show that the truncations converge uniformly, because the cross terms between a fixed set of zeros and the zeros added at a larger height are not bounded by the tail of $\sum|\rho|^{-2}\delta_\rho^{-1}$. We therefore assume \eqref{eq:H}, which gives absolute convergence; removing the logarithm is open problem~2 of Sect.~\ref{sec:disc}. \end{remark} \subsection{The value of \texorpdfstring{$K$}{K}} We first write the three terms of \eqref{eq:K} as convergent sums, stating the conventions of convergence, and then remove the zeros altogether. \begin{proposition}[$K$ from three sums]\label{prop:Ksums} Let $G(a)=\sum_\rho\frac1{\rho(a-\rho)}$ for $a>1$, an absolutely convergent series. Unconditionally, \begin{equation}\label{eq:G} G(a)=\frac1a\Big(\frac{C_B}2+\frac{\xi'}{\xi}(a)\Big),\qquad\frac{\xi'}{\xi}(a)=\frac1a+\frac1{a-1}-\frac12\log\pi+\frac12\frac{\Gamma'}{\Gamma}\Big(\frac a2\Big)+\frac{\zeta'}{\zeta}(a), \end{equation} and $G(1):=\sum_\rho\frac1{\rho(1-\rho)}=C_B$. Moreover \begin{equation}\label{eq:cross} -2\sum_\rho\frac{R(1-\rho)}\rho=2C_B\log2\pi-\sum_{k\ge1}\frac{G(1+2k)}k, \end{equation} and, unconditionally, \begin{equation}\label{eq:triv} \frac1{2\pi}\int_{-\infty}^\infty\big|R(\tfrac12+it)\big|^2dt=\sum_{j,l\ge0}\frac{c_jc_l}{1-a_j-a_l}=\log^22\pi-\log2\pi\sum_{k\ge1}\frac1{k(2k+1)}+\sum_{k,l\ge1}\frac1{4kl(2k+2l+1)} . \end{equation} \end{proposition} \begin{proof} \emph{Conventions.} The Hadamard product $\xi(s)=e^{A+Bs}\prod_\rho(1-s/\rho)e^{s/\rho}$ of $\xi(s)=\frac12s(s-1)\pi^{-s/2}\Gamma(\frac s2)\zeta(s)$ gives \[ \frac{\xi'}\xi(s)=B+\sum_\rho\Big(\frac1{s-\rho}+\frac1\rho\Big), \] an absolutely convergent series, since its terms are $s/(\rho(s-\rho))\ll_s|\gamma|^{-2}$; here $B=-\frac12\gamma_E-1+\frac12\log4\pi=-\frac{C_B}2$ and $B=-\sum_\rho\re(1/\rho)$ [Da, Ch.~12]. The series $\sum_\rho1/\rho$ does not converge absolutely, since $\sum_\rho|\rho|^{-1}=\infty$. In symmetric order it converges: the terms of $\rho$ and $\bar\rho$ add up to $2\re(1/\rho)=2\beta/|\rho|^2\ge0$, so $\sum_{|\gamma|a}\gamma^{-2}\ll a^{-1}\log a$, and $\sum_kk^{-2}\log^2k<\infty$. With $G(1)=C_B$ this gives \eqref{eq:cross}. \emph{\eqref{eq:triv}.} $\int_0^\infty r^2=\sum_{j,l}c_jc_l\int_0^\infty e^{(a_j+a_l-1)u}du$ (the double series of $|c_jc_l|e^{(a_j+a_l-1)u}$ is integrable), and Plancherel gives the first form. \end{proof} Status: proved. The two series over $k$ converge only like $(\log k)/k$; truncated at $k\le4000,\dots,64000$ they give $-0.009606,\dots,-0.010075$ for \eqref{eq:cross} and $2.521224,\dots,2.521536$ for \eqref{eq:triv}, and Richardson extrapolation gave $K=2.512480$. The next proposition replaces these sums by a formula without zeros that converges like $\sum_nn^{-3}\log n$. \begin{proposition}[$K$ without zeros]\label{prop:K0} Assume RH. Let $\sigma_2=\sum_\rho\rho^{-2}$ (an absolutely convergent series), $\varphi(y)=\sum_{k\ge1}\frac{y^{2k+1}}{2k(2k+1)}=y-\operatorname{artanh}y-\frac y2\log(1-y^2)$ for $0\le y<1$, and $P=\sum_{n\ge2}\Lambda(n)\varphi(1/n)$. Then \begin{align} \sigma_2&=1+\gamma_E^2+2\gamma_1-\frac{\pi^2}8,\qquad\frac12\Big(C_B^2-\sum_\rho\frac1{|\rho|^4}\Big)=\frac{C_B^2}2-C_B-\sigma_2,\label{eq:K0a}\\ \int_0^\infty r^2&=(\log4\pi-1)^2+1-\frac{\pi^2}{12},\label{eq:K0b}\\ 2\int_0^\infty Sr&=-2\sum_\rho\frac{R(1-\rho)}\rho=2(1+\gamma_E)\log2\pi-\frac{\pi^2}{12}+2P-2\int_0^\infty r^2,\label{eq:K0c} \end{align} and consequently \begin{equation}\label{eq:K0} K=\frac{C_B^2}2-C_B-\sigma_2+2(1+\gamma_E)\log2\pi-(\log4\pi-1)^2-1+2\sum_{n\ge2}\Lambda(n)\varphi(1/n). \end{equation} \end{proposition} \begin{proof} \emph{\eqref{eq:K0a}.} Differentiating the Hadamard expansion of $\xi'/\xi$ gives $(\xi'/\xi)'(s)=-\sum_\rho(s-\rho)^{-2}$, so $\sigma_2=-(\xi'/\xi)'(0)=-(\xi'/\xi)'(1)$, the second equality by $\xi(s)=\xi(1-s)$. From \eqref{eq:G}, $(\xi'/\xi)'(s)=-s^{-2}-(s-1)^{-2}+\frac14(\Gamma'/\Gamma)'(\frac s2)+(\zeta'/\zeta)'(s)$, and the Laurent expansion $\zeta'/\zeta(s)=-\frac1{s-1}+\gamma_E-(\gamma_E^2+2\gamma_1)(s-1)+\cdots$ together with $(\Gamma'/\Gamma)'(\frac12)=\pi^2/2$ gives $(\xi'/\xi)'(1)=-1+\frac{\pi^2}8-\gamma_E^2-2\gamma_1$. Under RH $1-\rho=\bar\rho$, so $|\rho|^{-2}=\frac1{\rho(1-\rho)}=\frac1\rho+\frac1{1-\rho}$ and \[ \sum_\rho\frac1{|\rho|^4}=\sum_\rho\frac1{\rho^2}+\sum_\rho\frac1{(1-\rho)^2}+2\sum_\rho\frac1{\rho(1-\rho)}=2\sigma_2+2C_B, \] using the bijection $\rho\mapsto1-\rho$ of the zeros and $G(1)=C_B$; all three series converge absolutely. \emph{\eqref{eq:K0b}.} In \eqref{eq:triv}, $\sum_k\frac1{k(2k+1)}=\sum_k\big(\frac1k-\frac2{2k+1}\big)=2-2\log2$, and since $\frac1{2k+2l+1}=\int_0^1x^{2k+2l}dx$, \[ \sum_{k,l\ge1}\frac1{kl(2k+2l+1)}=\int_0^1\log^2(1-x^2)\,dx=8-8\log2+4\log^22-\frac{\pi^2}3, \] from $\int_0^1\log^2(1-x)dx=2$, $\int_0^1\log^2(1+x)dx=2\log^22-4\log2+2$ and $\int_0^1\log(1-x)\log(1+x)dx=2-2\log2+\log^22-\frac{\pi^2}6$. Hence $\int_0^\infty r^2=\log^22\pi-2(1-\log2)\log2\pi+(1-\log2)^2+1-\frac{\pi^2}{12}$, which is \eqref{eq:K0b}. \emph{\eqref{eq:K0c}.} The first equality is Lemma~\ref{lem:cross}. Since $S=E_0-r$ and all the integrals converge absolutely, $\int_0^\infty Sr=\int_0^\infty E_0r-\int_0^\infty r^2$. Expand $r=\sum_jc_je^{(a_j-\frac12)u}$. For $j=k\ge1$, $\int_0^\infty E_0(u)e^{-(2k+\frac12)u}du=\mathcal M(2k+1)$ by \eqref{eq:mellin}, and termwise integration is justified by $|E_0(u)|\le e^{u/2}$ and $\sum_k\frac1{2k}\int_0^\infty e^{-2ku}du<\infty$. For $j=0$, $\int_0^\infty E_0(u)e^{-u/2}du=\int_1^\infty(\psi(x)-x)x^{-2}dx$ converges absolutely under RH, so by dominated convergence it equals $\lim_{s\to1^+}\mathcal M(s)=\lim_{s\to1^+}\big(-\frac{\zeta'}{s\zeta}(s)-\frac1{s-1}\big)=-1-\gamma_E$. Therefore \[ \int_0^\infty E_0r=(1+\gamma_E)\log2\pi+\sum_{k\ge1}\frac1{2k}\Big(\frac{-\zeta'/\zeta(2k+1)}{2k+1}-\frac1{2k}\Big)=(1+\gamma_E)\log2\pi-\frac{\pi^2}{24}+\sum_{n\ge2}\Lambda(n)\sum_{k\ge1}\frac{n^{-2k-1}}{2k(2k+1)}, \] and the inner sum is $\varphi(1/n)$ (from $\sum_k\frac{y^{2k+1}}{2k}=-\frac y2\log(1-y^2)$ and $\sum_k\frac{y^{2k+1}}{2k+1}=\operatorname{artanh}y-y$). This is \eqref{eq:K0c}. Finally, \eqref{eq:K} is the sum of \eqref{eq:K0a}, \eqref{eq:K0c} and \eqref{eq:K0b}, and $-\frac{\pi^2}{12}$ cancels. \end{proof} Status: under RH; proved. RH enters twice: in $|\rho|^2=\rho(1-\rho)$, which turns $\sum|\rho|^{-4}$ into the Keiper constant $\sigma_2$, and in the absolute convergence of $\int_1^\infty(\psi(x)-x)x^{-2}dx$ used for the term $j=0$ (which converges also unconditionally, by the prime number theorem). The sum $P$ converges like $\sum_nn^{-3}\log n$, and $0\le\varphi(y)\le y^3/(6(1-y^2))$. \begin{corollary}[the value of $K$]\label{cor:Kval} Assume RH. Then \[ K\in[2.512479790006\pm6\cdot10^{-13}], \] with zero--zero term $0.00102972290885806\ldots$, cross term $-0.010118144286\ldots$ and trivial term $2.52156821138377\ldots$; moreover $\sum_\rho|\rho|^{-4}=7.42012728749\ldots\cdot10^{-5}$ and $\sigma_2=-0.0461543172958\ldots$. \end{corollary} \begin{proof} Evaluate \eqref{eq:K0} in ball arithmetic (Arb [Jo], $128$ bits; $\gamma_1$ from Arb's Stieltjes constants). $P$ is summed exactly over the prime powers $n\le N_0=10^6$, and the tail satisfies $0\le\sum_{n>N_0}\Lambda(n)\varphi(1/n)\le\frac{1}{6(1-N_0^{-2})}\sum_{n>N_0}\Lambda(n)n^{-3}\le\frac{1.5583}{6(1-N_0^{-2})N_0^2}$, by partial summation and $\psi(x)<1.03883x$ [RS62]. \end{proof} Status: computer-assisted, under RH (\texttt{K\_closed\_form\_arb.py}, one minute). The value agrees with the truncations of Proposition~\ref{prop:Ksums}: the trivial term $2.5215682$ is the limit of the values $2.521224,\dots,2.521536$ above, whose errors decrease like $1/k$, and similarly for the cross term $-0.0101181$; and $\sum_{|\gamma|<10^4}|\rho|^{-4}$ computed from the $10142$ zeros below height $10^4$, plus its tail, agrees with $2\sigma_2+2C_B$ to about $5\cdot10^{-13}$. It also agrees with $K_{\rm primes}=2.512484$ from the primes up to $10^9$ (Sect.~\ref{subsec:1e9}) to $4\cdot10^{-6}$, the size of the oscillation $\Phi$ left in that mean. \begin{remark}[what $K$ is made of]\label{rem:Kparts} The constant is almost entirely the contribution of the trivial part of the explicit formula: the interval $1\le x<2$, where $\psi=0$ and the integrand is $1$, contributes exactly $1$ to $I(X)$ for every $X\ge2$, and the trivial term is $(\log4\pi-1)^2+1-\pi^2/12$. The nontrivial zeros contribute only $0.0010297-0.0101181=-0.0090884$, of which the zero--zero part is the second elementary symmetric function of the $C_2$ limits. In \eqref{eq:K0} the primes enter only through the rapidly convergent $P=0.029014156649\ldots$, to which $n=2$ and $n=3$ contribute $0.0157$ and $0.0070$. \end{remark} \begin{figure}[htbp]\centering\includegraphics[width=\textwidth]{Energy_constant_K.png} \caption{The oscillation of the prime energy. Top: $I(X)-C_B\log X-K$ from the primes up to $10^7$ (line) and $\Phi(\log X)$ from the zeros with $0<\gamma<600$ (dashed). Bottom: their difference.}\label{fig:K}\end{figure} From the primes, $I(X)-C_B\log X$ equals $2.5038$, $2.5104$, $2.5133$, $2.5110$, $2.5113$, $2.5114$, $2.5112$ at $X=10^3,10^4,\dots,10^9$; the values for $X\le10^6$ are those of {\cite{CE18}}. The deviations from $K$ are the oscillation $\Phi$. On the decades from $[10^3,10^4]$ to $[10^6,10^7]$ the correlation of $I(X)-C_B\log X-K$ with $\Phi(\log X)$ computed from the $341$ zeros with $0<\gamma<600$ is $0.979$, $0.995$, $0.999$, $0.999$, and the r.m.s.\ residual decreases from $1.7\cdot10^{-3}$ to $1.2\cdot10^{-4}$ (Figure~\ref{fig:K}). Status: numerical (\texttt{QX.py}, \texttt{Phi.py}, \texttt{figphi.py}; \texttt{primes\_1e9.py}). Sect.~\ref{subsec:1e9} extends the comparison to $10^9$. \subsection{On the strength of the spacing assumption}\label{subsec:Hstrength} Theorem~\ref{thm:K} rests on RH, on the simplicity of the zeros, and on the spacing condition $\sum_\rho\log(|\gamma|+2)|\rho|^{-2}\delta_\rho^{-1}<\infty$. The first two are needed already at first order: the slope is $C_B$ exactly when they hold {\cite[Sect.~2]{CE5}}. The third is an additional assumption. It does not follow from RH and simplicity, and nothing is known about it: there is no lower bound for the gaps $\delta_\rho$, even under RH, and the simplicity of all zeros is itself unknown. We ask three questions. \emph{(a) What would imply \eqref{eq:H}?} Any bound $\delta_\rho\gg|\gamma|^{-1+\varepsilon}$, together with RH and simplicity. Heuristically \eqref{eq:H} is expected: under the GUE model the density of normalized gaps vanishes quadratically at $0$, so the expected value of $\delta_\rho^{-1}$ at height $\gamma$ is of order $\log\gamma$, the expected size of the sum in \eqref{eq:H} is of order $\sum_\rho\log^2\gamma/\gamma^2<\infty$, and the smallest gaps up to height $T$ are expected to be of size $T^{-1/3+o(1)}$. This is a heuristic, not a proof. \emph{(b) What weaker condition gives the constant $K$?} For ordered pairs of distinct zeros put \[ \nu(\varepsilon)=\sum_{\substack{\rho\ne\rho'\\0<|\gamma-\gamma'|<\varepsilon}}\frac1{|\rho||\rho'|}\qquad(0<\varepsilon\le1). \] By the Riemann--von Mangoldt formula $\nu(1)<\infty$ unconditionally. \begin{proposition}[the constant as a Ces\`aro mean]\label{prop:cesaro} Assume RH and that the zeros are simple. Then for $U\ge1$ \[ \frac1U\int_0^U\mathcal D(u)\,du=K+\mathcal E(U)+O\Big(\frac1U\Big),\qquad\mathcal E(U)=\sum_{\{\rho,\rho'\}}\frac{2}{(\gamma-\gamma')^2U}\re\Big(\frac{1-e^{i(\gamma-\gamma')U}}{\rho\,\bar\rho'}\Big), \] where $K$ is the constant \eqref{eq:K} and the sum runs over unordered pairs of distinct zeros and converges absolutely. Moreover $\mathcal E(U)\to0$ if and only if $\nu(\varepsilon)=o(\varepsilon)$ as $\varepsilon\to0$. Hence $\lim_{U\to\infty}\frac1U\int_0^U(I(e^u)-C_Bu)\,du=K$ if and only if $\nu(\varepsilon)=o(\varepsilon)$. \end{proposition} \begin{proof} By \eqref{eq:signal} and Lemma~\ref{lem:cross}, $\mathcal D(u)=\int_0^uS^2-C_Bu+(K-Z)+\epsilon(u)$ with $Z=\frac12(C_B^2-\sum|\rho|^{-4})$, $\epsilon(u)=-2\int_u^\infty Sr-\int_u^\infty r^2$, $|\epsilon(u)|\ll e^{-u/2}$ for $u\ge1$ and $\epsilon$ bounded on $[0,1]$; so the mean of $\epsilon$ over $[0,U]$ is $O(1/U)$. Next, $\frac1U\int_0^U\int_0^uS^2\,dv\,du=\int_0^U(1-\frac vU)S(v)^2dv$. For a finite set $F$ closed under conjugation, with $\lambda=\gamma-\gamma'$ and $\int_0^U(1-\frac vU)e^{i\lambda v}dv=-\frac1{i\lambda}+\frac{1-e^{i\lambda U}}{\lambda^2U}$ for $\lambda\ne0$, \[ \int_0^U\Big(1-\frac vU\Big)S_F^2\,dv=\frac U2\sum_{\rho\in F}\frac1{|\rho|^2}+Z_F+\sum_{\substack{\rho\ne\rho'\\\rho,\rho'\in F}}\frac{1-e^{i\lambda U}}{\lambda^2U\,\rho\bar\rho'}, \] where $Z_F$ is the sum of $|\rho|^{-2}|\rho'|^{-2}$ over unordered pairs in $F$, by the computation in the proof of Theorem~\ref{thm:K}. Combining the ordered pairs $(\rho,\rho')$ and $(\rho',\rho)$, the last sum is the sum over unordered pairs of $\frac2{\lambda^2U}\re((1-e^{i\lambda U})A)$, $A=1/(\rho\bar\rho')$. Under RH, $\re A=(\frac14+\gamma\gamma')/(|\rho|^2|\rho'|^2)$, $|A|=1/(|\rho||\rho'|)$ and $\im A=-\lambda/(2|\rho|^2|\rho'|^2)$, so \[ \frac2{\lambda^2U}\big|\re((1-e^{i\lambda U})A)\big|\le\frac{2(1-\cos\lambda U)}{\lambda^2U}\,|\re A|+\frac{2|\sin\lambda U|}{\lambda^2U}\,|\im A|\le\frac{\min(4/(\lambda^2U),\,U)}{|\rho||\rho'|}+\frac{\min(1,\,1/(|\lambda|U))}{|\rho|^2|\rho'|^2}. \] For fixed $U$ the right side is summable over all pairs: the pairs with $|\lambda|<1$ give at most $U\nu(1)$, the others $\frac4U\sum_{|\lambda|\ge1}\lambda^{-2}|\rho\rho'|^{-1}<\infty$, and $\sum|\rho|^{-2}|\rho'|^{-2}=C_B^2$. Taking $F=F_T$, $T\to\infty$, Lemma~\ref{lem:L2} and dominated convergence give the formula for $\frac1U\int_0^U\mathcal D$, since $\frac U2C_B$ cancels the mean of $C_Bu$. Now let $U\to\infty$. The terms $\frac{2\sin(\lambda U)}{\lambda^2U}\im A$ are dominated by $|\rho|^{-2}|\rho'|^{-2}$ and tend to $0$ for each pair, and the terms of the pairs with $|\lambda|\ge1$ are $O(1/U)$ in total. The remaining part is $\mathcal E_0(U)=\sum_{|\lambda|<1}\frac{2(1-\cos\lambda U)}{\lambda^2U}\re A$, whose terms are nonnegative, because $|\gamma-\gamma'|<1$ and $|\gamma|,|\gamma'|>14$ force $\gamma\gamma'>0$; in fact $\re A\ge\frac{0.99}{|\rho||\rho'|}$ for these pairs. Since the sum over unordered pairs with $|\lambda|<\varepsilon$ of $1/(|\rho||\rho'|)$ is $\frac12\nu(\varepsilon)$, if $\nu(\varepsilon)=o(\varepsilon)$ then \[ \mathcal E_0(U)\le\sum_{|\lambda|<1}\frac{\min(4/(\lambda^2U),U)}{|\rho||\rho'|}\le\frac12\Big(U\nu(1/U)+\frac4U\int_{[1/U,1)}\frac{d\nu(\lambda)}{\lambda^2}\Big), \] and integrating by parts, $\frac4U\int_{[1/U,1)}\lambda^{-2}d\nu\le\frac{4\nu(1)}U+\frac8U\int_{1/U}^1\nu(\lambda)\lambda^{-3}d\lambda$, which is $o(1)$ by splitting the last integral at a fixed $\lambda_0$ with $\nu(\lambda)\le\eta\lambda$ for $\lambda<\lambda_0$. Conversely, $1-\cos x\ge\frac{11}{24}x^2$ for $|x|\le1$ gives $\mathcal E_0(U)\ge\frac12\cdot\frac{11}{12}\cdot0.99\,U\nu(1/U)$, so $\mathcal E_0(U)\to0$ forces $\nu(\varepsilon)=o(\varepsilon)$. \end{proof} Status: under RH and simple zeros, without the spacing condition of \eqref{eq:H}; proved. The condition $\nu(\varepsilon)=o(\varepsilon)$ is implied by \eqref{eq:H}, since $\nu(\varepsilon)\le\varepsilon\sum_{0<|\lambda|<\varepsilon}|c_{\rho\rho'}|$ and the right side is $\varepsilon$ times a tail of the convergent series $H$; it is much weaker, being a weak-type condition on the distribution of $\delta_\rho^{-1}$ instead of a summability condition, without the logarithm. Under the GUE model one expects $\nu(\varepsilon)\asymp\varepsilon^3$. The proof also explains why some condition of this kind is needed: by \eqref{eq:Phi} two zeros at distance $\lambda$ contribute $\frac{2\sin\lambda u}{\lambda|\rho|^2}+O(|\rho|^{-4})$ to $\Phi(u)$, which for $u\ll1/\lambda$ is the linear term $2u/|\rho|^2$ that a double zero would add to the slope. A positive proportion of such near-coincidences on every scale would shift the mean of $\mathcal D$ by an amount that does not tend to $0$. \emph{(c) Is absolute convergence of $\Phi$ necessary for the distribution?} No: mean-square approximation suffices. Write $\Phi_T$ for the sum \eqref{eq:Phi} restricted to $\rho,\rho'\in F_T$, and consider \begin{equation*}\tag{Q}\label{eq:Q} \lim_{T\to\infty}\limsup_{U\to\infty}\frac1U\int_0^U\big|\mathcal D(u)-K-\Phi_T(u)\big|^2\,du=0 . \end{equation*} \begin{proposition}[the limiting distribution from mean-square approximation]\label{prop:B2} Assume RH, simple zeros and \eqref{eq:Q}. Then $\mathcal D$ is $B^2$-almost periodic and has a limiting distribution $\mu$ with mean $K$ and variance $\lim_{T\to\infty}\lim_{U\to\infty}\frac1U\int_0^U|\Phi_T|^2$. Moreover \eqref{eq:H} implies \eqref{eq:Q}, and \eqref{eq:Q} implies $\nu(\varepsilon)=o(\varepsilon)$. \end{proposition} \begin{proof} Each $K+\Phi_T$ is a trigonometric polynomial, so \eqref{eq:Q} says that $\mathcal D$ is $B^2$-almost periodic, and [ANS, Thm.~2.9] gives the limiting distribution. Since $\Phi_T$ has mean $0$ (its frequencies are nonzero), Cauchy--Schwarz and \eqref{eq:Q} give $\frac1U\int_0^U\mathcal D\to K$, and \eqref{eq:Q} also bounds $\frac1U\int_0^U\mathcal D^2$; so the time averages of $\mathcal D$ are uniformly integrable and $\int x\,d\mu=K$, For the variance, couple the time averages of $\mathcal D-K$ and of $\Phi_T$ through the same $u$: the Wasserstein distance $W_2$ between their limiting laws is at most $\limsup_U(\frac1U\int_0^U|\mathcal D-K-\Phi_T|^2)^{1/2}$, which tends to $0$ by \eqref{eq:Q}; the law of $\Phi_T$ has second moment $\|\Phi_T\|^2_{B^2}$ (Parseval for a trigonometric polynomial), $W_2$-convergence preserves second moments, and $\|\Phi_T\|_{B^2}\to\|\mathcal D-K\|_{B^2}$ under \eqref{eq:Q}. Under \eqref{eq:H}, Theorem~\ref{thm:K} and Proposition~\ref{prop:abs} give $\sup_u|\mathcal D-K-\Phi_T|\le\sum_{\rho\ne\rho',\ \{\rho,\rho'\}\not\subset F_T}|c_{\rho\rho'}|+o(1)$, which tends to $0$. Finally \eqref{eq:Q} gives $\frac1U\int_0^U\mathcal D\to K$, hence $\nu(\varepsilon)=o(\varepsilon)$ by Proposition~\ref{prop:cesaro}. \end{proof} Status: under RH, simple zeros and \eqref{eq:Q}; proved, from the standard theory of $B^2$-almost periodic functions. The general criterion [ANS, Thm.~1.2] does not apply directly: it asks for bounds on $\sum|c|$ over unit intervals of frequencies, while the difficulty here is the accumulation of the frequencies $\gamma-\gamma'$ at $0$, with large coefficients. What does \eqref{eq:Q} require? First, an exact identity: for every $T$, by the finite-set identity in the proof of Theorem~\ref{thm:K} and the decomposition used for Proposition~\ref{prop:cesaro}, \begin{equation}\label{eq:Qid} \mathcal D(u)-K-\Phi_T(u)=\int_0^u\big(S^2-S_T^2\big)\,dv-u\big(C_B-C_T\big)+\big(Z_T-Z\big)+O\big(e^{-u/2}\big), \end{equation} with $C_T=\sum_{F_T}|\rho|^{-2}$; so \eqref{eq:Q} is a statement about the centred energy of the zeros above height $T$ and their interaction with the zeros below. Second, under LI the frequencies of $\Phi_T$ are distinct up to the pairing of Theorem~\ref{thm:dist}, so $\frac1U\int_0^U|\Phi_{T_2}-\Phi_{T_1}|^2$ tends to the part of the double sum \eqref{eq:V} below over pairs with at least one zero in $F_{T_2}\setminus F_{T_1}$. Hence, under LI, \eqref{eq:Q} forces the quadratic spacing condition \begin{equation*}\tag{H$_2$}\label{eq:H2} \sum_{\rho\ne\rho'}\frac1{(\gamma-\gamma')^2|\rho|^2|\rho'|^2}<\infty, \end{equation*} and conversely \eqref{eq:H2} with LI makes $(\Phi_T)$ a Cauchy sequence in $B^2$. Condition \eqref{eq:H2} is implied by \eqref{eq:H} (its terms are the squares of the $|c_{\rho\rho'}|$, which are bounded) and by itself allows $\delta_\rho$ as small as $|\gamma|^{-3/2+\varepsilon}$, against $|\gamma|^{-1+\varepsilon}$ for \eqref{eq:H}. But by Proposition~\ref{prop:B2}, \eqref{eq:Q} also forces $\nu(\varepsilon)=o(\varepsilon)$, and the two conditions are independent: if every zero had a neighbour at distance $|\gamma|^{-a}$ with $1\le a<\frac32$, \eqref{eq:H2} would hold while $\nu(\varepsilon)\asymp\varepsilon^{1/a}\log(1/\varepsilon)$ would not be $o(\varepsilon)$, so the Ces\`aro mean of $\mathcal D$ would not be $K$ and \eqref{eq:Q} would fail. In such regular configurations the pair of conditions \eqref{eq:H2} and $\nu(\varepsilon)=o(\varepsilon)$ holds exactly when $a<1$, the same threshold as \eqref{eq:H}; the weaker conditions gain only for irregular distributions of small gaps (a weak-type instead of a summability condition, without the logarithm). What is missing, beyond these necessary conditions, is the passage from the $B^2$ limit of $\Phi_T$ to $\mathcal D-K$, that is, the mean-square smallness of the right side of \eqref{eq:Qid}. \begin{problem}[main open problem]\label{prob:main} Assume RH, simple zeros, \eqref{eq:H2} and $\nu(\varepsilon)=o(\varepsilon)$ (and, if needed, LI); under LI both are necessary for \eqref{eq:Q}. Prove \eqref{eq:Q}. Separately, prove \[ \lim_{T_1,T_2\to\infty}\limsup_{U\to\infty}\frac1U\int_0^U|\Phi_{T_1}(u)-\Phi_{T_2}(u)|^2\,du=0 \] under \eqref{eq:H2} without LI (with LI it holds), which requires control of the coincidences among the differences $\gamma-\gamma'$. By Proposition~\ref{prop:B2}, \eqref{eq:Q} would give the limiting distribution of $I(X)-C_B\log X$ without \eqref{eq:H}. \end{problem} \section{The limiting distribution of the energy fluctuations}\label{sec:fluct} Theorem~\ref{thm:K} says that $\mathcal D=K+\Phi+o(1)$. Collect the coefficients of $\Phi$ by frequency: \[ \Phi(u)=\sum_{\lambda\ne0}a_\lambda e^{i\lambda u},\qquad a_\lambda=\sum_{\gamma-\gamma'=\lambda}c_{\rho\rho'} . \] \begin{theorem}\label{thm:dist} Assume \eqref{eq:H}. \begin{enumerate} \item $\mathcal D$ has a limiting distribution $\mu$: for every bounded continuous $f$, \[ \lim_{U\to\infty}\frac1U\int_0^Uf\big(\mathcal D(u)\big)\,du=\int f\,d\mu . \] \item $\int x\,d\mu=K$, $\int(x-K)^2\,d\mu=V:=\sum_\lambda|a_\lambda|^2$, and $\operatorname{supp}\mu\subset[K-H,K+H]$. \item If in addition the positive ordinates are linearly independent over $\mathbb Q$ \textup{(LI)}, then \begin{equation}\label{eq:V} V=2\sum_{\substack{\rho\ne\rho'\\ \rho'\ne\bar\rho}}\frac1{(\gamma-\gamma')^2|\rho|^2|\rho'|^2}+\sum_\rho\frac1{4\gamma^2|\rho|^4}, \end{equation} and $\mu$ is the law of $K+\sum_{\rho\ne\rho'}c_{\rho\rho'}e^{i(\theta_\gamma-\theta_{\gamma'})}$, where the $\theta_\gamma$, $\gamma>0$, are independent and uniform on $[0,2\pi)$, and $\theta_{-\gamma}=-\theta_\gamma$. \end{enumerate} \end{theorem} \begin{proof} \emph{Part 1.} The $o(1)$ term does not affect limiting distributions. By Proposition~\ref{prop:abs}, $\Phi$ is a uniform limit of trigonometric polynomials, and every Bohr almost periodic function has a limiting distribution (Wintner [Wi35], Jessen--Wintner; see [ANS] for the form used in prime number theory). \emph{Part 2.} $\Phi$ has no constant term (Proposition~\ref{prop:abs}), which gives the mean. The variance is Parseval's identity for Bohr almost periodic functions; $\Phi$ is real. The bound $|\Phi|\le H$ gives the support. \emph{Part 3.} Each frequency is $\lambda=\gamma-\gamma'$, with both ordinates possibly negative. Under LI, $\gamma_1-\gamma_2=\gamma_3-\gamma_4$ with $\gamma_1\ne\gamma_2$ forces $(\gamma_3,\gamma_4)=(\gamma_1,\gamma_2)$ or $(\gamma_3,\gamma_4)=(-\gamma_2,-\gamma_1)$; in terms of zeros, $(\rho_3,\rho_4)=(\bar\rho_2,\bar\rho_1)$, and $c_{\bar\rho_2\bar\rho_1}=c_{\rho_1\rho_2}$. The two ordered pairs coincide exactly when $\rho_2=\bar\rho_1$, that is $\lambda=2\gamma_1$. Hence $a_\lambda$ is $2c_{\rho\rho'}$ for a class of two ordered pairs and $c_{\rho\bar\rho}$ for $\lambda=2\gamma$. Parseval gives $\sum_\lambda|a_\lambda|^2$: each class of two ordered pairs contributes $4|c_{\rho\rho'}|^2$, that is $2|c_{\rho\rho'}|^2$ for each of its ordered pairs, and each $\lambda=2\gamma$ contributes $|c_{\rho\bar\rho}|^2=1/(4\gamma^2|\rho|^4)$; this is \eqref{eq:V}. By the Kronecker--Weyl theorem, under LI the vector $(\gamma_1u,\dots,\gamma_mu)$ is equidistributed modulo $2\pi$ for every $m$, so every truncation of $\Phi$ has the stated law, and uniform convergence passes it to the limit. \end{proof} Status: conditional on \eqref{eq:H}, and on LI for part~3; proved. The existence of the limiting distribution follows from the standard framework; what is new is the object, the identification of the mean with $K$, and the explicit variance. Without LI, \eqref{eq:V} is replaced by $V=\sum_\lambda|a_\lambda|^2$, which also counts coincidences of frequencies. Without \eqref{eq:H}, see Proposition~\ref{prop:B2}. \emph{The variance as a weighted Rodgers--Tao energy.} Under RH the weights in \eqref{eq:V} are the limits of the cross-energy at the zeros, $w_\rho=\lim_nC_2(n,\rho)=|\rho|^{-2}$ (Theorem~A of {\cite{CE1}}). Since $\gamma-\gamma'=2\gamma$ when $\rho'=\bar\rho$, \eqref{eq:V} reads \[ V=\sum_{\rho\ne\rho'}\kappa_{\rho\rho'}\,\frac{w_\rho\,w_{\rho'}}{(\gamma-\gamma')^2},\qquad\kappa_{\rho\rho'}=2\ \ (\rho'\ne\bar\rho),\qquad\kappa_{\rho\bar\rho}=1 . \] In the variable $x=2\gamma$ of the zeros of $H_0(x)=\frac18\xi(\frac12+\frac{ix}2)$ this is $4\sum\kappa_{\rho\rho'}w_\rho w_{\rho'}(x-x')^{-2}$, a weighted form of the energy $E(t)=\sum_{j\ne k}|x_j(t)-x_k(t)|^{-2}$ that Rodgers and Tao use for the zeros of the de Bruijn--Newman deformation $H_t$ [RT]. These zeros move by $\partial_tx_k=2\sum_{j\ne k}(x_k-x_j)^{-1}$, and $\partial_t\mathcal H=-4E$ for $\mathcal H=\sum_{j\ne k}\log|x_j-x_k|^{-1}$. Over all the zeros $E$ diverges, and [RT] work with spatial cutoffs and a renormalization. With the limits of $C_2$ as weights, the sum converges exactly under \eqref{eq:H2}, which is unproved, and the weighted sum is then the variance of the energy of the primes. A real zero can leave the real axis under the backward flow only by colliding with another one, and at a collision both $E$ and its weighted form blow up; the heat flow in the language of the cross-energy is in \cite[Sect.~6]{CE8}. Status: the identity is a rewriting of \eqref{eq:V} (under RH and LI); the reading is ours, and we draw no consequence from it. \begin{remark}[a distributional signature of RH] If a zero had $\beta>\frac12$, then $\mathcal D(u_n)\ge ce^{(2\beta-1)u_n}$ along a sequence $u_n\to\infty$, by the growth-rate theorem of {\cite[Sect.~2]{CE5}}; since $I$ is nondecreasing, $\mathcal D(u)\ge ce^{(2\beta-1)u_n}-2C_Bu_n$ on $[u_n,2u_n]$, a set of relative density at least $\frac12$ in $[0,2u_n]$, so the time averages are not tight and no limiting distribution exists. Under RH and \eqref{eq:H}, Theorem~\ref{thm:dist} shows that $\mu$ exists and has bounded support. This is what RH looks like at second order; it is a consequence of RH, not a criterion that can be verified in finite range. \end{remark} \subsection{Numerical results} \emph{Zeros.} We use the $1517$ zeros below height $2000$ to twelve decimals and compute those up to height $10^4$ with the Riemann--Siegel formula, including the first two correction terms, by bisection on sign changes of $Z(t)$ on a grid of step $0.01$; the count is $10142=N(10^4)$, and the Riemann--Siegel values agree with the tabulated ones below $2000$ to $1.2\cdot10^{-4}$ (to $8\cdot10^{-7}$ above height $1500$). Status: numerical (\texttt{rs\_zeros.py}). \emph{A finite check of the factors in \eqref{eq:V}.} The pairing in part~3 is where factors $2$ or $4$ could be lost, so we checked \eqref{eq:V} against a direct computation that does not use it. Take the first $m$ pairs of zeros $\rho_j,\bar\rho_j$, the real signal $S_F(u)=-\sum_{\rho\in F}e^{i\gamma u}/\rho$, and compute $\Phi_F(u)=\int_0^uS_F^2-u\sum_F|\rho|^{-2}-K_0$, with $K_0$ the sum of $|\rho|^{-2}|\rho'|^{-2}$ over unordered pairs in $F$, in two ways: by quadrature of $S_F^2$, and from the exact trigonometric expansion $\sum_{\rho\ne\rho'}c_{\rho\rho'}e^{i(\gamma-\gamma')u}$ without any grouping of frequencies. The time averages $\frac1U\int_0^U\Phi_F^2$, $U=4\cdot10^4$, are compared with \eqref{eq:V} restricted to $F$: \begin{center}\small \begin{tabular}{lcccc}\toprule $m$ & 1 & 2 & 3 & 5\\\midrule $10^6\,V$ from the expansion & 0.0625403 & 2.048178 & 4.462907 & 7.053590\\ $10^6\,V$ by quadrature & 0.0625070 & 2.048017 & 4.462619 & 7.053100\\ $10^6\,V_F$ from \eqref{eq:V} & 0.0625402 & 2.048178 & 4.462900 & 7.053447\\ relative difference, expansion & $4\cdot10^{-7}$ & $1\cdot10^{-7}$ & $2\cdot10^{-6}$ & $2\cdot10^{-5}$\\\bottomrule \end{tabular} \end{center} The differences for the expansion are of the size $O(1/(\lambda_{\min}U))$ of the time average, $\lambda_{\min}$ the smallest frequency; those of the quadrature ($-5\cdot10^{-4}$ to $-5\cdot10^{-5}$) are the discretization error of the cumulative trapezoid rule. The mean of $\Phi_F$ is below $2\cdot10^{-8}$, which confirms that $K_0$ is the constant term. A wrong factor in either sum of \eqref{eq:V} would give a relative error of order $1$: for $m=1$ only the diagonal term $1/(4\gamma^2|\rho|^4)$ is present, and for $m\ge2$ the pair terms carry $97$--$99\%$ of $V_F$. Status: numerical (\texttt{variance\_finite\_check.py}); the ordinates used are linearly independent as far as is known. \emph{Variance.} Formula \eqref{eq:V}, truncated to the zeros with $|\gamma|,|\gamma'|10^4$ they contribute at most $5.7\cdot10^{-7}$ (at most $1.6\cdot10^{-7}$ if $\delta_\rho\ge|\gamma|^{-1/3}$, an assumption that is borderline, since under the GUE model the smallest gaps up to height $T$ are expected to be of size $T^{-1/3}(\log T)^{-4/3}$), while their expected size under Montgomery's pair correlation is $5\cdot10^{-12}$. Thus \[ V=1.2502\cdot10^{-5},\qquad\sqrt V=0.0035358, \] under LI, where the lower bound is a computation, the upper bound $V\le1.31\cdot10^{-5}$ holds under the gap assumption $\delta_\rho\ge|\gamma|^{-0.4}$, and the last digits rest on the pair-correlation estimate. The variance is carried by the lowest zeros: the terms of \eqref{eq:V} involving only the first $1$, $2$, $3$, $5$ and $10$ zeros give $0.5\%$, $16.4\%$, $35.7\%$, $56.4\%$ and $76.7\%$ of it, and the $138$ zeros below height $300$ give $99.4\%$. Status: numerical (\texttt{variance.py}; tail bounds \texttt{tail\_bounds.py}). \emph{Shape.} We sampled the LI model with $3\cdot10^5$ draws of random phases on the $138$ zeros below height $300$, and $\Phi$ along the actual zeros at $3\cdot10^5$ random $u\in[10^2,10^6]$. Both give standard deviation $0.00353$, skewness of absolute value below $0.004$, excess kurtosis $-0.10$ and $-0.09$, and $P(\Phi>0)=0.50$; their Kolmogorov--Smirnov distance is $0.0015$, at the level of sampling noise. The limiting distribution is slightly platykurtic, very close to Gaussian, and supported in a narrow band around $K$ (Figure~\ref{fig:dist}b). Status: numerical (\texttt{variance.py}). \subsection{The primes up to \texorpdfstring{$10^9$}{1e9}}\label{subsec:1e9} We computed $I(X)$ exactly from a segmented sieve of the prime powers up to $10^9$, integrating the step function in extended precision (with a series expansion of the integrand when $\psi$ is close to $x$), at $4\cdot10^4$ points $X\in[10^3,10^9]$ equally spaced in $\log X$, and compared $\mathcal D(\log X)-K$ with $\Phi(\log X)$ truncated to the $2469$ zeros below height $3000$: \begin{center}\small \begin{tabular}{lcccc}\toprule range of $X$ & $[10^3,10^5]$ & $[10^5,10^7]$ & $[10^7,10^8]$ & $[10^8,10^9]$\\\midrule r.m.s.\ of $\mathcal D-K$ & $4.0\cdot10^{-3}$ & $3.4\cdot10^{-3}$ & $5.0\cdot10^{-3}$ & $2.9\cdot10^{-3}$\\ r.m.s.\ of $\mathcal D-K-\Phi$ & $1.3\cdot10^{-3}$ & $6.1\cdot10^{-5}$ & $1.2\cdot10^{-5}$ & $1.3\cdot10^{-5}$\\\bottomrule \end{tabular} \end{center} With only the zeros below height $600$, the residual stalls at $1.4$--$1.6\cdot10^{-4}$ for $X\ge10^5$, which is of the size $\sqrt{V-V_{600}}=1.2\cdot10^{-4}$ predicted for the truncation: the residual is dominated by the zeros left out, not by the $O(X^{-1/2})$ term. The mean of $\mathcal D-\Phi$ over $[10^7,10^9]$ gives the empirical value \[ K_{\rm primes}=2.512484,\qquad\text{against}\qquad K=2.5124798\ \text{(Corollary~\ref{cor:Kval})} . \] The two values agree to $4\cdot10^{-6}$. Status: numerical (\texttt{primes\_1e9.py}; Figure~\ref{fig:dist}a from \texttt{fig\_fluct.py}). \begin{figure}[htbp]\centering\includegraphics[width=\textwidth]{Energy_fluctuations_distribution.png} \caption{(a) $I(X)-C_B\log X-K$ from the primes up to $10^9$ against $\Phi(\log X)$ from the zeros below $3000$, with their difference below. (b) Limiting distribution: LI model, actual zeros, and a Gaussian with the same variance. (c) Share of $V$ carried by the lowest zeros.}\label{fig:dist}\end{figure} \section{Rigidity: comparison with random models}\label{sec:random} Pointwise, $E_0(u)$ fluctuates by $O(1)$; by Wintner's theorem it has, under RH, a limiting distribution, with variance $C_B$ when the zeros are simple [Wi35]. The integrated energy is far more rigid: its fluctuations have standard deviation $0.0035$ around the line $C_B\log X+K$, because the coefficients $c_{\rho\rho'}$ carry the factor $1/(\gamma-\gamma')$, which damps all high frequencies. The random models examined below do not share this rigidity. We replaced the primes by Cram\'er's model [Cr36] (each $n\ge3$ is ``prime'' with probability $1/\log n$, with weight $\log n$), and the M\"obius function by independent signs on the squarefree integers (Denjoy [Dj]) and by a Rademacher random multiplicative function, with independent signs at the primes and supported on the squarefree integers (Wintner [Wi]; see [Hp]), with $100$ realizations of each up to $10^7$. The logarithmic mean of the energy on $[100,X]$, that is $(\log X-\log100)^{-1}\int_{100}^XF(x)^2x^{-2}\,dx$ with $F=\psi(x)-x$ or $F=M(x)+2$, is at $X=10^7$: \begin{center}\small \begin{tabular}{lcccc}\toprule & arithmetic & median & smallest of $100$ & ratio median/arithmetic\\\midrule $\psi(x)-x$: primes; Cram\'er's model & $0.0488$ & $7.24$ & $2.23$ & $148$\\ $M(x)+2$: $\mu$; independent signs & $0.0289$ & $0.570$ & $0.175$ & $20$\\ $M(x)+2$: $\mu$; random multiplicative & $0.0289$ & $0.242$ & $0.050$ & $8.4$\\\bottomrule \end{tabular} \end{center} The mean for independent signs is $0.627\approx6/\pi^2$, as the variance $\sum_{n\le x}\mu(n)^2\sim6x/\pi^2$ predicts; the mean for the random multiplicative function, $1.27$, is dominated by a few realizations with very large energy, as expected from the heavy tails of multiplicative sums {\cite{CE7}}. No realization reaches the arithmetic value (Figure~\ref{fig:mc}). For Cram\'er's model the energy grows like $\frac12(u+\log100)-2$, as its variance $\sum_{n\le x}(\log n-1)\approx x\log x-2x$ predicts, although the model satisfies $\psi(x)-x=O(x^{1/2+\varepsilon})$ almost surely. Square-root cancellation is therefore weaker than the energy law {\cite[Thm.~B]{CE5}}: bounded mean energy requires the discrete spectrum supplied by the zeros, while a model with independent noise has a continuous one. In terms of ratios, in these experiments the energy of the primes is $46$ to $150$ times smaller than in Cram\'er's model (smallest realization to median), and that of $\mu$ about $20$ times smaller than for independent signs and typically $8$ times smaller than for a random multiplicative function, whose smallest realization comes within a factor $1.7$. Status: numerical (\texttt{mc.py}, seed $20261008$; \texttt{fig.py}). \begin{figure}[htbp]\centering\includegraphics[width=\textwidth]{MonteCarlo_energy.png} \caption{Logarithmic mean of the energy on $[100,X]$. (a) $(\psi(x)-x)/\sqrt x$ for the primes and for Cram\'er's model (median and 10--90\% band of 100 realizations; dotted: $\frac12(u+\log100)-2$). (b) $(M(x)+2)/\sqrt x$ for $\mu$, for independent signs and for a random multiplicative function on the squarefree integers.}\label{fig:mc}\end{figure} \emph{Local structure.} Cram\'er's model ignores divisibility by small primes. Granville's modification [Gr95] keeps the primes $p\le z$ and declares each $n>z$ coprime to all of them ``prime'' with probability $\min\big(1,\,(\log n\prod_{p\le z}(1-p^{-1}))^{-1}\big)$, again with weight $\log n$. With $100$ realizations up to $10^7$ for each $z$, the medians of the logarithmic mean of the energy on $[100,10^7]$ are \begin{center}\small \begin{tabular}{lcccccccc}\toprule $z$ & $1$ (Cram\'er) & $2$ & $3$ & $5$ & $7$ & $13$ & $31$ & primes\\\midrule median & $7.00$ & $6.62$ & $5.04$ & $4.65$ & $4.24$ & $4.33$ & $4.44$ & $0.0488$\\ smallest & $2.21$ & $2.60$ & $1.31$ & $1.07$ & $1.69$ & $1.38$ & $1.68$ & \\\bottomrule \end{tabular} \end{center} Local structure lowers the energy by a factor of at most about $1.7$. The primes stay $87$ to $136$ times below the sieved medians, and $22$ times below the smallest of all $700$ realizations. (For $z\ge101$ the probability exceeds $1$ for small $n$ and the model loses its mean.) Sieving does not explain the rigidity: in every model with independent noise that we tried the energy grows like $u$. Status: numerical (\texttt{granville.py}, seed $20261019$). An earlier run in the author's working notes, with $20$ realizations, gave medians from $7.26$ ($z=1$) down to $3.54$ ($z=13$), with the same conclusion. \emph{Residual after subtracting the known zeros.} The mean energy of $E(u)$ is $\sum_\rho|\rho|^{-2}=C_B$ under RH (Theorem~B of {\cite{CE5}}). Subtracting the zeros up to height $T$ should therefore leave the energy of the zeros above $T$. Let $R_T(u)=E(u)+\sum_{|\gamma|T}|\rho|^{-2}=C_B-2\sum_{0<\gammaT}|\rho|^{-2}$ & $19.12$ & $11.99$ & $7.11$ & $4.10$ & $2.95$ & $1.931$ & $1.076$ & $0.267$\\\bottomrule \end{tabular} \end{center} The total mean energy is $0.0458$ (against $C_B=0.0462$). The residual does not grow with $x$. With $T=600$ its mean square is $0.00297$, $0.00286$, $0.00309$, $0.00292$ on the four decades from $[10^3,10^4]$ to $[10^6,10^7]$, and with $T=10^4$ it is $0.00025$, $0.00027$, $0.00027$, $0.00027$. The excess of the measured over the predicted residual is at most $2\%$ of the residual for every $T$, and $0.3\%$ at $T=10^4$, that is $2\cdot10^{-5}$ of the total energy. So the measured residual energy agrees with the contribution predicted from the zeros above $T$, within the numerical accuracy of the experiment and at every scale of $x$ tested, and no additional stochastic component is detected at that precision; in Cram\'er's model the noise has mean square about $u-2$, between $9.5$ and $14$ on this range. A finite computation cannot exclude a component below its accuracy, and a decomposition of the prime error into ``signal'' and ``noise'' is not defined mathematically; the experiment is the measured counterpart of the discrete spectrum discussed above. It confirms the explicit formula in mean square with the known zeros, but it cannot see a zero above the verified height: a zero with $\beta=0.75$ at height $3\cdot10^{12}$ would add an amplitude $2x^{\beta-1/2}/|\rho|\approx4\cdot10^{-11}$ at $x=10^7$. Status: numerical (\texttt{residual.py}); the same comparison up to $T=600$ is in the author's working notes, with the same values. \section{Principal modes and orbits of the zeros in the prime signal}\label{sec:orbits} The energy can be resolved zero by zero. Let $w_s(y)=(2\pi s^2)^{-1/2}e^{-y^2/(2s^2)}$ be the Gaussian of standard deviation $s>0$. For real $\gamma_0$ define the demodulated signal \[ A_{\gamma_0}(u)=\lim_{T\to\infty}\int_{-\infty}^\infty S_T(v)\,e^{-i\gamma_0v}\,w_s(u-v)\,dv,\qquad E_{\gamma_0}(u)=2\re\big(A_{\gamma_0}(u)e^{i\gamma_0u}\big), \] with $S_T(v)=-\sum_{|\gamma|0$ and real $u$, $\gamma_0$, the limit exists and \begin{equation}\label{eq:orbit} A_{\gamma_0}(u)=-\sum_\rho\frac{e^{z_\rho u+z_\rho^2s^2/2}}\rho,\qquad z_\rho=\rho-\tfrac12-i\gamma_0, \end{equation} where the series converges absolutely, the zeros counted with multiplicity. \end{proposition} \begin{proof} For each zero, $\int e^{z v}w_s(u-v)\,dv=e^{zu}\int e^{-zy}w_s(y)\,dy=e^{zu+z^2s^2/2}$, which gives \eqref{eq:orbit} for $S_T$, with the sum restricted to $|\gamma|0$, $S_T\to S=E$ in $L^2$ on bounded intervals (Lemma~\ref{lem:L2}), so for $u$ at distance several $s$ from the ends of a range $(0,\log x)$ the quantity $A_{\gamma_0}(u)$ is, up to the Gaussian tails of the window, the demodulation of the prime signal computed from the primes up to $x$. When $\rho_0=\beta_0+i\gamma_0$ is a simple zero, \eqref{eq:orbit} is an exact decomposition \[ A_{\gamma_0}=A^{\rm pr}_{\gamma_0}+A^{\rm int}_{\gamma_0},\qquad A^{\rm pr}_{\gamma_0}(u)=-\frac{e^{(\beta_0-\frac12)u+\frac12(\beta_0-\frac12)^2s^2}}{\rho_0},\qquad A^{\rm int}_{\gamma_0}(u)=-\sum_{\rho\ne\rho_0}\frac{e^{z_\rho u+z_\rho^2s^2/2}}\rho, \] into the \emph{principal mode} of $\rho_0$, the term of $\rho_0$ itself, and the \emph{interference} of all the other zeros. The geometric statements below are statements about the principal mode; the measured orbit is the principal one up to the interference, which the next corollary bounds. \begin{corollary}[principal modes and their interference]\label{cor:orbit} Let $u\ge0$, $s>0$, $\Gamma>0$, let $\rho_0=\beta_0+i\gamma_0$ be a simple zero, and suppose that all zeros $\rho\ne\rho_0,1-\bar\rho_0$ with $|\gamma-\gamma_0|\le\Gamma$ lie on the critical line. Put \[ D_{\gamma_0}(s)=\sum_{\substack{\rho\ne\rho_0,1-\bar\rho_0\\|\gamma-\gamma_0|\le\Gamma}}\frac{e^{-(\gamma-\gamma_0)^2s^2/2}}{|\rho|},\qquad T_{\gamma_0}(u,s)=e^{u/2+s^2/8}\sum_{|\gamma-\gamma_0|>\Gamma}\frac{e^{-(\gamma-\gamma_0)^2s^2/2}}{|\rho|} . \] \textup{(a)} If $\beta_0=\frac12$, then $A^{\rm pr}_{\gamma_0}=-1/\rho_0$ and $|A^{\rm int}_{\gamma_0}(u)|\le D_{\gamma_0}(s)+T_{\gamma_0}(u,s)$. Under RH the same holds with $T_{\gamma_0}$ replaced by the sum over $|\gamma-\gamma_0|>\Gamma$ without the factor $e^{u/2+s^2/8}$. \textup{(b)} If $\beta_0>\frac12$ and $\delta=\beta_0-\frac12$, then $A^{\rm pr}_{\gamma_0}(u)=-e^{\delta u+\delta^2s^2/2}/\rho_0$ and \[ |A^{\rm int}_{\gamma_0}(u)|\le\frac{e^{-\delta u+\delta^2s^2/2}}{|1-\bar\rho_0|}+D_{\gamma_0}(s)+T_{\gamma_0}(u,s). \] \end{corollary} \begin{proof} In \eqref{eq:orbit}, the term of $\rho_0$ has $z=\beta_0-\frac12$, real; that of $1-\bar\rho_0$ has $z=\frac12-\beta_0$. A zero on the line has $z=i(\gamma-\gamma_0)$ and $|e^{zu+z^2s^2/2}|=e^{-(\gamma-\gamma_0)^2s^2/2}$. The remaining zeros are bounded as in the proof of Proposition~\ref{prop:orbit}. \end{proof} Status: proved. \emph{The principal orbits.} In case (a) the principal component $E^{\rm pr}_{\gamma_0}(u)=2\re(A^{\rm pr}_{\gamma_0}e^{i\gamma_0u})=-\frac2{|\rho_0|}\cos(\gamma_0u-\arg\rho_0)$, and the curve $u\mapsto(E^{\rm pr}_{\gamma_0}(u),E^{\rm pr}_{\gamma_0}(u+\frac\pi{3\gamma_0}))$ is a fixed ellipse, both coordinates of amplitude $2/|\rho_0|$, traversed once for every increase of $u$ by $2\pi/\gamma_0$; it is exactly closed. In case (b) the same curve is an exact spiral whose amplitude grows at the rate $\beta_0-\frac12$. The measured curve, built from $E_{\gamma_0}=E^{\rm pr}_{\gamma_0}+2\re(A^{\rm int}_{\gamma_0}e^{i\gamma_0u})$, lies within $2|A^{\rm int}_{\gamma_0}|$ of it in each coordinate, and is closed only up to that error. In this language RH says that every principal orbit of the prime signal is closed, and Theorem~B of {\cite[Sect.~2]{CE5}} says that the mean squares $2|A^{\rm pr}_\gamma|^2=2/|\rho|^2$ of the principal modes, $\gamma>0$, add up to the energy $\sum_\rho\lim_nC_2(n,\rho)$. A located zero is resolved as soon as $s$ exceeds a few times the inverse distance to its neighbours, which makes $D_{\gamma_0}(s)$ small, but the orbit says nothing about a zero that has not been located, and an off-line zero high up becomes visible only for $u$ of order $\log|\gamma_0|/\delta$, as in the local energy law {\cite[Thm.~2.11 and Cor.~2.12]{CE5}}. \emph{Numerics.} We computed $E(u)$ from the prime powers up to $10^8$ and, for the Davenport--Heilbronn function $f$ (the standard control without Euler product, which has zeros off the line [DH]; see {\cite{CE46}}), the analogous signal $E_f(u)=e^{-u/2}\sum_{n\le e^u}b(n)$, $b(n)$ the coefficients of $-f'/f$, from $n\le2\cdot10^7$; the window is $s=1$ for $\zeta$ and $s=1.5$ for $f$. Table~\ref{tab:orbits} gives the results. For $\zeta$ at $\gamma_1=14.135$ the measured orbit is traversed about $22$ times and closes on itself to the resolution of Figure~\ref{fig:ell}a: the interference bound $D_{\gamma_1}(1)$ of Corollary~\ref{cor:orbit}(a), computed from the zeros below $10^4$ as if all were on the line, is below $10^{-5}$, against the principal amplitude $1/|\rho_1|=0.0707$. On $8\le u\le12$ the mean of $|A_{\gamma_1}|$ is $0.07069$, against $1/|\rho_1|=0.07070$, and the slightly smaller mean over the whole range comes from the window reaching the ends of the computed range. For $f$, the isolated on-line zero at $\gamma=43.0813$ gives a closed ellipse up to the interference, and the off-line zeros give spirals with the predicted growth rates (Figure~\ref{fig:ell}b--d). Status: numerical (\texttt{orbits.py}). \begin{table}[htbp]\centering\small \begin{tabular}{lcccc}\toprule zero & mean $|A_\gamma|$ & $1/|\rho|$ & growth rate of $\log|A_\gamma|$ & $\beta-\frac12$\\\midrule $\zeta$: $\frac12+14.1347i$ & $0.07059$ & $0.07070$ & $0.0001$ & $0$\\ $\zeta$: $\frac12+21.0220i$ & $0.04756$ & $0.04756$ & $-0.0011$ & $0$\\ $\zeta$: $\frac12+25.0109i$ & $0.04009$ & $0.03997$ & $0.0007$ & $0$\\ $f$: $\frac12+43.0813i$ & $0.02335$ & $0.02321$ & $0.0066$ & $0$\\ $f$: $0.8085+85.6993i$ & -- & -- & $0.3057$ & $0.3085$\\ $f$: $0.8695+240.4047i$ & -- & -- & $0.3716$ & $0.3695$\\\bottomrule \end{tabular} \caption{Measured demodulations of single zeros: $\zeta$ from the primes up to $10^8$ ($s=1$), the Davenport--Heilbronn function $f$ from its coefficients up to $2\cdot10^7$ ($s=1.5$). The columns $1/|\rho|$ and $\beta-\frac12$ are the predictions of the principal mode; the differences include the interference. For an off-line zero the amplitude grows, and only its rate is meaningful.}\label{tab:orbits}\end{table} \begin{figure}[htbp]\centering\includegraphics[width=\textwidth]{Prime_signal_ellipses.png} \caption{Measured orbits of single zeros in the prime signal (principal mode plus interference): the component of the signal at the frequency $\gamma$ at time $u$ against its value at $u+\pi/(3\gamma)$, coloured by $u$. (a) $\zeta$, zero at $\gamma=14.135$, from the primes up to $10^8$: an ellipse, closed up to the interference. (b) Davenport--Heilbronn function, on-line zero at $\gamma=43.081$: an ellipse. (c) Its off-line zero $0.8085+85.699i$: an expanding spiral. (d) Amplitude $|A_\gamma(u)|$; the dotted line has the slope $\beta-\frac12$ predicted by the principal mode.}\label{fig:ell}\end{figure} \begin{remark}[the phase of each orbit]\label{rem:phase} By Corollary~\ref{cor:orbit} the principal mode of $-A_{\gamma_0}$ is a positive multiple of $1/\rho_0$, so up to the interference $\arg(-A_{\gamma_0})\approx-\arg\rho_0=-\arctan(\gamma_0/\beta_0)$, and $\beta_0=\gamma_0/\tan\arg\rho_0$ can be read from the phase in a finite window, without waiting for any growth. On the critical line all principal modes are phase-locked, $\arg\rho=\arctan2\gamma$, and $E(u)=-\sum_{\gamma>0}(\cos\gamma u+2\gamma\sin\gamma u)/(\frac14+\gamma^2)$ is close to a sine series. From the primes up to $10^8$ the phase gives $\beta=0.499\pm0.023$, $0.480\pm0.029$ and $0.505\pm0.059$ for the first three zeros of $\zeta$, where the error is $\gamma$ times the standard deviation of the measured phase along the window. The sensitivity decreases with height, since the phase difference between $\beta$ and $\frac12$ is about $(\beta-\frac12)/\gamma$: the error is $0.23$ at $\gamma=30.4$ and $0.44$ at $\gamma=49.8$. For the off-line zero $0.8085+85.699i$ of $f$ the phase gives $0.930\pm0.054$, a miss of more than two standard deviations, against the growth rate $0.3057$, that is $\beta=0.8057$. The bias has a clear source: the partner zero $1-\bar\rho_0$ has the same ordinate, and its term in Corollary~\ref{cor:orbit}(b), of relative size about $e^{-2\delta u}$, shifts the phase; since $\beta$ is read as $\gamma$ times the phase, a relative error of $10^{-3}$ at $\gamma=85.7$ already moves $\beta$ by about $0.09$. For an off-line zero the phase is reliable only for $u\gg\log\gamma/(2\delta)$, so the statement ``without waiting for any growth'' applies to zeros on the line. The phase sees $\beta$ in a short window but only at low height, and the growth sees it at every height but only over a long range of $u$; neither constrains a zero that has not been located. Status: numerical (\texttt{orbits.py}). \end{remark} \begin{remark}[spiral times harmonic]\label{rem:spiral} The zero $\rho_n$ of the truncation $F_n(s)=X_{n-1}(s)-n^{1-s}/(1-s)$ near a simple zero $\rho$ satisfies $\rho_n-\rho=\frac12n^{-\rho}/\zeta'(\rho)+O_\rho(n^{-2\beta}\log n+n^{-\beta-1})$ {\cite{CE4}}, and the principal harmonic of the prime signal at $\gamma$ is $h_\rho(u)=A^{\rm pr}_\gamma(u)e^{i\gamma u}=-e^{(\rho-\frac12)u}e^{(\beta-\frac12)^2s^2/2}/\rho$. Their product at $u=\log n$ does not depend on $\beta$ up to the factor $e^{(\beta-\frac12)^2s^2/2}$: \[ -2\sqrt n\,(\rho_n-\rho)\,h_\rho(\log n)\approx\frac{e^{(\beta-\frac12)^2s^2/2}}{\rho\,\zeta'(\rho)}, \] which on the line is the residue of $1/(s\zeta(s))$ at $\rho$, the coefficient of $\rho$ in the explicit formula for $M(x)=\sum_{n\le x}\mu(n)$. The integers supply $1/\zeta'(\rho)$ and the primes supply $1/\rho$. For the first three zeros of $\zeta$, with $n\le2\cdot10^5$ and the primes up to $10^8$, the product computed with the measured demodulation agrees with $1/(\rho\zeta'(\rho))$ to within $1$--$3\%$, and summed over the $341$ zeros below $600$ these modes rebuild $(M(x)+2)/\sqrt x$ with correlation $0.995$ (Figure~\ref{fig:mobius}). The energy of the Mertens signal, the M\"obius analogue of Theorem~B with each zero weighted by $|\zeta'(\rho)|^{-2}$, is treated in {\cite[Sect.~2]{CE5}}. The product reads $1/\zeta'(\rho)$ at a located zero; it adds no constraint on $\beta$. Status: the approximation follows from {\cite{CE4}} and Corollary~\ref{cor:orbit} for a located zero; the numbers are numerical (\texttt{a.py}, \texttt{fig.py}, \texttt{mob.py}, \texttt{dhinv.py}). \end{remark} \begin{figure}[htbp]\centering\includegraphics[width=\textwidth]{Spiral_times_harmonic.png} \caption{Spiral times harmonic. (a) $-2\sqrt n(\rho_n-\rho)h_\rho(\log n)$ for $200\le n\le2\cdot10^5$ at the first three zeros of $\zeta$, with the measured demodulation; stars: $1/(\rho\zeta'(\rho))$. (b) $(M(x)+2)/\sqrt x$ from $\mu(n)$ and the sum of the $341$ modes. (c) Energy of the Mertens signal in windows of length $2$, for $\zeta$ and for the Davenport--Heilbronn function; the dashed line has the slope $2\beta-1=0.617$ of its off-line zero.}\label{fig:mobius}\end{figure} \section{The energy gauge: the prime energy as one calibrated instrument}\label{sec:gauge} This section was first written as a separate note, ``The energy gauge'' (31 October 2026); here it is a section of this paper, because its theorems are those of \cite{CE5} and of the previous sections. What it adds is a way of reading them together, as three dials of one instrument, and a run of the instrument on the primes. Write $F(U)=I(e^U)=\int_0^Ue(u)^2\,du$ with $e(u)=e^{-u/2}(\psi(e^u)-e^u)$, so that $e=E_0$ of \eqref{eq:signal} and $F$ is the energy of the primes in the variable $U=\log X$; on $0\le u<\log2$ one has $\psi=0$, so the transient contributes $\int_0^{\log 2}e^u\,du=1$ exactly, and all measured quantities below are reported from $u=0$ with this convention. We write $C_B=2\widehat B$, with $\widehat B=1+\frac{\gamma_E}2-\frac12\log4\pi$ the constant of the margin programme \cite{CE11,CE12,CE13,CE14}. \paragraph{The three dials (proved, in \cite{CE5} and in this paper).} \emph{Dial A, the line:} unconditionally, $\Theta=\frac12+\frac12\limsup_{U\to\infty}U^{-1}\log F(U)$, where $\Theta$ is the supremum of the real parts of the zeros; this is the growth-rate theorem {\cite[Theorem~2.2]{CE5}}, and subexponential energy is RH. \emph{Dial B, the multiplicities:} unconditionally $\limsup F(U)/U\ge C_B$, and the limit exists and equals $C_B$ if and only if RH holds with all zeros simple; this is the energy law {\cite[Theorem~B, Corollary~2.3]{CE5}}. \emph{Dial C, the spacings:} under \eqref{eq:H}, $F(U)-C_BU=K+\Phi(U)+o(1)$ (Theorem~\ref{thm:K}), and the remainder is a spacing-sensitive observable (Proposition~\ref{prop:cesaro} and Sect.~\ref{subsec:Hstrength}). \paragraph{The multiplicity meter (proved; a reading of Theorem B).} Under RH, whenever $\lim F(U)/U$ exists it equals $\sum_\rho m_\rho^2/|\rho|^2$, where the sum runs over distinct zeros and $m_\rho$ is the multiplicity. Since $C_B=\sum_\rho m_\rho/|\rho|^2$, the excess slope \[ \lim_{U\to\infty}\frac{F(U)}U-C_B=\sum_\rho\frac{m_\rho^2-m_\rho}{|\rho|^2}\ \ge\ 0 \] vanishes exactly when every zero is simple. \emph{Proof.} Expand $F=\int_0^U|S+r|^2$ with $S$ and $r$ as in \eqref{eq:signal}. The diagonal of $|S|^2$ is $U\sum_\rho m_\rho^2/|\rho|^2$; an off-diagonal pair is bounded both by $2m_\rho m_{\rho'}/(|\rho||\rho'||\gamma-\gamma'|)$ and by $U m_\rho m_{\rho'}/(|\rho||\rho'|)$, so the pairs inside a fixed finite set of zeros contribute $O(1)$ and the remaining pairs are $o(U)$ by Cauchy--Schwarz against the diagonal; the terms with $r$ are $O(1)$ because $r\in L^2(0,\infty)$. No spacing information is used. $\square$ \paragraph{The ledger of the intercept (proved).} The constant $K$ of Theorem~\ref{thm:K} splits as in Proposition~\ref{prop:Ksums} into a trivial term, a cross term and a zero--zero term. The trivial term is $\int_0^\infty r(u)^2\,du$, and in closed form, with $L=\log2\pi$, \[ \int_0^\infty r(u)^2\,du=L^2-(2-2\log2)L+2-2\log2+\log^22-\frac{\pi^2}{12}=2.5215682\ldots, \] by expanding $\log(1-e^{-2u})$ and integrating term by term: $\sum_k1/(k(2k+1))=2-2\log2$, and $\sum_{j,k\ge1}1/(jk(2j+2k+1))=\int_0^1\log^2(1-x^2)\,dx=8-8\log2+4\log^22-\pi^2/3$ (this is \eqref{eq:triv}). It carries all of $K=2.512479790006\ldots$ (Corollary~\ref{cor:Kval}) except $-0.0090884\ldots$: the cross term $-0.010118144286\ldots$ plus the zero--zero term $0.00102972290886\ldots$. The zeros adjust the intercept by $0.36\%$; the elementary bookkeeping of the explicit formula sets its size. The numerical proximity $K\approx\sqrt{2\pi}=2.5066\ldots$ is a coincidence: the certified $K$ differs from $\sqrt{2\pi}$ by $0.0058$. \paragraph{The gauge on the primes to $10^8$ (measured).} We ran the instrument with the exact $\psi$, all prime powers included, to $10^8$, on grids of $2\cdot10^6$ points in $u$ (the trapezoidal $F$ is checked against exact piecewise integration of the step function $\psi$ on a subrange, agreeing to $10^{-7}$). Independently we recomputed the first $38$ zeros of $\zeta$ from scratch (Euler--Maclaurin for $\zeta(\frac12+it)$, Stirling for the Riemann--Siegel $\vartheta$, bisection on sign changes of $Z$), obtaining $\gamma_1=14.134725$, $\gamma_2=21.022040$, \dots, within $4\cdot10^{-7}$ of the known values. Table~\ref{tab:dials} and Figures~\ref{fig:gauge}--\ref{fig:wiggles} give the readings. The slope ledger closes: the measured slope is $0.04630$; the first $38$ zeros give $0.03570$, and the counting-function tail $\sum_{\gamma>120}2/(\frac14+\gamma^2)\approx0.0105$ supplies the rest. The measured intercept $2.5125(37)$ agrees with $K$, and its measured zero-dependent part $-0.0091(37)$ with the certified $-0.0090884\ldots$. The oscillation of the remainder is reproduced by the first $38$ zeros at correlation $0.988$. The same prime-versus-zero comparison was run in Sect.~\ref{sec:K} on the primes to $10^9$; the run here repeats it at lower depth, with the three readings side by side. The window $U\le18.42$ is four decades of $x$ but a short interval of $u$: dial~A at this depth excludes only gross violations, and all three readings are consistency checks of RH with simple zeros, not evidence at unexplored heights. \begin{table}[htbp] \centering \begin{tabular}{lll} \toprule dial & reads & measured on $[10^4,10^8]$\\ \midrule A (line) & $\Theta=\frac12+\frac12\limsup\frac{\log F}U$ & no exponential growth: $\Theta=\tfrac12$ within the window\\ B (multiplicities) & slope of $F$ against $C_B$ & $0.04630$ vs $C_B=0.04619$ ($+0.2\%$, within oscillation)\\ C (spacings) & ripple of $F-C_BU$ & flat: r.m.s. $\pm0.004$, peak $\pm0.012$; intercept $2.5125(37)$\\ & & ripple vs $38$-zero prediction: correlation $0.988$\\ \bottomrule \end{tabular} \medskip \caption{The energy gauge on the primes to $10^8$.} \label{tab:dials} \end{table} \begin{figure}[htbp]\centering \includegraphics[width=\textwidth]{G1_gauge.png} \caption{Left: the cumulative energy $F(U)$ against the line $C_BU+\mathrm{const}$ over four decades. Right: the local slope of $F$ (sliding window of width $2$) oscillating about $C_B$ (dashed); the dominant ripple has period $2\pi/\gamma_1=0.4445$ in $u$.} \label{fig:gauge} \end{figure} \begin{figure}[htbp]\centering \includegraphics[width=\textwidth]{G2_wiggles.png} \caption{Top: the measured error $e(u)$ from the primes against the $38$-zero model $-2\sum_{\gamma\le120}\operatorname{Re}(e^{i\gamma u}/\rho)+r(u)$. Bottom: the oscillation of the remainder $F(U)-C_BU$, measured versus predicted by the same $38$ zeros: correlation $0.988$. The $38$-zero diagonal is $0.03570$, and the zero-counting tail $\sum_{\gamma>120}2/(\frac14+\gamma^2)\approx0.0105$ restores $C_B=0.04619$.} \label{fig:wiggles} \end{figure} \paragraph{The Dirichlet column.} Every dial carries over to a primitive character $\chi$ mod $q$ with $e_\chi(u)=e^{-u/2}\psi(e^u,\chi)$ (no pole to subtract): the slope constant becomes \[ \kappa_\chi=\sum_{\rho_\chi}\frac1{\rho(1-\rho)}=\log\frac q\pi+\frac{\Gamma'}{\Gamma}\Big(\frac{1+a}2\Big)+2\re\frac{L'}L(1,\chi), \] with $a\in\{0,1\}$ the parity of $\chi$. For the character $\chi_3$ of the race between the classes $6k\pm1$ the pair $(\kappa_3,C_3)$ is computed and measured in \cite{CE38}: $\kappa_3=0.113229969857\ldots$. The instrument has one pair of constants per $L$-function, and $(C_B,K)$ is the row of $\zeta$. \section{Discussion and open problems}\label{sec:disc} \subsection{What is achieved} At second order the energy of the primes is $C_B\log X+K+\Phi(\log X)$: the slope is the trace of the Gram matrix of the zeros {\cite{CE5}}, the intercept $K$ is known in closed form and to twelve digits under RH alone, and the oscillation comes from the off-diagonal entries. The constant needs only RH and simple zeros, and is the Ces\`aro mean of the deviation exactly when close pairs of zeros are rare in the weighted sense of Proposition~\ref{prop:cesaro}. The pointwise law and the limiting distribution use in addition the spacing condition \eqref{eq:H}; the distribution would follow from the mean-square approximation \eqref{eq:Q}, which under LI requires \eqref{eq:H2} together with $\nu(\varepsilon)=o(\varepsilon)$. The fluctuations are tiny, with standard deviation $0.0035$, and the primes up to $10^9$ follow the zero side to $10^{-5}$. Resolved by frequency, each zero contributes a principal mode, a closed orbit on the line and a spiral off it, plus a controlled interference. The same multiplicative structure that makes the integrated energy rigid produces, on short ranges $N\le n\le2N$, heavy tails and, numerically, an excess of large values of Dirichlet polynomials at every computable size {\cite{CE7}}. That other face of the Euler product, and what it means for counting zeros off the line, is the subject of \cite{CE7}. \subsection{What is not achieved} Nothing in this paper bears on the truth of RH. Theorems~\ref{thm:K} and~\ref{thm:dist} describe what RH, with simple zeros and the additional spacing condition \eqref{eq:H}, implies for the energy of the primes; Propositions~\ref{prop:K0}--\ref{prop:B2} describe what RH and simple zeros imply with weaker or no spacing conditions. Proving that the energy is finite is RH {\cite[Cor.~2.3]{CE5}}. The orbit identity reads located zeros and cannot constrain a zero that has not been located. The hypotheses \eqref{eq:H}, \eqref{eq:H2}, \eqref{eq:Q} and LI are unproved. The numerical value of $V$ assumes LI, has a numerical lower bound, and has an upper bound only under an assumption on the gaps. \subsection{Open problems} \begin{enumerate} \item Problem~\ref{prob:main}: prove the mean-square approximation \eqref{eq:Q} under RH, simple zeros, \eqref{eq:H2} and $\nu(\varepsilon)=o(\varepsilon)$, which would give the limiting distribution without \eqref{eq:H}; and prove the $B^2$-Cauchy property of $\Phi_T$ under \eqref{eq:H2} without LI. \item Replace \eqref{eq:H} by $\sum_\rho|\rho|^{-2}\delta_\rho^{-1}<\infty$ in Theorems~\ref{thm:K} and~\ref{thm:dist}, using the Montgomery--Vaughan inequality for the truncations of $\Phi$ (Remark~\ref{rem:MV}). \item A closed form for $V$, analogous to Proposition~\ref{prop:K0}, and the symmetry of $\mu$. We observe a skewness of order $10^{-3}$, consistent with $0$; under LI the third moment is a sum over the six-term relations $\gamma_1-\gamma_2+\gamma_3-\gamma_4+\gamma_5-\gamma_6=0$, which we have not evaluated in closed form. Unlike $K$, $V$ involves the differences $\gamma-\gamma'$ and has no evident expression through the Hadamard product. \item The constant term $K_M$ of the M\"obius energy $\int_1^XM(x)^2x^{-2}\,dx=C_M\log X+K_M+\dots$, for which {\cite[Sect.~2]{CE5}} reports the numerical value $K_M=1.2603\pm0.0023$. The trivial and cross parts can be treated as in Proposition~\ref{prop:K0}; the zero--zero part involves $\sum_\rho|\rho\zeta'(\rho)|^{-4}$, which has no closed form known to us. \end{enumerate} \section*{Data and code} The ancillary Python scripts (NumPy, SciPy, Matplotlib, mpmath; python-flint for interval arithmetic) are in the folder \texttt{anc}, whose file \texttt{README.txt} lists, for each script, the section, table or figure it reproduces and its output. \texttt{ancillary/energy\_gauge.py} reproduces Section~\ref{sec:gauge} (the exact $\psi$ to $10^8$, the in-house zeros, the readings and Figures~\ref{fig:gauge}--\ref{fig:wiggles}); \texttt{zeros/rs\_zeros.py} computes the zeros below $10^4$; \texttt{fluct/K\_closed\_form\_arb.py} certifies the value of $K$ (Corollary~\ref{cor:Kval}); \texttt{fluct/K\_formula.py}, \texttt{fluct/variance.py}, \texttt{fluct/variance\_finite\_check.py}, \texttt{fluct/tail\_bounds.py}, \texttt{fluct/primes\_1e9.py} and \texttt{fluct/fig\_fluct.py} reproduce Sects.~\ref{sec:K}--\ref{sec:fluct} and Figure~\ref{fig:dist}; \texttt{K\_constant/} and \texttt{energy/} reproduce Figure~\ref{fig:K} and the values of $I(X)$ up to $10^7$; \texttt{montecarlo/} (with \texttt{granville.py}) and \texttt{fluct/residual.py} reproduce Sect.~\ref{sec:random}; \texttt{orbits/} and \texttt{mobius/} reproduce Sect.~\ref{sec:orbits}. Apart from Corollary~\ref{cor:Kval} the computations are in double precision (extended precision for $I(X)$ up to $10^9$), without interval arithmetic; they illustrate the theorems and are not used in their proofs. \paragraph{Provenance.} This paper and \cite{CE7} together supersede Parts~II--IV of the preprint [LV] and the note [CE], which is contained in Part~II of [LV]; Part~I of [LV] (the trichotomy of $C_2$ and the energy law) is in {\cite{CE1,CE5}}. It also contains the constant term, the random models and the orbits of the prime signal from version~3 of {\cite{CP}}. An earlier version of this paper, titled ``Fluctuations and large values of the prime energy'', also contained the material on large values that is now in {\cite{CE7}}. All numbers of Sects.~\ref{sec:K}--\ref{sec:orbits} were recomputed for this paper. \paragraph{Use of AI tools.} The proofs, computations and drafting of this paper, and of the preprints [LV] and [CE] that it absorbs, were carried out with the assistance of an AI system (Claude, Anthropic), under the author's direction. The author checked the results and takes responsibility for them. \begin{thebibliography}{CE17} \bibitem[ANS]{ANS} A. Akbary, N. Ng, M. Shahabi, Limiting distributions of the classical error terms of prime number theory, \emph{Q. J. Math.} 65 (2014), 743--780. \bibitem[BPT]{BPT} R. P. Brent, D. J. Platt, T. S. Trudgian, The mean square of the error term in the prime number theorem, \emph{J. Number Theory} 238 (2022), 740--762. \bibitem[MSPE]{MSPE} P. Caceres, The mean-square prime energy: constant term, limiting distribution and variance of its fluctuations, preprint, 2026. \bibitem[Cr]{Cr} H. Cram\'er, Ein Mittelwertsatz in der Primzahltheorie, \emph{Math. Z.} 12 (1922), 147--153. \bibitem[Cr36]{Cr36} H. Cram\'er, On the order of magnitude of the difference between consecutive prime numbers, \emph{Acta Arith.} 2 (1936), 23--46. \bibitem[Da]{Da} H. Davenport, \emph{Multiplicative Number Theory}, 3rd ed., Graduate Texts in Mathematics 74, Springer, 2000. \bibitem[DH]{DH} H. Davenport, H. Heilbronn, On the zeros of certain Dirichlet series I, II, \emph{J. London Math. Soc.} 11 (1936), 181--185 and 307--312. \bibitem[Dj]{Dj} A. Denjoy, L'hypoth\`ese de Riemann sur la distribution des z\'eros de $\zeta(s)$, reli\'ee \`a la th\'eorie des probabilit\'es, \emph{C. R. Acad. Sci. Paris} 192 (1931), 656--658. \bibitem[Gr95]{Gr95} A. Granville, Harald Cram\'er and the distribution of prime numbers, \emph{Scand. Actuar. J.} 1995, no.~1, 12--28. \bibitem[Hp]{Hp} A. J. Harper, Moments of random multiplicative functions, I: low moments, better than squareroot cancellation, and critical multiplicative chaos, \emph{Forum Math. Pi} 8 (2020), e1. \bibitem[In]{In} A. E. Ingham, \emph{The Distribution of Prime Numbers}, Cambridge University Press, 1932. \bibitem[Jo]{Jo} F. Johansson, Arb: efficient arbitrary-precision midpoint-radius interval arithmetic, \emph{IEEE Trans. Comput.} 66 (2017), 1281--1292. \bibitem[LV]{LV} P. Caceres, The cross-energy of Dirichlet partial sums: from the energy law of the primes to large values of Dirichlet polynomials, preprint, 2026. \bibitem[MV74]{MV74} H. L. Montgomery, R. C. Vaughan, Hilbert's inequality, \emph{J. London Math. Soc.} (2) 8 (1974), 73--82. \bibitem[RS62]{RS62} J. B. Rosser, L. Schoenfeld, Approximate formulas for some functions of prime numbers, \emph{Illinois J. Math.} 6 (1962), 64--94. \bibitem[RT]{RT} B. Rodgers, T. Tao, The de Bruijn--Newman constant is non-negative, \emph{Forum Math. Pi} 8 (2020), e6. \bibitem[T]{T} E. C. Titchmarsh, \emph{The Theory of the Riemann Zeta-Function}, 2nd ed., revised by D. R. Heath-Brown, Oxford University Press, 1986. \bibitem[Tr14]{Tr14} T. Trudgian, An improved upper bound for the argument of the Riemann zeta-function on the critical line II, \emph{J. Number Theory} 134 (2014), 280--292. \bibitem[Wi]{Wi} A. Wintner, Random factorizations and Riemann's hypothesis, \emph{Duke Math. J.} 11 (1944), 267--275. \bibitem[Wi35]{Wi35} A. Wintner, On the asymptotic distribution of the remainder term of the prime-number theorem, \emph{Amer. J. Math.} 57 (1935), 534--538. \bibitem[CE1]{CE1} P.~Caceres, The C-transform and the cross-energy, preprint, 2026. \bibitem[CE4]{CE4} P.~Caceres, Zeros of truncations: spirals, sections and the circles of the primes, preprint, 2026. \bibitem[CE5]{CE5} P.~Caceres, The energy of the primes, preprint, 2026. \bibitem[CE7]{CE7} P.~Caceres, Multiplicative resonance and large values of Dirichlet polynomials, preprint, 2026. \bibitem[CE8]{CE8} P.~Caceres, The Euler product inside the critical strip, preprint, 2026. \bibitem[CE11]{CE11} P.~Caceres, A two-sided criterion for the Riemann hypothesis from weighted prime sums, verified up to $2\cdot10^{29}$, preprint, 2026; an earlier version is hexagon:2610.00661. \bibitem[CE12]{CE12} P.~Caceres, One constant, three mirrors: $\widehat B=1+\frac{\gamma_E}2-\frac12\log4\pi$ from the zeros, from the primes, and from the M\"obius sawtooths, preprint, 2026. \bibitem[CE13]{CE13} P.~Caceres, The Euler cross-energy, Weil positivity and a one-variable form of the Riemann hypothesis, preprint, 2026. \bibitem[CE14]{CE14} P.~Caceres, The margin as $W-E$, a Hodge index for the integers, preprint, 2026. \bibitem[CE18]{CE18} P.~Caceres, The Euler--Caceres bound, preprint, 2026. \bibitem[CE38]{CE38} P.~Caceres, The energy of the Chebyshev race: an explicit unconditional floor for the prime race between the lanes $6k\pm1$, preprint, 2026. \bibitem[CE46]{CE46} P.~Caceres, Controls for the Riemann hypothesis: Davenport--Heilbronn, Beurling systems and function fields, preprint, 2026. \bibitem[CP]{CP} P.~Caceres, The cross-energy of Dirichlet partial sums and the zeros of the Riemann zeta function, consolidated paper, Hexagon preprint hexagon:2610.00161v2 (2026); Zenodo doi:10.5281/zenodo.23243641. (Its content is divided among Parts 1, 2, 5, 17 and 41 of the series.) \bibitem[CE24]{CE24} P.~Caceres, The Weil window: a two-sided instrument on the cross-energy's test functions, preprint, 2026. \bibitem[CE25]{CE25} P.~Caceres, The Gaussian gauge of the Weil criterion: the landscape as a phase-space symbol, anti-Wick rigidity, and a two-sided detector, preprint, 2026. \bibitem[CE26]{CE26} P.~Caceres, The recursive certificate: Levinson chains of the cross-energy mold, an exhaustion-detection theorem, and the reach of the primes, preprint, 2026. \bibitem[CE27]{CE27} P.~Caceres, The Hankel gauge: Matiyasevich's moments, Lehmer's sums, and a graded positivity instrument for the Riemann hypothesis, preprint, 2026. \bibitem[CE30]{CE30} P.~Caceres, The antiphase lock: the mutual information of prime blocks and the zero-free band, preprint, 2026. \end{thebibliography} \end{document}