Chapter II · 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
PrimeError defines the weight \lambda_{d,M}(\nu) = \Lambda(\nu)(1 - (\nu/d)) on \nu \equiv 1 \bmod M and the remainder R_{d,M}(x) of its weighted sum, proves the finite-sum identity used by the data, and shows that v \mapsto R_{d,M}(e^v) is polar with residues given by orders of zeros of L-functions. OneSidedCriterion turns a one-sided bound R_{d,M}(x) \le x^{\beta-1}, for all primes d of a class, into a zero-free half-plane \operatorname{Re} s > \beta (Landau's lemma, applied with a prime d of the class whose quadratic twists of all characters modulo M have no zero in a box to the right of \beta; the artifact proves that such a d exists from its own zero-density estimate for quadratic twists), and finds in every window [t, t^2] a second scale u where R - X \cdot R' \le e^{-t}. ShortAndEnough defines the main amount, the remainder \operatorname{rem}(D) and the index, bounds the height per row by the choice of the level prime, writes \operatorname{rem}(D) through R_{d,N_0} and R_{d,1}, and proves Theorem A (short forms) and Theorem B (enough forms) from the seesaw identity, the size and divisibility of the chains of lifts, and the filling theorem. LongForms proves Theorem C (integral forms are long) by heights and the product formula, and combines A and B into one family.Notes
What it holds · 29 declarations
lemma
Data.lines 19–32argumentheightLe_volume_ratio_sq For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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'sPrimePadicIso) that is fit (o:Data.): the family \iota \mapsto \mathfrak{z}_D(1)^{2}/\mathfrak{z}_D(\theta_{\iota})^{2} has height (IsFitFamily D θ 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 itsnormDet, a volume) and 1 is the trivial m-fold twist.Structured proof, 4 steps Lemma 11.2, p. 26 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/LongForms.lean · lines 19–20 lemma 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 := bylemma
Data.lines 39–58argumentheightLe_volume_rows For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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 byPrimePadicIso(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.Structured proof, 9 steps Lemma 11.4, p. 27 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/LongForms.lean · lines 39–40 lemma Data.heightLe_volume_rows {θ} (o : D.IsFitFamily θ) : HeightLe (V + 2 * δ + D.rowDim * D.b) fun ι ↦ D.𝔷 (θ ι) / D.𝔷 (1 : D.MFoldTwist) := bylemma
Data.lines 63–71argumentintegral_forms_long Theorem C (integral forms are long). For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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.Structured proof, 3 steps Input 2, p. 8 of The main inequality, the bound for the primes, and the zero-free half-plane Theorem C, p. 28 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/LongForms.lean · lines 63–64 lemma Data.integral_forms_long : D.rowDim * (D.mainHeight - 3 * (D.logB * D.budget)) ≤ V + 2 * δ := bylemma
Data.lines 78–92assemblyexists_family_covolumeSq_le Theorems A and B together. For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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) withIndexLe(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))).Structured proof, 5 steps Input 1, p. 8 of The main inequality, the bound for the primes, and the zero-free half-plane Corollary 11.5, p. 28 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/LongForms.lean · lines 78–81 lemma 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)) := bylemma
entireL_ne_zero_of_primeError_lelines 28–36argumentThe one-sided criterion. Let M be a natural number with M \ne 0 (instanceNeZero 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).Structured proof, 4 steps Input 10, p. 13 of The main inequality, the bound for the primes, and the zero-free half-plane Theorem 2, p. 2 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/OneSidedCriterion.lean · lines 28–30 lemma 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 := bylemma
IsPolar.lines 41–67argumenteventually_moment_le For functions E : \mathbb{R} \to \mathbb{R} and r : \mathbb{C} \to \mathbb{C} withIsPolar(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 locallet F v := …of the statement) is integrable on (0, \infty) and |\int_{0}^\infty F_k(v) dv| \le k!\cdot t/R^{k}.Structured proof, 16 steps Proposition 7.1, p. 13 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/OneSidedCriterion.lean · lines 41–43 lemma 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 ^ klemma
IsPolar.lines 73–99argumentexists_window_sub_mul_le 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} withIsPolar(E, r) (h) andIsPolar(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}.Structured proof, 15 steps Input 9, p. 11 of The main inequality, the bound for the primes, and the zero-free half-plane Theorem 3, p. 3 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/OneSidedCriterion.lean · lines 73–75 lemma 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.anddef
lambdaClassline 25argumentThe weight of the prime sums. For a natural number d that is prime (instanceFact (Nat.), 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'sPrime d) vonMangoldt.) and \chi_d(\nu) = (\nu/d) \in \{-1, 0, 1\} is the Legendre symbol, i.e. the quadratic character of \mathbb{Z}/d (residueClass 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).Definition 2.5, p. 5 of The main inequality, the bound for the primes, and the zero-free half-plane Definition 2.4, p. 4 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/PrimeError.lean · line 25 def lambdaClass ν := @residueClass M 1 ν * (1 - chiK d ν)def
lambdaSumline 29argumentFor 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) =lambdaClassd 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).Definition 2.5, p. 4 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/PrimeError.lean · line 29 def lambdaSum r y := (∑ k ∈ Icc 1 ⌊y⌋₊, lambdaClass d M k / k * k ^ r) / y ^ rdef
logDerivMeanlines 33–34argumentFor a prime d, a natural number M \ne 0 (instanceNeZero 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'sLFunctionTrivChar₁ 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'slogDeriv(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.Definition 2.6, p. 4 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/PrimeError.lean · line 33 def logDerivMean [NeZero M] s :=def
primeErrorlines 38–39argumentThe remainder of the weighted prime sum. For a prime d (instanceFact (Nat.), a natural number M \ne 0 (instancePrime d) 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) =lambdaClassd 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).Definition 2.5, p. 5 of The main inequality, the bound for the primes, and the zero-free half-plane Definition 2.7, p. 4 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/PrimeError.lean · lines 38–39 def primeError [NeZero M] x := lambdaSum d M 0 x - lambdaSum d M 1 x - x.log / φ M - (logDerivMean d M 1).relemma
lambdaClass_nonneg_and_abs_lelines 41–43computationFor a prime d and natural numbers M and \nu: 0 \le \lambda_{d,M}(\nu) and |\lambda_{d,M}(\nu)| \le 2\nu.Structured proof, 2 steps Lemma 4.1, p. 9 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/PrimeError.lean · line 41 lemma lambdaClass_nonneg_and_abs_le ν : 0 ≤ lambdaClass d M ν ∧ |lambdaClass d M ν| ≤ 2 * ν := bylemma
abs_lambdaSum_exp_lelines 45–48computationFor a prime d, natural numbers M and r, and a real number v: |S_{d,M}(r, e^{v})| \le 2e^{v}.Structured proof, 1 step Lemma 4.2, p. 9 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/PrimeError.lean · line 45 lemma abs_lambdaSum_exp_le r v : |lambdaSum d M r (rexp v)| ≤ 2 * rexp v := bylemma
re_logDerivMean_onelines 52–54computationFor a prime d: \operatorname{Re} G_{d,1}(1) = -1 - \ell(d), where \ell(d) =chowlaSelbergConstd = \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))).Structured proof, 3 steps Lemma 4.4, p. 9 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/PrimeError.lean · line 52 lemma re_logDerivMean_one : (logDerivMean d 1 1).re = -1 - chowlaSelbergConst d := bylemma
primeError_eq_sumlines 60–64computationFor 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).Structured proof, 2 steps Lemma 4.3, p. 9 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/PrimeError.lean · lines 60–61 lemma 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) := bylemma
isPolar_primeErrorlines 69–111argumentFor a prime d (instanceFact (Nat.) with d \bmod 8 = 7 (Prime d) hd) and a natural number M \ne 0 (instanceNeZero 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'sanalyticOrderNatAt, a natural number read in \mathbb{C}). UnfoldingIsPolar 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.Structured proof, 18 steps Input 8, p. 11 of The main inequality, the bound for the primes, and the zero-free half-plane Theorem 1, p. 2 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/PrimeError.lean · lines 69–71 lemma 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)) := bylemma
exists_rat_log_eq_and_padic_norm_eqlines 21–26computationFor 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 (instanceFact (Nat.), \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)}.Prime l) Structured proof, 3 steps Lemma 10.6, p. 22 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · lines 21–23 lemma 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, bydef
Data.line 32argumentmainHeight For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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.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)).dirCost Definition 2.7, p. 6 of The main inequality, the bound for the primes, and the zero-free half-plane Definition 9.1, p. 16 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · line 32 noncomputable def Data.mainHeight := D.m * D.k * D.dirCostdef
Data.lines 36–37argumentmainAsk For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData P):Ask_main(D) = a_D\cdot(\log a_D - 1 - \ell(d) - \overline{w}_D), where \ell(d) =chowlaSelbergConstd 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.Definition 2.6, p. 6 of The main inequality, the bound for the primes, and the zero-free half-plane Definition 9.2, p. 16 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · line 36 noncomputable def Data.mainAsk :=def
Data.line 42argumentremainder For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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.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,primeSum Data.) and \operatorname{tops}(D) is the set of infinite places whose class is \equiv 1 mod N_{0}.placeOfInt Definition 2.6, p. 6 of The main inequality, the bound for the primes, and the zero-free half-plane Definition 9.3, p. 17 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · line 42 noncomputable def Data.remainder := ∑ τ ∈ D.tops, (D.primeSum D.a τ - D.mainAsk)lemma
Data.lines 48–70argumentheightPerRow_le Choice of the level prime. For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData P): h_{0}(D) \le h_{\mathrm{main}}(D) - m_D\cdot\operatorname{rem}(D) + \mathcal{B}(D), where h_{0}(D) =D.= 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}.heightPerRow Structured proof, 10 steps Proposition 9.4, p. 18 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · line 48 lemma Data.heightPerRow_le : D.heightPerRow ≤ D.mainHeight - D.m * D.remainder + D.budget := bylemma
Data.lines 74–82argumentabs_mainHeight_add_remainder_le Crude bound. For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData P): |h_{\mathrm{main}}(D)| + m_D\cdot|\operatorname{rem}(D)| \le b_D^{2}\cdot x_D^{99}.Structured proof, 3 steps Input 3, p. 8 of The main inequality, the bound for the primes, and the zero-free half-plane Lemma 9.5, p. 19 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · lines 74–75 lemma Data.abs_mainHeight_add_remainder_le : |D.mainHeight| + D.m * |D.remainder| ≤ D.b ^ 2 * D.x ^ 99 := bylemma
Data.lines 86–112argumentremainder_eq 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'sData 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) =primeErrord 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).Structured proof, 6 steps Input 6, p. 11 of The main inequality, the bound for the primes, and the zero-free half-plane Theorem 4, p. 17 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · lines 86–87 lemma 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₁) := bydef
Data.line 116argumentscaledInclusion For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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 identityData..seesaw Definition 10.2, p. 20 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · line 116 noncomputable def Data.scaledInclusion := D.seesaw.choose.1 • D.ramifiedColumns.subtypeabbrev
Data.lines 120–121argumentprojectedPoincare For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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.): 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 (G Data.) and |\mathsf{G}_D|\cdot e_{0}\cdot s =poincare Data.translates by s and projects by the good idempotent e_{0}, times |\mathsf{G}_D|.goodProjTranslate s Definition 10.3, p. 20 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · line 120 noncomputable abbrev Data.projectedPoincare (s : D.G) : D.ramifiedColumns →ₗ[ℂ] D.rows :=abbrev
Data.lines 125–126argumentintegralRamified For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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 instancePadicPlace l), \varphi lies inintegralFormsAt(\operatorname{Column}(D), 1): every value of \varphi has gauge at most 1 under \iota (\varphi is integral at every place above every prime).Definition 10.4, p. 20 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · line 125 abbrev Data.integralRamified :=def
Data.lines 130–132argumentIndexLe Index at most \delta. For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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} (instancePadicPlace 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 inintegralForms ι).Definition 2.7, p. 6 of The main inequality, the bound for the primes, and the zero-free half-plane Definition 10.5, p. 21 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · line 130 def Data.IndexLe {n} (y : Fin n → D.rows) δ := ∃ e : ℕ → ℝ, (∀ U, ∑ l ∈ U, e l ≤ δ) ∧lemma
Data.lines 138–168argumentshort_forms Theorem A (short forms). For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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 \subseteqintegralRamified(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 \inintegralRamified(D):IndexLe(D, y, \#t\cdot\dim \operatorname{Column}(D)\cdot\mathcal{B}(D)).Structured proof, 15 steps Theorem A, p. 22 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · lines 138–141 lemma 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) := bylemma
Data.lines 173–178argumentenough_forms Theorem B (enough forms). For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean'sData 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).Structured proof, 2 steps Theorem B, p. 24 of From a one-sided bound for primes to a zero-free half-plane
The Lean statement
New/Endgame/ShortAndEnough.lean · lines 173–175 lemma 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
What it takes for granted
Unit 10 · Lattice fundamental domains and holomorphic parameter integrals, Unit 19 · Integral branching maps for general linear groups, Unit 20 · Bases of minors and the Weyl character formula for Schur modules, Unit 29 · Group-algebra projectors and averaging in unitary representations, Unit 37 · The adelic Heisenberg action, Weil representation and theta functional, Unit 54 · Period lattices and complex uniformization of polarized abelian varieties, Unit 57 · Fitting ideal bounds and multivariate Hensel lifting, Unit 63 · Almost acyclicity and descent for perfect test algebras, Unit 99 · Short bases of Hermitian lattices and the unitary mass, Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing, Unit 106 · Class numbers and adelic fundamental domains of number fields, Unit 107 · Landau’s one-sided criterion for poles, Unit 112 · Matrix determinant estimates and simultaneous eigenvectors, Unit 116 · Casimir eigenvalues and decay of Flensted–Jensen coefficients, Unit 121 · Minkowski bounds and adelic reduction of Hermitian forms, Unit 122 · Adelic Hermitian spaces and principal congruence subgroups, Unit 123 · Adelic self-duality and a one-sided Poisson summation bound, Unit 127 · Quadratic twists with zero-free half-strips, Unit 135 · Heights of families indexed by ℓ-adic embeddings, the product formula, and the height of one Gram determinant, Unit 138 · The choice of the twists: Galois representations of lifts, Selmer groups made short by one anticyclotomic twist, and congruence bounds by Ribet's method, 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 145 · Columns and the chain of theta lifts: levels and branching on the spaces X_j, short ramified columns, divisibility of the chain at each prime (marked primes and scaled Hecke operators), and size bounds, 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 149 · A crude bound for the class number of the standard definite hermitian genus, and divisibility of indices of submodules, 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 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 106 · Class numbers and adelic fundamental domains of number fields · 5 declarations
χ_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.
ℓ(d) = γ − Re L̃′/L̃(1, 1·χ_d), γ Euler's constant (the twist of the character modulo 1 by the Legendre symbol modulo 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).ξ·χ_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).
χ_d(n) = (n/d) (Legendre symbol) for every natural n.
Unit 107 · Landau’s one-sided criterion for poles · 10 declarations
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.
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.
tendsto_sub_mul_logDeriv_entireLunit 107For every s: ord_s L̃(·, χ) = 0 iff L̃(s, χ) ≠ 0, and (z − s)·L̃′/L̃(z, χ) → ord_s L̃(·, χ) as z → s, z ≠ s.
For Re s > 0 and every natural k: ∫_0^∞ t^k e^(−st) dt = k!/s^(k+1).
LSeriesHasSum_mul_vonMangoldtunit 107For Re s > 1, ∑_{n≥1} χ(n)Λ(n)n^(−s) = [χ = 1]/(s − 1) − L̃′/L̃(s, χ).
(ξ·χ_d)(n) = ξ(n)·(n/d) for every integer n.
integrableOn_laplace_of_abs_leunit 107If 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, ∞).
For d ≠ 2 prime and N coprime to d, the twist ξ·χ_d is not principal.
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.)summable_taylor_of_removableunit 107If (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.
Unit 127 · Quadratic twists with zero-free half-strips · 1 declaration
exists_entireL_quadTwist_ne_zerounit 127For 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; seeliterature.
Unit 57 · Fitting ideal bounds and multivariate Hensel lifting · 2 declarations
Nat.unit 57Coprime. norm_natCast_eq_one If p is coprime to n, then |n| = 1 in every p-adic field.
|p| = p^(−1) in a p-adic field.
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 · 21 declarations
w_D(σ) = a_D/x_D if σ is thick, a_D/x₁_D otherwise.
g = g₀·g₁, the product of the two primes of D.
rd_E, the root discriminant of E.
Data.unit 152nat_le_of_hasLogBound The same size comparison for natural numbers.
A real with a lower size bound exp(l) ≤ F is positive.
jetSize_D(j) = log j! − j·log(Ω/g), Ω = Parameters.bigOmega, g = g₀g₁.
Ω = e^(ℓ(d))·2π/rd_E, rd_E the root discriminant of E.
Data.unit 152le_of_hasLogBound Size comparison for D: if |F| ≤ exp(l) and exp(l′) ≤ G (bounds found from the sizes of the factors) and l < l′ (by default from the scale conditions of D), then F ≤ G.
𝓑(D) = f_D·a_D·(log b_D)³.
Data.unit 152hasLogUpper_of_abs_le If |G| ≤ F and |F| ≤ exp(l), then |G| ≤ exp(l) (an upper size bound for G).
c(P) = C + 2d + 6 + N₀ + |ℓ(d)| + ∑_ξ |log|P₀′(ξ)||, a constant depending on P only.
Ask(D, y, σ) = ∑_{1≤ν≤a_D} λ_{d,1}(ν)·(y/ν − w_D((−ν)·σ))⁺.
Data.unit 152nominalWeight_nonneg w_D(σ) ≥ 0.
𝖴(D) = ∑_σ (jetSize_D(w_{D,0}(σ)) − Ask(D, w_D(σ), σ)), σ over the infinite places of E.
tops(D): the infinite places of E whose class in (ℤ/N₁)^× is ≡ 1 mod N₀.
For an integer ν: the infinite place of E named by the class of ν modulo N₁ if ν is prime to N₁, and the identity place otherwise.
Data.unit 152placeClass_of_thick Every thick place has class ≡ −1 mod N₀.
Parameters.unit 152placeClass_placeOfInt_eq_neg_one For parameters P, an exponent s, an integer ν and a proof h of N₀ ∣ N₁(P, s) (Lean's binder is named d): the place placeOfInt(P, s, ν) named by ν (the class of ν mod N₁ if ν is prime to N₁, the identity place otherwise) has class placeClass(P, h)(·) = −1 in (ℤ/N₀)^× iff ν ≡ −1 mod N₀; for a ν not prime to N₁ both sides are false (the identity has class 1, and N₀ and N₁ have the same prime factors). A simp lemma.
Parameters.unit 152card_infinitePlace_E f = #infinite places of E = towerDeg(s)·φ(N₀).
Parameters.unit 152card_placeClass_eq Exactly towerDeg(s) infinite places of E are ≡ 1 mod N₀; so #tops(D) = towerDeg(s_D).
Data.unit 152classAut_eq_bot_of_le_chosenLevel Below the chosen level, with at most 2n_m coordinates, every stabiliser is trivial.
Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data · 7 declarations
Data.unit 141log_N_mem_window λ_D ≤ log N_D ≤ λ_D + √(log b_D) (N_D the level prime).
λ_D = m_D·w̄_D + (m_D − 1)·log(g·rd_E/2π) − (15/2)·log b_D.
N_D: a chosen prime ≡ 1 mod M_ω² with log N_D in [λ_D, λ_D + √(log b_D)].
N_D is prime.
The seesaw identity: there is c ∈ ℂˣ such that for every twist ϑ some good datum Ψ has ι_ϑ(𝒫(c·φ)) = B^Ψ_μ(φ) for every ramified column φ (ι_ϑ the chain of m theta lifts, B^Ψ_μ the chain through the definite spaces).
The coordinates of the columns (a linear isomorphism onto a coordinate space).
Data.unit 141goodProjTranslate |𝖦|e₀s: translate by s ∈ 𝖦, project by the good idempotent e₀, times |𝖦|.
Unit 145 · Columns and the chain of theta lifts: levels and branching on the spaces X_j, short ramified columns, divisibility of the chain at each prime (marked primes and scaled Hecke operators), and size bounds · 7 declarations
h₀(D) = m_D·(∑_{τ∈tops(D)} (jetSize_D(a_D) − Ask(D, a_D, τ)) + k_D·𝖴(D)) − #tops(D)·a_D·log N_D.
The primes p < x₁ with (p/d) ≠ 1 (not split in K).
err(p): 3·loss(p) for a non-split prime p < x₁, 4m·f·b for p = N, 0 otherwise.
Data.unit 145span_short_ramifiedColumns The ramified columns are spanned over ℂ by the exp(𝓑(D))-short ones: integral at every p-adic place, every conjugate of every value of squared norm at most exp(𝓑(D)).
Data.unit 145weylNormSq_Bmu_le Size bound: for a good datum Ψ for the trivial twist and σ ∈ Aut ℂ, if ‖σφ‖² ≤ e^B everywhere then ‖σB^Ψ_μφ‖² ≤ exp(B + h₀(D) + 2∑_p gain(p)·log p + 𝓑(D)) everywhere, p over the non-split primes below x₁.
Data.unit 145sum_allowedLoss_mul_log_le ∑_{p∈U} err(p)·log p ≤ 𝓑(D) for every finite set U.
Data.unit 145exists_indexDvd_Bmu_divisible For an integer β < [p non-split]·gain(p) − err(p) + 1: some O_ι-module S of columns has IndexDvd(integral columns, S, p^l) with l ≤ err(p)·dim Column, and p^(−β)·B^Ψ_μ(φ) is integral for every ramified φ ∈ S, every twist with level prime to p and every good Ψ.
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 · 1 declaration
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 · 7 declarations
Data.unit 143normSqAt_goodProjTranslate_le If every value of σ∘ι_1(z) has squared norm ≤ e^B, then the class-sum norm of ι_1(|𝖦|e₀sz) at σ is at most exp(x⁹⁹ + B).
Θ_D(ϑ): the composite of the m theta lifts for the twist ϑ, restricted to the rows.
Data.unit 143goodProjTranslate_mem_integralForms If a·ι_ϑ(z) is ι-integral, so is a·ι_ϑ(|𝖦|e₀sz) (passing to the good part keeps integrality).
Data.unit 143volume_iota_eq_prod_liftVolume There are constants c(ϑ) costing m·m squares with 𝔷_D(ϑ) ≠ 0 and 𝔷_D(ϑ) = |c(ϑ)|^(dim rows)·∏_{j=1}^m λ_j(ϑ) for every m-fold twist ϑ (λ_j = liftVolume).
Data.unit 143heightLe_liftVolume_ratio For a fit family θ and 1 ≤ j ≤ m, the ratios λ_j(1)/λ_j(θ_ι) have height at most dim rows·k·(log b·B₀ − 𝖴), B₀ = 𝓑/(m·k).
𝔷_D(ϑ) = det(u*u) for u = Θ_D(ϑ) on the rows (the square of normDet(u), a volume).
λ_j(ϑ) = the volume det(u*u) of the j-th lift for the twist ϑ^j on the good forms.
Unit 149 · A crude bound for the class number of the standard definite hermitian genus, and divisibility of indices of submodules · 2 declarations
If IndexDvd(M, f_i⁻¹(N′), z) for each linear map f_i, then IndexDvd(span(⋃_{i∈s} f_i(M) ∪ N′), N′, z^#s) for every finite s.
IndexDvd(M, N, z): every finite family in M admits a square matrix m over O with det m ∣ z and all combinations ∑_k m_{ik}Φ_k in N.
Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing · 8 declarations
LevelPlaces.unit 102LevelForm. integralForms The O_ι-module of forms whose every value has gauge ≤ 1 for Weyl's lattice under ι (the ι-integral forms).
O_ι = {z ∈ ℂ : |ι(z)| ≤ 1}, the valuation ring of the place ι.
The gauge of c·ξ is |ι(c)| times the gauge of ξ.
LevelPlaces.unit 102LevelForm. norm_map_det_gram_le If covolumeSq(y, σ) ≤ e^V for every σ, then |σ(det Gram(y))| ≤ e^V.
LevelPlaces.unit 102LevelForm. covolumeSq_elim_le Adjoining k forms of squared norm ≤ e^β at σ to a family of squared covolume ≤ e^V gives squared covolume ≤ e^(V + kβ) (Fischer).
LevelPlaces.unit 102LevelForm. norm_inner_le_one If x is integral at j∘conj, y at j, and A is divisible by the orders of the stabilisers at the level, then |j(A·⟨x, y⟩)| ≤ 1.
LevelPlaces.unit 102LevelForm. covolumeSq_le Hadamard: k forms of squared norm ≤ e^β at σ have squared covolume ≤ e^(kβ).
LevelPlaces.unit 102LevelForm. covolumeSq covolumeSq(y, σ) = |det(⟨σy_i, σy_l⟩)|, the squared covolume at σ.
Unit 148 · Translates of Poincaré series fill the rows: a Petersson-type second moment along a Bessel subgroup · 2 declarations
Data.unit 148finrank_rows_ne_zero dim rows(D) ≠ 0.
Data.unit 148ramifiedColumns_fill_rows Filling theorem: for every c ≠ 0 the maps |𝖦|e₀s∘𝒫∘(c·E), s ∈ 𝖦 (E the ramifying operator onto the ramified columns), are spread with constant b⁻².
Unit 135 · Heights of families indexed by ℓ-adic embeddings, the product formula, and the height of one Gram determinant · 9 declarations
exists_few_translatesunit 135Few translates: if η > 0, V ≠ 0 and B is spread with constant η, some finite set t of indices has #t·dim V ≤ 5·dim W·log(1 + 1/η) and dim ∑_{s∈t} range B_s ≥ (1 − 4η)·dim W.
Heights add over finite products.
Heights are monotone in the bound and in |ι(y_ι)|.
HeightLe(c, y) ⇒ HeightLe(n·c, yⁿ).
Heights add in products: HeightLe(c, y), HeightLe(c′, y′) ⇒ HeightLe(c + c′, y·y′).
exists_extend_basis_of_span_eq_topunit 135A linearly independent family y of n vectors extends to a basis y ⊕ z by k vectors z_a from a spanning set (dim = n + k).
One determinant: if x is a basis, u_o injective, every conjugate of the Gram determinant of u_o∘x of modulus ≤ e^α, |γ_ι|^(−2) of height ≤ g, finite sums of e ≤ δ, the pairings of integral vectors integral, and integral recombinations m with |j(det m)| ≥ e^(−e(l))|j(γ_ι)|^k exist, then the squared-volume ratios of u_{θ_ι} to u_o have height ≤ α + 2δ + k·g.
Product formula: HeightLe(c, 1) ⇒ c ≥ 0.
HeightLe(c, y) for y indexed by PrimePadicIso: there are H ≠ 0, α and e(l) with |σH| ≤ e^α for all σ ∈ Aut ℂ, |ι(H·y_ι)| ≤ e^(e(l)) for ι : ℂ ≅ ℚ̄_l, and α + ∑_{primes l<M} e(l) ≤ c for all large M.
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 · 3 declarations
c costs n squares: for every fit family θ, ι ↦ |c(θ_ι)/c(1)|^(−2) has height at most n·2t·x⁹⁹⁹.
Crude rows: some nowhere-zero γ costing 2m·m squares has the forms on Y₀ spanned by those y with (γ(ϑ)/γ(1))·ι_ϑ(y) integral above every l prime to the level of ϑ and every conjugate of every value of ι_1(y) of squared norm ≤ exp(x₁²b²).
#Y_j ≤ n_m for j ≤ m.
Unit 138 · The choice of the twists: Galois representations of lifts, Selmer groups made short by one anticyclotomic twist, and congruence bounds by Ribet's method · 1 declaration
Every admissible D has a fit family of m-fold twists.
Unit 140 · Good idempotents, labels and the transfer of traces between unitary groups · 1 declaration
dim rows(D), the complex dimension of the rows.
From Lean's own library · 55 facts
ArithmeticFunction.vonMangoldt_nonneg Λ(n) ≥ 0.
ArithmeticFunction.vonMangoldt_le_log Λ(n) ≤ log n.
Real.log_le_self log x ≤ x for x ≥ 0.
Finset.abs_sum_le_sum_abs |∑ a_i| ≤ ∑ |a_i|.
Finset.sum_le_card_nsmul A sum of terms each ≤ c is at most (number of terms)·c.
Nat.floor_le ⌊y⌋₊ ≤ y for y ≥ 0.
riemannZeta₁Mathlib at the pin: ζ₁(s) = 1 + (s − 1)·ζ₀(s), where ζ₀(s) = ζ(s) − 1/(s − 1) for s ≠ 1 and ζ₀(1) = γ (Euler's constant); so ζ₁(s) = (s − 1)ζ(s) for s ≠ 1, ζ₁(1) = 1, and ζ₁ is entire (the completion of (s − 1)ζ(s) at s = 1).
riemannZeta_eq_inv_sub_mulMathlib at the pin: ζ(s) = (s − 1)^(−1)·ζ₁(s) for s ≠ 1.
riemannZeta₁_oneMathlib at the pin (a simp lemma): ζ₁(1) = 1.
DirichletCharacter.LFunctionTrivChar₁ Mathlib at the pin: for n ≠ 0, the function equal to (s − 1)·L(s, 1_n) for s ≠ 1 (1_n the trivial character modulo n) and to ∏_{p∣n}(1 − 1/p) at s = 1; it is entire.
deriv_riemannZeta₁_oneMathlib at the pin (a simp lemma): ζ₁′(1) = γ, Euler's constant.
Finset.sum_congr_of_eq_on_inter Two sums over finite sets agree if the terms agree on the intersection and vanish on the differences.
Nat.le_floor_iff n ≤ ⌊y⌋₊ iff n ≤ y (y ≥ 0).
AnalyticOnNhd.eqOn_zero_of_preconnected_of_eventuallyEq_zero Identity theorem: an analytic function on a preconnected set that vanishes near one of its points vanishes on the whole set.
Complex.ext Two complex numbers with the same real and imaginary parts are equal.
Filter.tendsto_finsetSum Limits of finite sums are sums of limits.
ContinuousWithinAt.sub_const z ↦ z − c is continuous.
Real.add_one_le_exp x + 1 ≤ e^x.
abs_sub|a − b| ≤ |a| + |b|.
MeasureTheory.integral_comp_exp_Ioi Change of variables t = e^v on (0, ∞) ↔ (1, ∞).
LSeries_eq_mul_integral'Mathlib: if 0 ≤ r < Re s and ∑_{k≤n} |f(k)| = O(n^r), then ∑ f(n)n^(−s) = s·∫_1^∞ (∑_{k≤t} f(k))·t^(−(s+1)) dt.
ArithmeticFunction.vonMangoldt. residueClass_apply Mathlib: for a unit a mod q, Λ restricted to n ≡ a equals (1/φ(q))·∑_χ χ(a)^(−1)χ(n)Λ(n).
LSeriesHasSum.sum Finite sums of convergent L-series converge to the sum.
Real.tendsto_exp_atTop e^v → ∞ as v → ∞.
IsCompact.exists_thickening_subset_open A compact subset of an open set has a thickening inside it.
isOpen_analyticAtThe set of points where a function is analytic is open.
Ioo_mem_nhdsGT(a, b) is a right-neighbourhood of a when a < b.
thickening_closedBallThe ε-thickening of the closed ball of radius δ is the open ball of radius ε + δ.
exists_pos_mul_ltFor a > 0 and b there is c > 0 with b·c < a.
isOpen_re_gt{z : Re z > c} is open.
hasDerivAt_integral_of_dominated_loc_of_deriv_leDifferentiation under the integral sign with a local integrable domination of the derivative.
iteratedDeriv_succThe (k + 1)-st derivative is the derivative of the k-th.
HasDerivAt.congr_of_eventuallyEq Functions equal near a point have the same derivative there.
Filter.mem_atTop {x | x ≥ a} belongs to atTop.
Summable.norm An absolutely summable series: the norms are summable.
Summable.le_tsum A term of a summable non-negative series is at most the sum.
Filter.Eventually. exists An eventually-true property holds somewhere (for a non-trivial filter).
MeasureTheory.Integrable. of_integral_ne_zero A function with non-zero integral is integrable (Lean's convention: the integral of a non-integrable function is 0).
MeasureTheory.setIntegral_nonneg The integral of a function ≥ 0 on a measurable set is ≥ 0.
Real.log_three_lt_d9 log 3 < 1.0986122887.
Nat.abs_sub_ceil_le |⌈x⌉₊ − x| ≤ 1 for x ≥ 0 (name as used in the source:
abs_sub_ceil_le).add_thirdsa/3 + a/3 + a/3 = a.
max_le_add_of_nonnegmax(a, b) ≤ a + b for a, b ≥ 0.
Real.log_prod The logarithm of a product of non-zero factors is the sum of the logarithms.
Finset.prod_pos A finite product of positive numbers is positive.
Finset.prod_eq_single A product all of whose factors but one are 1 equals that factor.
Nat.coprime_primes Two primes are coprime iff they are distinct.
Stirling.log_stirlingSeq'_antitone n ↦ log(stirlingSeq(n + 1)) is antitone.
Stirling.log_stirlingSeq_formula log stirlingSeq(n) = log n! − (1/2)log(2n) − n log(n/e).
Int.ceil_lt_add_one ⌈r⌉ < r + 1.
Valuation.Integers. le_of_dvd In the ring of integers of a valuation, a ∣ b implies v(b) ≤ v(a).
Submodule.finrank_mono A smaller subspace has at most the dimension of a larger one.
exists_fun_fin_finrank_span_eqMathlib: a set Y has a linearly independent family of dim span Y members whose span is span Y.
Submodule.span_iUnion₂ The span of a union is the supremum of the spans.
LinearMap.range_smul range(c·f) = range f for c ≠ 0.
Where it is used
Unit 145 · Columns and the chain of theta lifts: levels and branching on the spaces X_j, short ramified columns, divisibility of the chain at each prime (marked primes and scaled Hecke operators), and size bounds, 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 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
Its files
The program check
29 of 29 statements stand at the lines the dossier gives; 18 structured proofs with 121 steps, 104 of them leaves, the longest of 8 lines; 121 steps quote exactly their lines. Checked 2026-11-26T08:09Z.
The check shows that the dossier describes the lines it cites. Whether the English is right is read when a note is written.