Choose a statement on the pages, or with the arrows above, to see its structured proof and its Lean text here.
The inequality (\star ). For parameters P and admissible data D for P (Lean's Data P): m_D\cdot \operatorname{rem}(D) \le (\log b_D)^{2}\cdot \mathcal{B}(D), where m_D = D.m is the number of theta lifts, \operatorname{rem}(D) = D.remainder is the remainder of the weighted prime sum (unit 151: the sum over the tops \tau of D.primeSum(a_D, \tau ) - D.mainAsk), b_D = \exp(D.logB) is the third scale of D, and \mathcal{B}(D) = D.budget = f_D\cdot a_D\cdot (\log b_D)^{3} is the error budget (f_D the number of infinite places of the field E of D, a_D = D.a the least multiple of N_1 that is at least x_D\cdot b_D).
New/Main.lean · the statement, line 121lemma star_inequality {P} {D : Data P} : D.m * D.remainder ≤ D.logB ^ 2 * D.budget :=
One-sided bound. For parameters P, with N_0 = P.N₀ and the prime d = P.d, and for every real \varepsilon with 0 < \varepsilon /6 and \varepsilon < 1/100 (hypothesis h): for all sufficiently large real x (Lean's ∀ᶠ x in atTop: there is X_0 such that the bound holds for every x \ge X_0), R_{d,N_0}(x) \le x^{(8\varepsilon + 1/2 - 1)}, that is x^{(8\varepsilon - 1/2)}; here R_{d,N_0}(x) = primeError d N_0 x is the remainder of the smoothed sum \sum _{\nu \le x, \nu \equiv 1 \bmod N_0} \Lambda (\nu )(1 - (\nu /d))(1/\nu - 1/x) over the integers \nu \equiv 1 \bmod N_0, prime powers included (at a prime p with (p/d) = -1 the factor 1 - (\nu /d) is 2 at odd powers of p and 0 at even ones; wording corrected after the second reading, a second-reader message) (unit 151), and x^y is the real power.
New/Main.lean · the statement, lines 149–150lemma eventually_primeError_le_rpow (P : Parameters) {ε : ℝ} (h : 0 < ε / 6 ∧ ε < 1 / 100) : ∀ᶠ x in atTop, primeError P.d P.N₀ x ≤ x ^ (8 * ε + 2⁻¹ - 1) := by
DirichletLNonvanishingRightOfHalf holds: for every natural number q \ne 0 (instance NeZero q), every Dirichlet character \chi modulo q with complex values and every complex number \rho with 1/2 < \operatorname{Re} \rho, if \chi is not the principal character or \rho \ne 1, then L(\rho , \chi ) \ne 0 (Mathlib's DirichletCharacter.LFunction).
New/Main.lean · the statement, line 174lemma New.grh : DirichletLNonvanishingRightOfHalf := fun q _ χ ρ hρ pole zero ↦ by
If DirichletLNonvanishingRightOfHalf holds (hypothesis h), then DirichletLZerosOnLine holds: for every natural number N \ne 0 (instance NeZero N), every Dirichlet character \chi modulo N and every complex s with 0 < \operatorname{Re} s, \operatorname{Re} s < 1 and L(s, \chi ) = 0, one has \operatorname{Re} s = 1/2.
New/Main.lean · the statement, line 194lemma New.zeros_on_line (h : DirichletLNonvanishingRightOfHalf) : DirichletLZerosOnLine :=
If DirichletLNonvanishingRightOfHalf holds (hypothesis h), then RiemannZetaZerosOnLine holds: every complex number s with \zeta (s) = 0, s not of the form -2(n + 1) for a natural number n, and s \ne 1, has \operatorname{Re} s = 1/2 (\zeta is Mathlib's riemannZeta).
New/Main.lean · the statement, lines 200–201lemma New.zeta_zeros_on_line (h : DirichletLNonvanishingRightOfHalf) : RiemannZetaZerosOnLine := fun s ↦ by
The proposition RiemannZetaZerosOnLine (the Riemann hypothesis): for every complex number s, if \zeta(s) = 0, if s is not of the form -2(n + 1) for any natural number n (that is, s is none of the trivial zeros -2, -4, -6, \ldots), and if s \ne 1, then \operatorname{Re} s = 1/2. Here \zeta is Mathlib's riemannZeta, the meromorphic continuation of \sum_{n\ge 1} n^{-s} to \mathbb{C}; Mathlib defines it at every complex number, also at the pole s = 1, where it takes a conventional finite value.
Statements.lean · the statement, line 3def RiemannZetaZerosOnLine : Prop :=
The proposition DirichletLNonvanishingRightOfHalf (the generalised Riemann hypothesis for Dirichlet L-functions, in half-plane form): for every natural number N with N \ne 0 (Lean's instance argument NeZero N), every Dirichlet character \chi modulo N with complex values, and every complex number s with 1/2 < \operatorname{Re} s, if \chi is not the principal character modulo N or s \ne 1, then L(s, \chi) \ne 0. Here L(s, \chi) is Mathlib's DirichletCharacter.LFunction χ s, the meromorphic continuation of \sum_{n\ge 1} \chi(n) n^{-s} (for the principal character it has a pole at s = 1, where Mathlib assigns a conventional value); a Dirichlet character modulo N is Mathlib's DirichletCharacter ℂ N, a multiplicative map \mathbb{Z}/N \to \mathbb{C} that vanishes off the units, and 1 is the principal character modulo N (1 on the units, 0 elsewhere).
Statements.lean · the statement, line 6def DirichletLNonvanishingRightOfHalf : Prop :=
The proposition DirichletLZerosOnLine (the generalised Riemann hypothesis for Dirichlet L-functions, critical-strip form): for every natural number N with N \ne 0 (instance NeZero N), every Dirichlet character \chi modulo N with complex values, and every complex number s with 0 < \operatorname{Re} s and \operatorname{Re} s < 1 and L(s, \chi) = 0, one has \operatorname{Re} s = 1/2. Here L(s, \chi) is Mathlib's DirichletCharacter.LFunction χ s, the meromorphic continuation of \sum_{n\ge 1} \chi(n) n^{-s} (for the principal character it has a pole at s = 1, where Mathlib assigns a conventional value); a Dirichlet character modulo N is Mathlib's DirichletCharacter ℂ N, a multiplicative map \mathbb{Z}/N \to \mathbb{C} that vanishes off the units, and 1 is the principal character modulo N (1 on the units, 0 elsewhere).
Statements.lean · the statement, line 10def DirichletLZerosOnLine : Prop :=
Structure. Parameters P consist of natural numbers N_0(P) and d(P) with: (dvd_{N,0}) 18480 \mid N_0(P); (d_{\mathrm{prime}}) d(P) is prime; (d_{\mathrm{congr}}) N_0(P) \mid 2(d(P) + 1) and N_0(P) \nmid d(P) + 1, i.e. d(P) \equiv N_0(P)/2 - 1 \bmod N_0(P).
New/Data/Different.lean · the statement, line 23@[local grind] structure Parameters where
Structure. Admissible data D over parameters P consist of: real numbers \mathit{logX}(D), \mathit{logB}(D), \mathit{logX}_1(D) (the logarithms of the scales x, b, x_1); natural numbers s(D), m(D), r(D); a finite set \operatorname{thick}(D) of infinite places of E(P, s(D)); a function g(D) : \{0, 1\} \to \mathbb{N}; an integer piG(D) of K = \mathbb{Q}(\sqrt{-d(P)}); and proofs of: (s_{\mathrm{le}}) s \le 32\cdot \mathit{logX} (writing s, \mathit{logX}, \ldots for the fields s(D), \mathit{logX}(D), \ldots being listed); (scale) 10^{12}\cdot c(P) \le \log \mathit{logB}, 100\cdot \log \mathit{logB} \le \mathit{logX}, 10^{6}\cdot \mathit{logX} \le \mathit{logX}_1, 10^{6}\cdot \mathit{logX}_1 \le \mathit{logB} and 6\cdot \log \mathit{logX}_1 \le \log \mathit{logB}, that is, with x = e^{\mathit{logX}}, x_1 = e^{\mathit{logX}_1}, b = e^{\mathit{logB}}: (\log b)^{100} \le x, x^{10^{6}} \le x_1, x_1^{10^{6}} \le b, (\log x_1)^{6} \le \log b and 10^{12}\cdot c(P) \le \log \log b; (m_{\mathrm{mem}}) e^{\mathit{logX}/2} \le m \le 2\cdot e^{\mathit{logX}/2}; (r_{\mathrm{mem}}) e^{5 \mathit{logX}} \le r \le 3\cdot e^{5 \mathit{logX}}; (m_{\mathrm{pow}}) there is a natural number e with m = 2^{e+1} and s = 22(e + 1) (so 2^s = m^{22}); (r_{\mathrm{pow}}) there is a natural number e with r = 3^{e+1}; (thick_eq_neg_one_mod) for every natural number m' and every proof h of m' \mid N_1(P, s): if m' divides N_0(P)\cdot 3^{\lfloor \log _3 s\rfloor +5}, then placeClass(P, h)(\sigma ) = -1 in (\mathbb{Z}/m')^\times for every \sigma \in \operatorname{thick} (the Lean binder is named m and hides the field m); (three_term) with \varphi = placeClass(P, h_2) the reduction \Phi (P, s) \to (\mathbb{Z}/2^{s+1})^\times (h_2 the proof Parameters.two_pow_dvd_N₁ of 2^{s+1} \mid N_1(P, s)): for all natural numbers i, j with 0 < i < j \le 324\cdot s and all \sigma , \tau , \rho \in \operatorname{thick}, \varphi (\tau /\sigma )^j = \varphi (\rho /\sigma )^i implies \varphi (\tau /\sigma ) = 1; (g_{\mathrm{prime}}) g(i) is prime for i = 0, 1; (g_modEq_one) g(i) \equiv 1 \bmod N_1(P, s)\cdot d(P); (dvd_g_sub_one) M\omega (P, s)^{2} divides g(i) - 1 (natural subtraction); (g_{\mathrm{injective}}) g is injective, i.e. g(0) \ne g(1); (g_{\mathrm{mem}}) (e^{\mathit{logB}})^{10} \le g(i) \le (e^{\mathit{logB}})^{11}; (norm_piG) piG\cdot \operatorname{conj}(piG) = g(0)\cdot g(1) in the ring of integers of K; (exists_prime_window) for every real U with 100\cdot \mathit{logB} \le U \le 2^s there is a prime p with p \equiv 1 \bmod M\omega (P, s)^{2} and U \le \log p \le U + \sqrt{\mathit{logB}}.
New/Data/AdmissibleData.lean · the statement, line 22structure Data (P : Parameters) where
Definition. For parameters P, c(P) is the real number C + (2\cdot d(P) + 6) + (N_0(P) + |chowlaSelbergConst(d(P))| + \sum _\xi |\log \lVert \Phi '_{N_0(P)}(\xi )\rVert |), where C is the natural number chosen (by Classical.choose) from Parameters.exists_isJetConjugate_generator P, the sum runs over the primitive N_0(P)-th roots of unity \xi in \mathbb{C}, \Phi _{N_0(P)} is the N_0(P)-th cyclotomic polynomial over \mathbb{C} and \Phi '_{N_0(P)} its derivative, and chowlaSelbergConst(d(P)) = \gamma - \operatorname{Re} L'/L(1, \chi _K) (\gamma Euler's constant). Every summand is nonnegative, so c(P) is at least each of them; the development uses c(P) to bound 64, N_0(P), d(P) and \varphi (N_0(P)) (Data.c_ge, Magnitudes.lean 21–22), |chowlaSelbergConst(d(P))| (ShortAndEnough.lean 76) and the chosen constant C (New/Curve/ConjugatesOfJets.lean 169–198), and admissible data make it negligible against their scales (their field scale asks 10^{12}\cdot c(P) \le \log \log b(D)). (The source's gloss, New/Main.lean 91, that c(P) 'bounds what depends on N_0, d only' is not a statement: c(P) + 1 also depends on N_0(P) and d(P) only.)
New/Data/AdmissibleData.lean · the statement, line 15def Parameters.c P := (exists_isJetConjugate_generator P).choose + (2 * P.d + 6) +
Definition (abbreviation). For admissible data D over parameters P, N_1(D) = N_1(P, s(D)) = N_0(P)\cdottowerDeg(s(D)), a natural number.
New/Data/AdmissibleData.lean · line 69abbrev N₁ := P.N₁ D.s
Definition (reducible). For admissible data D over parameters P, the number field E(D) = E(P, s(D)) = K(P)(\zeta (P, s(D))), \zeta (P, s(D)) a primitive root of unity of order N_1(P, s(D)); Lean derives for it the instances NumberField, CharZero and IsCMField (E(D) is a CM field).
New/Data/AdmissibleData.lean · line 62@[reducible] def E := P.E D.s deriving NumberField, CharZero, IsCMField
Definition. For admissible data D over parameters P, the order a(D) = roundUp(D, x(D)\cdot b(D)), the least multiple of N_1(D) that is at least x(D)\cdot b(D) (a natural number).
New/Data/AdmissibleData.lean · line 101def a := D.roundUp (D.x * D.b)
Definition (abbreviation). For admissible data D over parameters P, f(D) = numInfPlaces(E(D)), the number of infinite places of E(D).
New/Data/AdmissibleData.lean · line 72abbrev f := numInfPlaces D.E
Definition. For admissible data D over parameters P, tops(D) is the finite set of infinite places \tau \in \Phi (D) with placeClass(P, h)(\tau ) = 1 in (\mathbb{Z}/N_0(P))^\times, where h is the proof that N_0(P) divides N_1(D) = N_0(P)\cdottowerDeg(s(D)): the tops are the places whose class in (\mathbb{Z}/N_1(D))^\times is \equiv 1 \bmod N_0(P).
New/Data/AdmissibleData.lean · line 127def tops : Finset D.Φ := {τ | P.placeClass (P.N₀.dvd_mul_right _) τ = 1}
Definition (abbreviation). For admissible data D over parameters P, the error budget budget(D) = f(D)\cdot a(D)\cdot \mathit{logB}(D)^{3} = f\cdot a\cdot (\log b)^{3}, a real number.
New/Data/AdmissibleData.lean · line 143abbrev budget := D.f * D.a * D.logB ^ 3
The weight of the prime sums. For a natural number d that is prime (instance Fact (Nat.Prime d)), a natural number M and a natural number \nu: \lambda_{d,M}(\nu) = \Lambda(\nu)\cdot(1 - \chi_d(\nu)) if \nu \equiv 1 mod M (that is, (\nu : \mathbb{Z}/M) = 1), and \lambda_{d,M}(\nu) = 0 otherwise; \Lambda is von Mangoldt's function (Mathlib's vonMangoldt.residueClass) and \chi_d(\nu) = (\nu/d) \in \{-1, 0, 1\} is the Legendre symbol, i.e. the quadratic character of \mathbb{Z}/d (chiK d), read as a real number. \Lambda(\nu) \ne 0 only for prime powers \nu = p^{j} (j \ge 1), so the congruence \nu \equiv 1 mod M is a condition on p^{j}, not on p, and \chi_d(p^{j}) = \chi_d(p)^{j}: the factor 1 - \chi_d(\nu) is 0 when \chi_d(p) = 1; when \chi_d(p) = -1 it is 2 for odd j and 0 for even j; and it is 1 when p = d. The definition allows every prime d. Only for d \equiv 3 mod 4 (as in the later criterion, where d \equiv 7 mod 8) is \chi_d the quadratic character of \mathbb{Q}(\sqrt-d), so that \chi_d(p) = -1 means that p is inert in \mathbb{Q}(\sqrt-d); for d = 5 and p = 3, (3/5) = -1 although 3 splits in \mathbb{Q}(\sqrt-5).
New/Endgame/PrimeError.lean · line 25def lambdaClass ν := @residueClass M 1 ν * (1 - chiK d ν)
L̃(s, χ) = entireL χ s, for a Dirichlet character χ modulo N ≠ 0: L(s, χ) if χ is not principal, and, if χ is principal, Mathlib's LFunctionTrivChar₁ N, the entire continuation of (s − 1)·L(s, χ): the function equal to (s − 1)·L(s, χ) for s ≠ 1 and to ∏_{p∣N}(1 − 1/p) = φ(N)/N at s = 1 (Mathlib at the pin, DirichletContinuation.lean 337–339; for N = 1 the empty product 1).
Lib/General/NumberTheory/QuadField.lean · line 31def entireL := ite (χ = 1) (DirichletCharacter.LFunctionTrivChar₁ N) χ.LFunction
The remainder of the weighted prime sum. For a prime d (instance Fact (Nat.Prime d)), a natural number M \ne 0 (instance NeZero M) and a real number x: R_{d,M}(x) = S_{d,M}(0, x) - S_{d,M}(1, x) - \log x/\varphi(M) - \operatorname{Re} G_{d,M}(1), that is \sum_{1\le\nu\le x} \lambda_{d,M}(\nu)\cdot(1/\nu - 1/x) - \log x/\varphi(M) - \operatorname{Re} G_{d,M}(1): a smoothed sum over the prime powers \nu = p^{j} \le x with \nu \equiv 1 mod M, each weighted by \Lambda(\nu)(1 - (\nu/d)), less the main term \log x/\varphi(M) and the constant \operatorname{Re} G_{d,M}(1); \lambda_{d,M}(\nu) = lambdaClass d M \nu = \Lambda(\nu)\cdot(1 - \chi_d(\nu)) if \nu \equiv 1 mod M and 0 otherwise (\Lambda von Mangoldt's function, \chi_d(\nu) = (\nu/d) the Legendre symbol, the quadratic character of \mathbb{Z}/d). \Lambda(\nu) \ne 0 only for prime powers \nu = p^{j} (j \ge 1), so the congruence \nu \equiv 1 mod M is a condition on p^{j}, not on p, and \chi_d(p^{j}) = \chi_d(p)^{j}: the factor 1 - \chi_d(\nu) is 0 when \chi_d(p) = 1; when \chi_d(p) = -1 it is 2 for odd j and 0 for even j; and it is 1 when p = d. The definition allows every prime d. Only for d \equiv 3 mod 4 (as in the later criterion, where d \equiv 7 mod 8) is \chi_d the quadratic character of \mathbb{Q}(\sqrt-d), so that \chi_d(p) = -1 means that p is inert in \mathbb{Q}(\sqrt-d); for d = 5 and p = 3, (3/5) = -1 although 3 splits in \mathbb{Q}(\sqrt-5).
New/Endgame/PrimeError.lean · lines 38–39def primeError [NeZero M] x := lambdaSum d M 0 x - lambdaSum d M 1 x - x.log / φ M - (logDerivMean d M 1).re
Definition. For admissible data D over parameters P and an infinite place \sigma \in \Phi (D), the nominal weight nominalWeight(D, \sigma ) = a(D)/x(D) if \sigma \in \operatorname{thick}(D) and a(D)/x_1(D) otherwise, a real number.
New/Data/AdmissibleData.lean · line 134def nominalWeight (σ : D.Φ) := D.a / ite (σ ∈ D.thick) D.x D.x₁
Definition. For admissible data D over parameters P, a real number y and an infinite place \sigma \in \Phi (D), primeSum(D, y, \sigma ) = \sum _{1 \le \nu \le a(D)} lambdaClass(d(P), 1, \nu )\cdot \max(y/\nu - nominalWeight(D, placeOfInt(D, -\nu )\cdot \sigma), 0), a real number; here lambdaClass(d(P), 1, \nu ) = \Lambda (\nu )(1 - \chi _K(\nu )) (\Lambda von Mangoldt's function, \chi _K(\nu ) = (\nu /d(P)) the Legendre symbol) and the product placeOfInt(D, -\nu )\cdot \sigma is taken in the group \Phi (D).
New/Data/AdmissibleData.lean · the statement, line 138def primeSum σ := ∑ ν ∈ .Icc 1 D.a,
ℓ(d) = γ − Re L̃′/L̃(1, 1·χ_d), γ Euler's constant (the twist of the character modulo 1 by the Legendre symbol modulo d).
Lib/General/NumberTheory/QuadField.lean · line 35def chowlaSelbergConst := .eulerMascheroniConstant - (logDeriv (entireL (@quadTwist 1 1 d _)) 1).re
For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): Ask_main(D) = a_D\cdot(\log a_D - 1 - \ell(d) - \overline{w}_D), where \ell(d) = chowlaSelbergConst d and \overline{w}_D = (1/f_D)\cdot\sum_{\tau} \log w_D(\tau) is the mean, over all f_D infinite places \tau of E, of the logarithm of the nominal weight w_D(\tau) = a_D/x_D if \tau is thick and a_D/x_{1,D} otherwise.
New/Endgame/ShortAndEnough.lean · the statement, line 36noncomputable def Data.mainAsk :=
For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): \operatorname{rem}(D) = \sum_{\tau \in \mathrm{tops}(D)} (\operatorname{Ask}(D, a_D, \tau) - Ask_main(D)), where \operatorname{Ask}(D, y, \sigma) = D.primeSum y \sigma = \sum_{1\le\nu\le a_D} \lambda_{d,1}(\nu)\cdot(y/\nu - w_D((-\nu)\cdot\sigma))^{+} ((t)^{+} = \max(t, 0); (-\nu)\cdot\sigma the product, in the group of infinite places of E identified with (\mathbb{Z}/N_{1})^\times, of the place named by -\nu and \sigma, where the place named by -\nu is the class of -\nu mod N_{1} when \nu is prime to N_{1} and the identity place otherwise, Data.placeOfInt) and \operatorname{tops}(D) is the set of infinite places whose class is \equiv 1 mod N_{0}.
New/Endgame/ShortAndEnough.lean · line 42noncomputable def Data.remainder := ∑ τ ∈ D.tops, (D.primeSum D.a τ - D.mainAsk)
For admissible data D, \operatorname{rows}(D) = \operatorname{goodForms}(D, \operatorname{spaceY}(D, 0)), the good forms on Y_0.
New/Trace/GoodIdempotent.lean · line 118abbrev rows := D.goodForms (D.spaceY 0)
For admissible data D, \operatorname{rowDim}(D) is the complex dimension of \operatorname{rows}(D).
New/Trace/GoodIdempotent.lean · line 121abbrev rowDim := Module.finrank ℂ D.rows
For parameters P, admissible data D and an m-fold twist \vartheta: D.Θ \vartheta is the \mathbb{C}-linear map from the rows (D.rows, the good forms on Y_0) given by D.iotaAtLevel \vartheta composed with the inclusion of the rows: the chain of the m theta lifts for the twist \vartheta, restricted to the rows.
New/Rows/RowVolume.lean · line 27noncomputable abbrev Data.Θ (ϑ : D.MFoldTwist) := D.iotaAtLevel ϑ ∘ₗ D.rows.subtype
covolumeSq(y, σ) = |det(⟨σy_i, σy_l⟩)|, the squared covolume at σ.
Lib/Adelic/CuspForms/LevelForms.lean · line 206def covolumeSq σ := ‖(pairingMatrix y fun _ ↦ σ).det‖
Index at most \delta. For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P), a natural number n, rows y : Fin n \to \operatorname{rows}(D) and a real number \delta: IndexLe(D, y, \delta) holds when there is a function e : \mathbb{N} \to \mathbb{R} with \sum_{l\in U} e(l) \le \delta for every finite set U of natural numbers, such that for every prime l, every l-adic place \iota of \mathbb{C} (instance PadicPlace l) and every m-fold twist \vartheta of D with l coprime to the norm of the level of \vartheta, there is an n \times n matrix u with entries in the valuation ring O_{\iota} = \{z \in \mathbb{C} : |\iota(z)|_{l} \le 1\} (embValRing) with \exp(-e(l)) \le |\iota(\det u)|_{l} and such that for every i the lift \Theta_D(\vartheta)(\sum_{k} u_{ik}\cdot y_k) is \iota-integral (lies in integralForms ι).
New/Endgame/ShortAndEnough.lean · the statement, line 130def Data.IndexLe {n} (y : Fin n → D.rows) δ := ∃ e : ℕ → ℝ, (∀ U, ∑ l ∈ U, e l ≤ δ) ∧
For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): h_{\mathrm{main}}(D) = m_D\cdot k_D\cdot\mathsf{U}(D), the main amount, where m_D is the number of lifts, k_D = (r_D + 1) - m_D (natural subtraction) is the rank n_D(0) = \#X_{0} of the hermitian space at stage zero, the definite space on which the columns are forms — not the complex dimension \dim \operatorname{Column}(D) of the space of column forms, which Theorems A and B use in their bounds — and \mathsf{U}(D) = D.dirCost the cost of one direction (\sum over the infinite places \sigma of E of \mathrm{jetSize}_D(w_{D,0}(\sigma)) - \operatorname{Ask}(D, w_D(\sigma), \sigma)).
New/Endgame/ShortAndEnough.lean · line 32noncomputable def Data.mainHeight := D.m * D.k * D.dirCost
Theorems A and B together. For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): there are a natural number n and rows y : Fin n \to \operatorname{rows}(D) such that y is linearly independent over \mathbb{C}, (1 - 4/b_D^{2})\cdot\dim \operatorname{rows}(D) \le n, there is a real \delta \le 5\cdot\dim \operatorname{rows}(D)\cdot\log(1 + b_D^{2})\cdot\mathcal{B}(D) with IndexLe(D, y, \delta), and for every automorphism \sigma of \mathbb{C}, covolumeSq(\Theta_D(1)\circ y, \sigma) \le \exp(n\cdot(h_{\mathrm{main}}(D) - m_D\cdot\operatorname{rem}(D) + \log b_D\cdot\mathcal{B}(D))).
New/Endgame/LongForms.lean · the statement, lines 78–81lemma Data.exists_family_covolumeSq_le (D : Data P) : ∃ n, ∃ y : Fin n → _, LinearIndependent ℂ y ∧ (1 - 4 / D.b ^ 2) * D.rowDim ≤ n ∧ (∃ δ ≤ 5 * D.rowDim * log (1 + D.b ^ 2) * D.budget, D.IndexLe y δ) ∧ ∀ σ, covolumeSq (D.Θ 1 ∘ y) σ ≤ exp (n * (D.mainHeight - D.m * D.remainder + D.logB * D.budget)) := by
Theorem C (integral forms are long). For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P) and a natural number n, rows y : Fin n \to \operatorname{rows}(D) and reals \delta and V such that (i) y is linearly independent over \mathbb{C}, (hn) (1 - 4/b_D^{2})\cdot\dim \operatorname{rows}(D) \le n, (I) IndexLe(D, y, \delta), and (hV) for every automorphism \sigma of \mathbb{C} the squared covolume of the untwisted lifts \Theta_D(1)\circ y at \sigma is at most e^{V}: \dim \operatorname{rows}(D)\cdot(h_{\mathrm{main}}(D) - 3\cdot\log b_D\cdot\mathcal{B}(D)) \le V + 2\delta.
New/Endgame/LongForms.lean · the statement, lines 63–64lemma Data.integral_forms_long : D.rowDim * (D.mainHeight - 3 * (D.logB * D.budget)) ≤ V + 2 * δ := by
Crude bound. For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): |h_{\mathrm{main}}(D)| + m_D\cdot|\operatorname{rem}(D)| \le b_D^{2}\cdot x_D^{99}.
New/Endgame/ShortAndEnough.lean · the statement, lines 74–75lemma Data.abs_mainHeight_add_remainder_le : |D.mainHeight| + D.m * |D.remainder| ≤ D.b ^ 2 * D.x ^ 99 := by
Lemma. For parameters P and admissible data D for P: \dim_{\mathbb{C}}\operatorname{rows}(D)\ne0.
New/Filling/FillingTheorem.lean · the statement, line 45lemma Data.finrank_rows_ne_zero : finrank ℂ D.rows ≠ 0 := fun e ↦ (D.ramifiedColumns_fill_rows 1
For parameters P: 64 \le c(P), N_0(P) \le c(P), d(P) \le c(P) and \varphi (N_0(P)) \le c(P), \varphi Euler's totient function.
New/Data/Magnitudes.lean · the statement, line 21lemma c_ge : 64 ≤ P.c ∧ P.N₀ ≤ P.c ∧ P.d ≤ P.c ∧ φ P.N₀ ≤ P.c := by
For parameters P (implicit) and an exponent s: numInfPlaces(E(P, s)) = towerDeg(s)\cdot \varphi (N_0(P)), \varphi Euler's totient (\#\Phi = \varphi (N_1(P, s)) = \deg \Phi _{N_1(P, s)}).
New/Data/Different.lean · the statement, lines 168–169lemma Parameters.card_infinitePlace_E s : numInfPlaces (P.E s) = towerDeg s * P.N₀.totient := by simp [mul_comm, card_congr (placeMulEquiv ..).1,
For parameters P, an exponent s (both implicit) and a proof d of N_0(P) \mid N_1(P, s): the number of infinite places v \in \Phi (P, s) with placeClass(P, d)(v) = 1 in (\mathbb{Z}/N_0(P))^\times is towerDeg(s) = N_1(P, s)/N_0(P) (the kernel of the surjective reduction (\mathbb{Z}/N_1(P, s))^\times \to (\mathbb{Z}/N_0(P))^\times).
New/Data/Different.lean · the statement, lines 174–175lemma Parameters.card_placeClass_eq d : #{v | @placeClass P s P.N₀ d v = 1} = towerDeg s := by simpa [card_infinitePlace_E, ne, placeClass, Subgroup.index_ker, Fintype.card_subtype,
The remainder in terms of prime sums. For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): \operatorname{rem}(D) = a_D\cdot(\#\operatorname{thick}(D)\cdot(R_{d,N_{0}}(x_D) - R_{d,N_{0}}(x_{1,D})) + \#\operatorname{tops}(D)\cdot R_{d,1}(x_{1,D})), where \#\operatorname{thick}(D) and \#\operatorname{tops}(D) count the thick places and the tops; R_{d,M}(x) = primeError d M x = \sum_{1\le\nu\le x} \lambda_{d,M}(\nu)(1/\nu - 1/x) - \log x/\varphi(M) - \operatorname{Re} G_{d,M}(1).
New/Endgame/ShortAndEnough.lean · the statement, lines 86–87lemma Data.remainder_eq : D.remainder = D.a * (#D.thick * (primeError P.d P.N₀ D.x - primeError P.d P.N₀ D.x₁) + #D.tops * primeError P.d 1 D.x₁) := by
Existence of admissible data. For parameters P and a real number \varepsilon with e0 : 0 < \varepsilon /6 and e1 : \varepsilon < 1/100: for all sufficiently large real x (eventually along atTop) there are admissible data D over P with x(D) = x, \log x_1(D) = x^{\varepsilon /6}, (10^{6}\cdot \log x)^{2} \le \log x_1(D), \log \log b(D) = \varepsilon \cdot \log x, and towerDeg(s(D))/\log b(D) \le \#\operatorname{thick}(D).
New/Data/DataExist.lean · the statement, lines 49–51lemma exists_data P {ε : ℝ} (e0 : 0 < ε / 6) (e1 : ε < 1 / 100) : ∀ᶠ x in atTop, ∃ D : Data P, D.x = x ∧ log D.x₁ = x ^ (ε / 6) ∧ (1e6 * log x) ^ 2 ≤ log D.x₁ ∧ log (log D.b) = ε * log x ∧ towerDeg D.s / log D.b ≤ #D.thick := by
IsPolar(E, r) for E : ℝ → ℝ and r : ℂ → ℂ: E is measurable and there are a real C and a meromorphic Φ : ℂ → ℂ with |E(v)| ≤ C·e^v for v ≥ 0, Φ(s) = ∫_0^∞ E(v)e^((1−s)v) dv for Re s > 2, (s − 1)Φ(s) analytic near every point of Re s ≥ 1, and (z − ρ)Φ(z) → r(ρ) as z → ρ, z ≠ ρ, for every ρ with Re ρ > 0. Since Φ is a function defined at s = 1, the product (s − 1)Φ(s) vanishes at s = 1, so the analyticity says that Φ has no pole at 1 (off s = 1 it agrees with a function holomorphic near 1), as the source's doc comment says; read in ordinary notation without that value, '(s − 1)Φ(s) analytic' would still allow a simple pole.
Lib/Analytic/Landau/PolarLandau.lean · the statement, line 34def IsPolar (E : ℝ → ℝ) (r : ℂ → ℂ) := Measurable E ∧ ∃ C Φ, Meromorphic Φ ∧ (∀ v ≥ 0, |E v| ≤ C *
For a prime d (instance Fact (Nat.Prime d)) with d \bmod 8 = 7 (hd) and a natural number M \ne 0 (instance NeZero M) coprime to d (h): the function E(v) = R_{d,M}(e^{v}) of a real v is polar with residues r(s) = (\sum_{\xi} (\operatorname{ord}_s \widetilde{L}(\cdot, \xi) - \operatorname{ord}_s \widetilde{L}(\cdot, \xi\cdot\chi_d)))/\varphi(M)/(s(1 - s)) for s \notin \{0, 1\}, and r(0) = r(1) = 0 (Lean's division by zero gives 0; of these only r(1) = 0 is asked for, residues being asked at \operatorname{Re} \rho > 0), \xi over the Dirichlet characters modulo M, \operatorname{ord}_s the order of vanishing at s (Mathlib's analyticOrderNatAt, a natural number read in \mathbb{C}). Unfolding IsPolar E r: E is measurable, and there are a real C and a meromorphic \Phi : \mathbb{C} \to \mathbb{C} with |E(v)| \le C\cdot e^{v} for v \ge 0, \Phi(s) = \int_{0}^\infty E(v)e^{(1-s)v} dv for \operatorname{Re} s > 2, s \mapsto (s - 1)\Phi(s) analytic near every point of \operatorname{Re} s \ge 1 (\Phi is a function defined at s = 1, so this product vanishes at s = 1, and \Phi has no pole at 1: off s = 1 it agrees with a function holomorphic near 1), and (z - \rho)\Phi(z) \to r(\rho) as z \to \rho, z \ne \rho, for every \rho with \operatorname{Re} \rho > 0.
New/Endgame/PrimeError.lean · the statement, lines 69–71lemma isPolar_primeError (hd : d % 8 = 7) (h : M.Coprime d) : IsPolar (primeError d M ·.exp) fun s ↦ (∑ ξ, (analyticOrderNatAt (@entireL M _ ξ) s - analyticOrderNatAt (entireL (quadTwist ξ d)) s : ℂ)) / φ M / (s * (1 - s)) := by
A good second scale in every long window. For functions E, E' : \mathbb{R} \to \mathbb{R} and r, r' : \mathbb{C} \to \mathbb{C} with IsPolar(E, r) (h) and IsPolar(E', r') (h'): for every sufficiently large real t and every real X with 0 \le X \le e^{t}, there is u with t \le u \le t^{2} and E(u) - X\cdot E'(u) \le e^{-t}.
New/Endgame/OneSidedCriterion.lean · the statement, lines 73–75lemma IsPolar.exists_window_sub_mul_le {E r E' r'} (h : IsPolar E r) (h' : IsPolar E' r') : ∀ᶠ t in atTop, ∀ X ∈ Icc 0 t.exp, ∃ u ∈ Icc t (t ^ 2), E u - X * E' u ≤ (-t).exp := (h.eventually_moment_le.and
The one-sided criterion. Let M be a natural number with M \ne 0 (instance NeZero M), a \in \mathbb{Z}/M and \beta a real number, with 1/2 < \beta (hβ) and a a unit of \mathbb{Z}/M (ha); assume (h) that for every prime d with d \equiv a mod M: d \bmod 8 = 7, M and d are coprime, and R_{d,M}(x) \le x^{\beta - 1} for all sufficiently large real x (the threshold may depend on d). Then for every complex number \rho with \beta < \operatorname{Re} \rho (h\rho, a strict inequality) and every Dirichlet character \chi modulo M: \widetilde{L}(\rho, \chi) \ne 0 (\widetilde{L} = entireL).
New/Endgame/OneSidedCriterion.lean · the statement, lines 28–30lemma entireL_ne_zero_of_primeError_le {M} [NeZero M] {a : ZMod M} {β} (hβ : 1 / 2 < β) (ha : IsUnit a) (h : ∀ d : Primes, d = a → (d.1 % 8 = 7 ∧ M.Coprime d) ∧ ∀ᶠ x in atTop, primeError d M x ≤ x ^ (β - 1)) ρ (hρ : β < ρ.re) (χ : DirichletCharacter ℂ M) : entireL χ ρ ≠ 0 := by
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.
Lib/General/NumberTheory/ZeroSymmetry.lean · the statement, lines 27–28lemma LFunction_one_sub_eq_zero s (h0 : s.re ≠ 0) (h1 : s ≠ 1) (hs : LFunction χ s = 0) : χ.gammaFactor s = 0 ∨ LFunction χ⁻¹ (1 - s) = 0 := by
Instance. For parameters P: PrimeSevenModEight(d(P)), i.e. d(P) is a prime with d(P) \equiv 7 \bmod 8 (16 \mid 18480 \mid N_0(P) \mid 2(d(P) + 1), so 8 \mid d(P) + 1).
New/Data/Different.lean · the statement, line 36@[local grind! .] instance instHeegD : PrimeSevenModEight P.d :=
For parameters P and an exponent s: N_1(P, s) and d(P) are coprime (d(P) is prime and \chi _K(d(P)) = 0 \ne 1, so d(P) \nmid N_1(P, s) by chiK_eq_one_of_dvd).
New/Data/Different.lean · the statement, line 74lemma coprime_N₁_d : (P.N₁ s).Coprime P.d :=
For parameters P, admissible data D over P (explicit), reals F, G, l, l', instances HasLogUpper(D)(F, l) and HasLogLower(D)(G, l'), and a proof e of l < l' (by default found by grind from the scale conditions of D): F \le G. The exponents l, l' are found by instance search from the shapes of F and G; this is how the development compares two monomials in the scales.
New/Data/Magnitudes.lean · line 121protected lemma le_of_hasLogBound : F ≤ G := (D.lt_of_hasLogBound e).le