Section 2.3.2 of A. Plascencia's field guide defines the smoothed sum A_chi(y) = sumn≤y Lam(n) chi(n) (y/n - 1), each prime power entering at zero when y = n, and states A_chi(y) = y int_1y psi_chi(t)/t2 dt. Deduction.ramp (CharFamily.lean) is this sum (max with 0, range up to floor y). I checked the integral identity by hand and exactly on 360 random cases with 9 characters.
The field guide's ramp smoothing is the Lean definition ramp, and its integral identity holds.
Outcome: match. Section 2.3.2 of Alexis Plascencia's Riemann: a field guide (technical edition), "See what the ramp does to the counting function", defines the smoothed sum A_χ(y) = Σ_{n≤y} Λ(n)χ(n)(y/n − 1), in which each prime power enters at zero when y = n and grows linearly. It states the identity A_χ(y) = y∫_1^y ψ_χ(t)/t² dt, where ψ_χ(t) = Σ_{n≤t} Λ(n)χ(n).
The archive's Deduction.ramp is this smoothed sum, and I checked the identity by hand and numerically.
Sources used.
- The page technical.html, section 2.3.2, fetched on 30 Nov 2026 (sha256 begins 00f3b6fb).
- Alpöge's archive, which I checked part by part against
lean/SHA256SUMSof rh-lean-roadmap at 50ebae8:Development/AutomorphicArithmetic/DedekindLFunctions/CharFamily.lean.
Prose (section 2.3.2):
Define the character-weighted counting function ψ_χ(t) = Σ_{1≤n≤t} Λ_vM(n)χ(n). Each prime power enters this function abruptly. In the smoothed sum, its contribution starts at zero when y = n, then grows linearly. The precise relationship, for y ≥ 1, is A_χ(y) = y∫_1^y ψ_χ(t)/t² dt. To check it, interchange the finite sum and the integral. The term indexed by n ≤ y contributes y∫_n^y t^{−2} dt = y/n − 1. The endpoint n = y contributes zero. …
Lean.
- The ramp.
ramp f y = Σ_{n ∈ range(⌊y⌋+1)} Λ(n)·f(n)·max(y/n − 1, 0)(CharFamily.lean lines 10–11). - The max with 0 is inactive for n ≤ y, since y/n ≥ 1.
- The n = 0 term vanishes, because Λ(0) = 0.
- So
ramp χ y= Σ_{n≤y} Λ(n)χ(n)(y/n − 1): the prose's A_χ, with a contribution of zero at n = y that grows linearly after. - Its use.
Gchi(lines 15–19) isrampplus the main and constant terms, i.e. the G_χ of section 2.3.1. - The integral identity. The archive does not state the integral identity as a lemma. Its Laplace and Mellin form is handled in
MellinRamp.leanandmellinGchi…, which I compared in earlier reports on section 2.4.
My check.
- By hand. For a fixed n ≤ y, ∫_{max(n,1)}^y t^{−2} dt = 1/n − 1/y. Multiplying by y gives y/n − 1, and summing over n ≤ y with weights Λ(n)χ(n) gives the identity. Exchanging the finite sum and the integral is valid.
- Numerically (
search/review/plascencia/ramp_identity_check.py). I used the trivial character and all characters mod 5 and mod 8, and 40 random y ∈ [1, 2000] each: 360 cases. Since ψ_χ is constant on [k, k+1), the integral can be computed exactly piecewise. In every case A_χ(y) = y∫_1^y ψ_χ/t² to 10⁻⁷ relative accuracy.
Not checked. The prose remark that smoothing creates the factor 1/[s(s−1)] in the Mellin transform; my earlier reports on section 2.4.2 cover MellinRamp.