\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,amsmath,amssymb,amsthm} \usepackage[letterpaper,margin=1.04in]{geometry} \usepackage[hidelinks]{hyperref} \hypersetup{pdftitle={Additive energy and the exceptional set in Goldbach's problem}, pdfauthor={Wren Aquila}} \newtheorem{theorem}{Theorem} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{proposition}[theorem]{Proposition} \newcommand{\Z}{\mathbb Z} \newcommand{\T}{\mathbb T} \newcommand{\E}{\mathcal E} \newcommand{\ee}{\mathrm e} \newcommand{\ind}{\mathbf 1} \newcommand{\GRH}{the generalized Riemann hypothesis for all Dirichlet \(L\)-functions, including the Riemann zeta function} \raggedbottom \title{Additive energy and the exceptional set\\in Goldbach's problem} \author{Wren Aquila} \date{29 November 2026} \begin{document} \maketitle \begin{abstract} Assume the generalized Riemann hypothesis for Dirichlet \(L\)-functions, including \(\zeta(s)\). For every fixed \(\beta<1/4\), the number of even integers up to \(X\) that fail to be sums of two primes is \(O_\beta(\sqrt X\exp\{-(\log X)^\beta\})\). A mean-square estimate for primes in short arithmetic progressions bounds the additive energy of each subset of the exceptions from below. We apply it first at stride one and then on a progression obtained from a containment theorem of Konyagin. Assuming also Theorem~1.4 of Raghavan's 2026 preprint, the exponential factor becomes \(\exp\{-c\sqrt{\log X}/\log\log X\}\). At stride two it also gives the following conclusion for every large even \(N\). Almost every prime \(\ell\le M\) admits a representation \(N=p_1+p_2+2\ell^2\), where one may take \(M=(\log N)^5(\log\log N)^2\log\log\log N\). \end{abstract} \section{Results} Let \(E(X)\) count the even integers \(v\) in \([4,X]\) for which \(v=p+p'\) has no solution in primes, and let \(\pi(x)\) count the primes up to \(x\). In this paper GRH means the generalized Riemann hypothesis for every Dirichlet \(L\)-function, including \(\zeta(s)\). \begin{theorem}\label{thm:global} Assume \GRH. For every fixed real \(\beta<1/4\) and every \(X\ge4\), \begin{equation}\label{eq:global} E(X)\ll_\beta \sqrt X\,\exp\{-(\log X)^\beta\}. \end{equation} In particular, \(E(X)\ll_B \sqrt X/(\log X)^B\) for every fixed \(B>0\). \end{theorem} Under GRH, Hardy and Littlewood \cite[Theorem~B, p.~55]{HL} obtained \(E(X)\ll_\varepsilon X^{1/2+\varepsilon}\). In 1992 Goldston obtained \(E(X)\ll\sqrt X(\log X)^4\) \cite[p.~122, following Corollary~3.1, and (8.5) on p.~152]{Goldston}. The third logarithmic power follows from the 1993 short-interval result of Kaczorowski, Perelli and Pintz \cite[Corollary]{KPP}. Under GRH they bound the number of exceptions in \((x,x+H]\) by \(O(\sqrt H(\log x)^3)\) for \(H\le x\) with \(H/(\log x)^6\to\infty\). Taking \(H=x\) and summing dyadically gives \(E(X)\ll\sqrt X(\log X)^3\). Their corrigendum \cite{KPPcorr} credits Goldston with the correction to their (18). Languasco and Perelli \cite[\S5, (26), pp.~359--360]{LP} treat the endpoints in Lemma~1 of \cite{KPP} and recover the corollary under GRH. Bhowmik and Halupczok state \(E(x)\ll x^{1/2}\log x\) under the Riemann hypothesis for \(\zeta(s)\) \cite[\S3.3 of the preprint]{BH}. Languasco and Perelli's hypothesis \(\mathrm{GMC}(\theta)\) adds a pair-correlation bound for zeros across Dirichlet characters to GRH. For fixed \(0<\theta\le 1/2\) they obtain \(O_\varepsilon(X^\varepsilon)\) exceptions in \([X,X+X^{2\theta}]\) and \(O_\varepsilon(X^{1-2\theta+\varepsilon})\) in \([X,2X]\) \cite[(4) and Corollary~1, pp.~350--351]{LP}. Summing the latter bound gives \(E(X)\ll_\varepsilon X^{1-2\theta+\varepsilon}\). Under GRH and their Dirichlet ratios conjecture \(\mathrm{RC}_D(\omega_D)\) for all primitive conductors, with fixed \(\omega_D>0\), Gou, Wang and Xu obtain a Goldbach asymptotic for every even total, giving \(E(X)\ll 1\) \cite[Theorem~1.1, (1.3)]{GWX}. \begin{corollary}\label{cor:square} Assume \GRH. Let \(N\) tend to infinity through even integers, put \(L=\log N\), and let \(M=M(N)\) be a positive integer with \[ M\le \frac{\sqrt N}{8L^4},\qquad \frac{M}{L^5(\log(2M))^2}\longrightarrow\infty . \] For all but \(o(\pi(M))\) primes \(\ell\le M\), there exist primes \(p_1\in[N/10,N/6]\) and \(p_2>p_1\) such that \(N=p_1+p_2+2\ell^2\). In particular, one may take \[ M=\left\lceil L^5(\log L)^2\log\log L\right\rceil , \] or replace the last factor by any more slowly diverging positive function. \end{corollary} For the displayed choice of \(M\), the exceptional proportion is \(O((\log\log\log N)^{-1/4})\). Perelli \cite[Corollary~1]{Perelli} studied Goldbach exceptions among the values of a fixed polynomial. Br\"udern, Kawada and Wooley \cite[Theorem~1]{BKW} bounded the number of exceptional indices using mean values of their exponential sum. Alth\"ofer, Chen, Perelli and Pintz give further bounds for polynomial values \cite[Theorem~1]{ACPP}. Corollary~\ref{cor:square} fixes \(N\) and varies the prime-square shift with \(\ell\le M\). For a finite set \(D\subset\Z\) write \(\E(D)=\#\{(u,v,w,t)\in D^4:u+v=w+t\}\). It is always at most \(|D|^3\), since three entries determine the fourth. The next estimate supplies the reverse constraint at a missing total. Its uniformity in the initial point and stride will allow both to depend on the exceptional set. \begin{proposition}\label{prop:energy} Assume \GRH. Let \(X\) be sufficiently large, \(L=\log X\), and \(R=\lfloor\sqrt X/L^4\rfloor\). Let \(a\in\Z\) and \(q,H\ge1\) be integers with \(qH\le X/1000\). Suppose \(D\subset[-H,H]\cap\Z\) and every \(a+qk\), \(k\in D\), is even, belongs to \([X/2,X]\), and has no representation \(p+p'\) with \(p\in[X/10,X/6]\) and \(p'\) prime. Then \begin{equation}\label{eq:energy} |D|^4\ll L^{12}\sqrt H\,\E(D). \end{equation} If \(2q\sqrt H\le R\), the factor \(L^{12}\) can be replaced by \(L^5\). The constants are absolute. \end{proposition} At stride one, \eqref{eq:energy} gives an energy refinement of the short-interval count in \cite{KPP}. It bounds each exceptional subset in terms of its own energy and gives \(|D|\ll L^{12}\sqrt H\) on using \(\E(D)\le |D|^3\). Li and Liu assume that all nontrivial zeros of primitive Dirichlet \(L\)-functions, including \(\zeta(s)\), satisfy \(\Re\rho\le\Theta\), for a fixed \(1/2\le\Theta<11/12\). Their minor-arc fourth moment gives \(E(X)\ll_\Theta\sqrt X(\log X)^{100}\) \cite[Theorems~1 and~2]{LL}. Earlier, under a common fixed zero-free half-plane \(\Re s>\Theta\) with \(\Theta<1\), Pintz and Alth\"ofer obtained \(E(X)\ll_{\Theta,\varepsilon}X^{7/12+\varepsilon}\) \cite[Theorem~1]{PA}. The fourth moment of the exceptional set itself occurs in Alth\"ofer, Chen, Perelli and Pintz \cite[(4.3)--(4.6)]{ACPP}. For an arbitrary set \(A\) of even Goldbach exceptions in \((X/2,X]\), take their exponent to be four and put \(K_A(\alpha)=\sum_{v\in A}e^{-2\pi i v\alpha}\). Let \(I_j(\mathfrak a)=\int_{\mathfrak a}|S_w(\alpha)|^j\,d\alpha\) for their smoothed prime sum. With \(\mathfrak m\) their minor arcs and \(\T=\mathbb R/\Z\) of measure one, their H\"older step gives \[ (X|A|)^4\ll I_4(\mathfrak m)I_2(\T)^2 \int_{\T}|K_A(\alpha)|^4\,d\alpha,\qquad \int_{\T}|K_A(\alpha)|^4\,d\alpha=\E(A). \] Li and Liu's bound \(I_4(\mathfrak m)\ll_\Theta X^{5/2}(\log X)^{100}\) and Parseval's estimate \(I_2(\T)\ll X\log X\) thus give \(|A|^4\ll_\Theta\sqrt X(\log X)^{102}\E(A)\) under their zero hypothesis with \(\Theta<11/12\) \cite[Theorem~1 and Proposition~4.1]{LL}. Proposition~\ref{prop:energy} proves a bound at each admissible stride \(q\) and length \(H\), including for totals missing a representation with one prime in the prescribed interval. For subsets of the squares, Chang \cite{Chang}, following Bourgain, combined Balog--Szemer\'edi--Gowers and Freiman's theorem with bounds for squares on progressions to estimate the fourth moment. Sanders \cite[Theorem~11.7]{Sanders} sharpened this argument using his Bogolyubov--Ruzsa lemma. Here the inverse argument applies to the Goldbach exceptions. At stride one, \eqref{eq:energy} forces any set of nearly \(\sqrt X\) exceptions in a dyadic interval to have large additive energy. Balog--Szemer\'edi--Gowers then gives a large subset with a small difference set. Konyagin's iteration, in the containment form recorded by Sanders, gives a pair of sets of small relative growth in a finite model. Their large Fourier coefficients yield a long ordinary progression which lifts into an iterated sum and difference set of the exceptions. Averaging translates puts many of the original exceptions on a segment of this progression. Applying \eqref{eq:energy} at the stride of that segment gives the contradiction. For Corollary~\ref{cor:square} the indices are negative prime squares, whose energy has a direct upper bound. \paragraph{Changes in version 2.} In version 1 the torsion-free theorem of Sanders gave exponent \(1/5\) \cite[Theorem~11.3]{Sanders}. Its general abelian-group form gives \(1/7\) \cite[Theorem~1.1]{Sanders}. Konyagin's containment estimate \cite[Proposition~8.5]{Survey} gives every fixed \(\beta<1/4\) in Theorem~\ref{thm:global}. Under GRH and Theorem~1.4 of Raghavan's preprint, Section~\ref{sec:inverse} gives a stronger bound. A digit construction there bounds the saving obtainable from the energy estimate alone. The exponent \(5\) in Corollary~\ref{cor:square} comes directly from Proposition~\ref{prop:energy} at stride two. \section{A prime model at a missing total}\label{sec:model} Write \(\ee(t)=\exp(2\pi i t)\), \(\T=\mathbb R/\Z\), and use probability Haar measure on \(\T\). Let \(\vartheta(n)=\log n\) if \(n\) is prime and zero otherwise. The von Mangoldt function is denoted by \(\Lambda\), the M\"obius function by \(\mu\), and Euler's totient by \(\varphi\). As usual \((a,b)\) is the greatest common divisor. For \(I=[X/10,X/6]\), take \(g=\vartheta\ind_I\). Fix a real smooth \(0\le W\le1\) supported on \([1/4,1]\), equal to one on \([1/3,9/10]\). With a star denoting reduced residue classes, put \[ c_d(n)=\sum_{u\bmod d}^{*}\ee(un/d),\qquad F(n)=\sum_{d\le R}\frac{\mu(d)}{\varphi(d)}c_d(n),\qquad f(n)=W(n/X)(\vartheta(n)-F(n)). \] The term at \(d=1\) is one. All these weights are real, since the unit residues are closed under negation. We use \((f*g)(v)=\sum_n f(v-n)g(n)\). For \(y\ge2\) we will use the estimates \begin{equation}\label{eq:phi} \sum_{d\le y}\frac1{\varphi(d)}\ll\log(2y),\qquad \sum_{d\le y}\frac{\mu^2(d)d}{\varphi(d)^2}\ll\log(2y). \end{equation} Indeed, for \(j=1,2\) one has \((d/\varphi(d))^j=\sum_{s\mid d} b_j(s)\), where \(b_j\) is multiplicative, supported on squarefree integers, with \(b_j(p)=(1-1/p)^{-j}-1=O(1/p)\). Summing after division by \(d\) and using \(\sum_s b_j(s)/s=\prod_p(1+b_j(p)/p)<\infty\) gives both bounds. Also \(d/\varphi(d)=\sum_{s\mid d}\mu^2(s)/\varphi(s) \ll\log(2d)\). Under GRH the prime number theorem in a reduced class \(b\bmod d\) gives, uniformly for \(t\asymp X,\ d\le R\), \[ \sum_{\substack{p\le t\\p\equiv b\bmod d}}\log p =t/\varphi(d)+O(\sqrt X L^2). \] For \(d\ge3\) this follows from Ernvall-Hyt\"onen and Paloj\"arvi \cite[Theorem~3]{EHP}. For every \(U\ge2\) the number of higher prime powers up to \(U\) is at most \(U^{1/2}+O(U^{1/3}\log(2U))\ll\sqrt U\), by counting the squares and then the exponents \(3\le j\le\log U/\log 2\). At \(U=2X\) their total weight is \(O(\sqrt X L)\). The two reduced classes modulo 3 and the prime 3 together give the estimate for \(d=1\). Removing the prime 2 gives it for \(d=2\). In particular \(\sum_{p\le x}\log p\sim x\) and \(\pi(x)\sim x/\log x\) by partial summation. For \(X/2\le v\le X\) and \(p\in I\), the cutoff equals one at \((v-p)/X\). Every such prime is prime to \(d\le R\) for large \(X\). Summing the defining exponential sum over reduced \(b\) gives \(\sum_b^* c_d(v-b)=\mu(d)c_d(v)\), since \(c_d(u)=\mu(d)\) when \((u,d)=1\). To control the errors, M\"obius inversion in the coprimality condition gives \(c_d(t)=\sum_{s\mid(d,t)}s\mu(d/s)\). A reduced residue modulo \(s\mid d\) has \(\varphi(d)/\varphi(s)\) reduced lifts modulo \(d\), as follows prime by prime. Consequently \[ \frac{1}{\varphi(d)}\sum_{b\bmod d}^{*}|c_d(v-b)| \le \sum_{s\mid d}\frac{s}{\varphi(s)},\qquad \sum_{d\le R}\sum_{s\mid d}\frac{s}{\varphi(s)} \le R\sum_{s\le R}\frac1{\varphi(s)}\ll R\log(2R). \] Applying the progression estimate at both endpoints of \(I\) (a possible endpoint prime costs \(O(L)\)) therefore gives \begin{equation}\label{eq:mainterm} (F*g)(v)=|I|\sum_{d\le R}\frac{\mu^2(d)c_d(v)}{\varphi(d)^2} +O\bigl(\sqrt X L^2 R\log(2R)\bigr), \end{equation} where \(|I|=X/15\). The error is \(O(X/L)\). For squarefree \(d\), the Chinese remainder theorem gives \(c_d(v)=\prod_{p\mid d}c_p(v)\), with \(c_p(v)=p-1\) if \(p\mid v\) and \(c_p(v)=-1\) otherwise. In particular \(|c_d(v)|\le (d,v)\). For any fixed \(0<\delta<1/4\), the pointwise bound \(d/\varphi(d)\ll\log(2d)\) proved above gives \(\varphi(d)^{-2}\ll d^{-2}\log^2(2d)\ll_\delta d^{-2+\delta}\). The absolute tail of the series in \eqref{eq:mainterm} is bounded by \[ \ll_\delta \sum_{s\mid v}s\sum_{\substack{d>R\\s\mid d}}d^{-2+\delta} \ll_\delta R^{-1+\delta}\tau(v). \] The inner sum is \(O_\delta(s^{-1}R^{-1+\delta})\), also for \(s>R\). To see that the divisor count satisfies \(\tau(v)\ll_\delta v^\delta\), write \(\tau(v)=\prod_{p^\nu\parallel v}(\nu+1)\) and use \(\nu+1\le p^{\delta\nu}\) for \(p^\delta\ge2\), absorbing the supremum of \((\nu+1)p^{-\delta\nu}\) at each of the finitely many smaller primes. Taking, for example, \(\delta=1/10\) makes the tail \(o(1)\) uniformly. For even \(v\), the completed product is \[ 2\prod_{p>2}\left(1-\frac1{(p-1)^2}\right) \prod_{\substack{p\mid v\\p>2}}\frac{p-1}{p-2}. \] The first product converges to a positive constant. Thus for every missing total specified in Proposition~\ref{prop:energy}, there is an absolute \(c_0>0\) such that \begin{equation}\label{eq:sign} (f*g)(v)=-(F*g)(v)\le -c_0 X . \end{equation} \section{Mean squares on progressions}\label{sec:prefix} For an interval \(J_0\subset[X/5,2X]\) of starting points write \(\|u\|_{J_0}^2=X^{-1}\sum_{x\in J_0\cap\Z}|u(x)|^2\). All the following estimates are uniform in \(J_0\). For integers \(m,J\ge1\) with \(mJ\le X/20\), set \[ U_m(x)=\frac{m}{\varphi(m)}\ind_{(x,m)=1},\qquad \Delta_m=\ind_{m>R}\frac{mL}{R^2}+\frac{L^2}{\sqrt X}. \] We shall prove the prefix estimate \begin{equation}\label{eq:prefix} \left\|\sum_{j=1}^{J}(\vartheta-F)(x+mj)\right\|_{J_0}^{\,2} \ll J L^2+J^2\Delta_m . \end{equation} \subsection*{The prime contribution} For \((b,m)=1\) put \(\psi(y;m,b)=\sum_{n\le y,\ n\equiv b\bmod m}\Lambda(n)\). Prachar's original GRH estimate is a weighted mean square for primes in multiplicative intervals \((y,y+y/U]\), for sufficiently large \(U\) \cite[\S2, (6), p.~273]{Prachar}. We use the fixed-length formulation recorded by Goldston and Y{\i}ld{\i}r{\i}m \cite[(1.1)--(1.4), p.~563]{GY}. Their (1.4) gives, for each modulus throughout the full range of their (1.3), namely \(Y\ge2\), \(1\le m\le Y\) and \(1\le s\le Y\), \begin{equation}\label{eq:prachar} \sum_{b\bmod m}^{*}\int_Y^{2Y} \left|\psi(y+s;m,b)-\psi(y;m,b)-\frac{s}{\varphi(m)}\right|^2\,dy \ll sY\log^2(mY). \end{equation} Use \(s=mJ\). If \(x\equiv b\bmod m\), the class members in \((y,y+s]\) for \(x\le yR\) have mean square \(\sum_{d\mid m,\ d>R}\mu^2(d)/\varphi(d)\). Covering \(J_0\) by complete periods costs an absolute factor because \(m\le X/20\). There are at most \(m/R\) such divisors, by the injection \(d\mapsto m/d\), and \(1/\varphi(d)\ll L/R\). Hence their contribution to the squared norm of the sum of \(J\) terms is \(O(J^2\ind_{m>R}mL/R^2)\). For \(d\nmid m\), apply \eqref{eq:sieve} in \(x\) to the average over \(j\). Write a squarefree \(d=ev\), \(e=(d,m)\), \(v>1\). Then \((v,m)=1=(e,v)\), and cancelling \(e\) maps the unit numerators of \(um/d\bmod1\) onto the unit numerators modulo \(v\), each with multiplicity \(\varphi(e)\). For \(A_J(t)=J^{-1}\sum_{j=1}^J\ee(jt)\), we have \[ \sum_{w\bmod v}^{*}|A_J(w/v)|^2\ll v/J. \] If \(v\ge J\), summing over all residues gives \(v/J\) by orthogonality. If \(11\). If \(q>H_0\), a translate meets the block containing \(B\) at most once. Otherwise its intersection with the block consists, when nonempty, of \(H\le T_0\) consecutive terms with \(qH\le H_0+q\le X/1000\). Use the first such term as origin and take the indices \(D\) of the members of \(V\) on this segment. Every indexed total is an even exception in \([X/2,X]\). By \eqref{eq:energy} and \(\E(D)\le|D|^3\), each translate contains \(O(L^{12}\sqrt{T_0})\) members of \(V\). This also holds for \(T_0=1\). Sum over \(t\in V-P\) using \(\sum_t|V\cap(t+P)|=|V|T_0\) to obtain the claim. \begin{proof}[Proof of Theorem~\ref{thm:global}] Fix \(0<\gamma<1/4\) and take \(u=L^\gamma\) in \eqref{eq:contrary}. Put \(s=\lceil k\rceil\). By Bertrand's postulate there is a prime \(p\) between \(2|sB-sB|\) and \(4|sB-sB|\). Ruzsa's modelling lemma in Croot, \L aba and Sisask \cite[Proposition~5.1]{CLS}, applied to \(B,\{0\}\) at order \(s\), gives a subset \(B_0\subset B\) of size at least \(b/(2s)\) and a Freiman \(s\)-isomorphism from \(B_0\) onto \(A\subset G=\Z/p\Z\). This bijection preserves equalities of \(s\)-term sums in both directions. Padding by a fixed element gives the same property at every lower order. In particular, \[ \log p\gg L,\qquad \log(p/|A|)\ll sk,\qquad |A+A|/|A|\le 2s(K')^2. \] Here \(p\ge2b\), \(p/|A|\le8s(K')^{2s}\), and \(|A+A|=|B_0+B_0|\le(K')^2b\). Apply Konyagin's iteration in Sanders' survey \cite[Proposition~8.5, from Proposition~8.3 and Corollary~8.4]{Survey} to \(A\) in \(G\). Since \(\log(2s(K')^2)\ll k\), it gives symmetric sets \(S,T\) containing zero and an integer \(r\ge1\) such that \[ \begin{gathered} A-A\subset S\subset r(A-A),\qquad |S+T|\le C|S|,\\ r\ll(\log(2k))^a,\qquad \log(|S|/|T|)\ll k^3(\log(2k))^a \end{gathered} \] with absolute \(C\ge1\) and \(a>0\). Some \(y\in S+T\) has at least \(|T|/C\) representations as a sum. Then \(U=(T\cap(y-S))-y\) lies in \(S\), has size at least \(|T|/C\), and satisfies \(|S+U|\le C|S|\). Since \(|S|\ge|A|\) and \(s=\lceil k\rceil\), \(\log(2p/|U|)\ll k^3(\log(2k))^a\). We use the large spectrum as in \cite[proof of Theorem~6.2]{CLS}. Give \(G\) probability measure, write \(*\) for its convolution and \(\widehat g(\xi)=p^{-1}\sum_x g(x)\ee(-\xi x/p)\). For nonempty \(W\) put \(\mu_W=p\ind_W/|W|\). Define \[ g=\ind_{S+U}*\mu_{-S},\qquad F=g*\mu_{-U}. \] Then \(g=1\) on \(U\), \(F(0)=1\), and \(\operatorname{supp}F\subset S+U-S-U\subset4S\). Cauchy--Schwarz and Parseval give \(\sum_\xi|\widehat g(\xi)|\le\sqrt{|S+U|/|S|}\le\sqrt C\). Take \(\rho=1/(8\sqrt C)\). By Chang's lemma \cite[Lemma~4.36]{TV}, the frequencies with \(|\widehat\mu_U(\xi)|\ge\rho\) lie among the sums \(\sum_{i=1}^d\epsilon_i\lambda_i\), \(\epsilon_i\in\{-1,0,1\}\), for \(d\ll\log(2p/|U|)\). We may take \(d\ge1\). If \(t\in G\) satisfies \(\|\lambda_i t/p\|_{\T}\le c_0/(d+1)\) for all \(i\), where \(\|\cdot\|_{\T}\) is distance to the nearest integer, then \[ |F(t)-1|\le(2\pi c_0+2\rho)\sqrt C\le\tfrac12 \] for a sufficiently small absolute \(c_0>0\). Indeed, in Fourier inversion \(|\ee(\xi t/p)-1|\le2\pi c_0\) on those sums, and \(|\widehat\mu_{-U}(\xi)|<\rho\) off the large spectrum. Thus every such \(t\) belongs to \(4S\). Put \(m=\lfloor(p-1)^{1/d}\rfloor\). Among the \(p\) points \((\lambda_i x/p)_{i=1}^d\) of \(\T^d\), two indices lie in the same one of \(m^d0\), \[ L\ll d\bigl(rk+\log L+\log(2d)\bigr) \ll k^4(\log(2k))^{a_1}. \] By \eqref{eq:k}, \(k\ll L^\gamma\), so \(4\gamma<1\) gives a contradiction. The powers of \(\log(2k)\) in the containment estimate account for the strict inequality in the exponent. For a fixed \(\beta<1/4\) choose \(\max\{0,\beta\}<\gamma<1/4\). Sum the dyadic bounds with upper endpoints \(Y=X/2^j\ge X^{1/3}\). Here \((\log Y)^\gamma\ge(L/3)^\gamma\ge L^\beta\) for large \(X\) and \(\sum_j\sqrt{X/2^j}\ll\sqrt X\). The remaining integers contribute \(O(X^{1/3})\). This proves \eqref{eq:global}, with the implied constant covering bounded \(X\). Any fixed positive \(\beta<1/4\) gives the logarithmic consequence. \end{proof} \paragraph{Conditional remark on Raghavan's covering theorem.} Assume \GRH. Assume also Theorem~1.4 of Rushil Raghavan's unrefereed preprint \emph{Improved bounds for the Freiman--Ruzsa theorem} \cite[version~2]{Raghavan}. Then there are absolute \(c,C>0\) such that for \(X\ge16\), \[ E(X)\le C\sqrt X\exp\!\left\{-c\, \frac{\sqrt{\log X}}{\log\log X}\right\}. \] To see this, take \(u=\eta\sqrt L/\log L\) in \eqref{eq:contrary}, with \(0<\eta\le1\) fixed for now. Since \(|B+B|\le(K')^2b\), the assumed theorem covers \(B\) by at most \(e^f\) translates of a convex coset progression \(M\) of dimension \(D\le f\) and size \(|M|\le e^f b\), where \(f=C_2k\log(2k)\). Here we have used the covering function \(O(\log(3K)\log\log(3K))\) of \cite[Question~1.2 and Theorem~1.4]{Raghavan} at \(K=(K')^2\). By \cite[Definition~2.6]{Raghavan}, \(M=\phi(Q\cap\Lambda)\), where \(Q=-Q\) is a convex body, \(\Lambda=\Z^D\), and \(\phi:\Lambda\to\Z\) is a homomorphism. Finiteness of \(M\) makes its subgroup trivial in \(\Z\). One translate \(x+M\) meets \(B\) in a set \(V\) of size at least \(e^{-f}b\), so \(|M|\ge e^{-f}b\). For clarity, restrict the body and lattice to the real span of \(Q\cap\Lambda\), using its dimension for \(D\). The body then has interior in this span, since it contains a spanning set and its negatives. For \(a,t>0\) choose a maximal family of points \(y\in aQ\cap\Lambda\) with the interiors of \(y+(t/2)Q\) disjoint. These translates lie in \((a+t/2)Q\), so volume bounds their number by \((1+2a/t)^D\). Maximality and symmetry cover \(aQ\cap\Lambda\) by the same number of translates of \(tQ\cap\Lambda\). Taking \(a=2,t=1\) and applying \(\phi\) gives \(|M+M|\le5^D|M|\). Taking \(a=1,t=1/n\) shows that if \((2n+1)^D<|M|\), then \(\phi((Q/n)\cap\Lambda)\) contains some \(q\ne0\), since otherwise those translates would cover \(M\) by at most \((2n+1)^D\) points. By convexity and symmetry \(P=\{jq:|j|\le n\}\subset M\). By \eqref{eq:k}, \(f\ll\eta\sqrt L\) for sufficiently large \(X\) depending on \(\eta\), with an absolute implied constant. Also \(\log|M|\ge\log b-f\ge L/2-o(L)\), so \(D\ge1\) and \(|M|^{1/D}\to\infty\). Set \(n=\lfloor|M|^{1/D}/4\rfloor\). The progression above has \(T_0=2n+1\) distinct terms and \(\log T_0\ge D^{-1}\log|M|-O(1)\). Since \(V\subset x+M\) and \(P\subset M=-M\), we have \(|V-P|/|V|\le 5^De^{2f}\). Our translate estimate now gives \(\log T_0\ll f+\log L\). It follows that \(\log b\ll f^2+f\log L\), with absolute constants. For sufficiently small fixed \(\eta>0\) this contradicts \(\log b\ge L/2-o(L)\). Summing dyadically as above gives the asserted bound, since \(\sqrt{\log Y}/\log\log Y\ge\sqrt{L/3}/\log L\) for \(X^{1/3}\le Y\le X\) and \(X\) large. \paragraph{Limits of the progression energy estimate.} Let \(X\) be large and \(L=\log X\). Fix \(\nu\in\{10,24\}\) and \(\delta>0\), and take a prime \(s\in[\delta L^\nu,2\delta L^\nu]\). Put \(n=\lfloor\log(X/4)/\log s\rfloor\), \(d=\lfloor(\sqrt s+1)/2\rfloor\), and form the integers with \(n\) base-\(s\) digits in \(\{0,\ldots,d-1\}\), allowing leading zeros. Keep the more numerous parity class (either in a tie) and translate by the integer of matching parity among \(\lceil X/2\rceil,\lceil X/2\rceil+1\). This gives a set of even integers in \([X/2,X]\), of size between \(d^n/2\) and \(d^n\). Since \(n\log s=L+O(\log s)\) and \(\log d=\tfrac12\log s-\log2+O(s^{-1/2})\), its size is \[ \sqrt X\exp\!\left\{-\left(\frac{\log2}{\nu}+o(1)\right) \frac{L}{\log L}\right\}. \] Suppose \(a+qj\) lies in this set for every \(j\in D\subset[-H,H]\cap\Z\), where \(a\in\Z\) and \(q,H\ge1\) are integers. Write \(q=s^v q'\) with \(s\nmid q'\), and take the least \(m\) with \(s^m>4H\). Each \(q(j-j')\) has signed base-\(s\) digits in \([-(d-1),d-1]\) obtained by termwise subtraction, padded with zeros. Its first \(v\) digits vanish successively on reduction modulo \(s\). Its next \(m\) digits determine \(q'(j-j')\bmod s^m\), hence \(j-j'\) itself by invertibility and \(|j-j'|\le2H\). Consequently \[ |D-D|\le(2d-1)^m\le s^{m/2}\le2\sqrt{sH},\qquad |D|^4\le |D-D|\E(D)\le 2\sqrt{2\delta}\,L^{\nu/2}\sqrt H\,\E(D), \] by Cauchy--Schwarz on the difference counts. The choice \(\nu=24\) gives the factor \(L^{12}\) in \eqref{eq:energy}. With \(\nu=10\) the example satisfies even the \(L^5\) bound at every stride. The union of these examples at \(X=8^j\) has the same bounds, since each dyadic interval meets at most one example and its upper endpoint is then comparable to \(X\). Thus an exponent growing faster than \(L/\log L\) in the exponential saving requires information beyond these energy bounds. \section{Prime-square shifts of a prescribed total}\label{sec:square} \begin{proof}[Proof of Corollary~\ref{cor:square}] In Proposition~\ref{prop:energy} take \(X=a=N,\ q=2,\ H=M^2\). The upper bound on \(M\) ensures \(2M^2\le N/1000\) and \(4M=2q\sqrt H\le R\) for large \(N\). Thus every \(N-2\ell^2\) under consideration lies in \([N/2,N]\). Let \(D\) consist of \(-\ell^2\) for the primes \(\sqrt M<\ell\le M\) for which this even total has no representation with \(p_1\in[N/10,N/6]\). The second bound of Proposition~\ref{prop:energy} gives \begin{equation}\label{eq:squareenergy} |D|^4\ll L^5 M\,\E(D). \end{equation} We use the fourth moment of prime squares in Languasco and Zaccagnini \cite[Lemma~5]{LZ}. In their normalization, for integers \(Y\ge 2\), \[ \int_{\T}\left|\sum_{n\ge1}\Lambda(n)\exp(-n^2/Y)\ee(n^2\alpha) \right|^4\,d\alpha\ll Y(\log(2Y))^2 . \] By orthogonality this counts equal sums of two squares with nonnegative weights. At \(Y=M^2\), every occurrence of a prime \(\sqrt M<\ell\le M\) has weight at least \(e^{-1}(\log M)/2\). Each quadruple in \(\E(D)\) is therefore counted with weight \(\gg(\log M)^4\), since changing all four signs preserves the equation. Consequently \[ \E(D)\ll\frac{M^2}{(\log(2M))^2},\qquad |D|^4\ll \frac{L^5 M^3}{(\log(2M))^2}. \] There are at most \(\sqrt M\) additional primes to consider. Dividing by \(\pi(M)\asymp M/\log(2M)\), the proportion of exceptions to the claimed representation is at most \[ \ll \frac{\log(2M)}{\sqrt M} +\left(\frac{L^5(\log(2M))^2}{M}\right)^{1/4}. \] This tends to zero under the stated condition. For the displayed choice of \(M\), one has \(\log M\sim5\log L\), so the bound is \(O((\log\log L)^{-1/4})=O((\log\log\log N)^{-1/4})\). The partner prime satisfies \(p_2=N-2\ell^2-p_1\ge N/2-N/6=N/3>p_1\). \end{proof} The quadruples \((u,v,u,v)\) give \(\E(D)\ge |D|^2\). At \(M\asymp L^5(\log M)^2\), inequality \eqref{eq:squareenergy} is therefore compatible with \(|D|\) a fixed positive fraction of \(\pi(M)\). The diverging factor in Corollary~\ref{cor:square} gives the vanishing proportion. \paragraph{Remark.} L.~Alp\"oge has \href{https://alpo.ge/remark.pdf}{announced a proof of GRH}, formalised in Lean. If the announced proof is correct, the theorems of this paper would then hold unconditionally. \begin{thebibliography}{99} \small \raggedright \setlength{\itemsep}{2pt} \setlength{\parskip}{0pt} \bibitem{ACPP} I. Alth\"ofer, D. Chen, A. Perelli and J. Pintz, \href{https://arxiv.org/abs/2611.09386}{The exceptional set of Goldbach numbers among polynomial values}, arXiv:2611.09386 (2026). \bibitem{BH} G. Bhowmik and K. Halupczok, \href{https://doi.org/10.2969/aspm/08410001}{Asymptotics of Goldbach representations}, \emph{Adv. Stud. Pure Math.} \textbf{84} (2020), 1--21. Preprint \href{https://arxiv.org/abs/1809.06920}{arXiv:1809.06920}. \bibitem{BKW} J. Br\"udern, K. Kawada and T. D. Wooley, \href{https://doi.org/10.1112/S002557930001576X}{Additive representation in thin sequences, II: The binary Goldbach problem}, \emph{Mathematika} \textbf{47} (2000), 117--125. \bibitem{Chang} M.-C. Chang, \href{https://doi.org/10.1016/S0022-1236(03)00073-9}{On problems of Erd\H{o}s and Rudin}, \emph{J. Funct. Anal.} \textbf{207} (2004), 444--460. \bibitem{CLS} E. Croot, I. \L aba and O. Sisask, \href{https://doi.org/10.1017/S0963548313000060}{Arithmetic progressions in sumsets and \(L^p\)-almost-periodicity}, \emph{Combin. Probab. Comput.} \textbf{22} (2013), 351--365. \bibitem{EHP} A.-M. Ernvall-Hyt\"onen and N. Paloj\"arvi, \href{https://doi.org/10.1090/mcom/3691}{Explicit bound for the number of primes in arithmetic progressions assuming the generalized Riemann hypothesis}, \emph{Math. Comp.} \textbf{91} (2022), 1317--1365. \bibitem{Goldston} D. A. Goldston, On Hardy and Littlewood's contribution to the Goldbach conjecture, in \emph{Proceedings of the Amalfi Conference on Analytic Number Theory} (Maiori, 1989), Universit\`a di Salerno, Salerno, 1992, 115--155. \bibitem{GY} D. A. Goldston and C. Y. Y{\i}ld{\i}r{\i}m, \href{https://doi.org/10.4153/CJM-1998-031-9}{Primes in short segments of arithmetic progressions}, \emph{Canad. J. Math.} \textbf{50} (1998), 563--580. \bibitem{GWX} H. Gou, V. Y. Wang and M. W. Xu, \href{https://arxiv.org/abs/2611.18825}{Landau's problems through ratios of \(L\)-functions}, arXiv:2611.18825 (2026). \bibitem{HL} G. H. Hardy and J. E. Littlewood, \href{https://doi.org/10.1112/plms/s2-22.1.46}{Some problems of \textquotedblleft Partitio numerorum\textquotedblright\ (V): A further contribution to the study of Goldbach's problem}, \emph{Proc. London Math. Soc.} (2) \textbf{22} (1924), 46--56. \bibitem{KPP} J. Kaczorowski, A. Perelli and J. Pintz, \href{https://doi.org/10.1007/BF01301533}{A note on the exceptional set for Goldbach's problem in short intervals}, \emph{Monatsh. Math.} \textbf{116} (1993), 275--282. \bibitem{KPPcorr} J. Kaczorowski, A. Perelli and J. Pintz, \href{https://doi.org/10.1007/BF01293671}{Corrigendum of A note on the exceptional set for Goldbach's problem in short intervals}, \emph{Monatsh. Math.} \textbf{119} (1995), 215--216. \bibitem{LP} A. Languasco and A. Perelli, \href{https://doi.org/10.1112/S0025579300011827}{A pair correlation hypothesis and the exceptional set in Goldbach's problem}, \emph{Mathematika} \textbf{43} (1996), 349--361. \bibitem{LZ} A. Languasco and A. Zaccagnini, \href{https://doi.org/10.1016/j.jnt.2015.07.010}{Sum of one prime and two squares of primes in short intervals}, \emph{J. Number Theory} \textbf{159} (2016), 45--58. \bibitem{LL} H. Li and Z. Liu, \href{https://arxiv.org/abs/2610.26756}{Fourth moments of prime exponential sums and exceptional sets for sums and differences of primes}, arXiv:2610.26756 (2026). \bibitem{Perelli} A. Perelli, \href{https://doi.org/10.4171/RMI/205}{Goldbach numbers represented by polynomials}, \emph{Rev. Mat. Iberoam.} \textbf{12} (1996), 477--490. \bibitem{Petridis} G. Petridis, \href{https://doi.org/10.1007/s00493-012-2818-5}{New proofs of Pl\"unnecke-type estimates for product sets in groups}, \emph{Combinatorica} \textbf{32} (2012), 721--733. \bibitem{PA} J. Pintz and I. Alth\"ofer, \href{https://arxiv.org/abs/2610.15559}{The Goldbach exceptional set: an exponent \(7/12\) and conditional refinement}, arXiv:2610.15559 (2026). \bibitem{Prachar} K. Prachar, \href{https://old.renyi.hu/bolyai_archivum/13.PDF\#page=268}{Generalisation of a theorem of A. Selberg on primes in short intervals}, in \emph{Topics in Number Theory} (Debrecen, 1974), Colloq. Math. Soc. J\'anos Bolyai \textbf{13}, North-Holland, Amsterdam, 1976, 267--280. \bibitem{Raghavan} R. Raghavan, \href{https://arxiv.org/abs/2512.11217v2}{Improved bounds for the Freiman--Ruzsa theorem}, arXiv:2512.11217v2 (26 February 2026). \bibitem{RS} C. Reiher and T. Schoen, \href{https://doi.org/10.1007/s00493-024-00092-5}{Note on the theorem of Balog, Szemer\'edi, and Gowers}, \emph{Combinatorica} \textbf{44} (2024), 691--698. \bibitem{Sanders} T. Sanders, \href{https://doi.org/10.2140/apde.2012.5.627}{On the Bogolyubov--Ruzsa lemma}, \emph{Anal. PDE} \textbf{5} (2012), 627--655. \bibitem{Survey} T. Sanders, \href{https://doi.org/10.1090/S0273-0979-2012-01392-7}{The structure theory of set addition revisited}, \emph{Bull. Amer. Math. Soc.} (N.S.) \textbf{50} (2013), 93--127. \bibitem{TV} T. Tao and V. Vu, \href{https://doi.org/10.1017/CBO9780511755149}{\emph{Additive combinatorics}}, Cambridge Stud. Adv. Math. \textbf{105}, Cambridge University Press, Cambridge, 2006. \end{thebibliography} \end{document}