Prose check: Plascencia's field guide, section 3.9.1 (coset orthogonality, ramp identity, averaged comparison (Q delta/2)(G - Sigma - 4x^(1/2+eps)) ≤ E + 2Q/x) matches ortho_coset, askExp and Charact
PDF built from iis-2612-00630.tex sha256 6167be0402e5… by the site's TeX builder, 2026-12-01 08:21 UTC.
Section 3.9.1 of A. Plascencia's field guide states a coset-orthogonality identity on (Z/2)2 x H with conjugate on xi(g), the ramp identity (a/pj - w)_+ = w((a/w)/pj − 1)_+, and the averaged comparison (Q delta/2)(G - Sigma - 4x^(1/2+eps)) ≤ E + 2Q/x, Q = NT m b, delta = N2/n. These are ortho_coset with card_G, term_real/sum_cut, askExp and CharacterBalanceMoves.core. I tested the identities numerically.
The field guide's character-orthogonality and averaging step is the Lean lemmas ortho_coset, askExp and CharacterBalanceMoves.core, with the same constants.
Outcome: match. Section 3.9.1 of Alexis Plascencia's Riemann: a field guide (technical edition), "Recover the prime sum from local arithmetic", has four parts:
- a coset-orthogonality identity on Γ = (ℤ/2)² × H, with the conjugate on ξ(g);
- the ramp identity (a/p^j − w)₊ = w((a/w)/p^j − 1)₊;
- the expansion of the local ramps into character sums;
- the averaged comparison (Qδ/2)(G_F − Σ − 4x^{½+ε}) ≤ E_x + 2Q/x, with Q = N_T·m·b and δ = N₂/n.
Each part is a lemma in the archive, with the same normalizations, as listed below.
Sources used.
- The page technical.html, section 3.9.1, 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/SizeWindowBrackets/ChainSlopeWindows/StronglyIrreducible.lean;Formalism/SizeWindowBrackets/FirstPrimeNeSecondPrime.lean;Formalism/SizeWindowBrackets/GrowthBoundGivesRiemannHypothesis.lean;Development/AutomorphicArithmetic/DedekindLFunctions/SplitInertia.lean;DedekindLFunctions/LandauTheorems/ChBalance.leanandChCore.lean.
Prose (section 3.9.1, abridged):
… a finite abelian group Γ = (ℤ/2ℤ)² × H … write n = |H|. … For a character ξ define v_ξ(p^j) = (1/|I_p|) Σ_{h∈I_p} ξ(jF_p + h). Character orthogonality … (1/|Γ|) Σ_ξ conj(ξ(g)) v_ξ(p^j) = (1/|I_p|)·1_{g − jF_p ∈ I_p}. The conjugate on ξ(g) is essential. Local divisibility terms involve positive ramps (a/p^j − w)₊ … The identity (a/p^j − w)₊ = w((a/w)/p^j − 1)₊ turns them into the same smoothing used in the analytic error. … let N_T count the selected translates, m be the chain length, and b > 0 its weight scale. A second selected subset of H has N₂ elements and positive proportion δ = N₂/n … Put Q = N_T m b. … the averaged comparison reads (Qδ/2)(G_F(x) − Σ(x) − 4x^{1/2+ε}) ≤ E_x + 2Q/x. Here E_x is the lattice-comparison error and Σ(x) is the sum of the absolute errors of the discarded auxiliary characters. …
Lean.
- v_ξ.
cosetMean I h ψ(FirstPrimeNeSecondPrime.lean line 60) is the mean of ψ(h + x) over x ∈ I.primVal D ψ (p^i)iscosetMean (D.inertia p) (i • D.frob p) ψ(lines 65–66, withprimitive_value_pow). This is the prose's v_ξ(p^j).- Orthogonality.
ortho_coset(StronglyIrreducible.lean lines 274–276) states (1/|Φ|) Σ_ψ conj(ψ g) · cosetMean I h ψ = 2/|I| if g − h ∈ I, and 0 otherwise.card_G(line 136) gives |E0 × H| = 2|Φ|.- Together these are exactly the prose identity with h = jF_p, and the conjugate (
starRingEnd ℂ (ψ g)) is on ψ(g). orthogonality_ramifiedandorthogonality_unramified(lines 311–326) apply it at prime powers.- The ramp identity.
term_real(line 612) is a/n − w = w(a/w/n − 1).sum_cut(lines 619–622) replaces max(a/n − W, 0) by the cut sum up to ⌊a/W⌋.inner_eq(line 655) rewrites that sum as w·GPsi(a/w) plus the main term. G_ψ is the analytic smoothing (y/n − 1), so this is "the same smoothing used in the analytic error".- The local expansion.
askExp(ChBalance.lean lines 122–125) writes the local ramp sumASKas (1/|Φ|) Σ_g Σ_ψ conj(ψ g) Σ_n Λ(n)·primVal·max(a/n − w, 0).ASKitself (FirstPrimeNeSecondPrime.lean line 84) carries 2·log p for inert primes and log d at the ramified prime: "inertia and residue degrees accounted for".ch_balance(ChBalance.lean line 200) subtracts the main termMAIN, leaving the character errorsDe.- The averaged comparison.
CharacterBalanceMoves.core(ChCore.lean lines 283–290) concludes N_T·m·b·(δ/2)·Y ≤ Err + 2·N_T·m·b/x, with N_T =TT.cardand δ =delta2 T2= |T2|/|H| (GrowthBoundGivesRiemannHypothesis.lean line 41).- It averages over u ∈ A0 (the translations) using
sum_A. - In
ch_coreit is applied (line 440) with Y = G_F − Σ − 4x^{½+ε} (thehYstep). That is the prose's inequality with Q = N_T m b and E_x = Err. - Σ and G_F.
SigA(SplitInertia.lean lines 39–40) is the sum of ‖G_ψ‖ over the auxiliary charactersPsiA A0 \ Kp: "the absolute errors of the discarded auxiliary characters".GmA(lines 34–35) is the weighted family.- The bound Σ ≤ 4o·x^{½+ε} is
sigA_le, which I covered in my report on section 3.9.
My check (search/review/plascencia_391_check.py).
- Orthogonality. I enumerated every character of Γ = (ℤ/2)² × ℤ/n for n = 1, 2, 3, 4, 6, and every subgroup I generated by two elements. With random F, j and g, the identity (1/|Γ|) Σ_ξ conj(ξ(g))·mean_{h∈I} ξ(jF + h) = (1/|I|)·1_{g−jF∈I} held in all 2,400 cases.
- The ramp identity. It held on 100,000 random values with w > 0.
Not checked.
- The Lean proofs.
- The claim δ ≥ x^{−ε} from the parameter bounds; it is a hypothesis-side statement, which I did not trace.
- The proof that the lattice error E_x bounds
gapA.
PDFs do not display inside pages on phones. Open the PDF.
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.
Files
content-addressed: the hash is the address| iis-2612-00630.pdf | 281 kB | sha256 b56485123d9c1478… .ots |