Choose a statement on the pages, or with the arrows above, to see its structured proof and its Lean text here.
χ_d = chiK d: for a prime d, the Legendre symbol (·/d) as an integer-valued Dirichlet character modulo d (the quadratic character of ℤ/d). Only for d ≡ 3 mod 4 is it the character χ_K of K = ℚ(√−d) (the source's own doc comment says so); the definition takes every prime d.
Lib/General/NumberTheory/QuadField.lean · line 20def chiK : DirichletCharacter ℤ d := open Calc in quadraticChar _
ξ·χ_d = quadTwist ξ d: for a Dirichlet character ξ modulo N and a prime d, the character modulo N·d that is the product of ξ and the Legendre symbol (·/d).
Lib/General/NumberTheory/QuadField.lean · the statement, line 26def quadTwist :=
(ξ·χ_d)(n) = ξ(n)·(n/d) for every integer n.
Lib/Analytic/Landau/PolarLandau.lean · the statement, line 20lemma quadTwist_apply (n : ℤ) : quadTwist χ d n = χ n * legendreSym d n :=
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
ℓ(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
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 ν)
For a prime d, natural numbers M and r, and a real number y: S_{d,M}(r, y) = (\sum_{k=1}^{\lfloor y\rfloor_{+}} \lambda_{d,M}(k)/k\cdot k^{r})/y^{r} = y^{-r}\cdot\sum_{1\le k\le y} \lambda_{d,M}(k)\cdot k^{r-1}, where \lfloor y\rfloor_{+} is the natural floor (0 for y < 1). For r = 0 it is \sum_{k\le y} \lambda_{d,M}(k)/k, for r = 1 it is y^{-1}\cdot\sum_{k\le y} \lambda_{d,M}(k); \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).
New/Endgame/PrimeError.lean · line 29def lambdaSum r y := (∑ k ∈ Icc 1 ⌊y⌋₊, lambdaClass d M k / k * k ^ r) / y ^ r
For a prime d, a natural number M \ne 0 (instance NeZero M) and a complex number s: G_{d,M}(s) = (\sum_{\xi} (\widetilde{L}'/\widetilde{L}(s, \xi\cdot\chi_d) - \widetilde{L}'/\widetilde{L}(s, \xi)) - 1)/\varphi(M), the sum over all Dirichlet characters \xi modulo M (comparing each \xi, a character modulo M, with its twist \xi\cdot\chi_d, a character modulo M\cdot d); here \widetilde{L}(s, \psi) = entireL \psi s is L(s, \psi) for a non-principal \psi and, for the principal character \psi modulo n, the entire continuation of (s - 1)L(s, \psi), whose value at s = 1 is \prod_{p\mid n}(1 - 1/p) = \varphi(n)/n (Mathlib's LFunctionTrivChar₁ n; for n = 1 this is \zeta_{1}(s), the continuation of (s - 1)\zeta(s), with \zeta_{1}(1) = 1), \widetilde{L}'/\widetilde{L} = Mathlib's logDeriv (f'/f, with f'/f := 0 where f = 0), \xi\cdot\chi_d = quadTwist \xi d is the character modulo M\cdot d with values \xi(n)\cdot(n/d), and \varphi is Euler's totient.
New/Endgame/PrimeError.lean · the statement, line 33def logDerivMean [NeZero M] s :=
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
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 every N ≠ 0, every Dirichlet character χ modulo N and every complex s with Re s ≥ 1: L̃(s, χ) ≠ 0 (for χ principal and s = 1 this is the value ∏_{p∣N}(1 − 1/p) ≠ 0). No primitivity is assumed.
Lib/Analytic/Landau/PolarLandau.lean · the statement, line 55lemma entireL_ne_zero (hs : 1 ≤ s.re) : entireL χ s ≠ 0 := by
For Re s > 1, ∑_{n≥1} χ(n)Λ(n)n^(−s) = [χ = 1]/(s − 1) − L̃′/L̃(s, χ).
Lib/Analytic/Landau/PolarLandau.lean · the statement, lines 58–59lemma LSeriesHasSum_mul_vonMangoldt (hs : 1 < s.re) : LSeriesHasSum (fun n ↦ χ n * Λ n) s (ite (χ = 1) 1 0 / (s - 1) - logDeriv (entireL χ) s) :=
For every s: ord_s L̃(·, χ) = 0 iff L̃(s, χ) ≠ 0, and (z − s)·L̃′/L̃(z, χ) → ord_s L̃(·, χ) as z → s, z ≠ s.
Lib/Analytic/Landau/PolarLandau.lean · the statement, lines 64–66lemma tendsto_sub_mul_logDeriv_entireL : (analyticOrderNatAt (entireL χ) s = 0 ↔ entireL χ s ≠ 0) ∧ Tendsto (fun z ↦ (z - s) * logDeriv (entireL χ) z) (𝓝[≠] s) (𝓝 (analyticOrderNatAt (entireL χ) s + 0)) := have ⟨g, a, b, e⟩ := (analyticAt_entireL ..).analyticOrderAt_ne_top.1 (entireL_ne_zero
For d ≠ 2 prime and N coprime to d, the twist ξ·χ_d is not principal.
Lib/Analytic/Landau/PolarLandau.lean · the statement, line 26lemma quadTwist_ne_one (hd : d ≠ 2) (h : N.Coprime d) : quadTwist χ d ≠ 1 :=
Landau's lemma, in this form: for E : ℝ → ℝ and r : ℂ → ℂ with IsPolar(E, r), a real β > 0 with Re r(x) ≥ 0 for every real x > β, and E(v) ≤ e^((β−1)v) for all sufficiently large v: r(ρ) = 0 for every complex ρ with Re ρ > β. (E is only assumed measurable, with the bound of IsPolar; see literature.)
Lib/Analytic/Landau/PolarLandau.lean · the statement, lines 88–89lemma IsPolar.landau {r} (h : IsPolar E r) {β : ℝ} (hβ : 0 < β) (hr : ∀ x, β < x → 0 ≤ (r x).re) (hw : ∀ᶠ v in atTop, E v ≤ ((β - 1) * v).exp) {ρ} (hρ : β < ρ.re) : r ρ = 0 := by
For N ≠ 0, a real β > 1/2, a real y (of any sign; for y < 0 the condition on s below is empty, and the lemma still gives a prime) and a unit a modulo N such that every prime d ≡ a mod N is ≡ 7 mod 8 and prime to N: there is a prime d ≡ a mod N such that, for every Dirichlet character ξ modulo N and every s with Re s ≥ β and |Im s| ≤ y, L̃(s, ξ·χ_d) ≠ 0 — one prime d for all characters ξ at once (ξ is bound in the conclusion, after d; see census_note). Proved in the artifact (unit 127) from its own zero-density estimate for each twist (zero_density_quadTwist) and the divergence of ∑ 1/p over the primes p ≡ a mod N; see literature.
Lib/Analytic/QuadraticTwist/ZeroFreeTwist.lean · the statement, lines 193–196lemma exists_entireL_quadTwist_ne_zero {β} y {a : ZMod N} (hβ : 1 / 2 < β) (ha : IsUnit a) (H : ∀ d : Primes, d = a → d.1 % 8 = 7 ∧ N.Coprime d) : ∃ d : Primes, d = a ∧ ∀ ξ s, β ≤ re s → |im s| ≤ y → entireL (@quadTwist N ξ d _) s ≠ 0 := (exists_pos_mul_lt (lt_min one_pos (sub_pos.2 hβ)) 9).elim fun η ⟨hη, h⟩ ↦ by
For Re s > 0 and every natural k: ∫_0^∞ t^k e^(−st) dt = k!/s^(k+1).
Lib/Analytic/Landau/PolarLandau.lean · the statement, lines 47–48lemma laplace_pow (h : (-s).re < 0) k : ∫ t : ℝ in Ioi 0, t ^ k * exp (-s * t) = k ! / s ^ (k + 1) := (iteratedDeriv_complexMGF (interior_maximal (@integrableOn_exp_mul_Ioi · · 0) isOpen_Iio h) _ ▸
If E is measurable, |E(v)| ≤ C·e^v for v ≥ 0 and Re s > 2, then v ↦ E(v)e^((1−s)v) is integrable on (0, ∞).
Lib/Analytic/Landau/PolarLandau.lean · the statement, lines 40–41lemma integrableOn_laplace_of_abs_le {C} (m : Measurable E) (h : ∀ v ≥ 0, |E v| ≤ C * v.exp) (hs : 2 < s.re) : IntegrableOn (fun v ↦ E v * ((1 - s) * v).exp) (Ioi 0) := ((integrableOn_exp_mul_Ioi
If (z − a)Ψ(z) is analytic on the open disc of radius ε about z₀, z₀ ≠ a, and a, σ lie in that disc, then the Taylor series ∑_k (σ − z₀)^k Ψ^(k)(z₀)/k! converges (is summable). Ψ is a function defined at a, so (z − a)Ψ(z) vanishes at z = a; hence Ψ agrees off a with a function analytic on the whole disc (its slope at a, Mathlib's dslope), with the same derivatives at z₀ — the singularity at a is removable — and the Taylor series at z₀ converges on the disc.
Lib/Analytic/Landau/PolarLandau.lean · the statement, lines 78–80lemma summable_taylor_of_removable {Ψ ε} {a z : ℂ} σ (D : AnalyticOnNhd ℂ (fun z ↦ (z - a) * Ψ z) (ball z ε)) (u : z ≠ a ∧ a ∈ ball z ε ∧ σ ∈ ball z ε) : Summable fun k ↦ (k ! : ℂ)⁻¹ • (σ - z) ^ k • iteratedDeriv k Ψ z := (hasSum_taylorSeries_on_ball
For a prime d and natural numbers M and \nu: 0 \le \lambda_{d,M}(\nu) and |\lambda_{d,M}(\nu)| \le 2\nu.
New/Endgame/PrimeError.lean · the statement, line 41lemma lambdaClass_nonneg_and_abs_le ν : 0 ≤ lambdaClass d M ν ∧ |lambdaClass d M ν| ≤ 2 * ν := by
For a prime d, natural numbers M and r, and a real number v: |S_{d,M}(r, e^{v})| \le 2e^{v}.
New/Endgame/PrimeError.lean · the statement, line 45lemma abs_lambdaSum_exp_le r v : |lambdaSum d M r (rexp v)| ≤ 2 * rexp v := by
For a prime d, a natural number M \ne 0, a natural number A and a real number z with 0 < z (u) and z \le A (h): R_{d,M}(z) = \sum_{\nu=1}^{A} \lambda_{d,M}(\nu)\cdot(A/\nu - A/z)^{+}/A - \log z/\varphi(M) - \operatorname{Re} G_{d,M}(1), where (t)^{+} = \max(t, 0).
New/Endgame/PrimeError.lean · the statement, lines 60–61lemma primeError_eq_sum (A : ℕ) {z : ℝ} (u : 0 < z) (h : z ≤ A) : primeError d M z = ∑ ν ∈ Icc 1 A, lambdaClass d M ν * (A / ν - A / z)⁺ / A - z.log / φ M - re (logDerivMean d M 1) := by
For a prime d: \operatorname{Re} G_{d,1}(1) = -1 - \ell(d), where \ell(d) = chowlaSelbergConst d = \gamma - \operatorname{Re} \widetilde{L}'/\widetilde{L}(1, 1\cdot\chi_d) (\gamma Euler's constant; 1\cdot\chi_d is the twist of the character modulo 1, i.e. the Legendre character modulo d, non-principal for odd d, so that then \ell(d) = \gamma - \operatorname{Re} L'/L(1, (\cdot/d))).
New/Endgame/PrimeError.lean · the statement, line 52lemma re_logDerivMean_one : (logDerivMean d 1 1).re = -1 - chowlaSelbergConst d := by
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
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
For functions E : \mathbb{R} \to \mathbb{R} and r : \mathbb{C} \to \mathbb{C} with IsPolar(E, r) (h): for every R > 3 close enough to 3 (Lean's \forall^{f} R in \mathcal{N}[>] 3: there is \varepsilon > 0 such that what follows holds for every R \in (3, 3 + \varepsilon)), for every sufficiently large real t (the threshold may depend on R, not on k): |E(v)| \le t\cdot e^{v} for every v \ge 0, and for every natural number k the function F_k(v) = v^{k}\cdot e^{-3v}\cdot E(v) (Lean's local let F v := … of the statement) is integrable on (0, \infty) and |\int_{0}^\infty F_k(v) dv| \le k!\cdot t/R^{k}.
New/Endgame/OneSidedCriterion.lean · the statement, lines 41–43lemma IsPolar.eventually_moment_le {E r} (h : IsPolar E r) : ∀ᶠ R in 𝓝[>] 3, ∀ᶠ t in atTop, (∀ v ≥ 0, |E v| ≤ t * v.exp) ∧ ∀ k, let F v := v ^ k * (-3 * v).exp * E v IntegrableOn F (Ioi 0) ∧ |∫ v in Ioi 0, F v| ≤ k ! * t / R ^ k
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
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
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)
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
Choice of the level prime. For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): h_{0}(D) \le h_{\mathrm{main}}(D) - m_D\cdot\operatorname{rem}(D) + \mathcal{B}(D), where h_{0}(D) = D.heightPerRow = m_D\cdot(\sum_{\tau\in\mathrm{tops}(D)} (\mathrm{jetSize}_D(a_D) - \operatorname{Ask}(D, a_D, \tau)) + k_D\cdot\mathsf{U}(D)) - \#\operatorname{tops}(D)\cdot a_D\cdot\log N_D (N_D the level prime of D) and \mathcal{B}(D) = f_D\cdot a_D\cdot(\log b_D)^{3}.
New/Endgame/ShortAndEnough.lean · the statement, line 48lemma Data.heightPerRow_le : D.heightPerRow ≤ D.mainHeight - D.m * D.remainder + D.budget := 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
For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): the \mathbb{C}-linear map i_N(D) = c_D\cdot\iota from the ramified columns of D to the columns of D, where \iota is the inclusion of the subspace of ramified columns and c_D \in \mathbb{C}^{\times} is the non-zero constant chosen (by choice) from the seesaw identity Data.seesaw.
New/Endgame/ShortAndEnough.lean · line 116noncomputable def Data.scaledInclusion := D.seesaw.choose.1 • D.ramifiedColumns.subtype
For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P) and an element s of the finite group \mathsf{G}_D = \prod_{w} \mathrm{GL}_r(\mathbb{F}_w) over the chosen places w (Data.G): the \mathbb{C}-linear map P_{D,s} = (|\mathsf{G}_D|\cdot e_{0}\cdot s) \circ \mathcal{P}_D \circ i_N(D) from the ramified columns of D to the rows of D, where \mathcal{P}_D is the Poincaré series (Data.poincare) and |\mathsf{G}_D|\cdot e_{0}\cdot s = Data.goodProjTranslate s translates by s and projects by the good idempotent e_{0}, times |\mathsf{G}_D|.
New/Endgame/ShortAndEnough.lean · the statement, line 120noncomputable abbrev Data.projectedPoincare (s : D.G) : D.ramifiedColumns →ₗ[ℂ] D.rows :=
For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): the set of ramified columns \varphi of D such that, for every prime l and every l-adic place of \mathbb{C} (a ring homomorphism \iota : \mathbb{C} \to \mathbb{C}_l, Lean's instance PadicPlace l), \varphi lies in integralFormsAt(\operatorname{Column}(D), 1): every value of \varphi has gauge at most 1 under \iota (\varphi is integral at every place above every prime).
New/Endgame/ShortAndEnough.lean · the statement, line 125abbrev Data.integralRamified :=
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 a finite set T of natural numbers that are all prime (hT) and a function g : \mathbb{N} \to \mathbb{Z} with g(l) = 0 for every l \notin T (h): there is a rational number q with 0 < q, \log q = \sum_{l\in T} g(l)\cdot\log l, and, for every prime l (instance Fact (Nat.Prime l)), \lVert q\rVert = \lVert l\rVert^{g(l)} in \mathbb{C}_l (the completion of an algebraic closure of \mathbb{Q}_l), i.e. |q|_{l} = l^{-g(l)}.
New/Endgame/ShortAndEnough.lean · the statement, lines 21–23lemma exists_rat_log_eq_and_padic_norm_eq T (g : ℕ → ℤ) (hT : ∀ l ∈ T, l.Prime) (h : ∀ l ∉ T, g l = 0) : ∃ q : ℚ, 0 < q ∧ log q = ∑ l ∈ T, g l * log l ∧ ∀ l [Fact l.Prime], ‖(q : ℂ_[l])‖ = ‖(l : ℂ_[l])‖ ^ g l := ⟨∏ l ∈ T, l ^ g l, by
Theorem A (short forms). For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): there are a rational number q > 0 and a family B with B = q\cdot P_D, i.e. B_s = q\cdot P_{D,s} for every s \in \mathsf{G}_D, such that (a) there is a set S of ramified columns with S \subseteq integralRamified(D) that spans the ramified columns over \mathbb{C}, such that for every \varphi \in S, every s \in \mathsf{G}_D and every automorphism \sigma of \mathbb{C}, \lVert \Theta_D(1)(B_s(\varphi))\rVert^{2}_{\sigma} \le \exp(h_{\mathrm{main}}(D) - m_D\cdot\operatorname{rem}(D) + \log b_D\cdot\mathcal{B}(D)) (\lVert \cdot\rVert^{2}_{\sigma} the class-sum norm at \sigma, normSqAt); and (b) for every finite set t \subseteq \mathsf{G}_D, every natural number n and every family y : Fin n \to \operatorname{rows}(D) with each y_i of the form B_s(\varphi) for some s \in t and \varphi \in integralRamified(D): IndexLe(D, y, \#t\cdot\dim \operatorname{Column}(D)\cdot\mathcal{B}(D)).
New/Endgame/ShortAndEnough.lean · the statement, lines 138–141lemma Data.short_forms : ∃ q > (0 : ℚ), ∃ B, B = (q : ℂ) • D.projectedPoincare ∧ (∃ S ⊆ D.integralRamified, span ℂ S = ⊤ ∧ ∀ φ ∈ S, ∀ s σ, (D.Θ 1 (B s φ)).normSqAt σ ≤ exp (D.mainHeight - D.m * D.remainder + D.logB * D.budget)) ∧ ∀ (t : Finset D.G) n (y : Fin n → _), (∀ i, y i ∈ Set.image2 (B ·) t D.integralRamified) → D.IndexLe y (#t * finrank ℂ D.Column * D.budget) := by
Theorem B (enough forms). For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): 0 < \dim \operatorname{Column}(D), 0 < \dim \operatorname{rows}(D), and there is a finite set t \subseteq \mathsf{G}_D with \#t\cdot\dim \operatorname{Column}(D) \le 5\cdot\dim \operatorname{rows}(D)\cdot\log(1 + b_D^{2}) and (1 - 4/b_D^{2})\cdot\dim \operatorname{rows}(D) \le \dim(\sum_{s\in t} range P_{D,s}) (the sum of the images, a subspace of the rows).
New/Endgame/ShortAndEnough.lean · the statement, lines 173–175lemma Data.enough_forms : 0 < finrank ℂ D.Column ∧ 0 < D.rowDim ∧ ∃ t, #t * finrank ℂ D.Column ≤ 5 * D.rowDim * log (1 + D.b ^ 2) ∧ (1 - 4 / D.b ^ 2) * D.rowDim ≤ finrank ℂ ↥(⨆ s ∈ t, (D.projectedPoincare s).range) := have := D.columnCoords.nontrivial
For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P) and a family \theta = (\theta_{\iota}) of m-fold twists of D indexed by the pairs \iota = (l, \iota) of a prime l and a field isomorphism \iota : \mathbb{C} \cong \overline{\mathbb{Q}}_l (Lean's PrimePadicIso) that is fit (o: Data.IsFitFamily D θ): the family \iota \mapsto \mathfrak{z}_D(1)^{2}/\mathfrak{z}_D(\theta_{\iota})^{2} has height (HeightLe) at most 2\cdot\dim \operatorname{rows}(D)\cdot(2\cdot\log b_D\cdot\mathcal{B}(D) - h_{\mathrm{main}}(D)); here \mathfrak{z}_D(\vartheta) = D.\mathfrak{z} \vartheta = \det(u\ast u) for u = \Theta_D(\vartheta) on the rows (the square of its normDet, a volume) and 1 is the trivial m-fold twist.
New/Endgame/LongForms.lean · the statement, lines 19–20lemma Data.heightLe_volume_ratio_sq {θ} (o : D.IsFitFamily θ) : HeightLe (2 * D.rowDim * (2 * (D.logB * D.budget) - D.mainHeight)) fun ι ↦ D.𝔷 (1 : D.MFoldTwist) ^ 2 / D.𝔷 (θ ι) ^ 2 := by
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 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}, and for every fit family \theta of m-fold twists indexed by PrimePadicIso (o): the family \iota \mapsto \mathfrak{z}_D(\theta_{\iota})/\mathfrak{z}_D(1) has height at most V + 2\delta + \dim \operatorname{rows}(D)\cdot b_D.
New/Endgame/LongForms.lean · the statement, lines 39–40lemma Data.heightLe_volume_rows {θ} (o : D.IsFitFamily θ) : HeightLe (V + 2 * δ + D.rowDim * D.b) fun ι ↦ D.𝔷 (θ ι) / D.𝔷 (1 : D.MFoldTwist) := 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
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