betaFeedback

WorksMathematics

An explicit prime gap under the Riemann hypothesis with an elementary prime power window and an updated zero count

Abstract

Dudek proved that if the Riemann hypothesis is true, then for every real x≥2x \ge 2 there is a prime in the interval (x−(4/π)xlog⁡x,x](x - (4/\pi)\sqrt{x}\log x, x]. We give a proof of this statement in which each cited input is stated explicitly or replaced. With h=(2/π)xlog⁡xh = (2/\pi)\sqrt{x}\log x, the prime power contribution ψ−θ\psi - \theta is needed only across the window (x−h,x+h](x - h, x + h], and there it is bounded by an elementary count of squares and higher powers, without the Riemann hypothesis and without the bounds of Rosser and Schoenfeld. The sum over the nontrivial zeros is bounded from the explicit zero count of Hasanalizade, Shen and Wong for T≥70T \ge 70, by trading slack between the head and the tail of the sum at the split point T=2x/hT = 2x/h. The range 2≤x<670012 \le x < 67001 is settled by a short table of prime gaps. The Riemann hypothesis is open and this note makes no progress on it.

Introduction

We cite A. W. Dudek, On the Riemann hypothesis and the difference between primes [1], by its journal version: all theorem, lemma, equation and page numbers of [1] below are those of Int. J. Number Theory 11 (2015), 771–778. The main result of [1] is the following.

Theorem A (Dudek [1 Theorem 1.2, p. 772]). Suppose the Riemann hypothesis is true. Then there is a prime in the interval

(x−4πxlog⁡x,x]\left(x-\frac{4}{\pi}\sqrt{x}\log x,x\right]

for all x≥2x \ge2.

This improves the constant 8/58/5 of Ramaré and Saouter [8 Theorem 1] to 4/π4/\pi.

Later work went further: Dudek, Grenié and Molteni [5 Theorem 1.1] proved a prime in a symmetric interval of total length (1+4/log⁡x)xlog⁡x(1+4/\log x)\sqrt{x}\log x, and Carneiro, Milinovich and Soundararajan [3 Theorem 5] proved, under the Riemann hypothesis, that for x≥4x \ge4 there is a prime in [x,x+(22/25)xlog⁡x][x,x+(22/25)\sqrt{x}\log x]. Theorem A is therefore not the best known constant. In [1], Theorem 1.1, p. 771, which Dudek quotes from Cramér, gives a constant c>0c>0 with π(x+cxlog⁡x)−π(x)>x\pi(x+c\sqrt{x}\log x)-\pi(x)>\sqrt{x} for all x≥2x \ge2, and Theorem 1.3, p. 772, gives a prime in (x−(1+ε)xlog⁡x,x](x-(1+\varepsilon)\sqrt{x}\log x,x] for all sufficiently large xx.

This note gives a proof of Theorem A that follows Dudek’s argument and states every explicit input. Write

h(x)=2πxlog⁡x,H(x)=2h(x)=4πxlog⁡x.h(x)=\frac{2}{\pi}\sqrt{x}\log x,\qquad H(x)=2h(x)=\frac{4}{\pi}\sqrt{x}\log x.

Theorem 1.1. Suppose the Riemann hypothesis is true. Then for every real x≥2x \ge2 there is a prime pp with x−H(x)<p≤xx-H(x)<p\le x. The proof uses, besides the Riemann hypothesis, only the explicit zero count (1) of Hasanalizade, Shen and Wong [2 Corollary 1.2], and the form of [1 Lemma 2.1] stated in § 4.

The mathematical content of this note is two observations. The proof uses ψ−θ\psi-\theta only across a short window, where the prime power mass is O(log⁡2x)O(\log^2 x) by counting (§ 2). The zero sum can be closed with a zero count whose constant is too large for separate head and tail bounds, by trading slack at the split point (§ 3). Neither is claimed as new. Section 5 describes the verification of these results and where the code is.

Outline of Dudek’s proof. Section 2 of [1] uses the weight w(n)=1−∣n−x∣/hw(n)=1-|n-x|/h on the open interval (x−h,x+h)(x-h,x+h) together with

ψ1(x)=∑n≤x(x−n)Λ(n)=∫2xψ(t) dt,\psi_1(x)=\sum_{n\le x}(x-n)\Lambda(n)=\int_2^x\psi(t)\,\mathrm{d}t,

