Skip to content

From a One-Sided Prime Bound to a Zero-Free Half-Plane ​

This landmark page traces the top half of Stage 01 — from New.star_inequality through two-cutoff elimination (New.Reduction.OneSidedBound), Landau and Suzuki's one-sided criterion (New.Reduction.Zeros.Criterion), and functional-equation reflection (New.Main) to the Generalized Riemann Hypothesis and the Riemann Hypothesis. Return to the Stage 01 Overview for the full stage map, or continue to The Main Cancellation Inequality and Theorems A & B to see how New.star_inequality itself is proved.

Level 1 · First-Principles

Level 1 — First-Principles ​

Suppose a suspension bridge is monitored by a single pressure gauge that measures how much traffic piles up above the long-term average. If a hidden resonant wave existed inside the bridge, it would force the pressure gauge to swing wildly both above and below zero with a growing amplitude. Therefore, you do not need to cap swings in both directions: if you can prove a one-sided ceiling — showing that the pressure never spikes far above zero — no destructive wave can exist above that growth rate.

That one-sided strategy turns a statement about whole numbers greater than 1 with no smaller positive divisorsprime number into a zero-free region in the two-dimensional grid of points s=σ+itcomplex plane. Instead of counting raw primes, Stage 01 tracks a gently tapered sum over integers leaving remainder 1 modulo q0. Each integer n receives the logarithmic prime-power weight Λ(n), equal to log⁡p when n=pk and 0 otherwisevon Mangoldt function multiplied by a residue factor (1−(n/d)) built from squares and non-squares modulo an auxiliary prime dquadratic twist. Because (n/d) takes only the values −1, 0, and +1, the combined weight λ(n)=Λ(n)(1−(n/d)) is never negative, while every prime that splits in Q(−d) drops out with weight 0.

Multiplying each term by the smooth taper (1/n−1/x) and subtracting the expected smooth growth log⁡x/φ(q0)+cq0 produces a single remainder Rq0(x) that drifts slowly toward 0. Four steps turn a ceiling on Rq0(x) into the full theorem:

  1. Eliminating the huge second cutoff: The main inequality bounds Rq0(x) only after mixing it with error terms measured at a vastly larger scale x1≥x106. Because x1 dwarfs x, the classical Prime Number Theorem crushes the x1 error terms below x−2, leaving a pure upper bound Rq0(y)≤Cy−1/2+ε for every real y large enough.
  2. Dodging unwanted zeros by choosing d: The smoothed transform of Rq0(x) detects zeros of both the original functions — each periodic multiplicative weight χ modulo q0Dirichlet character produces a global function L(χ,s)Dirichlet L-function — and their partners twisted by (n/d). Those two sets of zeros enter with opposite signs, so a twisted zero could accidentally cancel an untwisted zero. Because the one-sided bound holds for all primes d in the chosen congruence class, Stage 01 uses a zero-density estimate to pick one prime d whose twisted functions have no zeros at all inside the box reaching up to the candidate point ρ.
  3. Springing the one-sided trap: Once the twisted zeros are cleared from the box, every remaining pole on the real axis above β has a nonnegative sign automatically. Applying the classical analytic principle forbidding a nonnegative-coefficient transform from having a boundary pole without also exploding on the real axisLandau's lemma forces the residue at ρ to vanish, so no L(χ,s) modulo q0 can equal 0 anywhere to the right of Re(s)=β.
  4. Inducing and reflecting to the center line: Given any character modulo an arbitrary q, Stage 01 lifts it to modulus q0=18480q, applies the zero-free half-plane bound there, and divides out the finitely many extra prime factors at primes dividing 18480. That clears the entire half-plane Re(s)>1/2 for every character. Finally, functional-equation reflection across the central vertical line Re(s)=1/2critical line rules out zeros on the left half of the open vertical band 0<Re(s)<1critical strip as well, pinning every nontrivial zero of every Dirichlet L-function — and of the global function ζ(s)Riemann zeta function away from the predictable negative even integers −2,−4,−6,…trivial zero — directly onto the critical line.

One-sided Landau funnel showing star_inequality feeding two-cutoff PNT elimination, real-variable smoothing, quadratic-twist zero avoidance, Landau's lemma, and New.grh reflection

