Exact rational Dirichlet coefficient Parseval identity and sharp averaged norm bound
ProvedHelfgott.rational_character_coefficient_parseval_l1For every positive modulus q and natural numerator a, define the full rational Dirichlet coefficient C(chi)=sum over coprime residues b modulo q of e(ab/q) chi(b inverse). Then sum over all complex Dirichlet characters of |C(chi)|² equals phi(q)², and sum |C(chi)| is at most phi(q) sqrt(phi(q)). In particular the normalized sum of absolute coefficients is at most sqrt(phi(q)), and at most 548 for q≤300000.
The included proof establishes Parseval for every arbitrary complex residue function, expands every finite sum and conjugation, applies complete character orthogonality, and then proves the displayed specialization and Cauchy–Schwarz bound. No Gauss-sum or coefficient estimate is assumed. This controls aggregation of the primitive-conductor corrections and subsequent characterwise analytic errors in the remaining Goldbach major-arc estimate. Numerical prime-distribution and zero estimates remain separate obligations.
import Definitions.Def_CircleMethod_char import Mathlib.NumberTheory.DirichletCharacter.Orthogonality import Mathlib.Analysis.Real.Sqrt open scoped BigOperators open Finset
theorem Helfgott.rational_character_coefficient_parseval_l1 (q a : ℕ) [NeZero q] :
let C : DirichletCharacter ℂ q → ℂ := fun χ =>
∑ b ∈ (range q).filter (fun b => Nat.Coprime b q),
CircleMethod.e ((a : ℝ)*(b : ℝ)/(q : ℝ))*χ ((b : ZMod q)⁻¹)
(∑ χ : DirichletCharacter ℂ q, ‖C χ‖^2) = (Nat.totient q : ℝ)^2 ∧
(∑ χ : DirichletCharacter ℂ q, ‖C χ‖) ≤
(Nat.totient q : ℝ)*Real.sqrt (Nat.totient q) := by sorry