see [1 p. 773]. The argument has five steps.

  1. Explicit formula for ψ1\psi_1, [1 Lemma 2.1, p. 773]. For x>0x>0, xx not an integer,

ψ1(x)=x22−∑ρxρ+1ρ(ρ+1)−xlog⁡(2π)+ε(x),∣ε(x)∣<125,\psi_1(x)=\frac{x^2}{2}-\sum_{\rho}\frac{x^{\rho+1}}{\rho(\rho+1)}-x\log(2\pi)+\varepsilon(x),\qquad|\varepsilon(x)|<\frac{12}{5},

display (2.2), where ρ\rho runs over the nontrivial zeros of the Riemann zeta function. The proof bounds a sum over zeros by 23/2∑ρ1/∣ρ∣22^{3/2}\sum_{\rho}1/|\rho|^2 and quotes the value of this sum from Davenport [4].

  1. Weighted prime-power sum, [1 Lemma 2.2, p. 774]. For x>0x>0 and h>0h>0,

∑x−h<n<x+hΛ(n)w(n)=h−1hΣ+ε(h),∣ε(h)∣<485h,\sum_{x-h<n<x+h}\Lambda(n)w(n)=h-\frac{1}{h}\Sigma+\varepsilon(h),\qquad|\varepsilon(h)|<\frac{48}{5h},

where

Σ=∑ρ(x+h)ρ+1−2xρ+1+(x−h)ρ+1ρ(ρ+1).\Sigma=\sum_{\rho}\frac{(x+h)^{\rho+1}-2x^{\rho+1}+(x-h)^{\rho+1}}{\rho(\rho+1)}.
  1. Splitting the sum over zeros. Writing ρ=1/2+iγ\rho=1/2+i\gamma, the sum Σ\Sigma is split at ∣γ∣=αx/h|\gamma|=\alpha x/h. For the head, [1 (2.4), p. 775] uses the zero count

N(T)<Tlog⁡T2πfor T>15.N(T)<\frac{T\log T}{2\pi}\qquad\text{for }T>15.

This bound follows from Corollary 1 of Trudgian [9], which states that for T≥eT\ge e

∣N(T)−T2πlog⁡T2πe−78∣≤0.112log⁡T+0.278log⁡log⁡T+2.510+0.2T,\left|N(T)-\frac{T}{2\pi}\log\frac{T}{2\pi e}-\frac{7}{8}\right|\le0.112\log T+0.278\log\log T+2.510+\frac{0.2}{T},

and which gives N(T)<Tlog⁡T/(2π)N(T)<T\log T/(2\pi) for all T≥8.55T\ge8.55. For the tail, [1 p. 775] uses Lemma 1 (ii) of Skewes [6].

  1. Passing from Λ\Lambda to primes. Dudek uses Theorem 14 and equation (5.5) of Rosser and Schoenfeld [7], [1 p. 775]:

0.98x<ψ(x)−θ(x)<1.11x+3x1/3for x≥121.0.98\sqrt{x}<\psi(x)-\theta(x)<1.11\sqrt{x}+3x^{1/3}\qquad\text{for }x\ge121.

(5) Positivity and the threshold. With α=2\alpha= 2 and h=h(x)h = h(x), the first display of [1 p. 776] states that ∑x−h<p≤x+hlog⁡p\sum_{x-h<p\leq x+h} \log p exceeds

rhs⁡(x)=h−2π(xx−h+(x+h)3/2x)log⁡(2xh)−1.11x+h−3(x+h)1/3+0.98x−h−485h,(1)\operatorname{rhs}(x) = h - \frac{2}{\pi}\left(\frac{x}{\sqrt{x-h}}+\frac{(x+h)^{3/2}}{x}\right)\log\left(\frac{2x}{h}\right)-1.11\sqrt{x+h}-3(x+h)^{1/3}+0.98\sqrt{x-h}-\frac{48}{5h}, \tag*{(1)}

which is positive for all x≥65000x \geq65000. Replacing x+hx+h by xx gives Theorem A for

x≥65000+2π65000log⁡65000≈66798.7,x \geq65000+\frac{2}{\pi}\sqrt{65000}\log65000 \approx66798.7,

at the end of Section 2.2 of [1], p. 776. The remaining values of xx were checked there by a Mathematica computation.

Table 1 lists how the inputs of the printed proof are used here. Four cited inputs are replaced: the zero count of [9], the bound of [7], the tail bound of [6] and the value from [4]. The zero count of [2] is a choice of input; this note does not examine whether the input of [9] also suffices for the argument below.

