\section{Introduction}\label{sec:intro} Let $p_1=20 \end{equation} for arbitrarily large $x$, then $H_1\le h_{k-1}-h_0$. Indeed, the inner sum counts the primes in $n+\mathcal H$. If a translate contains no prime, its term in \eqref{eq:gpy} is negative, and if it contains exactly one prime, its term is zero; a nonnegative weight cannot make either term positive. A positive total therefore forces some $n\ge x$ for which $n+\mathcal H$ contains at least two primes. These primes lie between $n+h_0$ and $n+h_{k-1}$, so their separation is at most the diameter. They need not be consecutive primes, but a pair of consecutive primes between them has a gap no larger. Since $n\ge x$ and $x$ can be taken arbitrarily large, such gaps occur infinitely often. For this implication any nonnegative weights suffice; the sieve method supplies weights for which the positivity in \eqref{eq:gpy} can be proved, and Section~\ref{sec:weight} describes ours. In every application of this criterion to $H_1$ that we know of, the gap obtained is the diameter of the tuple. The point of this paper is a criterion that gives a gap \emph{below} the diameter. Fix $D$, and call a pair of shifts \emph{long} if they are more than $D$ apart. If a translate contains at least two primes and they do not all lie in long pairs, then it contains two primes at distance at most $D$. Counting, it suffices to show \begin{equation}\label{eq:ours} \sum_{x\le n<2x}\Big(\sum_{i}\mathbf 1_{\mathbb P}(n+h_i)-1-\sum_{\{i,j\}\ \mathrm{long}}\mathbf 1_{\mathbb P}(n+h_i)\mathbf 1_{\mathbb P}(n+h_j)\Big)\omega(n)>0 \end{equation} for arbitrarily large $x$ (Proposition~\ref{prop:detection}). Each long pair costs an upper bound for the weighted number of translates in which both of its shifts are prime. When a long pair consists of the two endpoints $h_0$ and $h_{k-1}$, the two endpoint divisors of the sieve weight are $1$ on the translates in which both endpoints are prime, and an upper-bound sieve bounds this cost by an explicit integral $\mathcal P$ of the weight (Proposition~\ref{prop:endpoint}, which holds for any profile; Section~\ref{sec:model-short} carries out the computation for a simple weight). The criterion is therefore useful for tuples with few long pairs. We apply it to the admissible tuple of $39$ shifts and diameter $182$ of \cite{sharifi182}, in which $0$ and $182$ are the only shifts more than $180$ apart. Our main result is a conditional application of the criterion. \begin{theorem}[conditional]\label{thm:main} Assume Hypotheses~\ref{hyp:A1}--\ref{hyp:A4} of Section~\ref{sec:hypotheses} and the fourteen numerical inequalities \textup{(N1)--(N14)} of Section~\ref{sec:fields}. Then there are infinitely many $n$ with $p_{n+1}-p_n\le180$. That is, $H_1\le180$. \end{theorem} \emph{The assumptions.} Theorem~\ref{thm:main} assumes the analytic hypotheses A1--A4, stated in Section~\ref{sec:hypotheses}, and the numerical inequalities (N1)--(N14), stated in Section~\ref{sec:fields}. A1 and A3 are Deligne's bounds for hyper-Kloosterman sums \cite{deligne-weil2,katz-gkm}. A2 bounds a correlation of Kloosterman sums. Birch and Bombieri proved this bound with an absolute constant in the appendix to \cite{fi-1985}. The constant $8$ is established by Fouvry, Kowalski and Michel \cite[Prop.~2]{fkm-fi}, and the Lean statement of A2 uses it. The mathematical argument requires only a bound with some fixed absolute constant, and the particular value does not affect the resulting bound on prime gaps (Remark~\ref{rem:status}). A4 is stated as Proposition~3.1 of \cite{astra31}. The proof of the earlier bound $H_1\le182$ \cite{sharifi182} also uses this hypothesis, while the bound $186$ of \cite{openai186} does not. A proof of A4 is presented in the companion paper \cite[Theorem~1.1]{allahyar-fourier}; Remark~\ref{rem:A4} explains how that theorem gives A4 and what is known without it. The numerical inequalities (N1)--(N14) concern one fixed sieve weight; Definition~\ref{def:numerical} names their conjunction \textsf{Numerical}. They are supported by computations with written error analyses. Some numerical inputs still require justification: the identification of the stored prices with the defined ones in the restriction-loss computations, the finite enclosures behind the transfer estimates, the provenance of several stored intermediate results, and two identifications in the check of (N9). Section~\ref{sec:weak} describes them. The Lean version of Theorem~\ref{thm:main} takes A1--A4 and all fourteen numerical inequalities as assumptions (Remark~\ref{rem:formal}). \emph{Comparison with the bound $182$.} The numerical inputs of \cite{sharifi182} have a similar logical status: its Lean theorem takes $262$ numerical integral inequalities as premises, and \cite[\S13.1]{sharifi182} describes their recomputation as computational evidence that does not supply Lean proofs. Those inequalities are supported by ball arithmetic in Arb and exact rational arithmetic \cite[\S10.3]{sharifi182}, with a final margin of more than $0.000065213759$ in the normalization of \cite{sharifi182}. Our support differs in two respects: several of our computations use IEEE double precision with written error budgets, and our final margin is about one part in a million (Proposition~\ref{prop:numerical}). \input{sections/hypotheses} \subsection{Outline of the proof}\label{sec:results} \emph{Relation to earlier work.} Subtracting prime-pair events in a detection inequality, and paying for them with an upper-bound sieve, is not new. Banks, Freiberg and Maynard \cite[\S4.2, Lemma~4.5(iii) and the deduction of Theorem~4.3]{bfm} subtract, for each of $8m+1$ blocks of a large tuple, the pairs of primes inside the block, and bound each pair by a Selberg upper bound with the two divisors $d_j=d_\ell=1$; they use this to place single primes in distinct blocks. Maynard \cite[\S\S5--6, (6.2), (6.13), Proposition~6.1]{maynard-dense} subtracts weighted counts of atypical events, bounded by an upper-bound sieve, so that the primes found are consecutive. We are not aware of an earlier use of a subtracted prime-pair event to obtain a gap strictly below the diameter of the tuple. The proof of $H_1\le6$ under the generalized Elliott--Halberstam conjecture \cite[Thm.~1.4(xii)]{polymath8b} uses the usual criterion \cite[Lemma~3.4]{polymath8b} with a sieve function on an enlarged simplex \cite[Thm.~3.14]{polymath8b}; no event is subtracted there, but, as in \eqref{eq:ours}, the prime sums are bounded below rather than evaluated \cite[\S5.3]{polymath8b}. \emph{The weight.} The weight $\omega(n)$ is the square of a signed sieve sum. Its coefficients are values of the \emph{restricted profile} $G$, evaluated at data that record the sizes of the prime factors of the sieve variables (Section~\ref{sec:band-law}). The profile $G$ is obtained from a fixed function $F$, the \emph{spline profile} of Section~\ref{sec:spline}, which is constructed from cubic B-splines: polynomial pieces of degree at most three joined at specified knots. The \emph{restriction} of Section~\ref{sec:restriction} keeps $F$ where every required distribution estimate applies and sets it to zero elsewhere; the result is $G$. Hypothesis A4 is needed for $5{,}520$ of the $21{,}763$ parameter ranges on which a Type~III estimate is used (Section~\ref{sec:distribution}). As in the work of Baker and Irving \cite{baker-irving}, the primes at each shift are bounded below with the help of minorants of the kind used in Harman's sieve \cite{harman}, combined by a dual certificate (Section~\ref{sec:ledger}). \emph{The numerical inequality and the restriction loss.} Let $F$ be the spline profile, before the restriction is applied, and write $M=\|F\|^2$ for its mass, as defined in Section~\ref{sec:masses}; $M$ is positive, and we measure all other quantities in units of $M$. The criterion \eqref{eq:ours} requires the prime contribution, after subtracting the endpoint-pair cost, to exceed the total weight. For the unrestricted profile $F$ the total weight is $M$ and this contribution is at least $1.0011666\,M$ (Section~\ref{sec:uncut}), an initial surplus of $0.0011666\,M$. This is an intermediate estimate, because the weight we use is built from $G$, and two corrections remain. Passing from $F$ to $G$ costs at most $0.001121271547\,M$ (Section~\ref{sec:loss}). The grid computation prices the single-prime terms at stored reference prices, and correcting for the difference from the prices of the lower bound costs at most $0.0000443013\,M$ (Lemma~\ref{lem:debit-deleted} and Theorem~\ref{thm:terminal-arithmetic}). The surplus that remains is \[ 0.0011666\,M-0.001121271547\,M-0.0000443013\,M=1.027153\times10^{-6}M>0, \] so, under the assumptions of Theorem~\ref{thm:main}, the criterion gives infinitely many pairs of consecutive primes with gap at most $180$. Section~\ref{sec:numerical} carries out this reduction from \textsf{Numerical}. Restricting a fixed weight to the domain of the available estimates and bounding the cost of the restriction separates the optimization of the weight from the arithmetic. \emph{The cost of the endpoint pair.} One might instead use the $38$-tuple $\{h_0,\dots,h_{37}\}$, which is admissible and has diameter $180$, with the usual criterion \eqref{eq:gpy}. The subtraction keeps the $39$th shift at the price of the endpoint cost. For our weight the trade is lopsided. By the column sums of Table~\ref{tab:columns}, which bound the grid quantities of $F$, the single-prime term $\rho\,\mathcal I_{38}$ of the last shift is about $1452218/98747690\approx1.47\%$ of $M$, while the endpoint cost $\mathcal P$ is about $151252/98747690\approx0.15\%$ of $M$. The final surplus is only $1.027153\times10^{-6}M$, so the $39$th shift is indispensable for this weight, and its contribution exceeds its cost by a factor of almost ten. \emph{What is proved where.} The deduction of Theorem~\ref{thm:main} from A1--A4 and \textsf{Numerical} is checked in Lean~4 (Section~\ref{sec:lean}). On the page, the criterion, the endpoint cost, the combination of the three sieve estimates and the numerical reduction are proved in full from the imported statements (Sections~\ref{sec:structure}, \ref{sec:key}, \ref{sec:mass-endpoint} and~\ref{sec:numerical}). The dual certificate is described schematically in Section~\ref{sec:ledger}; the standard main-term computation, the distribution statements of Section~\ref{sec:distribution} and the remaining finite bookkeeping are outlined, and for them the formal proof is the proof of record. The supplement \cite{supplement} contains the full statements (N1)--(N14), the derivation of the four numerical bounds from them, the proofs of the new analytic steps, the description of the stored data, the concordance with the Lean proof, the build record, the error analyses and a heuristic numerical test of Hypothesis~\ref{hyp:A4}. Section~\ref{sec:certificate} describes the numerical condition and its support, and Section~\ref{sec:conclusion} lists the limitations.