Lemma 3.9 of the rh-lean-roadmap book (label B1.38): G_chi is Borel measurable, |G_chi(y)| ≤ C_chi y2 for y ≥ 1, and the ramp sum with |f| ≤ 1 is at most 2y2. This is Deduction.measurable_Gchi, Gchi_growth_ramp and Gchi_growth, with the book's constants C = 3 + |1+gamma| (principal) and 2 + |D_chi(1)| (otherwise). Both bounds were checked at every prime power up to 2e5 for six f and three characters.
The book's measurability and growth bounds for the centred prime sums, with the same constants, are exactly the formal lemmas in the Lean archive.
2 numbered results: 1 citing Lean names that are not on the receipt, 1 not machine-checked.
- Lemma 3.9of the rh-lean-roadmap book (Measurability and quadratic growth) is , and in Alpöge's archive. In the LaTeX source its label is . The compiled [book.pdf](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/book.pdf) numbers itLean name cited, not on the receipt
- Lemma 3.9Measurability and quadratic growthnot machine-checked
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
Outcome: match. Lemma 3.9 of the rh-lean-roadmap book (Measurability and quadratic growth) is Deduction.measurable_Gchi, Deduction.Gchi_growth_ramp and Deduction.Gchi_growth in Alpöge's archive. In the LaTeX source its label is B1.38. The compiled book.pdf numbers it Lemma 3.9 Lean name cited, not on the receipt, on page 26. The three parts are the same:
- G_χ is Borel measurable;
- |G_χ(y)| ≤ C_χ y² for y ≥ 1;
- the ramp bound |Σ Λ(n)f(n)(y/n−1)| ≤ 2y² for |f| ≤ 1 and y ≥ 1.
The explicit constants of the book's proof are the ones the Lean uses.
Archive used. Alpöge's archive lean.tar.gz, in 14 parts from alpo.ge.
- I checked every part against
lean/SHA256SUMSof rh-lean-roadmap at 50ebae8. - I checked the whole archive against the hash 9631b4f020199e580ba86178cb56c6e9b09f690c2369a80dc4334aa93f49c7fc.
- The archive is built on Mathlib 0df444a.
Prose (docs/src/book/main.tex, lines 1314–1334):
Lemma 3.9 (Measurability and quadratic growth). not machine-checked For every χ, G_χ : ℝ → ℂ is Borel measurable, and some C_χ ∈ ℝ satisfies |G_χ(y)| ≤ C_χ y² (y ≥ 1). For f : ℕ → ℂ with |f(n)| ≤ 1, |Σ_{1≤n≤y} Λ(n)f(n)(y/n − 1)| ≤ 2y² (y ≥ 1).
Proof. Since 0 ≤ Λ(n) ≤ n and (y/n − 1)₊ ≤ y/n, each summand has norm at most y, and there are at most 2y terms. Use 0 ≤ log y ≤ y to take C_χ = 3 + |1+γ| for principal χ and C_χ = 2 + |D_χ(1)| otherwise. On each Borel level set of ⌊y⌋₊, the ramp is a finite sum of Borel functions, and the centring terms are Borel.
Lean. src/Development/AutomorphicArithmetic/DedekindLFunctions/LandauTheorems/.
measurableGchi.lean, lines 24–28.measurable_Gchi χ : Measurable (Gchi χ). It splits on χ = 1 and usesmeasurable_Gchi_ramp, a lemma in the same file, for the ramp.GchiGrowth.lean, lines 9–35.Gchi_growth_ramp (f) (hf : ∀ n, ‖f n‖ ≤ 1) (hy : 1 ≤ y) : ‖ramp f y‖ ≤ 2 * y^2.- Each term is bounded by y, using Λ(n) ≤ log n ≤ n and max(y/n − 1, 0) ≤ y/n.
- The sum runs over
range (⌊y⌋₊ + 1), which has at most 2y terms. - This is the book's argument.
GchiGrowth.lean, lines 37–66.Gchi_growth χ : ∃ C, ∀ y ≥ 1, ‖Gchi χ y‖ ≤ C * y^2.- The witnesses are C = 2 + 1 + |1+γ| (principal) and C = 2 + ‖L′(χ,1)/L(χ,1)‖ (otherwise).
- These are exactly the book's constants.
Gchiis Definition 2.10.
My check (search/review/roadmap/ramp_growth_termwise_check.py, part A, numpy and mpmath). The ramp is continuous and piecewise linear with breaks at prime powers. So I evaluated it at every prime power ≤ 2·10⁵ and on a grid of integers, including the interior critical point of |Ay+B|/y² where it is real.
- Ramp bound. max |ramp_f(y)|/(2y²) is at most 0.046 for six choices of f: 1, χ₄, a complex character mod 5, e^{in}, e^{in²}/2, and random unit values. The claim is ≤ 1.
- G_χ bound. With the book's constants, max |G_χ(y)|/(C_χ y²) is:
- 0.345 for the principal character mod 1 (C = 4.577);
- 0.109 for χ₄ (C = 2.246);
- 0.083 for χ mod 5 (C = 2.181).
Not checked.
- Borel measurability, beyond reading the two proofs.
- Mathlib's
vonMangoldt_le_log. - I did not build the Lean.