ComponentPrinted proof [1]This note
Zero hypothesisRiemann hypothesisRiemann hypothesis
Zero count[9 Corollary 1], as (2.4), T>15T > 15[2 Corollary 1.2], as (1), T≥70T \geq70
Prime power step[7], for x≥121x \geq121Proposition 2.1, by counting
ψ1\psi_1 error bound∣ε(x)∣<12/5|\varepsilon(x)| < 12/5∣ε(y)∣≤2.393|\varepsilon(y)| \leq2.393, all y>0y > 0
Sum ∑1/∣ρ∣2\sum1/|\rho|^2Value from Davenport [4]Not used
Tail of ∑1/γ2\sum1/\gamma^2Lemma 1 (ii) of Skewes [6]From (1), step 2 of Section 3
Large rangex≥65000x \geq65000, X≳66798.7X \gtrsim66798.7x≥65000x \geq65000, X≥66799X \geq66799
Small rangeMathematica, no table printedTable 2, 2≤x<670012 \leq x < 67001

Table 1. Inputs of the printed proof of [1] and of the proof given here.

The prime power window

The proof of Theorem A uses the difference ψ−θ\psi-\theta only through its increment across the window (x−h,x+h](x-h,x+h]. The two-sided bound of Rosser and Schoenfeld [7] implies the following window bound, which is therefore all that Dudek’s argument requires; we prove it directly.

Proposition 2.1. For every real x≥65000x \geq65000, with h=h(x)=(2/π)xlog⁡xh=h(x)=(2/\pi)\sqrt{x}\log x,

(ψ(x+h)−θ(x+h))−(ψ(x−h)−θ(x−h))<1.11x+h+3(x+h)1/3−0.98x−h(\psi(x+h)-\theta(x+h))-(\psi(x-h)-\theta(x-h)) < 1.11\sqrt{x+h}+3(x+h)^{1/3}-0.98\sqrt{x-h}.

The proof goes through the following bound on the mass of the window.

Lemma 2.2. Let 1≤a≤b1 \leq a \leq b be real numbers with b1/3<a1/3+1b^{1/3}<a^{1/3}+1. Then

(ψ(b)−θ(b))−(ψ(a)−θ(a))≤log⁡b2(b−a+1)+(log⁡b)23log⁡2(\psi(b)-\theta(b))-(\psi(a)-\theta(a)) \leq\frac{\log b}{2}(\sqrt{b}-\sqrt{a}+1)+\frac{(\log b)^2}{3\log2}.

Proof. Since ψ(y)=∑n≤yΛ(n)\psi(y)=\sum_{n\le y}\Lambda(n) and θ(y)=∑p≤ylog⁡p\theta(y)=\sum_{p\le y}\log p, the difference ψ(y)−θ(y)\psi(y)-\theta(y) is the sum of Λ(n)\Lambda(n) over non-prime integers n≤yn\le y. Consequently, the left side of the lemma is precisely the von Mangoldt mass of the prime powers pkp^k with k≥2k\ge2 lying in the interval (a,b](a,b].

First, the non-prime von Mangoldt mass over a natural-number interval (A,B](A,B] with A≤BA\le B satisfies

∑A<n≤Bn not primeΛ(n)≤∑2≤k≤log⁡2Blog⁡Bk⋅#{m∈N:A<mk≤B}.\sum_{\substack{A<n\le B\\ n\ \mathrm{not\ prime}}}\Lambda(n) \le \sum_{2\le k\le\log_2 B}\frac{\log B}{k}\cdot\#\{m\in\mathbb{N}:A<m^k\le B\}.

Indeed, every non-prime n∈(A,B]n\in(A,B] with Λ(n)≠0\Lambda(n)\ne0 is of the form n=pkn=p^k for a prime pp and an integer k≥2k\ge2 satisfying k≤log⁡2Bk\le\log_2 B. For such nn, its von Mangoldt weight satisfies

Λ(n)=log⁡p=log⁡(pk)k≤log⁡Bk,\Lambda(n)=\log p=\frac{\log(p^k)}{k}\le\frac{\log B}{k},

and for each fixed exponent kk, the map n↦pn\mapsto p is injective.

Second, for real numbers 0≤a≤b0\le a\le b, the number of kk-th powers in the integer interval (⌊a⌋,⌊b⌋](\lfloor a\rfloor,\lfloor b\rfloor] satisfies

