Lemma 3.10 of the rh-lean-roadmap book (label B1.39): for n ≥ 1 and Re s = sigma > 1, int_1inf (y/n-1)_+ y^(-s-1) dy = n^(-s)/(s(s-1)) and int_1inf |...| dy = n^(-sigma)/(sigma(sigma-1)). This is Deduction.mellin_ramp (the ramp vanishes below n, then two cpow integrals) and Deduction.mellin_Gchi_of_ne_one_norm (mellin_ramp at the real point Re s). Both formulas were checked by quadrature for five n and six s, relative error below 2e-18.
The book's Mellin transform of one ramp function, signed and absolute, is exactly the formal lemma pair in the Lean archive.
2 numbered results: 1 citing Lean names that are not on the receipt, 1 not machine-checked.
- Lemma 3.10of the rh-lean-roadmap book (Transform of a single ramp) is , for the signed integral, together with , for the absolute integral, 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.10Transform of a single rampnot 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.10 of the rh-lean-roadmap book (Transform of a single ramp) is Deduction.mellin_ramp, for the signed integral, together with Deduction.mellin_Gchi_of_ne_one_norm, for the absolute integral, in Alpöge's archive. In the LaTeX source its label is B1.39. The compiled book.pdf numbers it Lemma 3.10 Lean name cited, not on the receipt, on page 26. Both formulas and their hypotheses (n ≥ 1, Re s > 1) are the same.
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 1336–1352):
Lemma 3.10 (Transform of a single ramp). not machine-checked For n ∈ ℕ, n ≥ 1, and s ∈ ℂ with σ = Re s > 1, ∫₁^∞ (y/n − 1)₊ y^{−s−1} dy = n^{−s}/(s(s−1)), and ∫₁^∞ |(y/n − 1)₊ y^{−s−1}| dy = n^{−σ}/(σ(σ−1)).
Proof. By DLMF (5.9.1) with μ = ν = 1, the substitution y = neᵘ gives n^{−s}((s−1)^{−1} − s^{−1}) for the first integral. Taking the modulus replaces s by σ in the integrand.
Lean.
src/Development/AutomorphicArithmetic/DedekindLFunctions/LandauTheorems/MellinRamp.lean, lines 10–51.mellin_ramp (n : ℕ) (hn : 1 ≤ n) (s : ℂ) (hs : 1 < s.re) : ∫ y in Ioi 1, ((max (y/n − 1) 0 : ℝ) : ℂ) * (y : ℂ)^(−s−1) = (n : ℂ)^(−s) / (s * (s − 1)).- The proof restricts to (n, ∞), where the ramp vanishes on (1, n].
- It writes the integrand as n^{−1}y^{−s} − y^{−s−1} and uses
integral_Ioi_cpow_of_lttwice. - This is the book's computation, done directly in y rather than through DLMF (5.9.1).
…/LandauTheorems/mellinGchiOfNeOne.lean, lines 27–41.mellin_Gchi_of_ne_one_norm: ∫ ‖…‖ = n^{−Re s}/(Re s · (Re s − 1)).- It applies
mellin_rampat the real point Re s. - This uses the fact that the modulus of the integrand is the integrand at σ, as the book says.
My check (search/review/roadmap/transforms_check.py, mpmath, part A). For n ∈ {1, 2, 7, 30, 101} and s ∈ {1.05, 1.05+7i, 1.5−3i, 3+20i, 2.5+0.3i, 4−11i}:
- Method. I integrated both integrals numerically, split geometrically from n until e^{−(σ−1)U} < 10⁻⁴⁰.
- Signed integral. The largest relative error against n^{−s}/(s(s−1)) is 1.6·10⁻¹⁸.
- Absolute integral. The largest relative error against n^{−σ}/(σ(σ−1)) is 1.1·10⁻¹⁹.
Not checked.
- DLMF (5.9.1) itself. The Lean does not use it.
- Mathlib's
integral_Ioi_cpow_of_ltbeyond its statement. - I did not build the Lean.