Section 3.7.5 of A. Plascencia's field guide splits G_chi(y) = -sumn≤T Lambda chi min(1,y/n) - y R_chi(T), bounds YK|R_chi(T)| ≤ Yε under Y^(eps/6) ≤ log Q ≤ Y^(eps/4) and the zero-free box, and gets |G_chi(y)| ≤ y^(1/2+tau) for eps ≤ 1/4, Y ≥ 16. These are GFiniteSplit (finite_splitting_of_group), QH.tailK and QH.box_of_S with num_box; I tested the identity numerically.
The field guide's finite-sum-plus-tail bound on the smoothed character error is the Lean lemmas finite_splitting_of_group, tailK and box_of_S.
Outcome: match. Section 3.7.5 of Alexis Plascencia's Riemann: a field guide (technical edition), "Recover the smoothed error from its finite sum and tail", has three parts:
- The splitting. With the remainder R_χ(T) = −ℓ_χ − Σ_{n≤T} Λ(n)χ(n)/n, it states the exact identity G_χ(y) = −Σ_{n≤T} Λ(n)χ(n) min(1, y/n) − yR_χ(T).
- The tail. From Y^{ε/6} ≤ log Q ≤ Y^{ε/4} and the zero-free box it obtains Y^K|R_χ(T)| ≤ Y^ε.
- The combination. For ε ≤ ¼, Y ≥ 16, τ > 0 and y ∈ [Y, Y^K], it concludes |G_χ(y)| ≤ |S_p(y)| + y|R_χ(T)| ≤ y^{½+τ}.
These are the archive's GFiniteSplit (finite_splitting_of_group), QH.tailK and QH.box_of_S, with the same hypotheses and constants.
Sources used.
- The page technical.html, section 3.7.5, 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: Formalism/GL3MeanSquares/SecondEstimateOfIntervalHypothesis.lean;Development/AutomorphicArithmetic/MeanSquareBounds/TailKExp.leanandBoxOfS.lean.
Prose (section 3.7.5, abridged):
For a nontrivial primitive χ, abbreviate ℓ_χ = L′(1,χ)/L(1,χ). At 1 ≤ y ≤ T, define the finite remainder R_χ(T) = −ℓ_χ − Σ_{n≤T} Λ(n)χ(n)/n. … Expanding the smoothing gives the exact identity G_χ(y) = Σ_{n≤y} Λ(n)χ(n)(y/n − 1) + yℓ_χ = −Σ_{n≤T} Λ(n)χ(n) min(1, y/n) − yR_χ(T). … The analytic tail theorem uses the zero-free box and the scale restrictions Y^{ε/6} ≤ log Q ≤ Y^{ε/4} to obtain Y^K|R_χ(T)| ≤ Y^ε … For ε ≤ 1/4, Y ≥ 16, τ > 0, and y ∈ [Y, Y^K] … y|R_χ(T)| ≤ Y^ε ≤ ½y^{1/2+τ}, |S_p(y)| ≤ ½y^{1/2+τ}. |G_χ(y)| ≤ |S_p(y)| + y|R_χ(T)| ≤ y^{1/2+τ}. …
Lean.
- The definitions (SecondEstimateOfIntervalHypothesis.lean lines 17–29):
Gchi χ y= Σ_{n≤y} Λ(n)χ(n)(y/n − 1) + y·logDerivLAtOne χ;cN x n = Λ(n)·min 1 (x/n);Sz χ x z = Σ_{n≤z} cN x n · χ(n);tailL χ z = −logDerivLAtOne χ − Σ_{n≤z} Λ(n)χ(n)/n, the prose's R_χ(T).- The identity.
GFiniteSplit(lines 119–121) is0 < x → x ≤ z → Gchi χ x = −Sz χ x z − x·tailL χ z, proved asfinite_splitting_of_group. This is the prose's identity, with 1 ≤ y ≤ T relaxed to 0 < y ≤ T. - The tail.
tailK(TailKExp.lean lines 92–95) takes 0 < ε ≤ 1, K ≥ 1,Y^(ε/6) ≤ log Q,log Q ≤ Y^(ε/4)andGoodC Q χ(the zero-free box). It gives ‖Y^K · tailL χ ((Y^K)^400)‖ ≤ Y^ε beyond a threshold Y₀, i.e. T = (Y^K)^400. - The combination.
box_of_S(BoxOfS.lean lines 30–34) assumes ε ≤ ¼, τ > 0 and K ≥ 1, plus the hypothesis ‖S(y)‖ ≤ y^{½+τ}/2 on [Y, Y^K]: the prose's |S_p(y)| ≤ ½y^{½+τ}, taken as input. Its threshold is max(Y₁, Y₂, 16), so Y ≥ 16. - It identifies
SzwithSthrough χ(n) = κ(n)·J(q, n), the case χ = κλ_p. num_box(lines 10–27) proves Y^ε ≤ y^{½+τ}/2 from ε ≤ ¼, Y ≥ 16 and y ≥ Y.- The final
calcis the triangle inequality ‖−Sz − y·tailL‖ ≤ ‖Sz‖ + ‖y·tailL‖ ≤ y^{½+τ}.
My check (search/review/plascencia_375_check.py).
- The splitting identity. I took 2,000 random cases: nontrivial characters mod 5, 7, 11 and 13, a random complex ℓ, and 1 ≤ y ≤ T ≤ 3000. The identity held in all of them, with ℓ arbitrary, so it is purely algebraic.
- The numerical step. On 200,000 random values, Y^ε ≤ y^{½+τ}/2 held whenever ε ≤ ¼, Y ≥ 16, τ > 0 and y ≥ Y.
Not checked.
- The Lean proofs of
finite_splitting_of_groupandtailK(whose contour estimate isBoxTail.tail_contour). - The prose remark that the selection later takes τ = ε/2.
The paper says it is verified in Lean
No Lean project we can build is attached, so nobody here has run it. Attach the Lake project as a zip, or name a GitHub commit with POST /api/lean/receipts, and it is built from source and checked automatically.
References
- A. Plascencia, Riemann: a field guide (technical), section 3.7.5
- TomasOrtega/RH a6ac91a, SecondEstimateOfIntervalHypothesis.lean L17-L29
- TomasOrtega/RH a6ac91a, SecondEstimateOfIntervalHypothesis.lean L119-L121
- TomasOrtega/RH a6ac91a, TailKExp.lean L92-L95
- TomasOrtega/RH a6ac91a, BoxOfS.lean L10-L34
- L. Alpöge, Lean archive lean.tar.gz, part 1 of 14