\documentclass[a4paper,11pt,twoside,reqno]{amsart} \usepackage{fullpage} \usepackage[T1]{fontenc} \usepackage{multicol} \usepackage[dvipsnames]{xcolor} \usepackage[colorlinks=true,linkcolor=MidnightBlue,citecolor=MidnightBlue,urlcolor=MidnightBlue,pagebackref=true]{hyperref} \usepackage{enumerate,bm} \usepackage{amsmath,amssymb,amsfonts,amsthm,mathtools} \usepackage{booktabs,array} \usepackage{etoolbox} \hypersetup{pdftitle={Landau's problems through ratios of L-functions},pdfsubject={Common arithmetic kernels and four conditional prime-counting asymptotics}} \setlength{\emergencystretch}{2em} \numberwithin{equation}{section} \theoremstyle{plain} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{hypothesis}[theorem]{Hypothesis} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newtheorem{introhypothesis}{Hypothesis}[section] \makeatletter \patchcmd{\@starttoc} {\@startsection{}\@M\z@{\linespacing\@plus\linespacing}% {.5\linespacing}{\centering\contentsnamefont}{#2}} {}{} {\PackageError{toc}{Could not remove the contents heading}{}} \patchcmd{\@starttoc} {\addvspace{32\p@\@plus14\p@}} {}{} {\PackageError{toc}{Could not remove trailing contents space}{}} \makeatother \renewcommand{\le}{\leqslant} \renewcommand{\leq}{\leqslant} \renewcommand{\ge}{\geqslant} \renewcommand{\geq}{\geqslant} \newcommand{\Z}{\mathbb Z} \newcommand{\R}{\mathbb R} \newcommand{\C}{\mathbb C} \newcommand{\F}{\mathbb F} \newcommand{\Q}{\mathbb Q} \newcommand{\Rea}{\operatorname{Re}} \newcommand{\Ima}{\operatorname{Im}} \newcommand{\Mell}[1]{\widetilde{#1}} \newcommand{\ind}{\mathbf 1} \newcommand{\Li}{\operatorname{Li}} \newcommand{\Disc}{\operatorname{Disc}} \newcommand{\Spec}{\operatorname{Spec}} \newcommand{\rank}{\operatorname{rank}} \DeclareMathOperator{\supp}{supp} \DeclareMathOperator{\Res}{Res} \author{Haozhe Gou} \address{School of Mathematics, Shandong University, Jinan 250100, China} %\address{D\'epartement de math\'ematiques et de statistique, Universit\'e de Montr\'eal, C.P. 6128, succ. Centre-ville, Montr\'eal, QC H3C 3J7, Canada} \email{haozhegou@gmail.com} \author{Victor Y. Wang} \address{Institute of Mathematics, Academia Sinica, Taipei 106319, Taiwan} \email{vywang@as.edu.tw} \author{Max Wenqiang Xu} \address{Yau Mathematical Sciences Center, Tsinghua University, Beijing 100084, China} \address{Beijing Institute of Mathematical Sciences and Applications (BIMSA), Beijing, China} \email{maxxu1729@gmail.com} \title{Landau's problems through ratios of $L$-functions} \date{} \begin{document} \begin{abstract} Very recently, Lee announced a proof of the Twin Prime Conjecture assuming the Ratios Conjecture for the Riemann zeta function. We obtain conditional asymptotic formulas with power-saving errors for each of Landau's four prime problems. Similar results may be possible for other problems in analytic number theory. \end{abstract} \maketitle \thispagestyle{empty} \setcounter{tocdepth}{1} \begin{center} \contentsnamefont Contents \end{center} {\footnotesize \begin{multicols}{2} \tableofcontents \end{multicols} } \section{Introduction} In his invited address at the 1912 International Congress of Mathematicians in Cambridge, Edmund Landau surveyed the progress and outstanding challenges in the theory of prime numbers and the Riemann zeta function. He singled out four fundamental problems that he regarded as beyond the reach of the methods available at the time. These problems, now known as Landau's four problems, are the Goldbach Conjecture, the Twin Prime Conjecture, the existence of a prime between consecutive squares, and the infinitude of primes of the form \(n^2+1\). For further historical background on these problems and an account of subsequent progress, see for instance \cite{Pintz2009,HelfgottTernary,MaynardTakagi,TurnageButterbaugh,GrimmeltMerikoski} and the references within. It has long been known that Montgomery's Pair Correlation Conjecture can be derived from a uniform version of the Hardy--Littlewood Prime Pair Conjecture \cite{Montgomery,GM,MontgomerySoundararajan}. Very recently, Lee~\cite{Lee} announced a result in the other direction, showing that a non-uniform version of the Hardy--Littlewood Prime Pair Conjecture can be derived from the Ratios Conjecture of Conrey--Farmer--Zirnbauer~\cite{CFZ}. Other recent consequences of the Ratios Conjecture can be found in \cite{JT,BGWSums,WX}, with the work of Wang--Xu \cite{WX} being in retrospect closely related to Lee's work. In the present paper, we establish asymptotics for all four Landau problems under the Ratios Conjecture.\footnote{Strictly speaking we also assume GRH, but as in Lee's work, it is possible to formulate the Ratios Conjecture in a way that does not require GRH.} %Landau's four prime problems concern Goldbach representations, fixed prime differences, primes between consecutive squares, and prime values of $n^2+1$. Landau's four problems involve rather different arithmetic constraints. The purpose of this paper is to relate them through ratio statistics of three classical families of $L$-functions: % three natural families of $L$-functions give explicit arithmetic kernels, and suitable tests of those kernels recover the four prime counts. Dirichlet $L$-functions, Riemann zeta shifts, and Hecke $L$-functions on $\Q(i)$. The ratios recipe of Conrey--Farmer--Zirnbauer~\cite{CFZ}, building on the moments recipe of \cite{CFKRS}, predicts averages of quotients of products of $L$-functions. % For the continuous zeta family, Lee~\cite{Lee} already obtains the Hardy--Littlewood asymptotic for every fixed even prime difference from a restricted uniform ratios formula, including a version without RH. The connection between zero correlations and primes in short intervals is classical~\cite{GM,HB,LPZ}. We place these implications alongside Goldbach and quadratic prime values, identify the arithmetic relation between them, and specify the uniformity needed in each ratios input. %We state the three ratios inputs together, with their uniformity and error terms, and then give a separate theorem for each prime problem. The quantitative statements use power-saving errors; the weaker qualitative variants are recorded in Appendix~\ref{wk:section}. We state the three ratios hypotheses and their uniformity ranges before giving the four theorems. Asymptotic formulas under weaker ratios hypotheses are given in Appendix~\ref{wk:section}. For $h\in\mathbb Z_{\ge1}$, define \begin{equation}\label{eq:singular} \mathfrak S(h)=\prod_p\sigma_p(h),\qquad \sigma_p(h)=\begin{cases}p/(p-1),&p\mid h,\\p(p-2)/(p-1)^2,&p\nmid h.\end{cases} \end{equation} Thus $\mathfrak S(h)=0$ for odd $h$, and for even $h$ it is the positive Hardy--Littlewood singular series. For the quadratic problem, write $\chi=\chi_{-4}$ and put \begin{equation}\label{eq:quadratic-series} \mathfrak S_E=\prod_{p>2}\left(1-\frac{\chi(p)}{p-1}\right) =\frac4\pi\prod_{p\equiv1\ (4)}\frac{p(p-2)}{(p-1)^2} \prod_{p\equiv3\ (4)}\frac{p^2}{p^2-1}. \end{equation} The first product is ordered by increasing primes; the second expression is absolutely convergent. \subsection{Ratios conjectures} We state three ratios conjectures below, for primitive Dirichlet $L$-functions, the Riemann zeta function, and angular Hecke $L$-functions over $\mathbb Q(i)$. The untwisted Dirichlet sum runs over all primitive characters modulo $q$. The Hecke average is unweighted. Section~\ref{sec:prelim} gives the Euler products in the conjectured main terms. Section~\ref{ci:section} defines $\mathcal M_q$, the sum of the two main terms for the Dirichlet conjecture. At a removable singularity, we evaluate the sum of the main terms by analytic continuation. On the indicated disks, the errors are holomorphic in the numerator shifts. Fix $\eta_*=1/16$ and $\rho=1/100$. \begin{introhypothesis}[{Ratios of primitive Dirichlet $L$-functions ($\mathrm{RC}_D(\omega_D)$)}] \label{hyp:int-D} Fix $0<\omega_D\le 1/2$. There exist constants $\eta_0>0$ and $B\ge0$ such that for every fixed $0<\eta<\eta_0$ and every $\varepsilon>0$, \[ \sum_{\chi\bmod q}^{*} \frac{L(a,\chi)L(b,\overline\chi)}{L(s,\chi)L(t,\overline\chi)} =\mathcal M_q(a,b;s,t) +O_{\eta,\varepsilon}\bigl(q^{1-\omega_D+\varepsilon}(1+T)^B\bigr), \] uniformly for all conductors $q>1$, including composite conductors, and all shifts satisfying \[ \Re a=\Re b=\tfrac12,\qquad \Re s=\Re t=\tfrac12+\eta,\qquad T=\max\{|\Im a|,|\Im b|,|\Im s|,|\Im t|\}\le 100\log(2q). \] The starred sum is over primitive characters modulo $q$. The saving $\omega_D$ is independent of $\eta$. \end{introhypothesis} \begin{introhypothesis}[{Ratios of the Riemann zeta function ($\mathrm{RC}_Z(\omega_Z)$)}]\label{hyp:int-Z} Let $0<\omega_Z\le1/2$. With $s=1/2+a$, $t_0=1/2+b$ and $\mathcal M_Z$ as in~\eqref{co:Zmodel}, assume \[ \int_0^Q\frac{\zeta(s+u+iy)\zeta(t_0+v-iy)} {\zeta(s+iy)\zeta(t_0-iy)}\,dy =\mathcal M_Z(Q;a,b;u,v)+O_\varepsilon(Q^{1-\omega_Z+\varepsilon}), \] uniformly for \[ \frac1{\log Q}\le\Re a,\Re b\le\eta_*,\qquad |\Im a|,|\Im b|\le Q^{3/4},\qquad |u|,|v|\le\rho. \] \end{introhypothesis} \begin{introhypothesis}[Ratios of angular Hecke $L$-functions ($\mathrm{RC}_H(\omega_H)$)]\label{hyp:int-H} Let $0<\omega_H\le1/2$. For $L_k(s)=L(s,\xi_k)$, with $\xi_k((\alpha))=(\alpha/\overline\alpha)^{2k}$ on $\mathbb Z[i]$, assume \[ \frac1Q\sum_{1\le k\le Q}\frac{L_k(1/2+a)}{L_k(1/2+c)} =\mathcal M_H(Q;a,c)+O_\varepsilon(Q^{-\omega_H+\varepsilon}), \] uniformly for \[ \frac2{\log Q}\le\Re c\le\eta_*,\qquad |\Im c|\le Q^{3/4},\qquad |a-c|\le\rho, \] where $\mathcal M_H$ is the sum of the main terms given in Section~\ref{co:angular-input}. \end{introhypothesis} The last two error bounds are uniform in the imaginary parts of the shifts throughout the stated ranges. This uniformity is used to remove smoothing without a loss in the exponent. The upper bound $Q^{3/4}$ may be replaced by $Q^\theta$ for any fixed $1/2<\theta<1$. The uniform conjectures of Conrey--Snaith~\cite[Conjecture 2.1 and (2.11)]{CS} and Waxman~\cite[Conjecture 3.3 and Section 3.6]{Waxman} predict square-root error bounds, corresponding to $\omega_Z=\omega_H=1/2$. Wang--Xu~\cite[Conjecture 2.1]{WX} conjecture a power saving for prime conductors. Hypothesis~\ref{hyp:int-D} assumes the formula for all primitive conductors and specifies the exponent $\omega_D$. The case $\omega_D=1/2$ is the square-root error bound for this family. \subsection{Four conditional results} Each theorem below assumes only its own ratios input and the indicated Riemann hypothesis. The constants in the error terms may depend on the fixed ratios parameters.\footnote{For brevity, throughout the paper we refer to the asymptotic formulas in Theorems~\ref{thm:goldbach}, \ref{thm:prime-pairs}, ~\ref{thm:squares}, and~\ref{thm:quadratic-main} as ``Goldbach'', ``prime pairs'', ``Legendre'', and ``Prime values of $n^2+1$'', respectively. } \begin{theorem}[Goldbach]\label{thm:goldbach} Assume GRH for Dirichlet $L$-functions, and $\mathrm{RC}_D(\omega_D)$. For every $\varepsilon>0$ and every even $N$, \begin{equation}\label{eq:main-G} \sum_{m+n=N}\Lambda(m)\Lambda(n) =N\mathfrak S(N)+O_\varepsilon(N^{1-\omega_D+\varepsilon}). \end{equation} %The same formula holds with the sum restricted to primes and weights $\log m\log n$. The ordered unweighted count satisfies %\begin{equation}\label{eq:main-G-unweighted} % \#\{(p_1,p_2):p_1+p_2=N\} % =\mathfrak S(N)\int_2^{N-2}\frac{dt}{\log t\log(N-t)} %+O_\varepsilon(N^{1-\omega_D+\varepsilon}). %\end{equation} \end{theorem} \begin{theorem}[Prime pairs]\label{thm:prime-pairs} Assume RH for $\zeta$ and $\mathrm{RC}_Z(\omega_Z)$. For every fixed integer $h\ge1$ and every $\varepsilon>0$, \begin{equation}\label{eq:main-T} \sum_{n\le X}\Lambda(n)\Lambda(n+h) =\mathfrak S(h)X+O_{h,\varepsilon}(X^{1-\omega_Z+\varepsilon}). \end{equation} %For even $h$, partial summation gives %\[ % \#\{p\le X:p+h\text{ prime}\} % =\mathfrak S(h)\int_2^X\frac{dt}{\log t\log(t+h)} % +O_{h,\varepsilon}(X^{1-\omega_Z+\varepsilon}). %\] %Both errors are $O_{h,\varepsilon}(X^{1/2+\varepsilon})$ for the square-root input. The case $h=2$ gives twin primes. \end{theorem} \begin{theorem}[Legendre]\label{thm:squares} Assume RH for $\zeta$ and $\mathrm{RC}_Z(\omega_Z)$. For every $\varepsilon>0$, \begin{align} \psi((n+1)^2)-\psi(n^2) &=2n+1+O_\varepsilon(n^{1-\omega_Z/3+\varepsilon}). \label{eq:main-Lpsi} % \pi((n+1)^2)-\pi(n^2) % &=\int_{n^2}^{(n+1)^2}\frac{dt}{\log t} % +O_\varepsilon(n^{1-\omega_Z/3+\varepsilon}).\label{eq:main-L} \end{align} Moreover $p_{j+1}-p_j\ll_\varepsilon p_j^{(1-\omega_Z)/(2-\omega_Z)+\varepsilon}$. For $\omega_Z=1/2$, the error is $O_\varepsilon(n^{5/6+\varepsilon})$ and the prime-gap exponent is $1/3+\varepsilon$. \end{theorem} \begin{theorem}[Prime values of $n^2+1$]\label{thm:quadratic-main} Assume GRH for the angular Hecke family and $\mathrm{RC}_H(\omega_H)$. For every $\varepsilon>0$, \begin{equation}\label{eq:main-E} \sum_{n\le X}\Lambda(n^2+1) =\mathfrak S_E X+O_\varepsilon(X^{1-\omega_H+\varepsilon}). \end{equation} %and %\[ % \#\{n\le X:n^2+1\text{ prime}\} % =\mathfrak S_E\int_1^X\frac{dt}{\log(t^2+1)} % +O_\varepsilon(X^{1-\omega_H+\varepsilon}). %\] %Both errors are $O_\varepsilon(X^{1/2+\varepsilon})$ for the square-root input. \end{theorem} %The integral main terms retain the lower-order logarithmic terms, which are larger than a power-saving error. Their leading equivalents are $\mathfrak S(N)N/(\log N)^2$, $\mathfrak S(h)X/(\log X)^2$, $n/\log n$, and $\mathfrak S_E X/(2\log X)$, respectively. The proofs are in Sections~\ref{ug:section}--\ref{sec:quadratic}. Appendix~\ref{wk:section} gives asymptotic formulas under Hypotheses~\ref{hyp:WZ} and~\ref{hyp:WH} together with the relevant Riemann hypothesis. These ratios hypotheses allow errors of size $o(1)$ after normalization and shifts of logarithmic size. \subsection{Overview of the paper} The proof separates the arithmetic information in a ratios prediction from the operation used to recover a prime count. Differentiating the ratios with respect to the numerator shifts gives logarithmic derivatives, whose Dirichlet series have von Mangoldt coefficients. The resulting main terms contain explicit Euler products. Character orthogonality, Fourier inversion, and estimates for sums over zeros then relate these main terms to the prime counts. Table~\ref{tab:ratios} lists the ratios and the methods used in the proofs. Here $2/2$ denotes two numerator and two denominator factors, and $1/1$ denotes one of each. \begin{table}[htbp] \centering \small \begin{tabular}{@{}>{\raggedright\arraybackslash}p{.15\linewidth}>{\raggedright\arraybackslash}p{.29\linewidth}>{\raggedright\arraybackslash}p{.47\linewidth}@{}} \toprule Problem & {Ratios} & {Method}\\ \midrule Goldbach & {Primitive Dirichlet $L$-functions, $2/2$} & {The parity twist and summation over primitive conductors}\\[3pt] Prime pairs & {Riemann zeta function, $2/2$} & {Fourier inversion for a fixed difference}\\[3pt] Legendre & {Riemann zeta function, $2/2$} & {Pair correlation and second moments of primes in short intervals}\\[3pt] Quadratic values & {Angular Hecke $L$-functions, $1/1$} & {Poisson summation over the Hecke characters}\\ \bottomrule \end{tabular} \caption{{Ratios of $L$-functions and the methods used to estimate the prime counts.}} \label{tab:ratios} \end{table} The arguments for Goldbach, fixed prime differences, and primes in short intervals use the functions $D_1$ and $C_1$ from Section~\ref{sec:kernels}. They satisfy \begin{align}\label{in:common-series} D_1(z)&=\sum_{h\ge1}\frac{\mathfrak S(h)}{h^z}\qquad(\Re z>1),\\ C_1(z)&=\Xi(z)D_1(z) =\zeta(1+z)\zeta(1-z) \prod_p\left(1-\frac{(p^{-z}-1)^2}{(p-1)^2}\right),\notag \end{align} where $\Xi(z)=2(2\pi)^{-z}\Gamma(z)\cos(\pi z/2)$ is the archimedean factor from the zeta functional equation. A Fourier test selects the coefficient $\mathfrak S(h)$ for a fixed prime difference. The interval argument uses a positive test of the continued kernel $C_1$. For Goldbach, summing over primitive conductors gives the exact projection \begin{equation}\label{in:projector} \frac1{\varphi(N)}\sum_{q\mid N}\varphi^*(q)q^{-z}D_q(z) =\sum_{N\mid h}\frac{\mathfrak S(h)}{h^z},\qquad \Re z>1. \end{equation} Here $\varphi^*(q)$ counts primitive characters, with $\varphi^*(1)=1$. Additive support then isolates $h=N$. Thus the prime-sum and prime-difference arguments recover coefficients of the same singular-series Dirichlet series by different tests. The angular counterpart is $\mathcal D(z)=\sum_{b\ge1}S_b b^{-z}$, where $S_b$ is the Bateman--Horn singular series for $n^2+b^2$; see~\eqref{eqc:D-series}. Its first coefficient is $S_1=\mathfrak S_E$. The phases explain the parallel with fixed differences: \begin{equation*} X\log(1+h/n)=\frac h{n/X}+O_h(X^{-1}),\qquad X\arg(n+i)=\frac1{n/X}+O(X^{-2})\qquad(n\asymp X). \end{equation*} Both tests distinguish an integer coefficient at reciprocal spatial scale. The interval argument instead applies a positive test to the continued zeta kernel; it does not isolate a single singular-series coefficient. For Goldbach, character orthogonality introduces $\chi(-1)$, whereas the ordinary ratios average includes both parities. The numerator functional equations give a second ordinary average, from which we recover the parity difference. The inverse grows exponentially at opposite heights. Rational product weights control it and give distributional asymptotics. To retain the power saving in the sharp count, we instead use the fixed entire test \[ w(v)=e^{20(1-v)}\left(\frac{\sin\pi(v-1)}{\pi(v-1)}\right)^2, \qquad w(1)=1,\quad w(k)=0\quad(k=2,3,\ldots). \] The weight $w((m+n)/N)$ selects the target sum exactly after character orthogonality. Its double Mellin transform contains a beta factor which cancels the exponential loss of the parity inverse on the required logarithmic window. Outside that window the actual signed moment is used directly. Section~\ref{ug:exact-section} proves the resulting power-saving formula without approximating a sharp cutoff by rational product weights. Integrating the same argument against bounded real power weights removes the prime logarithms with the same saving. Theorem~\ref{ci:extension} supplies the numerator disks from critical-line character data. Its interpolation loss tends to zero with the fixed denominator displacement, so the final error is $N^{1-\omega_D+\varepsilon}$. For prime differences and quadratic values, the uniform height-independent ratios error and bounded-variation cutoffs give Mellin $L^1$ norms of only logarithmic size. Proposition~\ref{qt:sharp} therefore removes smoothing with no fixed loss in the exponent. For intervals, the localized second moment in Section~\ref{si:sec} gives a quantitative monotonicity argument; optimizing the averaging width yields the saving $\omega_Z/3$ in the square parameter $n$. Appendix~\ref{wk:section} retains the moving-line argument with $\eta_X=4/\log X$ for the weaker qualitative variants. \subsection*{Further remarks} The common kernels give a set of sufficient hypotheses for the four integer asymptotics. They do not assert reverse implications between the prime conjectures, nor do they replace the three family-dependent ratios inputs by a single zeta formula. Appendix~\ref{rc:section} gives a further application to two-point M\"obius and Liouville correlations. That application uses a separate reciprocal-ratios hypothesis, with additional uniformity in small square twists. \subsection*{Notation} The von Mangoldt function is $\Lambda(n)$ and the second Chebyshev function is $\psi(x) = \sum_{n\le x} \Lambda(n)$. For $f\in C_c^\infty((0,\infty))$, the Mellin transform is \begin{equation*} \widetilde f(s)=\int_0^\infty f(u)u^{s-1}\,du. \end{equation*} Contours $(c)$ run upward on $\Re s=c$. Fourier conventions are stated with each detector. Implied constants may depend on fixed test functions and hypothesis parameters. Uniformity in conductors and summation lengths is stated explicitly. \subsection*{Acknowledgments} VYW was supported by NSTC Project Grant 114-2115-M-001-010-MY2. \subsection*{AI statement} After we saw Lee's preprint on the Twin Prime Conjecture \cite{Lee}, which uses a case of the Ratios Conjecture analogous to that in the work of Harper and Wang--Xu on the M\"{o}bius Legendre Conjecture \cite{HarperBTSC,WX,HarperICM}, we wondered whether there might exist a unified conditional treatment of Landau's problems, as well as the Power-saving Two-point Chowla Conjecture, via the Ratios Conjecture. The dynamical systems GPT-6 Pro and SAIR Open Math OS were used to convert our rough ideas into rigorous proofs and understanding, and to assist in the writing process, building on the existing literature on the Ratios Conjecture and Chowla's Conjecture. \section{Ratios models and arithmetic kernels}\label{sec:prelim}\label{sec:kernels} Fix $0<\eta<1/4$ and write $\sigma=1/2+\eta$. The fixed-line proofs use $0<\omega\le1/2$ and $\omega>2\eta$; the displacement may be chosen arbitrarily small under the introduction's hypotheses. We also record qualitative inputs on lines approaching the critical line for the variants in Appendix~\ref{wk:section}. \subsection{The unitary ratios kernel} For $q\geq1$, let $\zeta_q(s)=\zeta(s)\prod_{p\mid q}(1-p^{-s})$, and define \begin{align} Z_q(a,b;c,d)&=\frac{\zeta_q(a+b)\zeta_q(c+d)}{\zeta_q(a+d)\zeta_q(b+c)} A_q(a,b;c,d),\label{eq:Zkernel}\\ A_q(a,b;c,d)&=\prod_{p\nmid q} \frac{(1-p^{-c-d})(1-p^{-a-d}-p^{-b-c}+p^{-c-d})} {(1-p^{-a-d})(1-p^{-b-c})}.\label{eq:Akernel} \end{align} Here the arguments are absolute complex arguments of $L$-functions, rather than shifts from $1/2$. The product is normally convergent in the neighborhoods used below. Its formal local interpretation is the constant Laurent coefficient in \begin{equation*} \frac{(1-p^{-c}z)(1-p^{-d}z^{-1})} {(1-p^{-a}z)(1-p^{-b}z^{-1})}. \end{equation*} In an initial half-plane this gives \begin{equation*} Z_q(a,b;c,d)=\prod_{p\nmid q} \frac{1-p^{-a-d}-p^{-b-c}+p^{-c-d}}{1-p^{-a-b}}, \end{equation*} and~\eqref{eq:Zkernel} supplies the meromorphic continuation needed here. For $\Re z>0$, put \begin{align} F_p(z)&=\frac{1-2/p+p^{-1-z}}{(1-1/p)^2},\label{eq:Fp}\\ D_q(z)&=\left(\frac q{\varphi(q)}\right)^2\zeta(z) \prod_{p\nmid q}F_p(z)\prod_{p\mid q}(1-p^{z-1}),\label{eq:Dq}\\ \Xi(z)&=2(2\pi)^{-z}\Gamma(z)\cos(\pi z/2),\label{eq:Xi}\\ C_q(z)&=\Xi(z)D_q(z) =\left(\frac q{\varphi(q)}\right)^2\zeta(1-z) \prod_{p\nmid q}F_p(z)\prod_{p\mid q}(1-p^{z-1}),\label{eq:Cq}\\ P_q(z)&=\sum_{(n,q)=1}\frac{\Lambda(n)^2}{n^{1+z}}.\label{eq:Pq} \end{align} The identity in~\eqref{eq:Cq} is the zeta functional equation. Since $F_p(z)=1+O(p^{-1-\Re z}+p^{-2})$, the infinite product is absolutely convergent for $\Re z>0$. For $q=1$, $D_1$ has a simple pole of residue one at $z=1$ and no other pole in this half-plane. If $q>1$, the finite product cancels this pole. To pass from ratios to von Mangoldt coefficients, differentiate once in each numerator. For denominator arguments $s,t$ with $\Re s,\Re t>1/2$, the unswapped derivative is \begin{equation*} \left.\partial_u\partial_v Z_q(s+u,t+v;s,t)\right|_{u=v=0} =P_q(s+t-1). \end{equation*} The swapped kernel $Z_q(1-t-v,1-s-u;s,t)$ contains \begin{equation*} \zeta_q(1-u)^{-1}\zeta_q(1-v)^{-1} =\left(\frac q{\varphi(q)}\right)^2uv+O(|uv|(|u|+|v|)). \end{equation*} Its mixed derivative is therefore $C_q(z)$, with $z=s+t-1$. Any derivative falling on an additional holomorphic factor leaves one of the two zeros uncanceled and contributes nothing. This is why the functional-equation factors remain undifferentiated in the character and continuous moment formulas. \subsection{Singular series and conductor projection} The kernel has two useful representations. In the coefficient half-plane, \begin{equation}\label{co:series} D_1(z)=\sum_{h\geq1}\frac{\mathfrak S(h)}{h^z}\qquad(\Re z>1). \end{equation} For its continuation toward zero, put $Z=\zeta'/\zeta$ and observe that \begin{align} P_1(z)&=Z'(1+z)-\sum_p\left(\frac{\log p}{p^{1+z}-1}\right)^2,\label{co:Pcontinuation}\\ C_1(z)&=\zeta(1+z)\zeta(1-z)\mathcal A(z),\qquad \mathcal A(z)=\prod_p\left(1-\frac{(p^{-z}-1)^2}{(p-1)^2}\right). \label{co:Ccontinuation} \end{align} The Euler products after removing the displayed zeta factors converge normally in $\Re z>-1/2$. The local identity \begin{equation*} (1-p^{-1-z})F_p(z)=1-\frac{(p^{-z}-1)^2}{(p-1)^2} \end{equation*} proves~\eqref{co:Ccontinuation}. Expanding the two local geometric series proves~\eqref{co:Pcontinuation}; summing the local densities in~\eqref{eq:singular} proves~\eqref{co:series}, including the factor at two. Thus the prime-difference and zero-correlation calculations use the same pair $P_1,C_1$. The version with deleted primes records a conductor projection. For $q\geq1$, write \begin{equation*} \mathfrak S_q(h)=\prod_{p\nmid q}\sigma_p(h),\qquad c_q(h)=\sum_{d\mid(q,h)}d\mu(q/d),\qquad K_q(h)=\frac q{\varphi(q)^2}c_q(h)\mathfrak S_q(h). \end{equation*} We set $\varphi^*(1)=1$. For $q>1$, $\varphi^*(q)$ counts primitive characters modulo $q$. \begin{proposition}[Conductor projection]\label{co:conductor} For $\Re z>1$, \begin{equation}\label{co:Dseries} D_q(z)=\sum_{h\geq1}K_q(h)(h/q)^{-z}, \end{equation} and for all positive integers $N,h$, \begin{equation}\label{co:selection} \sum_{q\mid N}\varphi^*(q)K_q(h) =\varphi(N)\mathfrak S(h)\mathbf1_{N\mid h}. \end{equation} Consequently~\eqref{in:projector} holds. \end{proposition} \begin{proof} The local identity \begin{equation*} (1-p^{-z})\sum_{v\geq0}\sigma_p(p^v)p^{-vz}=F_p(z) \end{equation*} also holds at $p=2$, where $F_2(z)=2^{1-z}$. Hence $\sum_{k\geq1}\mathfrak S_q(k)k^{-z}=\zeta(z)\prod_{p\nmid q}F_p(z)$. Expand the finite product in~\eqref{eq:Dq}, obtaining \begin{equation*} D_q(z)=\left(\frac q{\varphi(q)}\right)^2 \sum_{d\mid\operatorname{rad}(q)}\frac{\mu(d)}d \sum_{k\geq1}\mathfrak S_q(k)(k/d)^{-z}. \end{equation*} Set $h=qk/d$. The coefficient of $(h/q)^{-z}$ is \begin{equation*} \left(\frac q{\varphi(q)}\right)^2\mathfrak S_q(h) \sum_{\substack{d\mid q\\q/d\mid h}}\frac{\mu(d)}d=K_q(h), \end{equation*} which proves~\eqref{co:Dseries}. For even $h$, divide~\eqref{co:selection} by $\mathfrak S(h)$ and use multiplicativity. For $p^a\Vert N$, with $v=v_p(h)$, the local sum is \begin{equation*} 1+\sum_{j=1}^a\varphi^*(p^j) \frac{p^jc_{p^j}(h)}{\varphi(p^j)^2\sigma_p(h)}. \end{equation*} Here $c_{p^j}(h)$ is $\varphi(p^j)$ for $j\leq v$, $-p^{j-1}$ for $j=v+1$, and zero thereafter; also $\varphi^*(p)=p-2$ and $\varphi^*(p^j)=p^{j-2}(p-1)^2$ for $j\geq2$. If $v=0$, the first nonconstant summand is $-1$. If $v\geq1$, the sum through $\min(v,a)$ is $\varphi(p^{\min(v,a)})$, and the next summand cancels it when $v0$, for example $\rho=1/100$. The family parameter $Q$ tends to infinity. Errors are uniform in the indicated ranges and holomorphic on the closed numerator disks. The real shifts lie in fixed intervals of multiples of $1/\log Q$. For $s=1/2+a$, $t_0=1/2+b$, define the continuous model \begin{align}\label{co:Zmodel} \mathcal M_Z(Q;a,b;u,v) ={}&QZ_1(s+u,t_0+v;s,t_0)\\ &+(2\pi)^{a+b+u+v}\frac{Q^{1-a-b-u-v}}{1-a-b-u-v} Z_1(1-t_0-v,1-s-u;s,t_0).\notag \end{align} \begin{hypothesis}[Weak continuous ratios]\label{hyp:WZ} For every fixed $A>0$, uniformly for \begin{equation*} \frac1{\log Q}\leq\Re a,\Re b\leq\frac8{\log Q},\qquad |\Im a|,|\Im b|\leq A\log Q,\qquad |u|,|v|\leq\rho, \end{equation*} one has \begin{equation}\label{co:weak-Z} \int_0^Q\frac{\zeta(s+u+iy)\zeta(t_0+v-iy)} {\zeta(s+iy)\zeta(t_0-iy)}\,dy =\mathcal M_Z(Q;a,b;u,v)+o(Q). \end{equation} The two main terms are interpreted together at removable singularities. \end{hypothesis} Conrey--Snaith~\cite[Conjecture 2.1 and (2.11)]{CS} predicts an error $O_\varepsilon(Q^{1/2+\varepsilon})$ uniformly on a domain containing these numerator disks and logarithmic height windows. Its restriction therefore implies Hypothesis~\ref{hyp:WZ}. {The weaker $o(Q)$ error is retained for the qualitative versions of the two zeta applications.} \subsection{Angular Hecke ratios}\label{co:angular-input} The angular family records the argument of a Gaussian integer. This permits an average over characters to distinguish a fixed imaginary coordinate, just as a time average of zeta ratios distinguishes a fixed additive difference. Let $F=\mathbb Q(i)$ and let $\chi=\chi_{-4}$. For a nonzero integral ideal $\mathfrak a=(\alpha)$ of $\mathbb Z[i]$, put \begin{equation*} \xi_k(\mathfrak a)=\left(\frac{\alpha}{\overline\alpha}\right)^{2k}, \qquad L_k(s)=L(s,\xi_k),\qquad k\in\mathbb Z. \end{equation*} The character is independent of the generator. Conjugation gives $L_{-k}=L_k$, and $L_k$ is entire for $k\ne0$. These are the angular Hecke $L$-functions considered by Waxman~\cite{Waxman}. For complex $a,c$, define \begin{align} A_3(a,c)&=\prod_{p\equiv3\ (4)} \frac{1-p^{-2-4c}}{1-p^{-2-2a-2c}},\label{eqc:A3}\\ A_1(a,c)&=\prod_{p\equiv1\ (4)} \frac{(1-2p^{-1-a-c}+p^{-1-2c})(1-p^{-1-2c})} {(1-p^{-1-a-c})^2},\label{eqc:A1}\\ G(a,c)&=\frac{\zeta(1+2a)L(1+2c,\chi)} {\zeta(1+a+c)L(1+a+c,\chi)}A_1(a,c)A_3(a,c). \label{eqc:G} \end{align} The products converge absolutely and locally uniformly near the diagonal and swapped diagonal used below. The factor at $2$ is included in the zeta quotient. The corresponding averaged ratios model is \begin{equation*} \mathcal M_H(Q;a,c)=G(a,c)+\frac1{1-2a} \left(\frac\pi{2Q}\right)^{2a}G(-a,c). \end{equation*} \begin{hypothesis}[Weak angular ratios]\label{hyp:WH} For some fixed $A>0$, uniformly for \begin{equation*} \frac2{\log Q}\leq\Re c\leq\frac8{\log Q},\qquad |\Im c|\leq A\log Q,\qquad |a-c|\leq\rho, \end{equation*} one has \begin{equation}\label{co:weak-H} \frac1Q\sum_{1\leq k\leq Q}\frac{L_k(1/2+a)}{L_k(1/2+c)} =\mathcal M_H(Q;a,c)+o(1). \end{equation} The combined model and error are holomorphic on the numerator disk. \end{hypothesis} Waxman~\cite[Conjecture 3.3]{Waxman} predicts the displayed model with normalized error $O_\varepsilon(Q^{-1/2+\varepsilon})$. We use its uniform conjectural interpretation on the stated shift domain. The apparent pole at $a=0$ cancels between $G(a,c)$ and the reflected term: their zeta residues are opposite, and the prefactor equals one at zero. Under the relevant Riemann hypotheses the remaining reciprocal factors are holomorphic on the numerator disks. Cauchy's formula thus differentiates the combined model and its error without a new conjectural input. \begin{corollary}[Square-root ratios implication]\label{co:standard} Under the relevant Riemann hypotheses and Hypotheses~\ref{hyp:int-D}--\ref{hyp:int-H} with $\omega_D=\omega_Z=\omega_H=1/2$, the Goldbach, fixed-difference, and quadratic counts, weighted or unweighted with the stated main terms, have errors $O_\varepsilon(N^{1/2+\varepsilon})$, $O_{h,\varepsilon}(X^{1/2+\varepsilon})$, and $O_\varepsilon(X^{1/2+\varepsilon})$, respectively. Moreover, \eqref{eq:main-Lpsi} holds with error $O_\varepsilon(n^{5/6+\varepsilon})$. \end{corollary} The continuous and angular hypotheses are restrictions of the cited uniform square-root predictions. For characters the all-conductor scope and the square-root saving are part of the assumption. If only a fixed positive character saving $\omega_D$ is available, Theorem~\ref{thm:goldbach} retains that saving up to $N^\varepsilon$. \subsection{Zero-free margins} For fixed-line arguments it suffices to assume a common $\beta<\sigma$ such that the relevant $L$-functions have no zeros in $\Re s>\beta$. RH or GRH gives $\beta=1/2$. A standard logarithmic-derivative estimate in a closed zero-free half-plane gives, for primitive Dirichlet characters, \begin{equation}\label{eq:logbound} \frac{L'}L(\sigma+it,\chi)\ll_{\sigma-\beta}\log(2q(2+|t|)). \end{equation} The analogous estimates hold for $\zeta$ away from its pole and for the angular Hecke family with conductor parameter $k$. One obtains these bounds from the local zero expansion of $L'/L$: zeros at bounded distance contribute $O(\log(q(2+|t|)))$, and their denominators are bounded below by the fixed margin; the remaining terms obey the same bound. We use also a fixed polynomial bound for $1/L$ on these lines, obtained by integrating the zero-free logarithm from a line of absolute convergence. These estimates justify the fixed-line Mellin shifts. The moving-line argument in Appendix~\ref{wk:section} uses RH or GRH itself; see~\cite[Chapter 5]{IK}. Uniform holomorphic errors on numerator discs may be differentiated by Cauchy's formula. Discs of radius $r/\log Q$ cost a fixed power of $\log Q$; fixed discs cost a constant. Such logarithmic losses are absorbed in $Q^\varepsilon$. \subsection{Smooth time and family weights}\label{sec:weight} The ratios predictions evaluate initial averages, while the arithmetic detectors use smooth time or family weights. Partial integration connects the two. A high-order zero of the weight at the origin makes the small-height contribution negligible, so no ratios formula at time zero is needed. Let $z=a+b$, $\Re a=\Re b=\eta$, and $L=2+|\Im a|+|\Im b|$. Suppose \begin{equation}\label{eq:primitive-moment} \int_0^U V_{a,b}(t)\,dt =U A(z)+(2\pi)^z\frac{U^{1-z}}{1-z}B(z) +O_\varepsilon(U^{1-\omega+\varepsilon}L^B) \end{equation} whenever $L\leq cU^\theta$, for some fixed $\theta>0$. Suppose the integrand and model have polynomial growth outside this range. If $g$ is even and Schwartz, vanishes to sufficiently high order $2M$ at zero, and $\widetilde g(w)=\int_0^\infty g(v)v^{w-1}\,dv$, then \begin{align}\label{eq:weighted-moment} \int_0^\infty g(t/T)V_{a,b}(t)\,dt ={}&T\widetilde g(1)A(z)+T(2\pi/T)^z\widetilde g(1-z)B(z)\\ &+O_\varepsilon(T^{1-\omega+\varepsilon}L^{B'}) +O(T^{-2M}L^{C_M}).\notag \end{align} Here $B'$ is fixed and $C_M$ depends on $M$. To prove this, subtract the displayed model primitive and integrate by parts against $T^{-1}g'(U/T)$. Above $U_0=C\max(2,L^{1/\theta})$ use~\eqref{eq:primitive-moment}; below $U_0$ use polynomial growth and $g'(v)\ll v^{2M-1}$. The contribution below $U_0$ is bounded by $T^{-2M}$ times a fixed power of $L$. Boundary terms vanish. On integrating against rapidly decreasing Mellin transforms, the last term in~\eqref{eq:weighted-moment} is $O(T^{-2M})$ with finite seminorm dependence. Thus no uniform ratios formula at time zero is being assumed. \begin{lemma}[Removal of smoothing]\label{lem:unsmooth} Suppose one of the three coefficient problems has a smooth error $O(X^{1-\delta})$, and its error constant on upper and lower cutoffs of transition width $v$ is $O(v^{-A})$, for fixed $\delta>0$ and $A\ge0$. Then its sharp weighted error is \[ O_\varepsilon(X^{1-\delta/(A+1)+\varepsilon}). \] This applies equally to $\Lambda(n)\Lambda(n+h)$, to Goldbach when such compact-test estimates are available, and to $\Lambda(n^2+1)$. \end{lemma} \begin{proof} On a fixed dyadic interval, the transition contains $O(vX+1)$ integers. Each summand is $O(\log^2 X)$ in the first two cases and $O(\log X)$ in the quadratic case. Smooth majorants and minorants thus give errors $O(vX\log^2X+X^{1-\delta}v^{-A}+\log^2X)$; the Goldbach main-term transition also uses $\mathfrak S(N)\ll_\varepsilon N^\varepsilon$. Choose $v=X^{-\delta/(A+1)}$ and sum dyadic blocks when appropriate. In the applications we may decrease $\delta$ if necessary so that $\delta/(A+1)<1$. \end{proof} The general lemma need not preserve the smooth saving. Proposition~\ref{qt:sharp} does preserve it under the height-independent error in the introduction; the Goldbach proof uses a separate exact test. \section{Goldbach from character ratios} \label{ug:section} A character average naturally detects a multiplicative congruence, whereas Goldbach requires $m\equiv-n\pmod N$. For $(mn,N)=1$, character orthogonality gives \begin{equation}\label{ug:orthogonality} \mathbf1_{N\mid m+n} =\frac1{\varphi(N)}\sum_{\chi\bmod N} \chi(-1)\chi(m)\overline{\chi(n)}. \end{equation} The factor $\chi(-1)$ is therefore required by the arithmetic count. We recover its average from two ordinary ratios averages by applying the numerator functional equations. The resulting inverse can grow exponentially at opposite heights; rational test functions provide the Mellin decay needed to integrate it. {Positivity gives compact-test asymptotics. An exact analytic test of the sum will also retain the power saving in sharp counting.} {We first work with the numerator-disk input below. Section~\ref{ug:exact-section} gives the sharp power-saving estimate, and Section~\ref{ci:section} derives the disk input from the critical-numerator hypothesis of Theorem~\ref{thm:goldbach}.} Fix $0<\eta<1/4$, $\sigma=1/2+\eta$, and $01$, $\Re s=\Re t=\sigma$, $|\Im s|,|\Im t|\le10\log(2q)$, and $|u|,|v|\le r$, one has \begin{align}\label{ug:ordinary} R_q(a,b;s,t) ={}&\varphi^*(q)Z_q(a,b;s,t) +H_q(a,b)Z_q(1-b,1-a;s,t)\\ &+O_\varepsilon\bigl(q^{1-\omega+\varepsilon} (1+|\Im s|+|\Im t|)^B\bigr),\notag \end{align} for both $(a,b)=(s+u,t+v)$ and $(a,b)=(1-t-v,1-s-u)$. The error is holomorphic in $u,v$ and uniform on the indicated closed discs. \end{hypothesis} These are two numerator specializations of the ordinary unitary two-over-two ratios prediction. In particular there is no factor $\chi(-1)$ and no average restricted to one parity. The numerator real parts lie in the usual interval $(1/4,3/4)$; the denominator real parts are to the right of $1/2$. The input still concerns every primitive conductor, including composite conductors. We do not deduce that conductor uniformity from the prime-modulus formulation in~\cite{WX}. The two-term model follows from the general ratios recipe~\cite{CFZ}: the balanced functional-equation choices give the diagonal and double swap, and the exact finite average of the archimedean factors is $H_q$. \begin{theorem}\label{ug:main} Assume GRH for Dirichlet $L$-functions and Hypothesis~\ref{ug:ratios}, with $\omega>2\eta$. Uniformly for even $N$, \[ \sum_{m+n=N}\Lambda(m)\Lambda(n) =N\mathfrak S(N)+O_\varepsilon(N^{1-\omega+2\eta+\varepsilon}). \] The ordered prime representation count is \[ \mathfrak S(N)\int_2^{N-2}\frac{dt}{\log t\log(N-t)} +O_\varepsilon(N^{1-\omega+2\eta+\varepsilon}). \] \end{theorem} The denominator displacement $\eta$ is a proof parameter. A saving $\omega>0$ that is uniform for sufficiently small fixed displacements allows the choice $2\eta<\omega$. Theorem~\ref{ci:extension} makes this reduction from critical numerator shifts precise. \subsection{Recovering parity} The two numerator functional equations give a second linear combination of the even and odd contributions. Their root numbers cancel because the characters are conjugate. The only issue is then the size of the inverse linear system. For $a=s+u$, $b=t+v$, put \begin{equation*} R=R_q(a,b;s,t),\qquad R^\vee=R_q(1-b,1-a;s,t),\qquad h_e=X_{q,e}(1-b)X_{q,e}(1-a). \end{equation*} If $R_e$ denotes the contribution of parity $e$ to $R$, the two numerator functional equations give the exact identities \begin{equation*} R=R_0+R_1,\qquad R^\vee=h_0R_0+h_1R_1. \end{equation*} The root numbers cancel in their product. Hence \begin{equation}\label{ug:parity-recovery} \sum_{\chi\bmod q}^{*}\chi(-1) \frac{L(a,\chi)L(b,\overline\chi)} {L(s,\chi)L(t,\overline\chi)} =\frac{2R^\vee-(h_0+h_1)R}{h_0-h_1}. \end{equation} Writing $z=a+b-1$, duplication and reflection give \begin{equation}\label{ug:hdifference} h_0-h_1=-4q^z(2\pi)^{-z-1} \Gamma(a)\Gamma(b)\sin(\pi z/2), \end{equation} which is nonzero on the indicated discs. Substitution of the two models in~\eqref{ug:ordinary} into~\eqref{ug:parity-recovery} gives exactly \begin{align}\label{ug:signed-model} &\Delta(q)Z_q(a,b;s,t)\\ &\quad+\{M_0(q)X_{q,0}(a)X_{q,0}(b) -M_1(q)X_{q,1}(a)X_{q,1}(b)\} Z_q(1-b,1-a;s,t),\notag \end{align} where $\Delta(q)=M_0(q)-M_1(q)$. For example, the coefficient of $Z_q(a,b;s,t)$ is $\{2(M_0h_0+M_1h_1)-(h_0+h_1)\varphi^*\}/(h_0-h_1)=\Delta$. For the swapped coefficient, the identity $X_{q,e}(a)X_{q,e}(b)=h_e^{-1}$ reduces the coefficient of $M_0$ to $h_0^{-1}$ and that of $M_1$ to $-h_1^{-1}$, giving the displayed expression. Formula~\eqref{ug:parity-recovery} does not give a polynomially uniform pointwise bound for the signed error at arbitrary heights. We use it only after Mellin testing, where its conditioning can be controlled. \subsection{Rational weights} Compact smooth tests have rapid polynomial Mellin decay, which does not control the exponential growth of the inverse in~\eqref{ug:parity-recovery}. We first work with rational tests whose Mellin transforms contain two Gamma factors. One compensates for the inverse; the other leaves exponential decay for integration. Fix an integer $A>3$ and consider finite linear combinations of \begin{equation}\label{ug:rational-basis} f_j(u)=\frac{u^j}{(1+u)^{A+j}},\qquad j=0,1,2,\ldots. \end{equation} Their Mellin transforms are \begin{equation}\label{ug:rational-Mellin} \widetilde f_j(s) =\frac{\Gamma(s+j)\Gamma(A-s)}{\Gamma(A+j)} =\frac{\Gamma(s)(s)_j\Gamma(A-s)}{\Gamma(A+j)}, \qquad -j<\Re s0$, uniformly in $q$. To verify the estimate, first use \eqref{ug:hdifference} to cancel $\Gamma(a)\Gamma(b)$ against $\Gamma(s)\Gamma(t)$ in~\eqref{ug:rational-Mellin}; the resulting Gamma ratios have polynomial growth because $a-s,b-t$ are bounded. The first quotient has a factor $q^{-\Re z}\le q^{-2\eta+2r}\le1$. For the second quotient use also \begin{equation*} h_0+h_1=4q^z(2\pi)^{-z-1} \Gamma(a)\Gamma(b)\cos(\pi(a-b)/2). \end{equation*} Its possible growth is $e^{\pi\min(|\Im s|,|\Im t|)}$ up to fixed polynomial factors. The two rational Mellin transforms decay as $e^{-\pi(|\Im s|+|\Im t|)}$. This proves \eqref{ug:stable-testing}, including bounded perturbations by $u,v$. Apply Cauchy's formula in $u,v$ before the two Mellin integrations. Equation~\eqref{ug:stable-testing} shows that the differentiated, Mellin-tested error at conductor $q$ is \begin{equation}\label{ug:tested-error} O_{f,g,\varepsilon}(q^{1-\omega+\varepsilon}). \end{equation} Initially restrict $|\Im s|,|\Im t|\le5\log(2q)$ to apply the ratios formula. Outside this window use the actual signed logarithmic-derivative moment and its explicit signed model directly. By GRH they are $O_\eta(q^{1+\varepsilon}(1+|\Im s|+|\Im t|)^C)$. The rational Mellin factors give a tail $O_{f,g,\varepsilon}(q^{1-5\pi+\varepsilon})$. Its normalized conductor sum costs $O_{f,g,\varepsilon}(N^{2\eta+\varepsilon})$. \subsection{Counting all multiples of the target} Rational tests are not compactly supported, so orthogonality initially counts every positive multiple of $N$. We retain those multiples in the model. This gives a positive reference estimate that will later justify compact approximation. For these weights, define \begin{equation*} \mathcal B_N(f,g)=\sum_{\substack{m,n\ge1\\N\mid m+n}} \Lambda(m)\Lambda(n)f(m/N)g(n/N),\qquad F=f*g, \end{equation*} where the convolution is additive: \begin{equation*} (f*g)(x)=\int_0^x f(u)g(x-u)\,du. \end{equation*} All sums converge absolutely. We claim that, for even $N$, \begin{equation}\label{ug:all-multiples} \mathcal B_N(f,g) =N\sum_{k\ge1}\mathfrak S(kN)F(k) +O_{f,g,\varepsilon}(N^{1-\omega+2\eta+\varepsilon}). \end{equation} There are three parts to the calculation: differentiation, the character projection, and extraction of the multiples of $N$. \emph{Step 1: The differentiated model.} Mixed numerator differentiation of~\eqref{ug:signed-model} gives the model \begin{equation}\label{ug:LDmodel} \Delta(q)P_q(z)+\{M_0(q)X_{q,0}(s)X_{q,0}(t) -M_1(q)X_{q,1}(s)X_{q,1}(t)\}C_q(z), \qquad z=s+t-1. \end{equation} The two reciprocal zeta zeros in the swapped kernel explain why derivatives of the archimedean factors do not enter. The parity counts satisfy \begin{equation*} \Delta(q)=\sum_{d\mid(q,2)}\mu(q/d)\varphi(d),\qquad |\Delta(q)|\leq2, \end{equation*} by M\"obius inversion of character orthogonality. Split the coefficient of $C_q$ into $\varphi^*(q)/2$ times the difference of the two Gamma products and $\Delta(q)/2$ times their sum. The latter and the diagonal term contribute $O_{f,g,\varepsilon}(N^{2\eta+\varepsilon})$ after the normalized conductor sum. Duplication and reflection give the identity \begin{equation}\label{ug:beta} \frac{X_{q,0}(s)X_{q,0}(t)-X_{q,1}(s)X_{q,1}(t)}2\,\Xi(z) =q^{-z}\frac{\Gamma(1-s)\Gamma(1-t)}{\Gamma(1-z)}. \end{equation} Indeed $X_{q,e}(s)=2q^{1/2-s}(2\pi)^{s-1}\Gamma(1-s)\sin(\pi(s+e)/2)$; the sine-product difference is $\sin(\pi z/2)$, and Euler reflection completes the calculation. For $F=f*g$, Mellin--Barnes inversion gives \begin{equation}\label{ug:Barnes} \frac1{2\pi i}\int_{(\sigma)} \widetilde f(s)\widetilde g(1+z-s) \frac{\Gamma(1-s)\Gamma(s-z)}{\Gamma(1-z)}\,ds =\widetilde F(z),\qquad \Re z=2\eta. \end{equation} This follows by integrating the Barnes representation of $(u+v)^{z-1}$ against $f(u)g(v)$; its conditions are $\Re z<\sigma<1$. The rational Gamma factors justify absolute convergence. Thus the parity difference converts the swapped multiplicative kernel into the additive convolution kernel needed for Goldbach. \emph{Step 2: Character orthogonality.} Use~\eqref{ug:orthogonality} and group the characters by primitive conductor. The congruence detects $N\mid m+n$ without restricting the multiple. The excluded noncoprime terms have $m=p^a,n=p^b$ with $p\mid N$. Since $|f(u)|,|g(u)|\ll(1+u)^{-A}$ and \begin{equation*} \sum_{a\ge1}(1+p^a/N)^{-A}\ll_A1+\frac{\log N}{\log p}, \end{equation*} their total weight is $O_{f,g}(\log^3N)$. Replacing an induced character by its primitive source still changes its smoothed prime sum by $O_f(\log^2N)$. The principal character contributes $N^2\widetilde f(1)\widetilde g(1)/\varphi(N)$, with error $O_{f,g,\varepsilon}(N^{\sigma+\varepsilon})$, by GRH and Mellin inversion. Using~\eqref{ug:LDmodel}--\eqref{ug:Barnes} and \eqref{ug:tested-error} therefore gives \begin{equation*} \begin{aligned} \mathcal B_N(f,g)={}&\frac{N^2}{\varphi(N)} \widetilde f(1)\widetilde g(1) +\frac1{\varphi(N)}\sum_{\substack{q\mid N\\q>1}} \varphi^*(q)\frac N{2\pi i}\int_{(2\eta)} (N/q)^zD_q(z)\widetilde F(z)\,dz\\ &+O_{f,g,\varepsilon}(N^{1-\omega+2\eta+\varepsilon}). \end{aligned} \end{equation*} The Mellin--Barnes integrals converge absolutely by the rational Gamma factors. The additive convolution $F$ is smooth on $(0,\infty)$, is $O(x)$ at zero and $O((1+x)^{-A})$ at infinity. Repeated integration by parts gives rapid vertical decay of $\widetilde F$ on each closed substrip of $-1<\Re z1$, move the $D_q$ contour to $\Re z=3/2$ and use its Ramanujan coefficient expansion in Proposition~\ref{co:conductor}. The exact conductor selection identity~\eqref{co:selection} then gives \begin{align*} \mathcal B_N(f,g) ={}&\frac{N^2}{\varphi(N)}\widetilde f(1)\widetilde g(1) +N\sum_{k\ge1}\mathfrak S(kN)F(k)\\ &-\frac N{\varphi(N)}\sum_{h\ge1}\mathfrak S(h)F(h/N) +O_{f,g,\varepsilon}(N^{1-\omega+2\eta+\varepsilon}). \end{align*} Moving the background $D_1$ contour to $1/4$ shows that the first and third terms cancel within $O_{f,g,\varepsilon}(N^{1/4+\varepsilon})$. This proves~\eqref{ug:all-multiples}. \subsection{From rational weights to sharp counting} The approximation must control the entire positive sum, including its tails. The rational test $w_A(u)=(1+u)^{-A}$ bounds that mass on the arithmetic side, and an elementary comparison of singular series gives the same control on the model side. For even $N$, \begin{equation}\label{ug:singular-domination} \mathfrak S(kN)\le\mathfrak S(N)\tau(k),\qquad k\ge1. \end{equation} Indeed each new odd prime divisor of $k$ contributes at most two. Splitting the convolution integral at $k/2$ gives \begin{equation*} (w_A*w_A)(k)\ll_A(1+k)^{-A}. \end{equation*} Since $A>3$, the series in~\eqref{ug:all-multiples} for $w_A,w_A$ is $O_A(N\mathfrak S(N))$. Positivity, the lower bound $\mathfrak S(N)\gg1$ for even $N$, and $\omega>2\eta$ consequently give the uniform dominating estimate \begin{equation}\label{ug:dominating-mass} \mathcal B_N(w_A,w_A)\ll_A N\mathfrak S(N). \end{equation} Thus no additional sieve hypothesis is needed for approximation. For every continuous compactly supported function $f_0$ on $[0,\infty)$ and every $\epsilon>0$, there is a rational test $f$ of the above form such that \begin{equation}\label{ug:weighted-approx} |f(u)-f_0(u)|\le\epsilon w_A(u),\qquad u\ge0. \end{equation} To see this, set $x=u/(1+u)$. The function $(1-x)^{-A}f_0(x/(1-x))$, extended by zero near $x=1$, is continuous on $[0,1]$. Approximate it uniformly by a polynomial $P(x)$ and take $f(u)=(1+u)^{-A}P(u/(1+u))$. Approximate $f_0,g_0$ in this way. Their rational approximants are bounded by fixed multiples of $w_A$. Equation \eqref{ug:dominating-mass} bounds the error on the arithmetic side by $O_{f_0,g_0,A}(\epsilon N\mathfrak S(N))$. Equations \eqref{ug:singular-domination} and the convolution bound give the same bound for the model side. Applying~\eqref{ug:all-multiples} to the fixed rational approximants, letting $N\to\infty$ first and then $\epsilon\to0$, proves \begin{equation}\label{ug:compact-tests} \mathcal B_N(f_0,g_0) =N\sum_{k\ge1}\mathfrak S(kN)(f_0*g_0)(k) +o_{f_0,g_0}(N\mathfrak S(N)). \end{equation} If $f_0,g_0$ are supported in $(0,1)$, only $k=1$ survives; this is the smooth Goldbach asymptotic under the untwisted hypothesis. Finally fix $0<\delta<1/4$ and choose nonnegative continuous cutoffs $f_-$ and $f_+$. The first is supported in $[\delta,1-\delta]$, is at most one and equals one on $[2\delta,1-2\delta]$. The second is one on $[0,1]$, at most one everywhere and supported in $[0,1+\delta]$. The lower count $\mathcal B_N(f_-,f_-)$ contains only the multiple $k=1$ and is bounded above by the sharp Goldbach count. The upper count $\mathcal B_N(f_+,f_+)$ dominates it. In the upper model only $k=1,2$ occur; their convolution values are respectively $1+O(\delta)$ and $O(\delta)$, and $\mathfrak S(2N)=\mathfrak S(N)$. Equation \eqref{ug:compact-tests} therefore bounds the normalized sharp count between $1-O(\delta)+o_\delta(1)$ and $1+O(\delta)+o_\delta(1)$. {Letting $\delta\to0$ proves the qualitative weighted conclusion; the power-saving error in Theorem~\ref{ug:main} is proved next.} Proper prime powers contribute $O(N^{1/2}\log^2N)$. The compact-test result controls the distribution of prime representations in the relative position $m/N$. On $\delta N\le m\le(1-\delta)N$ both prime logarithms are $(1+o_\delta(1))\log N$. Representations with a prime below $N^{1/2}$ contribute only $O(N^{1/2})$ to the unweighted count. In the remaining endpoint ranges both logarithms are at least $(1/2+o(1))\log N$, and the compact-test upper bound gives a contribution $O(\delta N\mathfrak S(N)/(\log N)^2)$. Let $N\to\infty$ and then $\delta\to0$ to obtain the asserted unweighted asymptotic. \begin{remark} The argument uses only the logarithmic height range stated in Hypothesis~\ref{ug:ratios}. A uniform ordinary ratios formula with a polynomial height window therefore supplies more than is needed. The functional equation is used to recover the Mellin-tested parity information required in this proof; no polynomially uniform pointwise parity-refined formula is asserted. \end{remark} \subsection{An exact test of the target sum}\label{ug:exact-section} The qualitative approximation above does not by itself give a power-saving sharp error. We avoid this loss by using a nonseparable weight. Put \begin{equation}\label{ug:exact-weight} w(v)=e^{20(1-v)}\left(\frac{\sin\pi(v-1)}{\pi(v-1)}\right)^2, \qquad W(u,v)=w(u+v), \end{equation} with the removable value $w(1)=1$. Since $w(k)=0$ at all other positive integers, \begin{equation}\label{ug:exact-selection} \sum_{\substack{m,n\ge1\\N\mid m+n}} \Lambda(m)\Lambda(n)W(m/N,n/N) =\sum_{m+n=N}\Lambda(m)\Lambda(n). \end{equation} The weight is fixed, independently of $N$. \emph{Step 1: Mellin decay and the parity inverse.} Write $\widetilde w(z)=\int_0^\infty w(v)v^{z-1}\,dv$. The function $w$ is entire, is $O(v^2)$ at zero, and decays exponentially in the closed sector $|\arg v|\le1$. Indeed $20\cos1>2\pi\sin1$. Rotation of the Mellin ray therefore gives, uniformly for $b$ in a fixed compact subset of $(-2,\infty)$, \begin{equation}\label{ug:w-decay} |\widetilde w(b+iy)|\ll_b e^{-|y|}. \end{equation} For $\Re s,\Re t>0$, the double Mellin transform of $W$ is \begin{equation}\label{ug:double-Mellin} \mathcal W(s,t)=\frac{\Gamma(s)\Gamma(t)}{\Gamma(s+t)} \widetilde w(s+t). \end{equation} This follows by setting $u=xv$, $u'=x(1-v)$ in the defining double integral. On $\Re s=\Re t=\sigma$, Stirling's formula and~\eqref{ug:w-decay} imply \[ |\mathcal W(s,t)|\ll (1+|\Im s|+|\Im t|)^C e^{-(|\Im s|+|\Im t|)}. \] Here and below fixed polynomial factors may change. For $a=s+u$, $b=t+v$ on the numerator disks, use~\eqref{ug:hdifference} and the displayed formula for $h_0+h_1$ to obtain \begin{equation}\label{ug:exact-inverse} \left|\frac{\mathcal W(s,t)}{h_0-h_1}\right| +\left|\frac{(h_0+h_1)\mathcal W(s,t)}{h_0-h_1}\right| \ll (1+|\Im s|+|\Im t|)^C e^{-|\Im s+\Im t|}. \end{equation} For the first quotient the two numerator Gamma factors cancel, while the exponential factors of $\Gamma(s+t)$ and $\sin(\pi(a+b-1)/2)$ cancel each other. For the second quotient the remaining exponential factor is bounded by \[ \exp\!\left\{\frac\pi2\bigl(|\Im s-\Im t|-|\Im s|-|\Im t|\bigr)\right\}\le1. \] The bounded perturbations $u,v$ do not change these estimates, and the sine is bounded away from zero at bounded height because $r<\eta/4$. Unlike~\eqref{ug:stable-testing}, estimate~\eqref{ug:exact-inverse} need not decay in the difference of the two heights. We only integrate the recovered ratios error on $|\Im s|,|\Im t|\le5\log(2q)$. Its integral there has a fixed polynomial logarithmic cost. Cauchy differentiation on the numerator disks consequently gives total conductor error $O_\varepsilon(q^{1-\omega+\varepsilon})$. Outside that box we use the actual signed logarithmic-derivative moment and its explicit model, whose growth is polynomial by GRH, without using the parity inverse. The exponential decay of $\mathcal W$ bounds this tail by $O_\varepsilon(q^{-4+\varepsilon})$. After the normalized conductor sum it contributes $O_\varepsilon(N^{2\eta+\varepsilon})$. \emph{Step 2: Orthogonality and the main term.} Double Mellin inversion and character orthogonality now apply to $W$, just as they applied to product weights. The principal double residue is $N^2\widetilde w(2)/\varphi(N)$. The noncoprime terms contribute $O(\log^3N)$, since a surviving noncoprime pair is $m=p^a,n=p^b$ with $p\mid N$ and $m+n=N$. Replacing induced characters by their primitive sources costs $O_\varepsilon(N^{\sigma+\varepsilon})$. To justify this bound for the nonseparable weight, fix an omitted prime power $d=p^a$, $p\mid N$, and apply the GRH smoothed character estimate to $v\mapsto w(d/N+v)$. Its smooth seminorms are $O_A((1+d/N)^{-A})$, uniformly in $d$. Thus each nonprincipal sum is $O_{A,\varepsilon}(N^{\sigma+\varepsilon}(1+d/N)^{-A})$; summing the omitted powers costs only logarithms. For the principal character, the cross term has size $O(N\log^2N/\varphi(N))$, and the single-residue errors have size $O_\varepsilon(N^{1+\sigma+\varepsilon}/\varphi(N))$. These errors are absorbed below. Set $z=s+t-1$. The beta factor in~\eqref{ug:beta} and Barnes's first lemma give \begin{equation}\label{ug:exact-Barnes} \frac1{2\pi i}\int_{(\sigma)} \mathcal W(s,1+z-s) \frac{\Gamma(1-s)\Gamma(s-z)}{\Gamma(1-z)}\,ds =\widetilde w(1+z),\qquad \Re z=2\eta. \end{equation} Indeed the integral of $\Gamma(s)\Gamma(s-z)\Gamma(1-s)\Gamma(1+z-s)$ is $\Gamma(1-z)\Gamma(1+z)$, and these two factors cancel the denominators. All four Gamma arguments have positive real part on the chosen line. The terms involving $\Delta(q)$ again contribute $O_\varepsilon(N^{2\eta+\varepsilon})$. Consequently the left side of~\eqref{ug:exact-selection} equals \begin{align*} &\frac{N^2}{\varphi(N)}\widetilde w(2) +\frac N{\varphi(N)}\sum_{\substack{q\mid N\\q>1}}\varphi^*(q) \frac1{2\pi i}\int_{(2\eta)}(N/q)^zD_q(z)\widetilde w(1+z)\,dz\\ &\hspace{35mm}+O_\varepsilon(N^{1-\omega+2\eta+\varepsilon}). \end{align*} The conductor sum of errors is bounded using $\sum_{q\mid N}q^{1-\omega+\varepsilon}\ll_\varepsilon N^{1-\omega+2\varepsilon}$ and $N/\varphi(N)\ll_\varepsilon N^\varepsilon$. \emph{Step 3: Exact coefficient selection.} Move the $q>1$ contours to $\Re z=3/2$ and apply Proposition~\ref{co:conductor}. Mellin inversion gives \begin{align*} &\frac{N^2}{\varphi(N)}\widetilde w(2) +N\sum_{k\ge1}\mathfrak S(kN)k w(k)\\ &\qquad-\frac N{\varphi(N)}\sum_{h\ge1}\mathfrak S(h)(h/N)w(h/N) +O_\varepsilon(N^{1-\omega+2\eta+\varepsilon}). \end{align*} Moving the background $D_1$ contour to $1/4$ cancels the first and third terms with error $O_\varepsilon(N^{1/4+\varepsilon})$. The middle sum is exactly $N\mathfrak S(N)$. This proves the weighted assertion of Theorem~\ref{ug:main}. Proper prime powers cost $O(N^{1/2}\log^2N)$, which is absorbed because $\omega\le1/2$. \emph{Step 4: Removing the logarithmic weights.} For $0\le\lambda,\mu\le\omega\le1/2$, repeat the argument with \[ W_{\lambda,\mu}(u,v)=u^{-\lambda}v^{-\mu}w(u+v),\qquad \mathcal W_{\lambda,\mu}(s,t)= \frac{\Gamma(s-\lambda)\Gamma(t-\mu)}{\Gamma(s+t-\lambda-\mu)} \widetilde w(s+t-\lambda-\mu). \] The Mellin and parity-inverse bounds remain uniform on this compact parameter range, since $\sigma-\lambda,\sigma-\mu\ge\eta$. The weighted version of~\eqref{ug:exact-Barnes}, again by Barnes's first lemma, is \begin{align*} &\frac1{2\pi i}\int_{(\sigma)}\mathcal W_{\lambda,\mu}(s,1+z-s) \frac{\Gamma(1-s)\Gamma(s-z)}{\Gamma(1-z)}\,ds\\ &\hspace{20mm}=\mathrm B(1-\lambda,1-\mu) \widetilde w(1+z-\lambda-\mu), \end{align*} where $\mathrm B(a,b)=\Gamma(a)\Gamma(b)/\Gamma(a+b)$. The principal residue and the background term still cancel, while the selected coefficient is multiplied by $\mathrm B(1-\lambda,1-\mu)$. After multiplying by $N^{-\lambda-\mu}$, the induced-character error is still $O_\varepsilon(N^{\sigma+\varepsilon})$: an omitted power $d$ contributes $d^{-\lambda}N^{\sigma-\mu}$ times a function decreasing faster than any power of $1+d/N$, and the symmetric term is identical. All other errors are bounded as before. Thus, uniformly in $\lambda,\mu$, \begin{equation}\label{ug:real-power-test} \sum_{m+n=N}\frac{\Lambda(m)\Lambda(n)}{m^\lambda n^\mu} =\mathfrak S(N)N^{1-\lambda-\mu}\mathrm B(1-\lambda,1-\mu) +O_\varepsilon(N^{1-\omega+2\eta+\varepsilon}). \end{equation} Integrate over $[0,\omega]^2$, writing \[ K_\omega(t)=\int_0^\omega t^{-\lambda}\,d\lambda =\frac{1-t^{-\omega}}{\log t},\qquad K_\omega(1)=\omega. \] The prime contribution becomes $\sum_{p_1+p_2=N}(1-p_1^{-\omega})(1-p_2^{-\omega})$. It differs from the unweighted count by $O(N^{1-\omega})$, since $\sum_{m\le N}m^{-\omega}\ll N^{1-\omega}$; proper prime powers are absorbed as above. The integrated main term is $\mathfrak S(N)\int_0^N K_\omega(t)K_\omega(N-t)\,dt$. On $[2,N-2]$ its difference from the stated integral is $O(\mathfrak S(N)N^{1-\omega})$. The two endpoint integrals are $O(\mathfrak S(N)/\log N)$, since $K_\omega$ is integrable at zero. As $\mathfrak S(N)\ll_\varepsilon N^\varepsilon$, these errors prove the unweighted assertion of Theorem~\ref{ug:main}. Finally, in~\eqref{ci:extensionformula}, take $r=\eta/8$ and let the fixed $\eta$ be sufficiently small in terms of a prescribed $\varepsilon>0$. Then $\kappa\to\omega_D$ and $2\eta\to0$, so the exponent $1-\omega+2\eta$ can be made smaller than $1-\omega_D+\varepsilon/2$. The remaining logarithmic losses are absorbed into $N^{\varepsilon/2}$. This proves Theorem~\ref{thm:goldbach}. \subsection{Interpolation from critical numerators} \label{ci:section} We now derive both numerator disks in Hypothesis~\ref{ug:ratios} from critical-line data. The error is small on the critical numerator lines and has a polynomial bound on a wider strip. Interpolating in the two numerator variables preserves a positive saving when the denominator displacement is sufficiently small. Write \begin{equation*} \mathcal M_q(a,b;s,t)=\varphi^*(q)Z_q(a,b;s,t) +H_q(a,b)Z_q(1-b,1-a;s,t) \end{equation*} for the ordinary two-term model in~\eqref{ug:ordinary}, and put $\ell_q=\log(2q)$. The hypothesis concerns ordinary averages, with both parities included. Its restriction to prime conductors has the critical-numerator form of~\cite[Conjecture 2.1]{WX}. That conjecture uses an equal-weight parity average, whereas $H_q$ uses the exact counts. Their archimedean coefficients differ by $O(1)$ on critical numerator lines. The difference vanishes on $a+b=1$, canceling the pole of the swapped kernel. The resulting model difference is absorbed by the error on the stated logarithmic window, after decreasing $\omega_D$ to at most $1/2$ if necessary. Uniformity over all primitive conductors is assumed explicitly here. Only a logarithmic height range is used. \begin{theorem}\label{ci:extension} Assume GRH and Hypothesis~\ref{hyp:int-D}. For sufficiently small fixed $\eta>0$, choose $02\eta$, \eqref{ug:ordinary} holds uniformly on both numerator discs in Hypothesis~\ref{ug:ratios}, with $|\Im s|,|\Im t|\le10\ell_q$. {In particular, Theorem~\ref{ug:main} applies. Letting the fixed displacement tend to zero in terms of the desired error exponent gives Theorem~\ref{thm:goldbach}.} \end{theorem} \begin{proof} \emph{Step 1: A holomorphic error on a fixed strip.} Fix $\delta=1/8$ and decrease $\eta_0$ so that $\eta_0<1/64$. Keep the denominator arguments $s,t$ fixed, with their heights at most $10\ell_q$, and set \begin{equation*} F_q(a,b)=q^{-1}\{R_q(a,b;s,t)-\mathcal M_q(a,b;s,t)\}. \end{equation*} This function is holomorphic on $|\Re a-1/2|,|\Re b-1/2|\le\delta$, and on a neighborhood of that closed region. Indeed, GRH excludes zeros of the denominator zeta factors in the model, whose real parts are at least $1-\delta+\eta>1/2$. The Euler products converge normally. The only apparent numerator pole is on $a+b=1$. On this hyperplane the two arithmetic kernels have opposite residues and $X_{q,e}(a)X_{q,e}(1-a)=1$, so that $H_q(a,1-a)=\varphi^*(q)$; the residues therefore cancel. There are absolute constants $K,D$ such that, throughout this region, \begin{equation}\label{ci:crude} |F_q(a,b)|\ll_\eta q^K (1+|\Im a|+|\Im b|+|\Im s|+|\Im t|)^D. \end{equation} Here $K=2$ is more than sufficient and is independent of $\eta$. To check this, convexity bounds the two numerator $L$-functions by a fixed power of their conductors. Under GRH, for each fixed $\eta>0$, $L(1/2+\eta+iv,\chi)^{-1}\ll_{\eta,\epsilon} (q(2+|v|))^\epsilon$. The same bounds for the model follow from Stirling's formula, normal convergence of the arithmetic products, and the finite Euler factors, which cost $q^\epsilon$. Cauchy's estimate in a slightly larger strip handles the canceled pole. These are the usual conditional bounds for $L$-functions in fixed strips; see~\cite[Chapter 5]{IK}. \emph{Step 2: Interpolation in the first numerator.} Put $\tau=\eta+r$ and $\lambda=\tau/\delta$. First let $\Re b=1/2$, $|\Im b|\le40\ell_q$, and fix a target height $|v|\le20\ell_q$. For either sign consider \begin{equation*} G(w)=F_q(\tfrac12\pm w+iv,b)e^{w^2}, \qquad 0\le\Re w\le\delta. \end{equation*} This function is bounded on the strip. On $\Re w=0$, the critical-line input applies while $|\Im(1/2\pm w+iv)|\le100\ell_q$. Outside this range $|\Im w|\ge80\ell_q$, and~\eqref{ci:crude} multiplied by $e^{-(\Im w)^2}$ is smaller than every fixed negative power of $q$. Consequently the two boundary bounds, absorbing powers of $\ell_q$ into $q^\varepsilon$, are \begin{equation*} \sup_{\Re w=0}|G(w)|\ll_{\eta,\varepsilon}q^{-\omega_D+\varepsilon}, \qquad \sup_{\Re w=\delta}|G(w)|\ll_{\eta,\varepsilon}q^{K+\varepsilon}. \end{equation*} The three-lines theorem gives, uniformly for $|\Re a-1/2|\le\tau$, $|\Im a|\le20\ell_q$, \begin{equation}\label{ci:first} |F_q(a,b)|\ll_{\eta,\varepsilon}q^{-\omega_1+\varepsilon}, \qquad \omega_1=\omega_D(1-\lambda)-K\lambda. \end{equation} \emph{Step 3: Interpolation in the second numerator.} Now fix such an $a$ and interpolate in $b$, using $F_q(a,1/2\pm w+iv)e^{w^2}$ with $|v|\le12\ell_q$. On the central boundary,~\eqref{ci:first} applies up to $|\Im b|=40\ell_q$. Beyond that height $|\Im w|\ge28\ell_q$, so the same Gaussian argument supplies the boundary bound. The other boundary is again controlled by~\eqref{ci:crude}. A second application of the three-lines theorem yields \begin{equation}\label{ci:extensionformula} |F_q(a,b)|\ll_{\eta,\varepsilon}q^{-\kappa+\varepsilon}, \qquad \kappa=\omega_D(1-\lambda)^2-K(2\lambda-\lambda^2), \end{equation} for both numerator real parts within $\tau$ of $1/2$ and both heights at most $12\ell_q$. Since $r<\eta/4$, choosing $\eta$ sufficiently small gives $\kappa>\omega_D/2>2\eta$. The original and reflected numerator discs lie in this final region when the denominator heights are at most $10\ell_q$. Multiplying~\eqref{ci:extensionformula} by $q$ proves the asserted ratios estimate with any $2\eta<\omega<\min(\kappa,1/2)$. The error is holomorphic and the bound holds on the closed discs, as required for Cauchy differentiation. The logarithmic-height Goldbach argument now applies. \end{proof} \section{Fixed prime differences}\label{sec:twins} A time average of a short Dirichlet polynomial can distinguish a fixed additive difference. We choose a signed Fourier filter that retains $n$ and $n+h$ while removing the diagonal. After the ratios prediction evaluates the average, the same filter extracts the coefficient $\mathfrak S(h)$ from $D_1$. We first keep the Mellin line fixed to track the saving. Proposition~\ref{qt:sharp} below removes smoothing at the same exponent under $\mathrm{RC}_Z(\omega_Z)$. Proposition~\ref{wk:zeta}, in Appendix~\ref{wk:section}, gives the qualitative variant under Hypothesis~\ref{hyp:WZ}. \begin{hypothesis}[Quantitative fixed-line ratios]\label{hyp:Zeta} For fixed $0<\eta<1/4$, $0<\omega\le1/2$, and some $\theta>0,B\ge0$, the formula~\eqref{co:weak-Z} holds with its $o(Q)$ replaced by $O_\varepsilon(Q^{1-\omega+\varepsilon}(1+|\Im a|+|\Im b|)^B)$, uniformly on $\Re a=\Re b=\eta$, $|\Im a|,|\Im b|\le Q^\theta$, and $|u|,|v|\le r/\log(2Q)$ for a sufficiently small fixed $r>0$. \end{hypothesis} For any fixed $0<\theta<1$, this is a restriction of the uniform continuous $2/2$ prediction in~\cite[Conjecture 2.1 and (2.11)]{CS}; its square-root error gives $\omega=1/2$. The application uses no parity or conductor refinement. \begin{theorem}\label{thm:twin-smooth} Assume the zeta zero-free margin and Hypothesis~\ref{hyp:Zeta}. If $\omega>2\eta$, then for each fixed $h\geq1$ and $\Phi\in C_c^\infty((0,\infty))$, \begin{equation}\label{eq:twin-smooth} \sum_n\Lambda(n)\Lambda(n+h)\Phi(n/X) =\mathfrak S(h)X\int_0^\infty\Phi(u)\,du +O_{\Phi,h,\varepsilon}(X^{1-\omega+2\eta+\varepsilon}). \end{equation} The implied constant has polynomial dependence on finitely many seminorms of $\Phi$ on each fixed compact support. \end{theorem} \subsection{A signed Fourier filter} The filter has Fourier support near $h$ and $-h$. A narrow spatial support then excludes all other integral differences. Its two zero moments have separate purposes: one removes the Dirichlet-polynomial diagonal, and the other removes the pole of the singular-series Dirichlet series. Use the Fourier convention $\widehat g(v)=\int_\R g(t)e^{-2\pi ivt}\,dt$. Choose a nonzero real even Schwartz function $k$ with smooth Fourier transform supported in $(-\epsilon_0,\epsilon_0)$, where $2\epsilon_0<1/8$. Let $M$ be a sufficiently large fixed integer and set \begin{equation*} \begin{gathered} r_0(t)=t^M k(t),\qquad H=\widehat{r_0^2},\qquad g_h(t)=r_0(t)^2\cos(2\pi ht),\\ \phi_h(v)=\widehat g_h(v)=\frac{H(v-h)+H(v+h)}2. \end{gathered} \end{equation*} Here $g_h$ is even and Schwartz, vanishes to order $2M$ at zero, and \begin{equation}\label{eq:two-cancellations} \begin{gathered} \phi_h(0)=0,\qquad \int_0^\infty g_h(t)\,dt=0,\\ g_h(0)=0,\qquad \int_0^\infty\phi_h(v)\,dv=0. \end{gathered} \end{equation} Since $H(0)=\int_\R r_0(t)^2\,dt>0$, there is a sufficiently small interval $J_h=(1,1+\epsilon_h)$ on which \begin{equation*} a_h(u)=\tfrac12H(h/u-h)>0. \end{equation*} Shrink it so that $\phi_h(j/u)=0$ for every integer $j\geq1$, $j\ne h$, and every $u\in J_h$. For real coefficients $c(n)$ and $W\in C_c^\infty(J_h)$ real, put \begin{equation*} P_{c,W,X}(t)=\sum_n\frac{c(n)}{n^{1/2+it}}W(n/X),\qquad T=2\pi X,\qquad I_c(X)=\int_0^\infty g_h(t/T)|P_{c,W,X}(t)|^2\,dt. \end{equation*} Fourier inversion, using evenness of $|P|^2$, gives an exact sum over differences. The diagonal vanishes by $\phi_h(0)=0$. For all sufficiently large $X$, only the difference $h$ remains, and \begin{align}\label{eq:exact-difference} I_c(X)=\frac T2\sum_n\frac{c(n)c(n+h)}{\sqrt{n(n+h)}} W(n/X)W((n+h)/X)\\ {}\times H\bigl(X\log(1+h/n)-h\bigr).\notag \end{align} Indeed the positive Fourier lobe is near $h$, and $X\log(1+j/n)$ is below this lobe for $jh$, by monotonicity and the choice of $J_h$. If $c(n)\ll_\varepsilon n^\varepsilon$, Taylor expansion in~\eqref{eq:exact-difference} yields \begin{equation}\label{eq:approx-difference} \frac{I_c(X)}T=\sum_n\frac{c(n)c(n+h)}n W(n/X)^2a_h(n/X) +O_{W,h,\varepsilon}(X^{-1+\varepsilon}). \end{equation} For $c=\Lambda$ the error is $O(X^{-1}\log^2X)$. \subsection{The swapped moment} We now evaluate the filtered average for $c=\Lambda$. Mellin inversion expresses its Dirichlet polynomial in terms of $-\zeta'/\zeta$. The unswapped moment vanishes against the time weight; the swapped moment becomes the coefficient integral of Lemma~\ref{co:extraction}. Cauchy differentiation of~\eqref{co:weak-Z} in the quantitative form of Hypothesis~\ref{hyp:Zeta}, using the kernels in Section~\ref{sec:prelim}, gives \begin{align}\label{eq:diff-zeta} \int_0^U\frac{\zeta'}\zeta(1/2+a+it) \frac{\zeta'}\zeta(1/2+b-it)\,dt =UP_1(z)+(2\pi)^z\frac{U^{1-z}}{1-z}C_1(z) +O_\varepsilon(U^{1-\omega+\varepsilon}L^{B'}), \end{align} where $z=a+b$, $L=2+|\Im a|+|\Im b|$. The error satisfies the required holomorphic uniformity because the differentiated discs are contained in the assumed discs after decreasing $r$. For $c=\Lambda$, shifting a Mellin contour gives \begin{align}\label{eq:zeta-Mellin} P_{\Lambda,W,X}(t)&=Q_X(t)+R_X(t),\\ Q_X(t)&=-\frac1{2\pi i}\int_{(\eta)} \frac{\zeta'}\zeta(1/2+a+it)X^a\widetilde W(a)\,da,\notag\\ R_X(t)&=X^{1/2-it}\widetilde W(1/2-it).\notag \end{align} The residue $R_X$ comes from the pole of $\zeta$ at one. No zero is crossed under the zero-free margin. The bounds of Section~\ref{sec:prelim} give \begin{equation*} Q_X(t)\ll_W X^\eta\log(2+|t|),\qquad R_X(t)\ll_{W,A}X^{1/2}(1+|t|)^{-A}. \end{equation*} Since $g_h(t/T)\ll(t/T)^{2M}$, the terms containing $R_X$ contribute $O_W(X^{-1})$ after taking $M$ and $A$ large enough. Write $\widetilde g_h$ for the Mellin transform of the time weight. Apply~\eqref{eq:weighted-moment} to~\eqref{eq:diff-zeta} inside the two Mellin integrals for $|Q_X|^2$. The first cancellation in~\eqref{eq:two-cancellations} gives $\widetilde g_h(1)=0$. Combining the Mellin variables, and using $T=2\pi X$, leaves \begin{equation}\label{eq:twin-mainintegral} I_\Lambda(X)=\frac T{2\pi i}\int_{(2\eta)} \widetilde{W^2}(z)C_1(z)\widetilde g_h(1-z)\,dz +O_{W,h,\varepsilon}(X^{1-\omega+2\eta+\varepsilon}). \end{equation} Here the Mellin convolution of $\widetilde W(a)$ and $\widetilde W(z-a)$ is $\widetilde{W^2}(z)$. The factor $X^{2\eta}$ in the error is the cost of the two Mellin lines. Define $\Phi_h(z)=\int_0^\infty\phi_h(v)v^{z-1}\,dv$. The cosine Mellin transform gives \begin{equation}\label{eq:cosine-Mellin} \Phi_h(z)=\Xi(z)\widetilde g_h(1-z),\qquad 0<\Re z<1, \end{equation} initially with an exponential convergence factor. Continuation extends the identity to $0<\Re z<2M+1$. In addition, $\Phi_h(1)=0$ by~\eqref{eq:two-cancellations}. Thus $C_1(z)\widetilde g_h(1-z)=D_1(z)\Phi_h(z)$ and the pole of $D_1$ at one is canceled. The Dirichlet-series expansion~\eqref{co:series} identifies the coefficients of $D_1$ with the Hardy--Littlewood singular series, including the local factor at two. Lemma~\ref{co:extraction}, with $D=D_1$, now gives the exact model contribution \begin{align*} T\sum_{j\geq1}\mathfrak S(j)\int_0^\infty W(u)^2\phi_h(j/u)\,\frac{du}{u} =T\mathfrak S(h)\int_0^\infty W(u)^2a_h(u)\,\frac{du}{u}. \end{align*} The support construction selects $j=h$. Equations~\eqref{eq:approx-difference} and~\eqref{eq:twin-mainintegral} now imply \begin{align}\label{eq:twin-local} \sum_n\frac{\Lambda(n)\Lambda(n+h)}n W(n/X)^2a_h(n/X) =\mathfrak S(h)\int_0^\infty W(u)^2a_h(u)\,\frac{du}{u} +O_{W,h,\varepsilon}(X^{-\omega+2\eta+\varepsilon}). \end{align} To obtain an arbitrary real test supported in $J_h$, take $W(u)=f(u)\sqrt{u/a_h(u)}$. This gives~\eqref{eq:twin-smooth} for tests $f^2$. Every smooth compactly supported real test is a difference of two such squares: if $\chi=1$ on its support, use $((\chi+\Phi)^2-(\chi-\Phi)^2)/4$. A finite partition of unity and rescaling of $X$ treat any fixed compact support in $(0,\infty)$. Complex tests follow by linearity. These operations use only finitely many derivatives, proving the seminorm assertion and Theorem~\ref{thm:twin-smooth}. Under Hypothesis~\ref{hyp:Zeta} with a general polynomial height factor, Lemma~\ref{lem:unsmooth} gives a sharp error with an explicitly positive saving once the cutoff seminorm cost is specified. The following refinement exploits the height-independent error of the standard uniform prediction and also applies to Section~\ref{sec:quadratic}. \begin{proposition}[Sharp cutoffs without loss of the ratios saving]\label{qt:sharp} Assume the relevant Riemann hypothesis and either $\mathrm{RC}_Z(\omega)$ or $\mathrm{RC}_H(\omega)$. For sufficiently small fixed $\eta>0$, set $d=\omega-2\eta>0$. The corresponding sharp weighted error is \[ O_\varepsilon(X^{1-d+\varepsilon}). \] Consequently it is $O_\varepsilon(X^{1-\omega+\varepsilon})$ after choosing $\eta$ in terms of $\varepsilon$. In the continuous case the implied constants may also depend on the fixed difference $h$. \end{proposition} \begin{proof} We give the dependence on the cutoff, rather than using an unspecified smooth seminorm. On a fixed compact interval in $(0,\infty)$, choose upper and lower smooth cutoffs with transition width $v=X^{-d}$. The radial weights $W_v$ in either detector, after multiplication by fixed smooth factors, may be chosen to satisfy \[ \|W_v\|_\infty+\|W_v'\|_1\ll1,\qquad \|W_v^{(j)}\|_1\ll_j v^{1-j}\quad(j\ge1). \] For prime pairs one can use squares of smooth cutoffs and a fixed partition into squares, so that taking a square root causes no loss in these bounds. Integration by parts in logarithmic coordinates gives, on each of the fixed Mellin lines used in the detectors, \begin{equation}\label{qt:Mellin-cutoff} |\widetilde W_v(b+it)|\ll_A \frac1{1+|t|}\min\{1,(v|t|)^{-A}\},\qquad \int_\mathbb R|\widetilde W_v(b+it)|\,dt\ll\log(2/v). \end{equation} The minimum is interpreted as one at $t=0$. Fix $d0$, \begin{equation}\label{si:powerhyp} \sup_{\substack{|r|\le H^q\\ |u|,|v|\le\rho}} |\Delta_H(\sigma_H+u,\sigma_H+ir+v;\sigma_H,\sigma_H+ir)| \ll_{q,\varepsilon}H^{1-q+\varepsilon}. \end{equation} Then \begin{align} \psi((n+1)^2)-\psi(n^2) &=2n+1+O_{q,\varepsilon}(n^{1-q/3+\varepsilon}),\label{si:Legendre-quant}\\ \pi((n+1)^2)-\pi(n^2) &=\int_{n^2}^{(n+1)^2}\frac{dt}{\log t} +O_{q,\varepsilon}(n^{1-q/3+\varepsilon}),\notag \end{align} and $p_{j+1}-p_j\ll_{q,\varepsilon}p_j^{(1-q)/(2-q)+\varepsilon}$. In particular, \begin{equation}\label{si:Legendre} \psi((n+1)^2)-\psi(n^2)\sim2n,\qquad \pi((n+1)^2)-\pi(n^2)\sim\frac n{\log n}. \end{equation} \end{theorem} \begin{lemma}[Differentiated ratios]\label{si:diff} Under RH, the input~\eqref{si:RC} on~\eqref{si:slice} gives \begin{equation}\label{si:differentiated} \begin{aligned} &\int_H^{2H}Z(\tfrac12+\sigma_H+it) Z(\tfrac12+\sigma_H-it+ir)\,dt\\ &\quad=\int_H^{2H}\{P_1(a_H+ir) +(t/2\pi)^{-a_H-ir}C_1(a_H+ir)\}\,dt+E_H(r), \end{aligned} \end{equation} where $a_H=2/\log H$, and \begin{equation}\label{si:Cauchy} |E_H(r)|\le \rho^{-2} \sup_{|u|=|v|=\rho} |\Delta_H(\sigma_H+u,\sigma_H+ir+v;\sigma_H,\sigma_H+ir)|. \end{equation} \end{lemma} \begin{proof} The integrand and the combined main term are holomorphic in the two closed numerator disks. The original denominator arguments have real part $1/2+\sigma_H>1/2$. The reciprocal zeta factors in the main term have arguments of real part at least $1+2\sigma_H-2\rho>1/2$. Thus RH excludes their zeros. The possible poles on $\alpha+\beta=0$ cancel between the two main terms: their analytic coefficients agree there and their residues have opposite signs. The Euler products converge locally uniformly. Differentiate in $u$ and $v$ and set $u=v=0$. The local calculation is precisely \cite[Theorem~2.5]{CS}, and gives~\eqref{si:differentiated}. Cauchy's formula on the fixed disks gives~\eqref{si:Cauchy}. \end{proof} The zero sum will be tested against an entire function with nonnegative Fourier transform. The triangular factor localizes its Fourier mass, while Gaussian convolution permits the contour shifts without losing positivity. For $M\ge2$, put \begin{equation*} T_M(r)=(1-|r|/M)_+,\quad g(r)=\pi^{-1/2}e^{-r^2},\quad \varphi_M(r)=\frac{(T_M*g)(r)}{(T_M*g)(0)}. \end{equation*} With $\widehat f(v)=\int_{\mathbb R}f(r)e^{-irv}\,dr$, one has \begin{equation}\label{si:kernel} \widehat\varphi_M(v)=c_M M\operatorname{sinc}^2(Mv/2)e^{-v^2/4}\ge0, \qquad c_M=(T_M*g)(0)^{-1}\asymp1. \end{equation} In particular, $\widehat\varphi_M(v)\gg M$ for $|v|\le1/M$. The convolution is entire, and \begin{equation}\label{si:kernelbounds} |\varphi_M(r+ib)|\le e^{b^2}\varphi_M(r),\qquad \int_{\mathbb R}(1+|r|)^j\varphi_M(r)\,dr\ll_j M^{j+1}. \end{equation} Outside $[-2M,2M]$ these functions, with bounded imaginary translates, have Gaussian decay. All these assertions follow directly from the Gaussian convolution. \begingroup \begin{lemma}[A uniform zero-correlation estimate]\label{si:tested} Assume RH. Fix $K_0>1$, $00$. Uniformly for $H/4\le V\le H^{K_0}$ and $\log H\le M\le H^{1/2}/4$, one has \begin{align} P_H(V,M)&:=\sum_{H<\gamma,\gamma'\le2H} V^{i(\gamma-\gamma')}\varphi_M(\gamma-\gamma')\nonumber\\ &=\frac1{2\pi}\int_H^{2H}\log(t/2\pi)\,dt \label{si:testedformula}\\ &\quad+O_{K_0,c,\varepsilon}\left( M\sup_{|r|\le2M}|E_H(r)| +HV^{-c}M^{1+\varepsilon} +H(H/V)^c M^\varepsilon +M^2(\log H)^B\right),\nonumber \end{align} where $B$ is an absolute constant and zeros are counted with multiplicity. In particular, the coefficient of the ratios error is independent of $M$. The gain over a pointwise estimate of the swapped arithmetic term comes from integrating in the common height before taking absolute values. \end{lemma} \begin{proof} \emph{Step 1: The double-contour identity and its endpoint errors.} Put $a=2/\log H$, $f(r)=\varphi_M(r)\cos(r\log V)$, and $\mathcal K(z,t)=P_1(z)+(t/2\pi)^{-z}C_1(z)$. The double argument principle gives \begin{align} P_H(V,M) &=\frac1{4\pi^2}\int_H^{2H}\log^2(t/2\pi)\,dt \int_{\mathbb R}f(r)\,dr\label{si:contour}\\ &\quad+\frac1{2\pi^2}\int_{\mathbb R}f(r-ia) \int_H^{2H}Z(\tfrac12+\sigma_H+it) Z(\tfrac12+\sigma_H-it+ir)\,dt\,dr\nonumber\\ &\quad+O_{K_0}\bigl(M^2(\log H)^B\bigr).\nonumber \end{align} We give the uniformity check, since an $O(M^3)$ remainder would not suffice for the endpoint $M\asymp H^{1/2}$. Choose horizontal sides at good heights within $O(1)$ of $H$ and $2H$. The logarithmic derivatives on these sides and on the vertical lines a fixed distance from the critical line are $O((\log H)^B)$. The replacement of the good heights by the original endpoints costs $O(M(\log H)^B)$: each short endpoint interval contains $O(\log H)$ zeros and the remaining ordinate is effectively confined to a window of length $O(M)$. After using the functional equation on the left sides, the two mixed terms are written in common-height and difference variables $r=t-u$. Extending their common-height intervals to $[H,2H]$ costs, by~\eqref{si:kernelbounds}, \[ (\log H)^B\int_{\mathbb R}(1+|r|)\varphi_M(r)\,dr \ll M^2(\log H)^B. \] For the two same-side terms, move the two real coordinates together. If $F(z,w)=Z(z)Z(w)f(-i(z-w))$ and $\mathcal I(x)=\int_H^{2H}\int_H^{2H}F(x+it,x+iu)\,dt\,du$, then holomorphy gives \begin{equation*} \begin{aligned} \mathcal I'(x)=\frac1i\int_H^{2H} \{F(x+2iH,x+iu)-F(x+iH,x+iu)\}\,du\\ {}+\frac1i\int_H^{2H} \{F(x+it,x+2iH)-F(x+it,x+iH)\}\,dt. \end{aligned} \end{equation*} The test does not change under a common real translation. Thus only height-endpoint integrals occur, and they are $O(M(\log H)^B)$. On a translated line to the right of $1$, both logarithmic derivatives have absolutely convergent Dirichlet series; integration in the common height gives $O(1/\log(mn))$ for their product. The resulting sums cost only powers of $\log H$, times $O(M)$ for the difference variable. The terms with one gamma logarithmic derivative obey the same endpoint estimate after integration by parts. For the gamma--gamma term, Stirling's formula and \[ \log((t+r)/2\pi)-\log(t/2\pi) \ll |r|/H \qquad (|r|\le2M) \] show that replacing the two heights by the common height costs $O(M^2(\log H)^B)$; the higher Taylor remainder is $O(M^3H^{-1}(\log H)^B)$ and is absorbed since $M\le H^{1/2}/4$. This proves~\eqref{si:contour}. No factor $V^{1/2}$ appears, because the two real coordinates are translated together. \emph{Step 2: Inserting differentiated ratios.} The first term of~\eqref{si:contour} is negligible, because $\int f=\widehat\varphi_M(\log V) \ll M e^{-(\log V)^2/4}$. Use~\eqref{si:differentiated} on $|r|\le2M$; the omitted tails are negligible by Gaussian decay. Moreover, $|\cos((r-ia)\log V)|\ll_{K_0}1$ and $\int\varphi_M(r)\,dr\ll M$. Consequently the ratios error contributes at most $O_{K_0}(M\sup_{|r|\le2M}|E_H(r)|)$. The arithmetic expression is \begin{equation}\label{si:Jpm} \frac1{2\pi}\int_H^{2H}\{J_+(t)+J_-(t)\}\,dt,\qquad J_\pm(t)=\frac1{2\pi i}\int_{(a)} \varphi_M(iz)V^{\pm z}\mathcal K(z,t)\,dz. \end{equation} This is the right-boundary contour identity; the zero diagonal is already included in it. \emph{Step 3: Integrating the height before estimating the swapped term.} At zero, \[ P_1(z)=z^{-2}+O(1),\qquad C_1(z)=-z^{-2}+O(1), \qquad \mathcal K(z,t)=\frac{\log(t/2\pi)}z+O_t(1). \] Under RH, zero is the only pole of $\mathcal K$ in $|\Re z|\le c$. On the boundary lines, the identities in \eqref{co:Pcontinuation}--\eqref{co:Ccontinuation}, absolute convergence of the remaining Euler products, and RH give \[ P_1(\pm c+ir),\ C_1(\pm c+ir) \ll_{c,\varepsilon}(1+|r|)^\varepsilon. \] Introduce the exact common-height integral \begin{equation}\label{si:height-primitive} W_H(z):=\int_H^{2H}(t/2\pi)^{-z}\,dt =(2\pi)^z\frac{(2H)^{1-z}-H^{1-z}}{1-z}. \end{equation} For $\Re z=\pm c$, this satisfies \begin{equation}\label{si:height-decay} |W_H(\pm c+ir)|\ll_c \frac{H^{1\mp c}}{1+|r|}. \end{equation} We also have, uniformly for bounded $|b|$, \begin{equation}\label{si:two-moments} \int_{\mathbb R}\varphi_M(r+ib)(1+|r|)^\varepsilon\,dr \ll_\varepsilon M^{1+\varepsilon},\qquad \int_{\mathbb R}\varphi_M(r)(1+|r|)^{-1+\varepsilon}\,dr \ll_\varepsilon M^\varepsilon, \end{equation} where the first integral may be replaced by its absolute value. The second estimate is the relevant improvement over the unweighted $O(M^{1+\varepsilon})$ bound. Integrate $J_\pm(t)$ over $H\le t\le2H$ first. Moving the $J_+$ line to $\Re z=-c$ crosses the simple pole of the combined kernel, whose residue is $\log(t/2\pi)$. The unswapped term is bounded using the first estimate in \eqref{si:two-moments}; the swapped term uses \eqref{si:height-decay} and the second. Hence \begin{equation*} \int_H^{2H}J_+(t)\,dt =\int_H^{2H}\log(t/2\pi)\,dt +O_{c,\varepsilon}\left( V^{-c}HM^{1+\varepsilon} +V^{-c}H^{1+c}M^\varepsilon\right). \end{equation*} Moving the $J_-$ line to $\Re z=c$ crosses no pole and gives \begin{equation*} \int_H^{2H}J_-(t)\,dt \ll_{c,\varepsilon} V^{-c}HM^{1+\varepsilon} +V^{-c}H^{1-c}M^\varepsilon. \end{equation*} Insert these two estimates in~\eqref{si:Jpm} and then \eqref{si:contour}. Since $H\ge2$, the $H^{1-c}$ contribution is absorbed by the $H^{1+c}$ contribution, proving \eqref{si:testedformula}. \end{proof} \endgroup Write \begin{equation*} B_H(u)=\sum_{H<\gamma\le2H}u^{i\gamma},\qquad S_t(u)=\sum_{0<\gamma\le t}u^{i\gamma}. \end{equation*} The positive Fourier transform in~\eqref{si:kernel} gives both $P_H(V,M)\ge0$ and the useful localization \begin{equation}\label{si:localize} \int_V^{V+Y}|B_H(u)|^2\,du\ll\frac VM P_H(V,M) \qquad(0q-\varepsilon/10$. Such a choice is available also at $q=1/2$, by taking $c$ sufficiently close to $1/2$. Since $H\le2X$ and $q\le1/2$, all four terms are $O_{q,\varepsilon}(X^{1+\varepsilon}H^{1-q})$, after adjusting $\varepsilon$. Decompose $(0,t]$ into complete dyadic blocks and apply Minkowski's inequality. The square roots of the positive powers of $H$ sum geometrically. Uniformly for $X/h\le t\le Z\asymp X$, we obtain \[ \int_I|S_t(u)|^2\,du \ll_{q,\varepsilon} X^{1+\varepsilon}t^{1-q} +YH_0^2(\log X)^2. \] Equation~\eqref{si:Jtransfer} therefore yields \begin{equation}\label{si:Jbound} J(X,Y,h)\ll_{q,\varepsilon} X^{1-q+\varepsilon}h^{1+q} +\frac{h^2Y}{X}H_0^2(\log X)^2 +Y\log^4X, \end{equation} for $1\ll h\le Y$ in the range needed here. \emph{Step 2: The bound on consecutive primes.} Let $h=X^\theta$ with \[ \frac{1-q}{2-q}<\theta<\frac12. \] The first term in~\eqref{si:Jbound} is $o(h^3)$ because $1-q+\theta(1+q)<3\theta$; the two remaining terms are also $o(h^3)$. Thus $J(X,Y,h)=o(h^3)$. If $(X,X+2h]$ contained no primes, then for every $x\in[X,X+h]$ the increment $\psi(x+h)-\psi(x)$ would contain only proper prime powers, of total weight $O(\log^2X)=o(h)$. Consequently $J(X,Y,h)\ge(1-o(1))h^3$, a contradiction. This proves the exponent $(1-q)/(2-q)+\varepsilon$. For the standard square-root error in the continuous ratios conjecture, take $q=1/2$ to obtain $1/3+\varepsilon$. \endgroup \begingroup \emph{Step 3: A quantitative pointwise estimate between squares.} For $h\asymp\sqrt X$ and $H\asymp h$,~\eqref{si:Jbound} gives, uniformly in nearby starting points, \[ J(X,Y,H)\ll_{q,\varepsilon}X^{3/2-q/2+\varepsilon}. \] The terms involving $H_0=X^{1/100}$ and $Y\log^4X$ are smaller. Let $0<\delta<1/2$, now allowed to depend on $X$. For $y\in[X,X+\delta h]$ one has $[y,y+(1-\delta)h]\subseteq[X,X+h]$, and for $y\in[X-\delta h,X]$ one has $[X,X+h]\subseteq[y,y+(1+\delta)h]$. Average these inclusions for the increasing function $\psi$. Cauchy--Schwarz on each averaging interval, and the uniform second-moment bound for $H=(1\pm\delta)h$, imply \[ |\psi(X+h)-\psi(X)-h| \ll\delta h+ \left(\frac{X^{3/2-q/2+\varepsilon}}{\delta h}\right)^{1/2}. \] Choose $\delta=X^{-q/6}$ and decrease the $\varepsilon$ used in the second moment. It follows that \begin{equation}\label{si:pointwise-power} \psi(X+h)-\psi(X) =h+O_{q,\varepsilon}(X^{1/2-q/6+\varepsilon}) \qquad(h\asymp\sqrt X). \end{equation} Taking $X=n^2$ and $h=2n+1$ gives the first formula in~\eqref{si:Legendre-quant}. Proper prime powers in this interval have total weight $O(\log^2X)$: each fixed exponent contributes $O(1)$ terms. Replacing the prime logarithms by $\log X$ costs $O(1)$ in the count, and \[ \int_X^{X+h}\frac{dt}{\log t} =\frac h{\log X}+O\!\left(\frac{h^2}{X\log^2X}\right). \] This proves the second formula. The standard square-root error gives $q=1/2$, while $\mathrm{RC}_Z(\omega_Z)$ gives~\eqref{si:powerhyp} with $q=\omega_Z$ by taking the dyadic difference of the two initial averages. Thus Theorem~\ref{thm:squares} follows as well. \endgroup \end{proof} \begin{proposition}[A weaker input for the square intervals]\label{si:weak} Assume RH. Formula~\eqref{si:Legendre} already follows if, for every fixed $A>0$, the error in~\eqref{si:RC} is $o_A(H)$ uniformly on \eqref{si:slice} with $|r|\le A\log H$. Under this weaker assumption, $p_{n+1}-p_n=o(\sqrt{p_n})$. \end{proposition} \begin{proof} Fix $L\ge1$ and use $M_H=L\log H$ on blocks with $H\ge H_0$; put $Y=X/(100L\log X)$. If $|E_H(r)|\le\eta H$ for $|r|\le2L\log H$, the preceding localization and dyadic summation give, for $h\asymp\sqrt X$, \begin{equation*} J(X,Y,h)\le C Xh(L^{-1}+\eta)+o_L(Xh), \end{equation*} with an absolute $C$ on each fixed compact range of $h/\sqrt X$. Indeed, the zero-density term $H\log H$ is divided by $M_H$, the tested error contributes $O(X\eta H)$ to a block norm, and all arithmetic and endpoint terms in Lemma~\ref{si:tested} give $o(Xh)$ after \eqref{si:Jtransfer}. The geometric block sums preserve the independence of $C$ from $L$. Equation~\eqref{si:Cauchy} allows any fixed $\eta>0$ for all sufficiently large $H$. First let $X\to\infty$, then $\eta\to0$ and $L\to\infty$. Thus $J=o(h^3)$ on this scale, and the same monotonicity sandwich proves~\eqref{si:Legendre}. If a fixed positive multiple of $\sqrt X$ were prime-free, its second moment would instead be $\gg h^3$; hence the stated little-$o$ bound on consecutive primes. \end{proof} \section{Quadratic prime values}\label{sec:quadratic} The angular characters replace the logarithmic phase used for prime differences by the argument of a Gaussian integer. A Fourier window at angular distance $1/X$ from an axis selects Gaussian integers $n\pm i$ with $n\asymp X$. The resulting ideal von Mangoldt sum is exactly a weighted sum of $\Lambda(n^2+1)$. The swapped angular ratios term then extracts the first coefficient of the Dirichlet series for the quadratic singular series. \begingroup As in the prime-difference argument, we first prove a quantitative fixed-line version. Proposition~\ref{qt:sharp} then retains its saving in the sharp count under $\mathrm{RC}_H(\omega_H)$. Proposition~\ref{wk:Hecke} records the weaker qualitative variant. \endgroup Recall the angular characters $\xi_k$, the functions $L_k$, and the arithmetic model $G$ from Section~\ref{co:angular-input}. We first prove a quantitative version on a fixed Mellin line. Fix parameters \begin{equation}\label{eqc:parameters} 0<\eta<\tfrac14,\qquad 2\eta<\omega\le\tfrac12, \qquad \theta>0,\qquad \sigma=\tfrac12+\eta. \end{equation} \begin{hypothesis}[Uniform angular Hecke ratios]\label{hqc:Hecke} There are fixed $B\ge0$ and $0<\rho<\min(\eta/2,1/4-\eta)$ such that, for all real $Y\ge2$, all $c=\eta+it$ with $|t|\le Y^\theta$, and all $|a-c|\le\rho$, \begin{equation}\label{eqc:ratios} \frac1Y\sum_{1\le k\le Y} \frac{L_k(1/2+a)}{L_k(1/2+c)} =G(a,c)+\frac1{1-2a}\left(\frac{\pi}{2Y}\right)^{2a} G(-a,c)+O_\varepsilon\bigl(Y^{-\omega+\varepsilon}(1+|t|)^B\bigr). \end{equation} The error is holomorphic in $a$ and uniform on the indicated disks. All constants are independent of $Y,a,c$. \end{hypothesis} The two main terms in~\eqref{eqc:ratios} are those of~\cite[Conjecture 3.3]{Waxman}. When $0<\theta<1$, its shift domain (3.3) contains the present disks and height window. We use the uniformity discussed in its Section~3.6. No angularly twisted ratio is assumed. We also suppose that there is a fixed $\beta<\sigma$ for which \begin{equation}\label{eqc:zero-free} L_k(s)\ne0\quad(\Re s>\beta,\ k\ge1). \end{equation} GRH for this family suffices. The fixed margin in~\eqref{eqc:zero-free}, together with the standard zero-counting estimate for $L_k$, gives \begin{equation}\label{eqc:logder-bound} \frac{L_k'}{L_k}(u+iv)\ll_{\sigma,\beta} \log^2(3+k+|v|),\qquad u\ge\sigma, \end{equation} with the usual harmless modification for $u$ in a fixed bounded strip. This follows, for example, by writing the logarithmic derivative as a sum over zeros with $|\Im\rho-v|\le1$ and a logarithmic conductor error. Each denominator has modulus at least $\sigma-\beta$, and the number of such zeros is $O(\log(3+k+|v|))$. \begin{theorem}\label{thqc:quadratic} Assume Hypothesis~\ref{hqc:Hecke} and~\eqref{eqc:zero-free}. For each fixed $\Phi\in C_c^\infty((0,\infty))$, \begin{equation}\label{eqc:quadratic-smooth} \sum_{n\ge1}\Lambda(n^2+1)\Phi(n/X) =\mathfrak S_E X\int_0^\infty\Phi(u)\,du +O_{\Phi,\varepsilon}(X^{1-\omega+2\eta+\varepsilon}), \end{equation} where $\mathfrak S_E$ is defined in~\eqref{eq:quadratic-series}. For weights supported in a fixed compact subinterval of $(0,\infty)$, the error constant is bounded by a fixed finite collection of smooth seminorms of $\Phi$. \end{theorem} \subsection{An angular detector} Poisson summation in the character index converts a Fourier window into a restriction on the angle of an ideal. A narrow radial support makes the imaginary coordinate an integer close to one, and hence exactly one. We also require zero moments to remove the unswapped average and the pole at one. We use the Fourier transform $\widehat g(v)=\int_{\mathbb R}g(t)e^{-2\pi itv}\,dt$. \begin{lemma}\label{leqc:window} For every integer $J\ge1$ and every sufficiently small fixed $\delta>0$, there is a real even Schwartz function $g$ such that $H=\widehat g$ is smooth, \begin{equation}\label{eqc:window} \operatorname{supp}H\subset (1-\delta,1+\delta)\cup(-1-\delta,-1+\delta), \qquad H(1)\ne0, \end{equation} and $g^{(j)}(0)=0$ for $0\le j0$ sufficiently small in terms of $\delta$, and let $W\in C_c^\infty((1-\delta',1+\delta'))$. Write $\Lambda_F$ for the von Mangoldt function on ideals, and put \begin{equation}\label{eqc:detector-definition} K=\frac{\pi X}{2},\qquad P_X(k)=\sum_{\mathfrak a\ne0} \frac{\Lambda_F(\mathfrak a)\xi_k(\mathfrak a)}{\sqrt{N\mathfrak a}} W\left(\frac{\sqrt{N\mathfrak a}}X\right),\qquad I_X=\sum_{k\ge1}g(k/K)P_X(k). \end{equation} \begin{lemma}\label{leqc:detector} For all sufficiently large $X$, \begin{equation}\label{eqc:exact-detector} I_X=K\sum_{n\ge1}\frac{\Lambda(n^2+1)}{\sqrt{n^2+1}} W\left(\frac{\sqrt{n^2+1}}X\right) H\left(X\arctan\frac1n\right). \end{equation} \end{lemma} \begin{proof} Conjugation gives $P_X(-k)=P_X(k)$. Since $g$ is even and $g(0)=0$, the sum defining $I_X$ is half the corresponding sum over $k\in\mathbb Z$. If $\vartheta$ is a generator angle of $\mathfrak a$, Poisson summation gives \begin{equation}\label{eqc:Poisson} \sum_{k\in\mathbb Z}g(k/K)e^{4ik\vartheta} =K\sum_{j\in\mathbb Z}H\left(K\left(j-\frac{2\vartheta}{\pi}\right)\right). \end{equation} A surviving ideal therefore has angular distance $(1+O(\delta))/X$ from an axis. Choose its generator $a+bi$ with angle in $[-\pi/4,\pi/4)$. The radial support gives $\sqrt{a^2+b^2}/X=1+O(\delta')$, whence $|b|=1+O(\delta+\delta'+X^{-1})$. Small fixed supports force $|b|=1$ and $a=n>0$. The surviving ideals are $(n+i)$ and $(n-i)$. They are distinct on the support for large $X$ and have equal weights; their multiplicity two cancels the preceding factor $1/2$. It remains to identify their weights. For even $n$, the ideals $(n+i)$ and $(n-i)$ are coprime. Since their norm is odd, $(n+i)$ is a prime ideal power if and only if $n^2+1$ is a rational prime power; the prime ideal has norm equal to that rational prime. Hence its ideal von Mangoldt weight is $\Lambda(n^2+1)$. For odd $n>1$, the norm is divisible by $2$ exactly once and is larger than $2$, so both weights vanish. The exceptional value $n=1$ lies outside the support. This proves~\eqref{eqc:exact-detector}. \end{proof} Because $H(1)\ne0$, there is a fixed neighborhood of $1$ on which $H(1/u)$ does not vanish. For $\Phi$ supported in this neighborhood, set \begin{equation}\label{eqc:weight-choice} W(u)=\frac{u\Phi(u)}{H(1/u)}. \end{equation} For $n\asymp X$, \begin{equation*} \frac{\sqrt{n^2+1}}X=\frac nX+O(X^{-2}), \qquad X\arctan(1/n)=\frac Xn+O(X^{-2}). \end{equation*} Taylor expansion in~\eqref{eqc:exact-detector}, using $\Lambda(n^2+1)\ll\log X$, consequently gives \begin{equation}\label{eqc:detector-approx} I_X=\frac KX\sum_{n\ge1}\Lambda(n^2+1)\Phi(n/X)+O_\Phi(\log X). \end{equation} This identity uses no assertion about the distribution of quadratic prime values. \subsection{The differentiated angular average} Differentiating a numerator ratio supplies the ideal von Mangoldt coefficients. As in the continuous family, the swapped term has a reciprocal-zeta zero on the diagonal. Its derivative retains the arithmetic coefficient but removes derivatives of the functional-equation prefactor. Define \begin{equation}\label{eqc:BC} \mathcal B(r)=-\left.\partial_aG(a,c)\right|_{a=c=r}, \qquad \mathcal C(r)=\zeta(1-2r)\frac{L(1+2r,\chi)}{L(1,\chi)}A_1(-r,r)A_3(-r,r). \end{equation} Cauchy's formula applied to~\eqref{eqc:ratios} gives, uniformly for $r=\eta+it$, $|t|\le Y^\theta$, \begin{equation}\label{eqc:differentiated} \sum_{1\le k\le Y}-\frac{L_k'}{L_k}(1/2+r) =Y\mathcal B(r)+\left(\frac\pi2\right)^{2r} \frac{Y^{1-2r}}{1-2r}\mathcal C(r) +O_\varepsilon\bigl(Y^{1-\omega+\varepsilon}(1+|t|)^B\bigr). \end{equation} Indeed $G(r,r)=1$, while $G(-r,r)=0$. In the latter expression the zero comes from $1/\zeta(1-a+c)$, whose derivative with respect to $a$ at $a=c$ is $-1$. Differentiating the prefactor of the swapped term contributes nothing because it multiplies this zero. This proves the sign and the coefficient in~\eqref{eqc:differentiated}. \begin{lemma}\label{leqc:weighted-derivative} Fix $0<\tau<\theta$. If the order $J$ in Lemma~\ref{leqc:window} is sufficiently large, then, uniformly for $r=\eta+it$ with $|t|\le K^\tau$, \begin{equation}\label{eqc:weighted-derivative} \sum_{k\ge1}g(k/K)\left(-\frac{L_k'}{L_k}(1/2+r)\right) =K\left(\frac\pi{2K}\right)^{2r} \mathcal C(r)\widetilde g(1-2r) +O_{g,\varepsilon}\bigl(K^{1-\omega+\varepsilon}(1+|t|)^{B'}\bigr), \end{equation} where $B'$ is fixed. \end{lemma} \begin{proof} Let $A(y,r)$ denote the partial sum on the left of~\eqref{eqc:differentiated}. Abel summation gives \begin{equation*} \sum_{k\ge1}g(k/K)\left(-\frac{L_k'}{L_k}(1/2+r)\right) =-\frac1K\int_0^\infty A(y,r)g'(y/K)\,dy. \end{equation*} The contribution from $y\mathcal B(r)$ is $K\mathcal B(r)\int_0^\infty g(u)\,du=0$. Integration by parts transforms the swapped term into \begin{equation*} \left(\frac\pi2\right)^{2r}\mathcal C(r) \int_0^\infty g(y/K)y^{-2r}\,dy =K\left(\frac\pi{2K}\right)^{2r}\mathcal C(r)\widetilde g(1-2r). \end{equation*} The ratios estimate is available for $y\ge y_0=\max(2,(1+|t|)^{1/\theta})$. On this range its error, integrated against $K^{-1}|g'(y/K)|$, is bounded by the error in~\eqref{eqc:weighted-derivative}. For $y0$, local simplification yields \begin{equation}\label{eqc:D-product} \mathcal D(z)=\mathfrak S_E\zeta(z) \prod_{p\equiv1\ (4)}\left(1+\frac{p^{-z}}{p-2}\right) \prod_{p\equiv3\ (4)}(1-p^{-1-z}). \end{equation} Indeed the respective local factors outside $\zeta(z)$ are \begin{equation*} \frac{1-2/p+p^{-1-z}}{1-1/p} =\frac{p-2}{p-1}\left(1+\frac{p^{-z}}{p-2}\right), \qquad \frac{1-p^{-1-z}}{1-1/p} =\frac p{p-1}(1-p^{-1-z}). \end{equation*} The constant factors, ordered by increasing primes, give~\eqref{eq:quadratic-series}; equivalently one may factor out $L(1,\chi)^{-1}=4/\pi$ to obtain the absolutely convergent expression there. There is no extra local factor at $2$. Both products in~\eqref{eqc:D-product} converge absolutely for $\Re z>0$. Thus $\mathcal D$ is meromorphic there with its only pole at $z=1$. For $\Re z>1$ it has the absolutely convergent expansion \begin{equation}\label{eqc:D-series} \mathcal D(z)=\sum_{b\ge1}\frac{S_b}{b^z},\qquad S_b=\mathfrak S_E \prod_{\substack{p\mid b\\p\equiv1\ (4)}}\frac{p-1}{p-2} \prod_{\substack{p\mid b\\p\equiv3\ (4)}}\frac{p-1}{p}. \end{equation} In particular $S_1=\mathfrak S_E$. These coefficients are exactly the Bateman--Horn singular series for $n^2+b^2$. At an odd prime not dividing $b$, the root count is $1+\chi_{-4}(p)$; at an odd prime dividing $b$ it is one. At two the root count is always one. Comparing the corresponding local densities with those for $b=1$ gives the two products in~\eqref{eqc:D-series}. Retaining the factor $\zeta(z)$ in~\eqref{eqc:D} is essential: the first Dirichlet coefficient, rather than a residue, is what the angular detector will extract. \subsection{Extracting the first coefficient} The Fourier--Mellin identity converts the differentiated angular model into the coefficient integral of Lemma~\ref{co:extraction}. Its pole at one is canceled by the zero moment of $H$, leaving the coefficient selected by the angular support. Evenness and the Fourier convention give the Fourier--Mellin identity \begin{equation}\label{eqc:Fourier-Mellin} \widetilde H(z)=2(2\pi)^{-z}\Gamma(z) \cos(\pi z/2)\widetilde g(1-z),\qquad 0<\Re z<1. \end{equation} One obtains it by inserting $H(u)=2\int_0^\infty g(t)\cos(2\pi tu)\,dt$ into the Mellin integral, initially with a damping factor, and applying the Mellin transform of the cosine kernel. Analytic continuation extends the identity to the strip needed below because $g$ has a sufficiently high-order zero at zero. Moreover, \begin{equation}\label{eqc:H-one} \widetilde H(1)=\int_0^\infty H(u)\,du=0. \end{equation} First suppose that $\Phi$ is supported sufficiently close to $1$, and choose $W$ by~\eqref{eqc:weight-choice}. Mellin inversion on an absolute-convergence line and then a shift to $\Re z=2\eta$ give \begin{equation}\label{eqc:Mellin-P} P_X(k)=\frac1{2\pi i}\int_{(2\eta)} -\frac{L_k'}{L_k}\left(\frac{1+z}2\right) X^z\widetilde W(z)\,dz. \end{equation} The zero-free margin and~\eqref{eqc:logder-bound} justify the shift. They also justify summation against the Schwartz weight $g(k/K)$ and truncation at $|\Im z|\le K^\tau$, for any fixed $0<\tau<\theta$: the tail is $O_{W,g,A}(X^{-A})$ for each fixed $A$, after using sufficiently many integrations by parts in $\widetilde W$. Apply Lemma~\ref{leqc:weighted-derivative} with $r=z/2$. The integrated error is \begin{equation}\label{eqc:Mellin-error} \ll_{W,g,\varepsilon}X^{2\eta}K^{1-\omega+\varepsilon} \int_{\mathbb R}|\widetilde W(2\eta+it)|(1+|t|)^{B'}\,dt \ll_{W,g,\varepsilon}X^{1-\omega+2\eta+\varepsilon}. \end{equation} The main term is \begin{equation*} \frac K{2\pi i}\int_{(2\eta)}\widetilde W(z) \mathcal C(z/2)\widetilde g(1-z) \left(\frac{\pi X}{2K}\right)^z\,dz. \end{equation*} Our choice $K=\pi X/2$ removes the last factor. The zeta functional equation and~\eqref{eqc:Fourier-Mellin} give \begin{equation}\label{eqc:FE} \mathcal C(z/2)\widetilde g(1-z) =\mathcal D(z)\widetilde H(z). \end{equation} Consequently, \begin{equation}\label{eqc:main-integral} I_X=\frac K{2\pi i}\int_{(2\eta)} \widetilde W(z)\widetilde H(z)\mathcal D(z)\,dz +O_{\Phi,\varepsilon}(X^{1-\omega+2\eta+\varepsilon}). \end{equation} Move the contour to $\Re z=2$. The only possible pole crossed is at $z=1$, and~\eqref{eqc:H-one} cancels it, as in Lemma~\ref{co:extraction}. The two compactly supported Mellin transforms decrease rapidly on vertical lines, while~\eqref{eqc:D-product} gives polynomial growth for $\mathcal D$ in the intervening strip. Expanding~\eqref{eqc:D-series} now gives \begin{equation}\label{eqc:coefficient-extraction} I_X=K\sum_{b\ge1}S_b\int_0^\infty W(u)H(b/u)\,\frac{du}{u} +O_{\Phi,\varepsilon}(X^{1-\omega+2\eta+\varepsilon}). \end{equation} The supports of $W$ and the positive part of $H$ are sufficiently close to $1$ that the integral vanishes for every integer $b\ne1$. Using $S_1=\mathfrak S_E$ and~\eqref{eqc:weight-choice}, we obtain \begin{equation*} I_X=K\mathfrak S_E\int_0^\infty\Phi(u)\,du +O_{\Phi,\varepsilon}(X^{1-\omega+2\eta+\varepsilon}). \end{equation*} Comparison with~\eqref{eqc:detector-approx}, and $K\asymp X$, proves~\eqref{eqc:quadratic-smooth} for such $\Phi$. For general compactly supported $\Phi$, use a fixed finite smooth partition of unity into intervals of sufficiently small relative width. On a piece centered at $u_0>0$, replace $X$ by $u_0X$ and the weight by $v\mapsto\Phi(u_0v)$ times its cutoff. The preceding proof applies to each piece. Summing proves the theorem. All estimates use only finitely many derivatives of these weights; on a fixed compact support this also proves the seminorm assertion. \begingroup Under $\mathrm{RC}_H(\omega_H)$, Proposition~\ref{qt:sharp} applied to~\eqref{eqc:quadratic-smooth} gives \[ \sum_{n\le X}\Lambda(n^2+1) =\mathfrak S_E X+O_\varepsilon(X^{1-\omega_H+\varepsilon}). \] There is no loss from proper prime powers here. Lebesgue's theorem~\cite{Lebesgue1850} states that $x^2+1=y^a$ has no solution in positive integers $x,y$ with $a\ge2$. Thus every nonzero $\Lambda(n^2+1)$ comes from a prime value. Partial summation with $1/\log(t^2+1)$ gives \[ \#\{n\le X:n^2+1\text{ prime}\} =\mathfrak S_E\int_1^X\frac{dt}{\log(t^2+1)} +O_\varepsilon(X^{1-\omega_H+\varepsilon}), \] proving Theorem~\ref{thm:quadratic-main}. Under the general fixed-line hypothesis with a polynomial height loss, Lemma~\ref{lem:unsmooth} still gives a positive sharp saving determined by the cutoff cost. Under Hypothesis~\ref{hyp:WH} alone, only the qualitative asymptotic is asserted. \endgroup \appendix \section{Ratios with qualitative errors}\label{wk:section} For prime differences and quadratic values, the power-saving ratios errors in the main theorems can be weakened if only qualitative asymptotics are required. The condition $\omega>2\eta$ compensates for the fixed Mellin-line factor $X^{2\eta}$. Taking $\eta$ of order $1/\log X$ keeps that factor bounded. Uniform $o(Q)$ primitive errors then give $o(X)$ after smoothing and Mellin inversion. The character argument continues to use a positive power saving. \begin{lemma}[Moving Mellin lines]\label{wk:transfer} Assume RH for the relevant $L$-functions and the weak logarithmic ratios Hypothesis~\ref{hyp:WZ} or~\ref{hyp:WH}. Put $c=4$ and \begin{equation}\label{wk:line} \eta_X=\frac c{\log X}. \end{equation} Let $W\in C_c^\infty((0,\infty))$ be a fixed radial weight allowed in the corresponding detector. In the continuous case use the time weight $g_h$ of Section~\ref{sec:twins} and $T=2\pi X$; in the angular case use the weight $g$ of Lemma~\ref{leqc:window} and $K=\pi X/2$. Choose their fixed vanishing orders at zero sufficiently large. Then~\eqref{eq:twin-mainintegral} and~\eqref{eqc:main-integral}, respectively, hold on $\Re z=2\eta_X$ with error $o(X)$ in place of their displayed error terms. \end{lemma} \begin{proof} \emph{Step 1: Bounds near the critical line.} The local zero expansion, together with RH, gives the bounds \begin{equation}\label{wk:ldbound} \left|\frac{L'}L(\tfrac12+\eta_X+it)\right| \ll_c (\log X)\log^2(3+Q_L+|t|), \end{equation} where $Q_L=1$ for $\zeta$ and $Q_L=k$ for the angular character of index $k$. The pole of $\zeta$ contributes a bounded term on this line. Indeed, the zeros within unit distance contribute at most their number, $O(\log(3+Q_L+|t|))$, times $\eta_X^{-1}$; the remaining local expansion is bounded by a logarithmic conductor term. We have allowed an extra logarithm in~\eqref{wk:ldbound}. Thus logarithmic derivatives have only a fixed power of $\log X$ as growth when the other parameters are bounded by fixed powers of $X$. The differentiated arithmetic models enjoy the same type of bound, with polynomial growth in the Mellin heights. For the continuous kernel this follows by factoring \begin{equation*} \prod_p F_p(z)=\zeta(1+z)\mathcal E(z), \qquad \mathcal E(z)=\prod_p(1-p^{-1-z})F_p(z). \end{equation*} The latter product is uniformly absolutely convergent on $0\le\Re z\le1/4$, since its local factors are $1+O(p^{-2})$ there. Consequently $P_1(z)$ and $C_1(z)$ on $\Re z=2\eta_X$ are bounded by a fixed power of $\log X$ times a fixed polynomial in $|\Im z|$. For the angular model, the products $A_1(-r,r)$ and $A_3(-r,r)$ are uniformly absolutely convergent down to $\Re r=0$; the zeta and Dirichlet factors in~\eqref{eqc:BC} give the same bound for $\mathcal B(r)$ and $\mathcal C(r)$ on $\Re r=\eta_X$. \emph{Step 2: Truncation of the Mellin variables.} For any fixed $W\in C_c^\infty((0,\infty))$ and every integer $A\ge0$, integration by parts gives \begin{equation}\label{wk:Mellinbound} |\widetilde W(u+iv)|\ll_{W,A}(1+|v|)^{-A}, \qquad 0\le u\le1/4. \end{equation} The constants are uniform in $u$. We can therefore truncate every Mellin integral at $|v|\le D\log X$, with any fixed $D>0$. Equations \eqref{wk:ldbound} and~\eqref{wk:Mellinbound} show that the omitted parts, after integration against the fixed time or family weight, are $o(X)$: choosing $A$ sufficiently large beats every fixed logarithmic loss. The same argument permits the eventual extension of the explicit model integrals back to complete vertical lines. \emph{Step 3: Transfer of the qualitative error.} We transfer the ratios error to the smooth time or family weight. Take $\kappa=1/2$ and $R=2$. On \begin{equation}\label{wk:middle} X^\kappa\le Q\le X^R,\qquad |v_j|\le D\log X, \end{equation} the denominator shift $\eta_X$ belongs to $[2/\log Q,8/\log Q]$, and $|v_j|\le2D\log Q$. Choose the fixed $D>0$ small enough for the height window in Hypothesis~\ref{hyp:WH}. Hypothesis~\ref{hyp:WZ} permits every fixed logarithmic window. Their uniformity, followed by Cauchy's formula on the fixed numerator disks, therefore gives a differentiated error \begin{equation}\label{wk:epsilon} E_X(Q;\boldsymbol v)=o(Q) \end{equation} uniformly on~\eqref{wk:middle}. No logarithmic differentiation loss occurs. The two main terms are interpreted together at removable singularities before differentiation. Let $T\asymp X$ and let $g$ be a fixed Schwartz weight with a zero of order $J$ at the origin. In the continuous case, subtract the explicit primitive in~\eqref{eq:diff-zeta} from the actual primitive. In the angular case use the corresponding difference in \eqref{eqc:differentiated}. Integration by parts, or Abel summation, expresses the weighted error as \begin{equation}\label{wk:Abelerror} -\frac1T\int_0^\infty g'(Q/T)E_X(Q;\boldsymbol v)\,dQ. \end{equation} On the middle range~\eqref{wk:middle}, its absolute value is at most \begin{equation*} o(1)\,T\int_0^\infty v|g'(v)|\,dv=o(X), \end{equation*} uniformly in the retained Mellin variables. Their Mellin transforms have uniformly bounded $L^1$ norms by~\eqref{wk:Mellinbound}, so this estimate is preserved by the remaining integrations. \emph{Step 4: The remaining family ranges.} Outside the middle range, the ratios hypothesis is replaced by the direct bounds from Step~1. There the actual primitive and its explicit model are bounded by $Q$ times fixed logarithmic factors for $Q\ge1$, by \eqref{wk:ldbound} and the model bounds above. For $00$ is canceled by $\Phi_h(1)=0$. Moving the $z$-line to the right and inserting~\eqref{co:series} select the coefficient $\mathfrak S(h)$, independently of the location of the original line. The polarization and partition of unity following \eqref{eq:twin-local} give~\eqref{wk:pairs} for every fixed $\Phi$. For the interval assertion, take denominator shifts $\gamma=1/\log H$ and $\delta=1/\log H+ir$. Hypothesis~\ref{hyp:WZ} gives the $o_A(H)$ error in Proposition~\ref{si:weak} for $|r|\le A\log H$ and fixed numerator disks. Passing from the initial integral to $[H,2H]$ uses its two endpoint formulas; the same denominator shifts lie in the permitted fixed ranges at both endpoints. Proposition~\ref{si:weak} therefore proves~\eqref{wk:squares}. \end{proof} \begin{proposition}[The angular application]\label{wk:Hecke} Assume GRH for the angular Hecke family and Hypothesis~\ref{hyp:WH}. For every fixed $\Phi\in C_c^\infty((0,\infty))$, \begin{equation}\label{wk:quadratic} \sum_{n\ge1}\Lambda(n^2+1)\Phi(n/X) =\mathfrak S_E X\int_0^\infty\Phi(u)\,du+o_\Phi(X). \end{equation} \end{proposition} \begin{proof} In the angular detector set $K=\pi X/2$ and move the Mellin line to $\Re z=2\eta_X$. Lemma~\ref{wk:transfer} replaces the weighted logarithmic-derivative sum by its explicit swapped term, with total error $o(X)$. The unswapped term vanishes since $\int_0^\infty g=0$. The identity~\eqref{eqc:FE}, the canceled pole at $z=1$, and the coefficient extraction in~\eqref{eqc:coefficient-extraction} are exact arithmetic calculations and are unchanged by the moving line. They select $S_1=\mathfrak S_E$. The exact detector and a finite partition of unity prove~\eqref{wk:quadratic}. \end{proof} Both~\eqref{wk:pairs} and~\eqref{wk:quadratic} yield their sharp weighted asymptotics without a rate of convergence in the ratios hypotheses. A fixed smooth majorant of $[1/2,1]$ first bounds each dyadic block by $O(X)$. Summing blocks bounds the part below $\epsilon X$ by $O(\epsilon X)+o(X)$. Positivity and fixed smooth upper and lower approximations on $[\epsilon,1]$ then allow $X\to\infty$ first and $\epsilon\to0$ afterward. Removing proper prime powers and partial summation give the unweighted prime counts. For Goldbach, the positive rational reference weight in Section~\ref{ug:section} supplies the analogous endpoint control directly from the ordinary character ratios formula. The preceding propositions prove the qualitative counterparts of Theorems~\ref{thm:prime-pairs}--\ref{thm:quadratic-main}. The quantitative assertions require the stronger hypotheses stated in the introduction and are proved in Sections~\ref{sec:twins}--\ref{sec:quadratic}; the Goldbach saving is obtained separately in Section~\ref{ug:exact-section}. \section{Reciprocal ratios and Chowla} \label{rc:section} The signed filter also applies to M\"obius and Liouville coefficients, provided a reciprocal-ratios prediction is available. This is an additional hypothesis, separate from the three inputs to Theorems~\ref{thm:goldbach}--\ref{thm:quadratic-main}. Its model has only a diagonal, which the filter removes. For Liouville, truncating the square-divisor expansion reduces the required uniformity to small square twists. Put \begin{equation*} D_\mu(z)=\frac{\zeta(1+z)}{\zeta(2+2z)} =\sum_{n\ge1}\frac{\mu(n)^2}{n^{1+z}},\qquad \Re z>0. \end{equation*} Retain $\sigma=1/2+\eta$ and the zeta zero-free margin from Section~\ref{sec:prelim}. \begin{hypothesis}[Square-twisted reciprocal ratios]\label{rc:hyp} There are fixed $0<\omega_C\le1/2$, $\theta_C,\nu>0$, and $A,B\ge0$ such that, for every $\varepsilon>0$, uniformly for $U\ge2$, $\Re a=\Re b=\eta$, $|\Im a|,|\Im b|\le U^{\theta_C}$, and integers $1\le k,l\le U^\nu$, \begin{align}\label{rc:moment} \int_0^U\frac{(l/k)^{2it}} {\zeta(1/2+a+it)\zeta(1/2+b-it)}\,dt ={}&\ind_{k=l}\,U D_\mu(a+b)\\ &+O_\varepsilon\bigl(U^{1-\omega_C+\varepsilon}(kl)^A (1+|\Im a|+|\Im b|)^B\bigr).\notag \end{align} \end{hypothesis} The diagonal is the denominator-only prediction of the ratios recipe~\cite{CFZ,CS}. Indeed its formal coefficient constraint is $k^2m=l^2n$. If $k=gk_0$, $l=gl_0$, and $(k_0,l_0)=1$, then $m=l_0^2j$ and $n=k_0^2j$. Unless $k=l$, one M\"obius coefficient vanishes; when $k=l$ the diagonal is $D_\mu(a+b)$. The stated square-twist range and error cost are additional uniformity assumptions, not consequences here of a published untwisted formula. \begin{theorem}\label{rc:theorem} Assume the zeta zero-free margin and Hypothesis~\ref{rc:hyp}, with \begin{equation*} \Delta_C=\omega_C-2\eta>0,\qquad \rho_C=\min\left\{\frac\nu4,\frac{\Delta_C}{2(2A+1)}\right\}. \end{equation*} For each fixed $h\ge1$ and $\Phi\in C_c^\infty((0,\infty))$, \begin{align}\label{rc:smooth} \sum_n\mu(n)\mu(n+h)\Phi(n/X)&\ll_{\Phi,h,\varepsilon} X^{1-\Delta_C+\varepsilon},\\ \sum_n\lambda(n)\lambda(n+h)\Phi(n/X)&\ll_{\Phi,h,\varepsilon} X^{1-\rho_C+\varepsilon}.\notag \end{align} On each fixed compact support the constants depend polynomially on finitely many seminorms of $\Phi$. For each $c\in\{\mu,\lambda\}$ there is $\kappa>0$ such that \begin{equation}\label{rc:sharp} \sum_{n\le X}c(n)c(n+h)\ll_h X^{1-\kappa}. \end{equation} For the M\"obius conclusions only the untwisted case $k=l=1$ of Hypothesis~\ref{rc:hyp} is needed. \end{theorem} \begin{proof} Use $g_h$, $W$, $P_{c,W,X}$, $T=2\pi X$, and $I_c(X)$ as in Section~\ref{sec:twins}; choose the vanishing order $2M$ of $g_h$ sufficiently large in terms of the fixed hypothesis parameters. Mellin inversion and the zero-free margin give \begin{equation}\label{rc:mu-Mellin} P_{\mu,W,X}(t)=\frac1{2\pi i}\int_{(\eta)} \frac{X^a\widetilde W(a)}{\zeta(1/2+a+it)}\,da. \end{equation} There is no pole residue, since $1/\zeta$ vanishes at one. The polynomial bound for $1/\zeta$ justifies the contour shift. Insert~\eqref{rc:moment} with $k=l=1$ into the two Mellin integrals and apply the weighted transfer~\eqref{eq:weighted-moment}. Its model vanishes because $\widetilde g_h(1)=\int_0^\infty g_h(v)\,dv=0$, by \eqref{eq:two-cancellations}. Therefore \begin{equation*} I_\mu(X)\ll_{W,h,\varepsilon}X^{1-\Delta_C+\varepsilon}. \end{equation*} Equation~\eqref{eq:approx-difference}, followed by the same polarization and finite partition of unity used for prime pairs, proves the first line of~\eqref{rc:smooth}. For Liouville use \begin{equation*} \lambda(n)=\sum_{d^2\mid n}\mu(n/d^2),\qquad \lambda_D(n)=\sum_{\substack{d^2\mid n\\d\le D}}\mu(n/d^2). \end{equation*} There is exactly one $d$ for which $n/d^2$ is squarefree. Hence $\lambda_D(n)$ is either $\lambda(n)$ or zero; in particular $|\lambda_D(n)|\le1$. Moreover \begin{equation*} \sum_{n\le Y}|\lambda(n)-\lambda_D(n)| \le\sum_{d>D}\left\lfloor\frac Y{d^2}\right\rfloor\ll\frac YD. \end{equation*} For each fixed smooth $\Phi$ this implies \begin{equation}\label{rc:truncate} \sum_n\bigl(\lambda(n)\lambda(n+h) -\lambda_D(n)\lambda_D(n+h)\bigr)\Phi(n/X) \ll_{\Phi,h}X/D. \end{equation} Writing $Z_D(w)=\sum_{d\le D}d^{-w}$, the Mellin formula is \begin{equation*} P_{\lambda_D,W,X}(t)=\frac1{2\pi i}\int_{(\eta)} \frac{Z_D(1+2a+2it)}{\zeta(1/2+a+it)} X^a\widetilde W(a)\,da. \end{equation*} On this line $|Z_D(1+2a+2it)|\le\zeta(1+2\eta)$ uniformly in $D$. Expanding the two finite numerators produces~\eqref{rc:moment}, with weights $k^{-1-2a}l^{-1-2b}$. Every diagonal model again vanishes against $g_h$, while the ratios error contributes at most \begin{equation}\label{rc:largeheight} X^{1-\Delta_C+\varepsilon} \left(\sum_{k\le D}k^{-1-2\eta+A}\right)^2 \ll_{\eta}X^{1-\Delta_C+\varepsilon}D^{2A}. \end{equation} For completeness, the twist restriction does not require a uniform formula down to time zero. Put $L=2+|\Im a|+|\Im b|$ and $U_0=C\max(2,L^{1/\theta_C},D^{1/\nu})$. Above $U_0$ the hypothesis applies. Below $U_0$, the integrand and the model have polynomial growth, uniformly in the real twists. The integration-by-parts argument of Section~\ref{sec:weight} bounds this part, after the two Mellin integrals, by \begin{equation*} O_W\left(X^{2\eta-2M} \{1+D^{(2M+C_0+1)/\nu}\}\right) \end{equation*} for a fixed $C_0$; powers of $L$ are absorbed by rapid Mellin decay. Take $D=\lfloor X^{\rho_C}\rfloor$. Since $\rho_C\le\nu/4$, choosing $M$ large makes the last display $O_W(X^{-2})$. Thus~\eqref{rc:largeheight} bounds $I_{\lambda_D}$ up to this negligible error. The Taylor error in~\eqref{eq:approx-difference} is uniform in $D$, because $|\lambda_D|\le1$. Polarization, partition of unity, and~\eqref{rc:truncate} now give the Liouville estimate, since \begin{equation*} \Delta_C-2A\rho_C\ge\rho_C+\Delta_C/2. \end{equation*} Only finitely many integrations by parts and a fixed vanishing order were used, proving the seminorm assertion. Finally approximate the indicator of a fixed dyadic interval by a smooth cutoff with transition width $\epsilon$. Since $|c|\le1$, the endpoint error is $O(\epsilon X+1)$. If the smooth seminorm cost is $O(\epsilon^{-K})$, choose $\epsilon=X^{-a}$ with $a>0$ sufficiently small, and choose the $\varepsilon$ in \eqref{rc:smooth} smaller than the saving. This yields a power saving on each dyadic interval. Summing these intervals proves \eqref{rc:sharp}. \end{proof} Partial summation of~\eqref{rc:sharp} shows that, for $c=\mu$ or $c=\lambda$, the series $\sum_{n\ge1}c(n)c(n+h)/n$ converges, with a power-saving tail. No mean value for $\zeta(2s)/\zeta(s)$ at mixed heights is assumed: the numerator needed for Liouville was truncated before the spectral average was taken. \begingroup \small \begin{thebibliography}{ABCDE12} \bibitem[Baz00]{Bazzanella} D. Bazzanella, \emph{Primes between consecutive squares}, Arch. Math. (Basel) \textbf{75} (2000), no. 1, 29--34. \href{https://doi.org/10.1007/s000130050469}{doi:10.1007/s000130050469}. \bibitem[BGW26]{BGWSums} T. D. Browning, J. Glas and V. Y. Wang, \emph{Sums of three cubes over a function field}, Forum Math. Sigma \textbf{14} (2026), Paper No. e112, 58 pp. \href{https://doi.org/10.1017/fms.2026.10259}{doi:10.1017/fms.2026.10259}; \href{https://arxiv.org/abs/2402.07146}{arXiv:2402.07146}. \bibitem[CFKRS05]{CFKRS} J. B. Conrey, D. W. Farmer, J. P. Keating, M. O. Rubinstein and N. C. Snaith, \emph{Integral moments of $L$-functions}, Proc. London Math. Soc. (3) \textbf{91} (2005), 33--104. \href{https://doi.org/10.1112/S0024611504015175}{doi:10.1112/S0024611504015175}; \href{https://arxiv.org/abs/math/0206018}{arXiv:math/0206018}. \bibitem[CFZ08]{CFZ} J. B. Conrey, D. W. Farmer and M. R. Zirnbauer, \emph{Autocorrelation of ratios of $L$-functions}, Commun. Number Theory Phys. \textbf{2} (2008), 593--636. \href{https://arxiv.org/abs/0711.0718}{arXiv:0711.0718}. \bibitem[CS07]{CS} J. B. Conrey and N. C. Snaith, \emph{Applications of the $L$-functions ratios conjectures}, Proc. Lond. Math. Soc. (3) \textbf{94} (2007), 594--646. \href{https://doi.org/10.1112/plms/pdl021}{doi:10.1112/plms/pdl021}. \bibitem[GM87]{GM} D. A. Goldston and H. L. Montgomery, \emph{Pair correlation of zeros and primes in short intervals}, in \emph{Analytic Number Theory and Diophantine Problems}, Progr. Math. \textbf{70}, Birkh\"auser, Boston, 1987, 183--203. \bibitem[GM25]{GrimmeltMerikoski} L. Grimmelt and J. Merikoski, \emph{On the greatest prime factor and uniform equidistribution of quadratic polynomials}, \href{https://arxiv.org/abs/2505.00493}{arXiv:2505.00493}. \bibitem[Har23]{HarperBTSC} A. J. Harper, \emph{The typical size of character and zeta sums is $o(\sqrt{x})$}, \href{https://arxiv.org/abs/2301.04390}{arXiv:2301.04390}. \bibitem[Har26]{HarperICM} A. J. Harper, \emph{Better than squareroot cancellation in number theory}, \href{https://arxiv.org/abs/2512.23681}{arXiv:2512.23681}; to appear in the \emph{Proceedings of the ICM 2026}. \bibitem[HB82]{HB} D. R. Heath-Brown, \emph{Gaps between primes, and the pair correlation of zeros of the zeta-function}, Acta Arith. \textbf{41} (1982), 85--99. \bibitem[Hel15]{HelfgottTernary} H. A. Helfgott, \emph{The ternary Goldbach problem}, \href{https://arxiv.org/abs/1501.05438}{arXiv:1501.05438}, 2015, 317 pp. \bibitem[IK04]{IK} H. Iwaniec and E. Kowalski, \emph{Analytic Number Theory}, Amer. Math. Soc. Colloq. Publ. \textbf{53}, American Mathematical Society, Providence, RI, 2004. \bibitem[JT23]{JT} O. J\"arviniemi and J. Ter\"av\"ainen, \emph{Composite values of shifted exponentials}, Adv. Math. \textbf{429} (2023), Paper No. 109187. \href{https://doi.org/10.1016/j.aim.2023.109187}{doi:10.1016/j.aim.2023.109187}; \href{https://arxiv.org/abs/2010.01789}{arXiv:2010.01789}. \bibitem[Lee26]{Lee} S. Lee, \emph{The Hardy--Littlewood asymptotic for prime pairs of fixed even difference from a uniform zeta-ratios conjecture}, preprint, revised 3 November 2026. \href{https://arxiv.org/abs/2610.32672v2}{arXiv:2610.32672v2}. \bibitem[LPZ16]{LPZ} A. Languasco, A. Perelli and A. Zaccagnini, \emph{An extension of the pair-correlation conjecture and applications}, Math. Res. Lett. \textbf{23} (2016), 201--220. \href{https://arxiv.org/abs/1308.3934}{arXiv:1308.3934}. \bibitem[May19]{MaynardTakagi} J. Maynard, \emph{The twin prime conjecture}, Jpn. J. Math. \textbf{14} (2019), 175--206. \href{https://doi.org/10.1007/s11537-019-1837-z}{doi:10.1007/s11537-019-1837-z}. \bibitem[Mon73]{Montgomery} H. L. Montgomery, \emph{The pair correlation of zeros of the zeta function}, in \emph{Analytic Number Theory} (Proc. Sympos. Pure Math., Vol. XXIV, St. Louis Univ., St. Louis, Mo., 1972), Amer. Math. Soc., Providence, RI, 1973, 181--193. \bibitem[Leb50]{Lebesgue1850} V.-A. Lebesgue, \emph{Sur l'impossibilit\'e, en nombres entiers, de l'\'equation $x^m=y^2+1$}, Nouv. Ann. Math. (1) \textbf{9} (1850), 178--181. \url{https://www.numdam.org/item/NAM_1850_1_9__178_0/}. \bibitem[MS02]{MontgomerySoundararajan} H. L. Montgomery and K. Soundararajan, \emph{Beyond pair correlation}, in \emph{Paul Erd\H{o}s and his mathematics, I} (Budapest, 1999), Bolyai Soc. Math. Stud. \textbf{11}, J\'anos Bolyai Math. Soc., Budapest, 2002, 507--514. \bibitem[Pin09]{Pintz2009} J. Pintz, \emph{Landau's problems on primes}, J. Th\'eor. Nombres Bordeaux \textbf{21} (2009), 357--404. \href{https://doi.org/10.5802/jtnb.676}{doi:10.5802/jtnb.676}. \bibitem[TB26]{TurnageButterbaugh} C. L. Turnage-Butterbaugh, \emph{A decades-long breakthrough in zero-density estimates and primes in short intervals}, \href{https://arxiv.org/abs/2607.04632}{arXiv:2607.04632}; to appear in Bull. Amer. Math. Soc. \bibitem[WX25]{WX} V. Y. Wang and M. W. Xu, \emph{Harper's beyond square-root conjecture}, Int. Math. Res. Not. IMRN \textbf{2025} (2025), no. 18, rnaf279. \href{https://arxiv.org/abs/2405.04094}{arXiv:2405.04094}. \bibitem[Wax21]{Waxman} E. Waxman, \emph{Lower order terms for the one-level density of a symplectic family of Hecke $L$-functions}, J. Number Theory \textbf{221} (2021), 447--483. \href{https://arxiv.org/abs/1905.10362}{arXiv:1905.10362}. \end{thebibliography} \endgroup \end{document}