Where this analogy breaks ​

Comparing Rq0(x) to a mechanical pressure gauge suggests that any one-sided upper bound immediately prevents every wave from growing. In reality, Landau's lemma requires an exact sign condition on the real axis: if a real zero of L(χ,s) happened to produce a negative residue along the real line, it could mask complex oscillations and break the one-sided trap. What makes this specific smoothed kernel work without assuming "no real zeros" is that the pole denominator s(1−s) is nonnegative on (β,1], while classical nonvanishing rules out real zeros on [1,∞) — and even that sign positivity only survives after the quadratic twist prime d is chosen to wipe out all negatively signed twisted zeros inside the box.

Level 2 · Undergrad Bridge

Level 2 — Undergrad Bridge ​

1. The Smoothed Prime Remainder and Its Laplace Transform ​

In src/New/Reduction/Zeros/PrimeError.lean, fix a prime d and a modulus q≥1. Write χK(n)=(n/d) for the Legendre symbol modulo d, and define the nonnegative arithmetic weight (New.lambdaKResidueClass):

λ(n)={Λ(n)(1−χK(n))if n≡1(modq),0otherwise.

Since χK(n)∈{−1,0,1}, we have 0≤1−χK(n)≤2 and 0≤λ(n)≤2Λ(n). The smoothed prime remainder (New.primeRemainder) is

Rq(x)=∑1≤n≤xλ(n)(1n−1x)−log⁡xφ(q)−cq,

where cq=ReGq(1) and Gq(s) (New.logDerivMean d q) is the mean logarithmic-derivative difference across all Dirichlet characters ψmodq:

Gq(s)=1φ(q)(∑ψmodq((entireL(ψχK))′entireL(ψχK)(s)−(entireLψ)′entireLψ(s))−1),

with entireLψ equal to L(s,ψ) multiplied by (s−1) when ψ is principal.

Why smooth by the linear taper (1/n−1/x) rather than using the sharp counting error Eq(t)=∑n≤tλ(n)−t/φ(q) directly? Partial summation (primeRemainder_eq_integral_countError_sub) shows

Rq(x)=∫1xEq(t)t2dt−cq.

Integrating once by t−2 buys two crucial analytic properties simultaneously:

  • Slow variation: Chebyshev's bound |Eq(t)|≤13t (abs_countError_le) immediately gives |Rq(z)−Rq(y)|≤13(z−y)/y for 1≤y≤z (abs_primeRemainder_sub_le), which later bridges integers ⌊y⌋ to all real y.
  • Simple-pole Laplace transform (New.isPolar_primeRemainder): Changing variables to x=ev, the Laplace integral ∫0∞Rq(ev)e(1−s)vdv converges absolutely on Res>1 (where the Dirichlet series of λ equals s/(φ(q)(s−1))+Gq(s)) and continues meromorphically to Res>0 with at most simple poles, no pole at s=1, and exact residue at every s≠1:r(s)=n(s)−n′(s)φ(q)s(1−s),where n(s)=∑ψmodqords(entireLψ) and n′(s)=∑ψmodqords(entireL(ψχK)).

Under the substitution x=ev, an eventual upper bound Rq0(x)≤Axβ−1 becomes Rq0(ev)≤Ae(β−1)v. For β=1/2+ε, the exponent β−1=−1/2+ε is precisely the abscissa at which the Laplace integrand e(β−1)ve(1−s)v=e(β−s)v decays exponentially throughout Res>β.

2. Why Criterion Quantifies Over All Primes d≡d0(modq0) — and Needs No "No Real Zeros" Hypothesis ​

In src/New/Reduction/Zeros/Criterion.lean, New.LFunction_ne_zero_of_primeRemainder_le assumes 8∣q0, d0≡7(mod8), gcd(d0,q0)=1, β>1/2, and that for every prime d≡d0(modq0) there exists A∈R with Rq0(x)≤Axβ−1 eventually.

Why must the hypothesis hold for all primes d in that residue class rather than one fixed d? Look at the numerator n(s)−n′(s) of the residue r(s):

  • A zero of an untwisted function L(s,ψ) contributes positively to n(s), while a zero of a twisted function L(s,ψχK) contributes negatively via −n′(s).
  • If we fixed a single d in advance, a zero of L(s,ψχK) could coincide with ρ (canceling n(ρ)) or sit on the real interval (β,1) (making Rer(x)<0 and invalidating Landau's lemma).
  • To prevent both hazards, Criterion.lean calls exists_entireL_quadTwist_ne_zero (src/Lib/Analytic/QuadraticTwist.lean), which proves by a theta-series tail integral, Hadamard's three-lines theorem, and Pólya–Vinogradov mean-square estimates that at most O(X1−δ/2) primes d≤X are "bad" (having any twisted zero in Res≥β, |Ims|≤|Imρ|). Since ∑p≡d0(modq0)(log⁡p)/p diverges, there exists at least one good prime d≡d0(modq0) with entireL (quadTwist χ d) s ≠ 0 throughout the entire box Res≥β, |Ims|≤|Imρ|.

For that chosen prime d, we have n′(s)=0 identically inside the box, so r(s)=n(s)/(φ(q0)s(1−s)). Now check real points x>β:

  • If β<x≤1: n(x)∈N is nonnegative, φ(q0)>0, and x(1−x)≥0, so Rer(x)=n(x)/(φ(q0)x(1−x))≥0.
  • If x≥1: entireL_ne_zero guarantees entireLχ(x)≠0 for every χmodq0, so n(x)=0 and r(x)=0.

Thus Rer(x)≥0 holds automatically for every real x>β, with no separate hypothesis excluding real zeros in (β,1). Landau's lemma (h_polar.landau) then forces r(ρ)=0, which (since ρ≠0,1) forces n(ρ)=0, hence entireLψ(ρ)≠0 and L(ρ,ψ)≠0.

3. Two-Cutoff Elimination (x≪x1≪b) and Real-Variable Passage ​

src/New/Reduction/OneSidedBound.lean connects New.star_inequality (m⋅rem≤falog5⁡b) to the hypothesis of Criterion in five cleanly separated lemmas:

  1. Isolating Rq0(x) (New.Data.primeRemainder_le, lines 37–71): Expanding D.totalRemainder_eq expresses D.totalRemainder in terms of Rq0(x), Rq0(x1), and R1(x1). Dividing star_inequality by ma#Φb and substituting f=φ(q0)#Φa together with #Φa/#Φb≤log⁡b (D.towerDeg_le_card_bPlaces_mul) yields

    Rq0(x)≤φ(q0)log6⁡bm+|Rq0(x1)|+(log⁡b)|R1(x1)|.
  2. Admissible scale selection (New.eventually_exists_data_scales, lines 78–93): For any 0<ε<1/100 and all sufficiently large integers x, eventually_exists_data produces admissible data D:Data P with D.x=x, log⁡b≤2xε, x≤m, and xε/12≤log⁡x1 (while preserving the hierarchy (log⁡b)100≤x, x106≤x1, x1106≤b).

  3. Crushing the x1 remainders by PNT (New.eventually_abs_primeRemainder_exp_le, lines 99–121): Classical PNT in arithmetic progressions (New.eventually_abs_primeRemainder_le in PrimeNumberTheorem.lean) saves every power of the logarithm: |Rq(y)|≤(log⁡y)−B for any B∈N and large y. Choosing B≥24/ε, any ℓ≥xε/12 satisfies

    1(log⁡eℓ)B=1ℓB≤x−(ε/12)B≤x−2.

    Applying this at ℓ=log⁡x1 bounds both |Rq0(x1)|≤x−2 and |R1(x1)|≤x−2.

  4. Integer-scale bound (New.eventually_primeRemainder_natCast_le, lines 129–159): Substituting the scale inequalities and the x−2 PNT bounds into Data.primeRemainder_le gives:

    Rq0(x)≤φ(q0)(2xε)6x1/2+x−2+2xε⋅x−2≤(64φ(q0)+3)x−1/2+6ε.
  5. Real-variable bridge (New.eventually_primeRemainder_le_mul_rpow, lines 204–235):(Note on exact naming: the Lean theorem at src/New/Reduction/OneSidedBound.lean:204 is New.eventually_primeRemainder_le_mul_rpow; upstream's summary table INDEX.md:21 contains a minor typo printing eventually_primeRemainder_le_rpow.) Choose δ=min(1/200,ε/6)∈(0,1/100) so t=−1/2+6δ∈[−1,0] and t≤−1/2+ε, and set C=64φ(q0)+3. For all large real y≥2:

    • primeRemainder_sub_primeRemainder_floor_le bounds the fractional jump: Rq0(y)−Rq0(⌊y⌋)≤13(y−⌊y⌋)/⌊y⌋≤26/y=26y−1≤26yt.
    • natFloor_rpow_le_two_mul_rpow converts ⌊y⌋t to yt: since ⌊y⌋≥y/2 and −1≤t≤0, ⌊y⌋t≤(y/2)t=yt/2t≤2yt. Combining both gives
    Rq0(y)≤C(2yt)+26yt=(128φ(q0)+32)yt≤(128φ(q0)+32)y−1/2+ε.

4. Assembling New.grh and Reflecting to the Critical Line ​

New.grh : DirichletLNonvanishingRightOfHalf (src/New/Reduction/OneSidedBound.lean:239-268) takes any modulus q≥1, any character χmodq, and any ρ∈C with Reρ>1/2 and (χ≠1∨ρ≠1):

  1. The boundary point ρ=1: Dispatched immediately by Dirichlet's theorem (χ.LFunction_ne_zero_of_one_le_re h_pole le_rfl).
  2. Induction to q0=18480q: For ρ≠1, pick β∈(1/2,Reρ) and set q0=18480q and d0=9240q−1=q0/2−1. Then:
    • 8∣q0 (since 18480=8×2310),
    • d0≡7(mod8) (since 8∣9240),
    • gcd(d0,q0)=1 (since d0 is odd and q0=2(d0+1)),
    • every prime dividing q0 splits in K=Q(−d) (for every prime d≡d0(modq0), −d≡1(mod8) splits 2 and −d≡1(modp) is a square for every odd prime p∣q0),
    • for every prime d≡d0(modq0), dvd_two_mul_succ_and_not_dvd_succ verifies q0∣2(d+1) and q0∤(d+1), which is the exact divisibility requirement in Parameters.
  3. Applying the criterion and peeling off Euler factors: Setting ε=β−1/2>0 so β−1=−1/2+ε, eventually_primeRemainder_le_mul_rpow supplies the uniform one-sided bound with constant A=128φ(18480q)+32. LFunction_ne_zero_of_primeRemainder_le then yields L(χind,ρ)≠0, where χind=χ.changeLevel(q∣18480q). Rewriting by LFunction_changeLevel _ χ h_pole expresses L(χind,ρ) as L(χ,ρ) multiplied by the finite Euler-factor product ∏p∣18480q,p∤q(1−χ(p)p−ρ). Applying left_ne_zero_of_mul concludes L(χ,ρ)≠0 directly — in this direction, nonvanishing of a product implies nonvanishing of its left factor without needing any separate check that the Euler factors are nonzero.
  4. Functional-equation reflection (src/New/Main.lean:32-44):
    • New.zeros_on_line applies New.grh to both s and 1−s via New.gammaFactor_eq_zero_or_LFunction_one_sub_eq_zero and Complex.Gammaℝ_ne_zero_of_re_pos, ruling out both Res>1/2 and 0<Res<1/2.
    • New.zeta_zeros_on_line specializes New.grh to modulus 1, checks ζ(0)=−1/2≠0 via riemannZeta_zero, and uses completedRiemannZeta_one_sub and Complex.Gammaℝ_eq_zero_iff to show every zero of ζ outside {1,−2,−4,…} has Res=1/2.
Level 3 · Formal Lean Contract

Level 3 — Formal Lean Contract ​

The three extracted skeleton modules below correspond to src/New/Reduction/Zeros/Criterion.lean, src/New/Reduction/OneSidedBound.lean, and src/New/Main.lean at pinned upstream commit 41c2716658c42ba08eb0648994a2efe83082a95c (41c2716658c4, leanprover/lean4:v4.37.0-rc1, Mathlib rev 31ce06eaadf4a200c0e1407c5f10953cf606b8f8). Note that New.eventually_primeRemainder_le_mul_rpow (src/New/Reduction/OneSidedBound.lean:204) is the live declaration name in Lean, whereas upstream's INDEX.md:21 prints eventually_primeRemainder_le_rpow.

Verification status (audit/verification-status.json): Local Lean compilation and kernel replay remain unverified-locally; local static token scanning has scan_scope: entry (covering only Challenge.lean, src/Main.lean, and src/Statements.lean), so these Stage 01 modules have not been locally compiled or statically scanned. Proof bodies in the embedded skeletons below are intentionally replaced with extraction stubs carrying exact upstream line ranges and SHA-256 digests. Continue to The Main Cancellation Inequality and Theorems A & B to examine New.star_inequality.

theorem New.LFunction_ne_zero_of_primeRemainder_le — Upstream source (src/New/Reduction/Zeros/Criterion.lean L35-L90)

lean
/-- **One-sided criterion.** Let `q₀` be a positive multiple of `8`, let `d₀ ≡ 7` mod `8` be prime
to `q₀`, and let `β > 1/2`. Suppose that for each prime `d ≡ d₀` mod `q₀` the remainder
`primeRemainder d q₀ x = ∑_{n ≤ x} λ(n) (1/n - 1/x) - log x / φ(q₀) - c` is at most `A * x ^ (β - 1)`
for some `A` and all large `x`. Here `λ(n) = Λ(n) (1 - (n/d))` for `n ≡ 1` mod `q₀` and `0` otherwise,
and `c` is the constant for which the remainder tends to `0`. Then `L(ρ, ψ) ≠ 0` for every
character `ψ` modulo `q₀` and every `ρ ≠ 1` with `re ρ > β`. -/
theorem New.LFunction_ne_zero_of_primeRemainder_le {q₀ : ℕ} [NeZero q₀] (hq₀ : 8 ∣ q₀) {d₀ : ℕ}
    (hd₀_mod : d₀ % 8 = 7) (hd₀_cop : d₀.Coprime q₀) {β : ℝ} (hβ : 1 / 2 < β)
    (h_bound : ∀ d : Primes, (d : ℕ) ≡ d₀ [MOD q₀] →
      ∃ A : ℝ, ∀ᶠ x : ℝ in atTop, primeRemainder d q₀ x ≤ A * x ^ (β - 1))
    (ψ : DirichletCharacter ℂ q₀) {ρ : ℂ} (hρ_ne : ρ ≠ 1) (hρ_re : β < ρ.re) :
    ψ.LFunction ρ ≠ 0 := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Reduction/Zeros/Criterion.lean:35-90 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=45 body_sha256=dee53546115f07956df438a6dd34a213cb6cb1775d14fde132a1c579e7a308de]

lemma New.Data.primeRemainder_le — Upstream source (src/New/Reduction/OneSidedBound.lean L31-L71)

lean
/-- Let `q₀ = P.q₀` and `d = P.d` be the modulus and the prime of the parameters `P`. Let
`R_q(y) = primeRemainder d q y = ∑_{n ≤ y} λ(n) (1/n - 1/y) - log y / φ(q) - c_q`. Admissible data
`D` for `P` include scales `x = D.x`, `x₁ = D.x₁` and `b` (`D.logB = log b`) with
`(log b) ^ 100 ≤ x`, `x ^ 10⁶ ≤ x₁`, `x₁ ^ 10⁶ ≤ b` and `log log b ≥ 10¹² P.constantBound`, and an
integer `m = D.m` in `[√x, 2 √x]`. Then `R_{q₀}(x) ≤ φ(q₀) log⁶ b / m + |R_{q₀}(x₁)| + log
b · |R₁(x₁)|`. -/
lemma New.Data.primeRemainder_le {P : Parameters} (D : Data P) :
    primeRemainder P.d P.q₀ D.x ≤ P.q₀.totient * D.logB ^ 6 / D.m +
      |primeRemainder P.d P.q₀ D.x₁| + D.logB * |primeRemainder P.d 1 D.x₁| := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Reduction/OneSidedBound.lean:31-71 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=33 body_sha256=d258e645e4a0040c279b57deae65dfb70753b2605eb548577a12e7f7a3ddbb1c]

lemma New.eventually_exists_data_scales — Upstream source (src/New/Reduction/OneSidedBound.lean L73-L93)

lean
/-- Let `0 < ε < 1/100`. A term `D : Data P` (admissible data) bundles all the choices that the main
inequality needs, among them integer scales `x`, `x₁`, `b` with `x ^ 10⁶ ≤ x₁` and `x₁ ^ 10⁶ ≤ b`
(`D.logX₁ = log x₁`, `D.logB = log b`) and a power of two `m = D.m` in `[√x, 2 √x]`. For every large
integer `x` such data exist with `D.x = x`, `log b ≤ 2 x ^ ε`, `√x ≤ m` and
`x ^ (ε / 12) ≤ log x₁`. -/
lemma New.eventually_exists_data_scales (P : Parameters) {ε : ℝ} (hε : 0 < ε) (hε_lt : ε < 1 / 100) :
    ∀ᶠ x : ℕ in atTop, ∃ D : Data P, D.x = x ∧ D.logB ≤ 2 * (x : ℝ) ^ ε ∧
      (x : ℝ) ^ (1 / 2 : ℝ) ≤ D.m ∧ (x : ℝ) ^ (ε / 12) ≤ D.logX₁ := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Reduction/OneSidedBound.lean:73-93 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=14 body_sha256=e856c8c488bc96ba524f493dd5e237ddf5b1856477eaa3e1e1c8bfc4d11d3dad]