#{m∈N:⌊a⌋<mk≤⌊b⌋}≤b1/k−a1/k+1.\#\{m\in\mathbb{N}:\lfloor a\rfloor<m^k\le\lfloor b\rfloor\} \le b^{1/k}-a^{1/k}+1.

Applying these two bounds separates the prime powers in (a,b](a,b] into squares, k=2k=2, and higher powers, 3≤k≤log⁡2b3\le k\le\log_2 b:

  • For k=2k=2, there are at most b−a+1\sqrt{b}-\sqrt{a}+1 squares in (a,b](a,b], each carrying weight log⁡p≤12log⁡b\log p\le\frac{1}{2}\log b.

  • For each 3≤k≤log⁡2b3\le k\le\log_2 b, the bound b1/k<a1/k+1b^{1/k}<a^{1/k}+1 follows from the case k=3k=3, since b1/k−a1/kb^{1/k}-a^{1/k} decreases as kk increases when b≥a≥1b\ge a\ge1; so there is at most one kk-th power in (a,b](a,b], carrying weight log⁡p≤1klog⁡b≤13log⁡b\log p\le\frac{1}{k}\log b\le\frac{1}{3}\log b.

There are at most log⁡b/log⁡2\log b/\log2 exponents kk, which gives the last term. □\square

Proof of Proposition 2.1. Let h=h(x)h=h(x), a=x−ha=x-h, b=x+hb=x+h, u=x1/6u=x^{1/6}, L=log⁡xL=\log x and M=log⁡bM=\log b. For all x≥65000x\ge65000,

u≥6.34,L≤1.5u+2.32,L≥11,h≤0.63662u3L.u\ge6.34,\qquad L\le1.5u+2.32,\qquad L\ge11,\qquad h\le0.63662u^3L.

These give h≤x/10h\le x/10, so 0.9x≤a0.9x\le a and b≤1.1xb\le1.1x. Hence a≥0.948u3\sqrt{a}\ge0.948u^3, and

(b−a)(b+a)=2h(\sqrt{b}-\sqrt{a})(\sqrt{b}+\sqrt{a})=2h

gives b−a≤0.6716L\sqrt{b}-\sqrt{a}\le0.6716L. Also a1/3≥0.965u2a^{1/3}\ge0.965u^2 gives b<(a1/3+1)3b<(a^{1/3}+1)^3, so Lemma 2.2 applies. Further L≤M≤L+0.1≤1.5u+2.42L\le M\le L+0.1\le1.5u+2.42.

Since a≤u3≤b\sqrt{a}\le u^3\le\sqrt{b} and u2≤b1/3u^2\le b^{1/3}, the target satisfies

1.11b+3b1/3−0.98a≥0.13u3+3u2.1.11\sqrt{b}+3b^{1/3}-0.98\sqrt{a}\ge0.13u^3+3u^2.

By Lemma 2.2 and 3log⁡2≥2.07943\log2\ge2.0794, the window mass is at most

M2(0.6716M+1)+M22.0794≤0.8168M2+0.5M.\frac{M}{2}(0.6716M+1)+\frac{M^2}{2.0794}\le0.8168M^2+0.5M.

Substituting M≤1.5u+2.42M\le1.5u+2.42, the proof closes with the polynomial inequality

0.8168(1.5u+2.42)2+0.5(1.5u+2.42)<0.13u3+3u20.8168(1.5u+2.42)^2+0.5(1.5u+2.42)<0.13u^3+3u^2

for u≥6.34u\ge6.34.

Indeed the left side is at most 1.8378u2+6.681u+5.9941.8378u^2+6.681u+5.994, so the difference of the two sides is at least 0.13u3+1.1622u2−6.681u−5.9940.13u^3+1.1622u^2-6.681u-5.994, which exceeds 3131 at u=6.34u=6.34 and is increasing for u≥2u\ge2. □\square

The zero sum from the Hasanalizade, Shen and Wong count

Let N(T)N(T) be the number of zeros ρ=β+iγ\rho=\beta+i\gamma of the Riemann zeta function with 0<β<10<\beta<1 and 0<γ≤T0<\gamma\le T, counted with multiplicity. Hasanalizade, Shen and Wong [2 Corollary 1.2, p. 221, display (1.5)] prove that for T≥eT\ge e

∣N(T)−M(T)∣≤R(T),|N(T)-M(T)|\le R(T),

