Prose check: the rh-lean-roadmap book's Lemma 2.13 (logarithmic windows, WH => WH_U(gF)
label B1.29) matches Deduction.windowHypU_of_windowHyp in Alpöge's archive
PDF built from iis-2612-00758.tex sha256 6bddaa5f7268… by the site's TeX builder, 2026-12-02 10:43 UTC.
Lemma 2.13 of the rh-lean-roadmap book (label B1.29): the integral window hypothesis WH(F;theta,delta) on [Y, Y^(1+delta)] implies its logarithmic form WH_U(gF;theta,delta) on [U,(1+delta)U] with gF(u) = Gm(F,eu). This is Deduction.windowHypU_of_windowHyp (WindowHypUOfWindowHyp.lean lines 29-56), with WindowHyp, WindowHypU and gm matching the book's WH, WH_U and gF; the proof is the same change of variables u = log y. The book's Y ≥ max(eU0, 1) is not needed; Y ≥ eU0 suffices.
The book's change of variables from windows in y to windows in log y is exactly the formal lemma in the Lean archive.
2 numbered results: 1 citing Lean names that are not on the receipt, 1 not machine-checked.
- Lemma 2.13of the rh-lean-roadmap book (Logarithmic windows) is in Alpöge's archive, with the condition WH_U as . 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 2.13Logarithmic windowsnot 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 2.13 of the rh-lean-roadmap book (Logarithmic windows) is Deduction.windowHypU_of_windowHyp in Alpöge's archive, with the condition WH_U as Deduction.WindowHypU. In the LaTeX source its label is B1.29. The compiled book.pdf numbers it Lemma 2.13 Lean name cited, not on the receipt, on page 23.
- The definitions WH (Lemma 2.11, label B1.27), WH_U and g_F(u) = G_m(F, eᵘ) match the archive's
WindowHyp,WindowHypUandgmclause by clause. - The book's proof follows the same steps as the Lean proof, with one difference: the book chooses Y ≥ max(e^{U₀}, 1), while the Lean only needs Y ≥ e^{U₀}.
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.
Prose (docs/src/book/main.tex, lines 1137–1152). The definitions it uses are on line 1087 (g_F) and lines 1092–1104 (WH, Lemma 2.11).
Lemma 2.13 (Logarithmic windows). not machine-checked For g : ℝ → ℝ and θ, δ ∈ ℝ, let WH_U(g; θ, δ) mean that every η > 0 and U₀ ∈ ℝ admit U ≥ U₀ and R_U : ℝ → ℝ such that:
- u ↦ R_U(u)e^{−θu} is in L¹(I_U), where I_U = [U, (1+δ)U];
- 0 ≤ R_U(u) and g(u) ≤ R_U(u) for all u ∈ I_U;
- ∫_{I_U} R_U(u)e^{−θu} du ≤ e^{ηU}.
For every character family F, θ ∈ ℝ and δ > 0, WH(F; θ, δ) ⟹ WH_U(g_F; θ, δ).
WH(F; θ, δ) is the same condition on the window J_Y = [Y, Y^{1+δ}], with weight y^{−θ−1}, the envelope bound G_m(F, y) ≤ R(y), and the integral bound Y^η.
The book's proof is at lines 26584–26603. It takes U = log Y and R_U(u) = R(eᵘ), and applies Folland's change of variables (Theorem 2.47(a)) to u ↦ eᵘ. The index entry is at line 65290.
Lean. All three files are in src/Development/AutomorphicArithmetic/DedekindLFunctions/.
- WH.
CharFamily.leanlines 41–45,WindowHyp F θ δ, has the same quantifiers as the book: ∀ η > 0, ∀ Y₀, ∃ Y ≥ Y₀, ∃ R with IntegrableOn (R y * y^(−θ−1)) (Icc Y (Y^(1+δ)));- ∀ y in the window, 0 ≤ R y ∧ Gm F y ≤ R y;
- the integral ≤ Y^η.
- WH_U and g_F.
LandauZeroFreeCriterion.lean: - line 9:
gm F u = Gm F (exp u), the book's g_F; - lines 25–29:
WindowHypU g θ δ, which is WH_U withIcc U ((1+δ)·U)and the weightexp (−θ·u). - The lemma.
LandauTheorems/WindowHypUOfWindowHyp.leanlines 29–56,windowHypU_of_windowHyp (F) (hδ : 0 < δ) (h : WindowHyp F θ δ) : WindowHypU (gm F) θ δ. The proof: - applies
hwith Y₀ = exp U₀; - takes U = log Y and R_U = R ∘ exp;
- proves exp '' Icc (log Y) ((1+δ) log Y) = Icc Y (Y^(1+δ)) using the helper
windowHypU_of_windowHyp_image(lines 9–19); - uses
integrableOn_image_iff_integrableOn_abs_deriv_smulandintegral_image_eq_integral_abs_deriv_smul(Mathlib's change of variables) with the integrand identitywindowHypU_of_windowHyp_fun(lines 21–27): |eᵘ|·R(eᵘ)(eᵘ)^{−θ−1} = R(eᵘ)e^{−θu}; - finishes with Y^η = e^{η log Y}.
This is the book's proof step by step.
- Use. The lemma is used in
Deduction.lemmaL(B1.28, Theorem 2.12), as in the book.
The one difference. The book chooses Y ≥ max(e^{U₀}, 1). The Lean only uses Y ≥ e^{U₀}, which gives Y > 0, and that is all exp_log and rpow_def_of_pos need. The image identity holds for every Y > 0: when Y < 1 both windows are empty. So the extra "1" is harmless and not needed.
My check (search/review/roadmap/log_windows_check.py, scipy). I used 2,000 random (U₀, Y ≥ e^{U₀}, θ, δ, η) and five test envelopes R, including a step function and a function with kinks. I found:
- exp maps the endpoints of I_U onto those of J_Y;
- the pointwise integrand identity holds;
- ∫_{J_Y} R(y)y^{−θ−1} dy and ∫_{I_U} R(eᵘ)e^{−θu} du, each computed by adaptive quadrature in its own variable (no substitution used), agree to a relative 1.0·10⁻¹⁵ once the quadrature is split at the jumps and kinks;
- Y^η = e^{ηU} and U ≥ U₀;
- for Y < 1 both windows are empty.
There were no violations.
Not checked. I did not build the Lean. The comparison is with the source text of the archive files.
PDFs do not display inside pages on phones. Open the PDF.
Files
content-addressed: the hash is the address| iis-2612-00758.pdf | 284 kB | sha256 8574f5eb8ac14a1a… .ots |