lemma New.eventually_abs_primeRemainder_exp_le — Upstream source (src/New/Reduction/OneSidedBound.lean L95-L121)

lean
/-- Let `q₀ = P.q₀` and `d = P.d` be the modulus and the prime of the parameters `P`, and let
`ε > 0`. Let `R_q(y) = primeRemainder d q y = ∑_{n ≤ y} λ(n) (1/n - 1/y) - log y / φ(q) - c_q`. For
all large integers `x` and all `l ≥ x ^ (ε / 12)`, the values `|R_{q₀}(exp l)|` and `|R₁(exp l)|`
are at most `x ^ (-2)`, by the prime number theorem. -/
lemma New.eventually_abs_primeRemainder_exp_le (P : Parameters) {ε : ℝ} (hε : 0 < ε) :
    ∀ᶠ x : ℕ in atTop, ∀ l : ℝ, (x : ℝ) ^ (ε / 12) ≤ l →
      |primeRemainder P.d P.q₀ (exp l)| ≤ (x : ℝ) ^ (-2 : ℝ) ∧
      |primeRemainder P.d 1 (exp l)| ≤ (x : ℝ) ^ (-2 : ℝ) := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Reduction/OneSidedBound.lean:95-121 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=20 body_sha256=8ed1781b483a244eefa709c96846f45d97d50912437a759a801696609cc261c1]