where

M(T)=T2πlog⁡(T2πe),R(T)=0.1038log⁡T+0.2573log⁡log⁡T+9.3675.M(T)=\frac{T}{2\pi}\log\left(\frac{T}{2\pi e}\right),\qquad R(T)=0.1038\log T+0.2573\log\log T+9.3675.

By the symmetry of the zeros, it follows that for 70≤T≤t70\le T\le t

#{ρ:∣γ∣≤T}≤2(M(T)+R(T))+72,#{ρ:T<∣γ∣≤t}≤2(M(t)+R(t))−2(M(T)−R(T))+72,(2)\begin{aligned} \#\{\rho:|\gamma|\le T\}&\le2(M(T)+R(T))+\frac{7}{2},\\ \#\{\rho:T<|\gamma|\le t\}&\le2(M(t)+R(t))-2(M(T)-R(T))+\frac{7}{2}, \tag*{(2)} \end{aligned}

with multiplicity. The constant 7/27/2 is not needed; keeping it makes the constants below match those of § 5. Only (2) is used below.

Proposition 3.1. Let (γi)(\gamma_i) be any family of real numbers satisfying (2) in place of the ordinates of the zeros, and let Σ\Sigma be the sum of [1 Lemma 2.2] over ρi=1/2+iγi\rho_i=1/2+i\gamma_i. For every x≥65000x\ge65000, with h=h(x)h=h(x),

∣Σ∣≤(2xhπx−h+4h(x+h)3/22πx)log⁡(2xh).|\Sigma|\le\left(\frac{2xh}{\pi\sqrt{x-h}}+\frac{4h(x+h)^{3/2}}{2\pi x}\right)\log\left(\frac{2x}{h}\right).

This proposition takes no Riemann hypothesis. The hypothesis enters only when the family (γi)(\gamma_i) is taken to be the ordinates of the nontrivial zeros, so that ρi=1/2+iγi\rho_i=1/2+i\gamma_i are the zeros themselves.

The bound has the same form as [1 (2.5) and p. 776, $\alpha=2$]. The route differs. From (2), with its constant 9.3675, the separate head and tail estimates that would give this form do not both hold near T=70T=70: the tail inequality

∑∣γ∣>T1γ2≤log⁡TπT\sum_{|\gamma|>T}\frac{1}{\gamma^2}\le\frac{\log T}{\pi T}

needs about T≥170T\ge170, while at the split point T=2x/hT=2x/h with x≥65000x\ge65000 we only know T≥70T\ge70.

Proof of Proposition 3.1. Keep the split at T=2x/hT=2x/h and trade slack between head and tail in four steps.

  1. Head slack. For all T≥70T\ge70, the first inequality of (2) implies

#{∣γ∣≤T}≤Tlog⁡Tπ−(0.89T−22.25−0.502log⁡T),\#\{|\gamma|\le T\}\le\frac{T\log T}{\pi}-(0.89T-22.25-0.502\log T),

so the head count has a positive slack of about 0.89T0.89T below the main term (Tlog⁡T)/π(T\log T)/\pi. Indeed,

2M(T)=Tlog⁡Tπ−log⁡(2π)+1πT,log⁡(2π)+1π≥0.89,2M(T)=\frac{T\log T}{\pi}-\frac{\log(2\pi)+1}{\pi}T,\qquad\frac{\log(2\pi)+1}{\pi}\ge0.89,

and for T≥70T\ge70 one has R(T)≤0.251log⁡T+9.375R(T)\le0.251\log T+9.375, so 2R(T)+7/2≤0.502log⁡T+22.252R(T)+7/2\le0.502\log T+22.25. Write S(T)=0.89T−22.25−0.502log⁡TS(T)=0.89T-22.25-0.502\log T for this slack. (2) Tail with excess. For T≥70T \ge70, partial summation against the second inequality of (1) gives

∑∣γ∣>T1γ2≤log⁡TπT+E(T)T2,E(T)=1.004log⁡T+41.26−0.25T,\sum_{|\gamma|>T} \frac{1}{\gamma^2} \le\frac{\log T}{\pi T}+\frac{E(T)}{T^2}, \qquad E(T)=1.004\log T+41.26-0.25T,

and the excess E(T)E(T) is positive until about T=187T=187. For T≥70T \ge70 one has S(T)≥0S(T) \ge0 and 1.1E(T)≤S(T)1.1E(T) \le S(T).

