grh-compacta Lean artifact read back into mathematics

Chapter I · Unit 154

The inequality (⋆), the one-sided bound for the remainder of the weighted prime sum, the generalised Riemann hypothesis, and the passage to the critical line

note and structured proofs · 5 declarations · 5 structured proofs · 1 note

The top of the argument. (\star): for admissible data D, m \cdot \operatorname{rem} \le (\log b)^2 \cdot \mathcal{B}, from Theorems A–B (a long independent family of rows of small index with short lifts) against Theorem C (the covolume is at least the main amount). The one-sided bound: R_{d,N_0}(x) \le x^{8\varepsilon - 1/2} for large x, by choosing the second scale x_1 in a window where R_{N_0} - (\operatorname{towerDeg}/\#\operatorname{thick}) \cdot R_1 is tiny and writing R_{N_0}(x) through \operatorname{rem}. GRH: a zero right of 1/2 is excluded by the one-sided criterion (Landau) applied to the class N_0/2 - 1 modulo N_0 = 18480q. Then the functional equation gives the zeros on the critical line, for Dirichlet L-functions and for \zeta.

Notes

What it holds · 5 declarations

What it takes for granted

Unit 54 · Period lattices and complex uniformization of polarized abelian varieties, Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing, Unit 106 · Class numbers and adelic fundamental domains of number fields, Unit 112 · Matrix determinant estimates and simultaneous eigenvectors, Unit 121 · Minkowski bounds and adelic reduction of Hermitian forms, Unit 140 · Good idempotents, labels and the transfer of traces between unitary groups, Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data, Unit 143 · The rows: target forms on an indefinite U(r), the volume of the chain of lifts as a product of lift volumes, and the height of each lift volume, Unit 147 · The exchange identity: theta integrals of complementary rank agree up to a constant, and cruder forms complete a family to a basis in the lower bound, Unit 148 · Translates of Poincaré series fill the rows: a Petersson-type second moment along a Bessel subgroup, Unit 150 · Theta functions of the CM curve: periods and scales, tight frames, the integral vacuum, Galois conjugates of jets, and divisibility of jets at non-split primes, Unit 151 · The endgame: the weighted prime sum and its remainder, the one-sided criterion (Landau), the choice of the second scale, and the statements and assembly of Theorems A, B and C, Unit 152 · The data of the proof: the parameters N₀ and d, the CM field E = K(ζ) and its places, the scales x, x₁, b, the ranks m, k, r, t, the order a, the comparison of sizes on the logarithmic scale, and the existence of admissible data at every large x, Unit 153 · The statements: the Riemann hypothesis and the generalised Riemann hypothesis for Dirichlet L-functions, in three forms

Unit 151 · The endgame: the weighted prime sum and its remainder, the one-sided criterion (Landau), the choice of the second scale, and the statements and assembly of Theorems A, B and C · 10 declarations
  • Data.exists_family_covolumeSq_le unit 151

    (Theorems A and B together.) For admissible data D there are a natural number n and rows y : Fin n → rows(D), linearly independent over ℂ, with (1 − 4/b_D²)·dim rows(D) ≤ n, with IndexLe(D, y, δ) for some δ ≤ 5·dim rows(D)·log(1 + b_D²)·𝓑(D), and with squared covolume of the untwisted lifts Θ_D(1)∘y at most exp(n·(h_main(D) − m_D·rem(D) + log b_D·𝓑(D))) at every automorphism σ of ℂ.

  • Data.IndexLe unit 151

    IndexLe(D, y, δ) for rows y : Fin n → rows(D) and a real δ: some function e from primes to reals has ∑_{l∈U} e(l) ≤ δ for every finite set U, and for every prime l, every embedding ι above l and every twist ϑ with l prime to the level of ϑ there is an integral matrix u at ι with |det u|_ι ≥ exp(−e(l)) such that every row ∑_k u_{ik}·y_k has ι-integral lift Θ_D(ϑ)(∑_k u_{ik}·y_k).

  • Data.mainHeight unit 151

    h_main(D) = m_D·k_D·𝖴(D), the main amount (𝖴 = D.dirCost, the cost of one direction).

  • Data.remainder unit 151

    rem(D) = ∑_{τ ∈ tops(D)} (D.primeSum(a_D, τ) − D.mainAsk): the weighted prime sums at the tops less their expected value.

  • Data.abs_mainHeight_add_remainder_le unit 151

    Crude bound: |h_main(D)| + m_D·|rem(D)| ≤ b_D²·x_D⁹⁹.

  • Data.integral_forms_long unit 151

    (Theorem C.) For admissible data D, rows y : Fin n → rows(D), reals δ and V: if y is linearly independent, (1 − 4/b_D²)·dim rows(D) ≤ n, IndexLe(D, y, δ), and the squared covolume of Θ_D(1)∘y is at most exp(V) at every automorphism σ of ℂ, then dim rows(D)·(h_main(D) − 3·log b_D·𝓑(D)) ≤ V + 2δ.

  • isPolar_primeError unit 151

    For a prime d ≡ 7 mod 8 and M ≥ 1 coprime to d, the function v ↦ R_{d,M}(e^v) is polar (IsPolar), with residue at s equal to ∑_ξ (ord_s L̃(s, ξ) − ord_s L̃(s, ξ·(·/d)))/(φ(M)·s(1 − s)), ξ over the Dirichlet characters modulo M.

  • IsPolar.exists_window_sub_mul_le unit 151

    If E and E′ are polar, then for all large t and every X ∈ [0, e^t] there is u ∈ [t, t²] with E(u) − X·E′(u) ≤ e^(−t).

  • Data.remainder_eq unit 151

    rem(D) = a_D·(#thick(D)·(R_{d,N₀}(x_D) − R_{d,N₀}(x₁_D)) + #tops(D)·R_{d,1}(x₁_D)).

  • entireL_ne_zero_of_primeError_le unit 151

    One-sided criterion: for M ≥ 1, a unit a modulo M and β > 1/2 such that every prime d ≡ a mod M is ≡ 7 mod 8, coprime to M, and has R_{d,M}(x) ≤ x^(β − 1) for all large x: L̃(ρ, χ) ≠ 0 for every complex ρ with Re ρ > β and every Dirichlet character χ modulo M.

Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing · 1 declaration
  • LevelPlaces.LevelForm.covolumeSq unit 102

    The squared covolume of a finite family y of forms at an automorphism σ of ℂ: the absolute value of the determinant of the matrix of products ⟨y_i, y_l⟩_σ of the σ-conjugated values.

Unit 143 · The rows: target forms on an indefinite U(r), the volume of the chain of lifts as a product of lift volumes, and the height of each lift volume · 1 declaration
  • Data.Θ unit 143

    Θ_D(ϑ): the composite of the m theta lifts for the twist ϑ, restricted to the rows (a ℂ-linear map); Θ_D(1) is the untwisted lift.

Unit 148 · Translates of Poincaré series fill the rows: a Petersson-type second moment along a Bessel subgroup · 1 declaration
Unit 140 · Good idempotents, labels and the transfer of traces between unitary groups · 1 declaration
Unit 152 · The data of the proof: the parameters N₀ and d, the CM field E = K(ζ) and its places, the scales x, x₁, b, the ranks m, k, r, t, the order a, the comparison of sizes on the logarithmic scale, and the existence of admissible data at every large x · 14 declarations
  • Data.budget unit 152

    𝓑(D) = f_D·a_D·(log b_D)³, the error budget.

  • Data.HasLogBound.pos unit 152

    If a real F has a lower size bound exp(l) ≤ F for the data D, then F > 0.

  • Data.le_of_hasLogBound unit 152

    Size comparison for the data D: if |F| ≤ exp(l) and exp(l′) ≤ G (bounds found by instance search from the sizes of the factors on the logarithmic scales of D) and l < l′ (by default proved from the scale conditions of D), then F ≤ G.

  • exists_data unit 152

    For parameters P and a real ε with 0 < ε/6 and ε < 1/100: for all large x there are admissible data D for P with x_D = x, log x₁_D = x^(ε/6), (10⁶·log x)² ≤ log x₁_D, log log b_D = ε·log x and towerDeg(s_D)/log b_D ≤ #thick(D).

  • Parameters.coprime_N₁_d unit 152

    For every s, N₁(P, s) = N₀·towerDeg(s) is coprime to d.

  • Data.hasLogLower_of_le unit 152

    If G ≤ F and exp(l′) ≤ G is a lower size bound of G for the data D, then exp(l′) ≤ F (a lower size bound of F).

  • Data unit 152

    Admissible data for parameters P (the structure Data P): real numbers log x, log b, log x₁ and natural numbers s, m, r with s ≤ 32·log x; a finite set thick of infinite places of E(P, s); a map g : {0, 1} → ℕ; an integer π_g of K(P); subject to: (scale) 10¹²·c(P) ≤ log log b, 100·log log b ≤ log x, 10⁶·log x ≤ log x₁, 10⁶·log x₁ ≤ log b and 6·log log x₁ ≤ log log b (the only conditions that mention log x₁); √x ≤ m ≤ 2√x and x⁵ ≤ r ≤ 3x⁵, where x = exp(log x); m = 2^(e+1) and s = 22(e + 1) for some natural e, and r = 3^(e′+1) for some natural e′; (class condition) for every divisor m′ of N₁(P, s) with m′ ∣ N₀·3^(⌊log₃ s⌋+5), every place σ ∈ thick has class −1 modulo m′; (three-term condition) with φ the class of a place modulo the power of 2 dividing N₁(P, s) given by P.two_pow_dvd_N₁: for all naturals 0 < i < j ≤ 324·s and all σ, τ, ρ ∈ thick, φ(τ/σ)^j = φ(ρ/σ)^i implies φ(τ/σ) = 1; g₀ = g(0) and g₁ = g(1) are distinct primes with g_i ≡ 1 mod N₁(P, s)·d, M_ω(P, s)² ∣ g_i − 1 and b¹⁰ ≤ g_i ≤ b¹¹, where b = exp(log b); π_g·π̄_g = g₀g₁; (prime windows) for every real U with 100·log b ≤ U ≤ 2^s there is a prime p ≡ 1 mod M_ω(P, s)² with U ≤ log p ≤ U + √(log b). (Completed after the writer of Chapter I found s ≤ 32·log x and M_ω² ∣ g_i − 1 missing; read against AdmissibleData.lean, lines 22–45.)

  • towerDeg unit 152

    towerDeg(s) = 3^(⌊log₃ s⌋ + 5)·2^s.

  • Data.tops unit 152

    tops(D): the infinite places of E whose class in (ℤ/N₁)^× is ≡ 1 mod N₀.

  • Parameters.card_placeClass_eq unit 152

    Exactly towerDeg(s) of the infinite places of E (read in (ℤ/N₁)^×) are ≡ 1 mod N₀.

  • Parameters unit 152

    Parameters: natural numbers N₀ and d with 18480 ∣ N₀, d prime, N₀ ∣ 2(d + 1) and N₀ ∤ d + 1 (that is, d ≡ N₀/2 − 1 mod N₀).

  • Parameters.instHeegD unit 152

    For parameters P, d = P.d is a prime ≡ 7 mod 8 (instance PrimeSevenModEight).

  • Data.c_ge unit 152

    For parameters P: 64 ≤ c(P), N₀ ≤ c(P), d ≤ c(P) and φ(N₀) ≤ c(P), where c(P) is the constant of the parameters (Parameters.c). Used through instance search (the comparisons of sizes), not by name.

  • Parameters.card_infinitePlace_E unit 152

    For parameters P and every natural s, the number of infinite places of E(P, s) is towerDeg(s)·φ(N₀). Used through instance search, not by name.

Unit 106 · Class numbers and adelic fundamental domains of number fields · 3 declarations
  • PrimeSevenModEight unit 106

    The class PrimeSevenModEight d: d is prime and d % 8 = 7.

  • entireL unit 106

    L̃(s, χ) = entireL χ s: L(s, χ) if χ is not principal, and the entire function (s − 1)·L(s, χ) (with its limit at s = 1) if χ is principal.

  • LFunction_one_sub_eq_zero unit 106

    Symmetry of zeros: for N ≠ 0, a Dirichlet character χ modulo N and s with L(s, χ) = 0, Re s ≠ 0 and s ≠ 1: the gamma factor of χ vanishes at s (a pole of Γ, where Mathlib's Γ is 0) or L(1 − s, χ⁻¹) = 0.

Unit 153 · The statements: the Riemann hypothesis and the generalised Riemann hypothesis for Dirichlet L-functions, in three forms · 3 declarations
From Lean's own library · 26 facts
  • neg_le_abs

    −a ≤ |a| for every real a.

  • le_abs_self

    a ≤ |a| for every real a.

  • LinearIndependent.fintype_card_le_finrank

    A linearly independent family indexed by a finite type in a finite-dimensional space has at most as many members as the dimension.

  • Fintype.card_fin

    The finite type Fin n has n elements.

  • Real.tendsto_log_atTop

    log x → ∞ as x → ∞.

  • Filter.Tendsto.const_mul_atTop

    If f → ∞ and r > 0, then r·f → ∞.

  • Filter.filter_upwards

    To show that a property holds eventually, it suffices to show it at every point where finitely many eventually-true properties hold.

  • Real.log_exp

    log(e^x) = x.

  • Real.exp_mul

    e^(x·y) = (e^x)^y.

  • DirichletCharacter.LFunction_changeLevel

    For M ∣ N and χ modulo M with χ ≠ 1 or s ≠ 1: L(s, χ induced to modulus N) = L(s, χ)·∏_{p ∣ N prime}(1 − χ(p)p^(−s)).

  • DirichletCharacter.changeLevel_eq_one_iff

    The induced character is principal iff χ is.

  • DirichletCharacter.LFunctionTrivChar₁

    For N ≠ 0, the entire function equal to (s − 1)·L(s, 1_N) for s ≠ 1 (with its limit at s = 1).

  • IsUnit.of_mul_eq_one

    If a·b = 1 in a commutative monoid, then a is a unit.

  • ZMod.natCast_self

    The natural number n is 0 in ℤ/n.

  • ZMod.natCast_eq_zero_iff

    A natural number is 0 in ℤ/n iff n divides it.

  • Nat.mul_dvd_mul_iff_right

    For k > 0: m·k ∣ n·k iff m ∣ n.

  • Nat.Coprime.coprime_mul_right

    If a product is coprime to n, so is each of its factors (here the factor N₀).

  • DirichletCharacter.gammaFactor

    The gamma factor of χ: Γ_ℝ(s) if χ is even and Γ_ℝ(s + 1) if χ is odd, Γ_ℝ(s) = π^(−s/2)Γ(s/2).

  • Complex.Gammaℝ_ne_zero_of_re_pos

    Γ_ℝ(s) ≠ 0 when Re s > 0.

  • Complex.ext_iff

    Two complex numbers are equal iff their real and imaginary parts are.

  • Nat.or_exists_add_one

    Every natural number is 0 or n + 1 for some natural n.

  • riemannZeta_zero

    ζ(0) = −1/2.

  • DirichletCharacter.LFunction_modOne_eq

    For the character modulo 1, L(s, χ) = ζ(s).

  • riemannZeta_def_of_ne_zero

    For s ≠ 0, ζ(s) = Λ(s)/Γ_ℝ(s), Λ the completed zeta function.

  • completedRiemannZeta_one_sub

    Λ(1 − s) = Λ(s) (the functional equation).

  • Complex.Gammaℝ_eq_zero_iff

    Γ_ℝ(s) = 0 iff s = −2n for a natural number n (Mathlib's Γ is 0 at its poles).

Where it is used

Unit 155 · The five final theorems: the Riemann hypothesis and the generalised Riemann hypothesis for Dirichlet L-functions

Its files

1 module

The program check

5 of 5 statements stand at the lines the dossier gives; 5 structured proofs with 34 steps, 27 of them leaves, the longest of 4 lines; 34 steps quote exactly their lines. Checked 2026-11-26T07:36Z.

The check shows that the dossier describes the lines it cites. Whether the English is right is read when a note is written.