lemma New.eventually_primeRemainder_natCast_le — Upstream source (src/New/Reduction/OneSidedBound.lean L123-L159)

lean
/-- The one-sided bound at integers. Let `q₀ = P.q₀` and `d = P.d` be the modulus and the prime of
the parameters `P`, and let `0 < ε < 1/100`. Let
`R(y) = primeRemainder d q₀ y = ∑_{n ≤ y} λ(n) (1/n - 1/y) - log y / φ(q₀) - c`, where
`λ(n) = Λ(n) (1 - (n/d))` for `n ≡ 1` modulo `q₀` and `0` otherwise, `(·/d)` is the Legendre symbol,
and `c` is the constant with `R(y) → 0`. Then `R(x) ≤ (64 φ(q₀) + 3) x ^ (-1/2 + 6 ε)` for all large
integers `x`. -/
lemma New.eventually_primeRemainder_natCast_le (P : Parameters) {ε : ℝ} (hε : 0 < ε)
    (hε_lt : ε < 1 / 100) :
    ∀ᶠ x : ℕ in atTop,
      primeRemainder P.d P.q₀ x ≤ (64 * P.q₀.totient + 3) * (x : ℝ) ^ (-1 / 2 + 6 * ε) := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Reduction/OneSidedBound.lean:123-159 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=28 body_sha256=274e16b951c6bce19c91285bcabf10a9ac2e3dfe94c23931f4d5eaa56596a9a0]

lemma New.primeRemainder_sub_primeRemainder_floor_le — Upstream source (src/New/Reduction/OneSidedBound.lean L161-L171)

lean
/-- Let `d` be a prime, `q > 0`, and `R_q(y) = primeRemainder d q y = ∑_{n ≤ y} λ(n) (1/n - 1/y) -
log y / φ(q) - c_q`. Then `R_q(y) - R_q(⌊y⌋) ≤ 26 / y` for `y ≥ 2`. -/
lemma New.primeRemainder_sub_primeRemainder_floor_le {d : ℕ} [Fact d.Prime] {q : ℕ} [NeZero q] {y : ℝ}
    (hy : 2 ≤ y) : primeRemainder d q y - primeRemainder d q ⌊y⌋₊ ≤ 26 / y := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Reduction/OneSidedBound.lean:161-171 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=8 body_sha256=e7dab710776a53b89f6a0336174b244f917ebff229653ed1b882e55d15a0a126]

lemma New.natFloor_rpow_le_two_mul_rpow — Upstream source (src/New/Reduction/OneSidedBound.lean L173-L185)

lean
/-- For `y ≥ 2` and `-1 ≤ t ≤ 0` we have `⌊y⌋ ^ t ≤ 2 y ^ t`, since `y / 2 ≤ ⌊y⌋`. -/
lemma New.natFloor_rpow_le_two_mul_rpow {y t : ℝ} (hy : 2 ≤ y) (ht_ge : -1 ≤ t) (ht_le : t ≤ 0) :
    (⌊y⌋₊ : ℝ) ^ t ≤ 2 * y ^ t := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Reduction/OneSidedBound.lean:173-185 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=11 body_sha256=a57c6095f4ff632a6c1d631e686b325f74002bd4a83886a6ec5aa84a984de515]

lemma New.dvd_two_mul_succ_and_not_dvd_succ — Upstream source (src/New/Reduction/OneSidedBound.lean L187-L199)

lean
/-- If `q₀ > 0` is even and `d ≡ q₀ / 2 - 1` modulo `q₀`, then `q₀` divides `2 (d + 1)` but not
`d + 1`. This is the form of the congruence in `Parameters`. -/
lemma New.dvd_two_mul_succ_and_not_dvd_succ {q₀ d : ℕ} (hq₀_pos : 0 < q₀) (hq₀_even : 2 ∣ q₀)
    (hd : d ≡ q₀ / 2 - 1 [MOD q₀]) : q₀ ∣ 2 * (d + 1) ∧ ¬q₀ ∣ d + 1 := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Reduction/OneSidedBound.lean:187-199 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=10 body_sha256=3d801da2e3a02daeaf0a23bc6123c2b1efe9061fdd7efd038cb430ad7bf6235c]

theorem New.eventually_primeRemainder_le_mul_rpow — Upstream source (src/New/Reduction/OneSidedBound.lean L201-L235)

lean
/-- **One-sided bound.** Let `q₀ > 0` be a multiple of `18480`, let `d ≡ q₀ / 2 - 1` modulo `q₀` be
a prime, and let `ε > 0`. Then `R = primeRemainder d q₀` satisfies
`R(y) ≤ (128 φ(q₀) + 32) y ^ (-1/2 + ε)` for all large real `y`. -/
theorem New.eventually_primeRemainder_le_mul_rpow {q₀ : ℕ} [NeZero q₀] (hq₀ : 18480 ∣ q₀) {d : ℕ}
    [hd_prime : Fact d.Prime] (hd : d ≡ q₀ / 2 - 1 [MOD q₀]) {ε : ℝ} (hε : 0 < ε) :
    ∀ᶠ y : ℝ in atTop, primeRemainder d q₀ y ≤ (128 * q₀.totient + 32) * y ^ (-1 / 2 + ε) := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Reduction/OneSidedBound.lean:201-235 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=30 body_sha256=3c83f57c4fd982274a17d7539635c9b9dde4053c2c86ead0a79ed97a76a8f4d8]

theorem New.grh — Upstream source (src/New/Reduction/OneSidedBound.lean L237-L268)

lean
/-- **Main theorem**, in half-plane form: no Dirichlet `L`-function vanishes in `re s > 1/2`
(with `s ≠ 1` for a principal character). -/
theorem New.grh : DirichletLNonvanishingRightOfHalf := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Reduction/OneSidedBound.lean:237-268 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=30 body_sha256=f6919e573f5b751a08605b41ab6e0d2a8f25bd43777f19ee6d6044ded6ffad55]

lemma New.zeros_on_line — Upstream source (src/New/Main.lean L29-L36)

lean
/-- Assume `DirichletLNonvanishingRightOfHalf` (hypothesis `h`): Dirichlet L-functions do not vanish
for Re s > 1/2, the pole excepted. Then `DirichletLZerosOnLine` holds: every zero s of a Dirichlet
L-function with 0 < Re s < 1 has Re s = 1/2. -/
lemma New.zeros_on_line : DirichletLZerosOnLine := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Main.lean:29-36 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=4 body_sha256=afe0aec70950a7e5a23a83fc1f44baf57a9cc511ec664712648fbcb512c0f6f9]

lemma New.zeta_zeros_on_line — Upstream source (src/New/Main.lean L38-L44)

lean
/-- Assume `DirichletLNonvanishingRightOfHalf` (hypothesis `h`): Dirichlet L-functions do not vanish
for Re s > 1/2, the pole excepted. Then `RiemannZetaZerosOnLine` holds: every zero s of ζ outside
{1, −2, −4, …} has Re s = 1/2. -/
lemma New.zeta_zeros_on_line : RiemannZetaZerosOnLine := by
  sorry -- [EXTRACTED_STUB upstream=src/New/Main.lean:38-44 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=4 body_sha256=3417ac9fae1ad99e1dd5b30a47543acfe0a628250b3a28de3444b797e7aa902f]

Page Glossary ​

prime number
A whole number greater than 1 whose only positive whole-number divisors are 1 and itself; every integer above 1 factors uniquely into a product of them.
complex plane
The two-dimensional coordinate plane of numbers s = σ + it, where the horizontal coordinate σ = Re(s) sets decay rate and the vertical coordinate t = Im(s) sets oscillation frequency.
von Mangoldt function
The arithmetic weight Λ(n) equal to log p when n is a prime power pᵏ (k ≥ 1) and 0 otherwise, converting multiplicative prime factorizations into additive logarithms.
quadratic twist
Multiplying a Dirichlet character χ modulo N by the Legendre symbol (·/d) of an odd prime d coprime to N, yielding a non-principal character modulo N·d whose L-function family admits zero-density control.
Dirichlet character
A periodic multiplicative label χ : ℤ → ℂ modulo N that equals 0 when gcd(n, N) > 1, takes roots of unity when gcd(n, N) = 1, and satisfies χ(ab) = χ(a)χ(b).
Dirichlet L-function
The meromorphic continuation of ∑ χ(n) n⁻ˢ associated to a Dirichlet character χ, generalizing ζ(s) to track primes across residue classes modulo N.
Landau's lemma
A complex-analytic theorem stating that the Laplace or Dirichlet transform of a nonnegative function must have a singularity on the real axis at its abscissa of convergence, turning one-sided error bounds into zero-free half-planes.
critical line
The vertical line Re(s) = 1/2 bisecting the critical strip—the axis of mirror symmetry s ↦ 1 − s where the Riemann Hypothesis asserts all nontrivial zeros lie.
critical strip
The open vertical band 0 < Re(s) < 1 in the complex plane that contains every nontrivial zero of ζ(s) and of every Dirichlet L-function.
Riemann zeta function
The meromorphic function ζ(s) extending ∑ n⁻ˢ to all of ℂ ∖ {1}, linking prime numbers via its Euler product to zeros in the complex plane.
trivial zero
A zero at a non-positive integer forced purely by poles of the gamma factor in the functional equation, carrying no hidden information about prime fluctuations.