(3) Comparison of head and tail weights. Let

a=h2(x−h)−1/2a=h^2(x-h)^{-1/2}

and

B=4(x+h)3/2B=4(x+h)^{3/2}

denote the head weight and tail weight, respectively. If 35h≤x35h \le x, which is equivalent to T=2x/h≥70T=2x/h \ge70, then

B≤1.1aT2.B \le1.1aT^2.

(4) Combined split bound. Let DiD_i denote the second-difference term

Di=(x+h)ρi+1−2xρi+1+(x−h)ρi+1ρi(ρi+1)D_i=\frac{(x+h)^{\rho_i+1}-2x^{\rho_i+1}+(x-h)^{\rho_i+1}}{\rho_i(\rho_i+1)}

for the ii-th zero. Each head term has ∥Di∥≤a\lVert D_i\rVert\le a, by the integral representation of [1 p. 774], and each tail term has ∥Di∥≤B/γi2\lVert D_i\rVert\le B/\gamma_i^2, as in [1 p. 775]. The head count and the tail bound give

∑i∥Di∥≤(Tlog⁡Tπ−S(T))a+B(log⁡TπT+E(T)T2).\sum_i \lVert D_i\rVert\le\left(\frac{T\log T}{\pi}-S(T)\right)a+B\left(\frac{\log T}{\pi T}+\frac{E(T)}{T^2}\right).

Using B≤1.1aT2B \le1.1aT^2 and 1.1E(T)≤S(T)1.1E(T) \le S(T), the excess from the tail sum is absorbed into the slack of the head count, which yields

∑i∥Di∥≤Tlog⁡Tπa+Blog⁡TπT.\sum_i \lVert D_i\rVert\le\frac{T\log T}{\pi}a+\frac{B\log T}{\pi T}.

Since ∣Σ∣≤∑i∥Di∥|\Sigma| \le\sum_i\lVert D_i\rVert, substituting T=2x/hT=2x/h, a=h2(x−h)−1/2a=h^2(x-h)^{-1/2}, and B=4(x+h)3/2B=4(x+h)^{3/2}, this upper bound equals the right side of Proposition 3.1.

Completion of the proof

  • Lemmas 2.1 and 2.2 of [1]. We use Lemma 2.1 of [1] in the form

∣ψ1(y)−(y22−Z(y)−ylog⁡(2π))∣≤2.393(y>0),\left|\psi_1(y)-\left(\frac{y^2}{2}-Z(y)-y\log(2\pi)\right)\right|\le2.393 \qquad(y>0),

where Z(y)Z(y) is the zero sum for y>1y>1, integer yy allowed. The bound is below the printed 12/5=2.412/5=2.4, and its proof does not use the value of ∑ρ1/∣ρ∣2\sum_\rho1/|\rho|^2; it is part of the checked development of Section 5. For y≤1y \le1 only the identity is needed, and the proof below uses ZZ only for y>1y>1. Lemma 2.2 of [1] follows by taking the second difference across x−h,x,x+hx-h,x,x+h, with error at most 48/(5h)48/(5h); we use it for h<xh<x, which holds for x≥65000x \ge65000.

  • Primes in the window for x≥65000x \ge65000. Let h=h(x)h = h(x). Since 35h≤x35h \le x, the split point T=2x/hT = 2x/h is at least 70. As 0≤w≤10 \le w \le1 and Λ≥0\Lambda\ge0, Lemma 2.2 of [1] and Proposition 3.1 give

ψ(x+h)−ψ(x−h)>h−2π(xx−h+(x+h)3/2x)log⁡(2xh)−485h,\psi(x+h)-\psi(x-h)>h-\frac{2}{\pi}\left(\frac{x}{\sqrt{x-h}}+\frac{(x+h)^{3/2}}{x}\right)\log\left(\frac{2x}{h}\right)-\frac{48}{5h},

and subtracting the bound of Proposition 2.1 gives ∑x−h<p≤x+hlog⁡p>rhs⁡(x)\sum_{x-h<p\le x+h}\log p > \operatorname{rhs}(x). By the monotonicity argument of [1 p. 776], made explicit by elementary bounds on each term, rhs⁡(x)>0\operatorname{rhs}(x) > 0 for every real x≥65000x \ge65000, so there is a prime in (x−h,x+h](x-h,x+h].

  • Large range. Let X≥66799X \ge66799. The map x↦x+h(x)x \mapsto x+h(x) is continuous and increasing, and 65000+h(65000)≤6679965000+h(65000) \le66799, so there is x≥65000x \ge65000 with x+h(x)=Xx+h(x)=X. A prime pp in (x−h(x),x+h(x)](x-h(x),x+h(x)] satisfies p≤Xp \le X and p>X−2h(x)=X−H(x)≥X−H(X)p > X-2h(x)=X-H(x) \ge X-H(X), as HH is increasing.

  • Small range. For every integer nn with 2≤n≤670002 \le n \le67000 there is a prime p≤np \le n with n−p<gn-p<g, where gg is the gap of the row of Table 2 that contains nn; the largest values of n−pn-p in the six rows are 0, 1, 1, 3, 13, 71. Let xx be real with 2≤x<670012 \le x < 67001, put n=⌊x⌋n=\lfloor x\rfloor, and take this prime pp. Then p≤n≤xp \le n \le x, and since n−p≤g−1n-p \le g-1 and x<n+1x<n+1,

Integers nnGap ggH(t)H(t) at the first n=tn=t, about
211.25
3 to 422.42
5 to 624.58
7 to 2246.56
23 to 1991419.15
200 to 670007295.40

Table 2. Prime gap data for 2≤x<670012 \le x < 67001. Each integer nn in a row has a prime p≤np \le n with n−p<gn-p<g.

x−p<n+1−p≤g.x-p<n+1-p\le g.

If the row of nn starts at tt, then g≤H(t)≤H(x)g \le H(t) \le H(x) because t≤xt \le x and HH is increasing, so x−H(x)<p≤xx-H(x)<p\le x. This uses no Riemann hypothesis.

Since [2,67001)[2, 67001) and [66799,∞)[66799,\infty) overlap, Theorem 1.1 follows.

Cited inputs. Table 3 lists every cited input of the printed proof and of the proof here, with the page of the source that was read.

InputPagePrinted statementUse
Corollary 1.2 of [2]p. 221, display 1.5∣N(T)−T2πlog⁡T2πe∣≤0.1038log⁡T+0.2573log⁡log⁡T+9.3675\left|N(T)-\frac{T}{2\pi}\log\frac{T}{2\pi e}\right|\le0.1038\log T+0.2573\log\log T+9.3675 for T≥eT\ge eUsed for T≥70T\ge70, as (1)
Corollary 1 of [9]Section 1; used in [1], p. 775∣N(T)−T2πlog⁡T2πe−78∣≤0.112log⁡T+0.278log⁡log⁡T+2.510+0.2/T\left|N(T)-\frac{T}{2\pi}\log\frac{T}{2\pi e}-\frac{7}{8}\right|\le0.112\log T+0.278\log\log T+2.510+0.2/T for T≥eT\ge e, giving N(T)<Tlog⁡T/(2π)N(T)<T\log T/(2\pi) for T≥8.55T\ge8.55Replaced by (1)
Theorem 14 and (5.5) of [7]pp. 71, 77; used in [1], p. 7750.98x<ψ(x)−θ(x)0.98\sqrt{x}<\psi(x)-\theta(x) for x≥121x\ge121; ψ(x)−θ(x)<1.11x+3x1/3\psi(x)-\theta(x)<1.11\sqrt{x}+3x^{1/3} for x>0x>0Replaced by Proposition 2.1
Lemma 1 (ii) of [6]p. 50; used in [1], p. 775∑γ≥T1/γ2<log⁡T/(2πT)\sum_{\gamma\ge T}1/\gamma^2<\log T/(2\pi T) for T≥γ1T\ge\gamma_1Replaced, from (1)
Value of ∑ρ1/∣ρ∣2\sum_{\rho}1/|\rho|^2, [4]pp. 81–82; used in [1], p. 773γ+2−log⁡4π\gamma+2-\log4\pi under the Riemann hypothesisNot used

Table 3. Cited inputs: source and page, printed statement, and use.

Verification

The main results of this note are checked in Lean 4 with Mathlib [13], version v4.35.0-rc3, in the repository https://github.com/sthubbar/goldbach-lean, directory entries/dudek2014, commit da5cf9edad7896290771dfcab8feee2906399e3d [11], registered as Palomar entry PALOMAR-2026-11-01-000028, version 1 [10]. Theorem 1.1 is

LeanLab.PNTPort.ExplicitPsi1.Trivial.theorem2_of_RH_hsw, which proves PrimeInDudekInterval x for all real x≥2x\ge2, with dudekH the function HH. It takes two hypotheses, neither declared as an axiom. The first, RiemannHypothesis, is the Riemann hypothesis as stated in Mathlib. The second, HSWN70 gZ, is (1) for the ordinates of the nontrivial zeros counted with multiplicity, written with main term M+7/8M+7/8 and remainder R+7/8R+7/8; it is taken from Corollary 1.2 of Hasanalizade, Shen and Wong [2] and is not proved in Lean, and the step from that corollary to (1) is argued by hand in Section 3. Proposition 2.1, Lemma 2.2, Proposition 3.1, the form of Lemma 2.1 of [1] with 2.393, the positivity of rhs and the small range are window_holds, mass_le, sigmaBd_of_hsw, lemma4_Zpatch, rhs_pos and small_range; the last evaluates Table 2 in the kernel. Under the same two hypotheses the repository also proves Theorem 1.1 of [1] with c=108c=108 and Theorem 1.3 of [1], as theorem1_of_RH_hsw and theorem3_of_RH_hsw; their proofs are not given in this note.

Code availability. In entries/dudek2014, run lake exe cache get, lake build and lake comparator --config=comparator-dudek2014.json; the comparator checks against ChallengeDudek2014.lean. The axioms used are propext, Quot.sound and Classical.choice, with no sorry. Sixteen files under LeanLab/PNTPort/StrongPNT are from PrimeNumberTheoremAnd [12], commit c39a751132c88b6e8080b74c74023fd95b3d8be0, Apache-2.0, credited to its contributors.

Steve Hubbard designed the research program and directed this work. AI tools, Claude and Gemini, were used to write the Lean code and draft the text. The author takes full responsibility for the content.

Independent Researcher

References

  1. [1][Dudek] A. W. Dudek, On the Riemann hypothesis and the difference between primes, Int. J. Number Theory 11 (2015), no. 3, 771–778, doi:10.1142/S1793042115500426; preprint arXiv:1402.6417.DOI
  2. [2][HSW] E. Hasanalizade, Q. Shen and P.-J. Wong, Counting zeros of the Riemann zeta function, J. Number Theory 235 (2022), 219–241, arXiv:2107.06506.arxiv.org/abs/2107.06506
  3. [3][CMS] E. Carneiro, M. B. Milinovich and K. Soundararajan, Fourier optimization and prime gaps, arXiv:1708.04122v2, first posted 2017, doi:10.4171/CMH/467.DOI
  4. [4][Da] H. Davenport, Multiplicative Number Theory, Springer, 1980.DOI
  5. [5][DGM] A. W. Dudek, L. Grenié and G. Molteni, Primes in explicit short intervals on RH, Int. J. Number Theory 12 (2016), no. 5, 1391–1407, arXiv:1503.05403.DOI
  6. [6][Sk] S. Skewes, On the difference π(x) − li(x) II, Proc. London Math. Soc. (3) 5 (1955), 48–70.DOI
  7. [7][RS] J. B. Rosser and L. Schoenfeld, Approximate formulas for some functions of prime numbers, Illinois J. Math. 6, 1962, no. 1, 64–94.
  8. [8][RaSa] O. Ramaré and Y. Saouter, Short effective intervals containing primes, J. Number Theory 98, 2003, no. 1, 10–33.DOI
  9. [9][Tr] T. S. Trudgian, An improved upper bound for the argument of the Riemann zeta-function on the critical line II, J. Number Theory 134 (2014), 280–292, doi:10.1016/j.jnt.2013.07.017.DOI
  10. [10][Palomar] Palomar registry, entry PALOMAR-2026-11-01-000028, version 1, https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-01-000028&version=1.
  11. [11][Repo] S. Hubbard, goldbach-lean repository, directory entries/ dudek2014, commit da5cf9edad7896290771dfcab8feee2906399e3d, https://github.com/shubhar/goldbach-lean.
  12. [12][PNT] PrimeNumberTheoremAnd, https://github.com/AlexKontorovich/PrimeNumberTheoremAnd, commit c39a751132c88b6e8080b74c74023fd95b3d8be0.
  13. [13][Mathlib] The mathlib Community, The mathlib mathematical library, https://github.com/leanprover-community/mathlib4, version v4.35.0-rc3.

Paper details

vlnc:W_tj2v65xk
Version
v2 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 24

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents