Exact rational-arc square energy decomposed by primitive Dirichlet conductors
ProvedHelfgott.prime_supported_rational_character_energydirichlet-charactersgauss-sumsgoldbachlarge-sieveminor-arcs
Let be an absolutely summable complex sequence, supported on primes and zero for . Let and . Write . Then
The complete infinite series, all reduced residues, every primitive character (including the primitive principal character at conductor one), and the exact conductor and Möbius weights are retained. This is the exact energy identity used in the proofs of Helfgott's Propositions 5.1 and 5.2, before regrouping denominators to obtain the prime large-sieve factor. It applies to arbitrary signed or complex coefficients satisfying the stated support conditions. No finite GRH or prime-distribution estimate is assumed.
Preamble
import Definitions.Def_Helfgott_WeightedCounting import Definitions.Def_Vino_ramanujan import Mathlib.Data.Nat.GCD.Basic import Mathlib.Tactic import Mathlib.Analysis.Normed.Group.InfiniteSum import Mathlib.Topology.Algebra.InfiniteSum.Ring import Mathlib.NumberTheory.DirichletCharacter.Orthogonality import Mathlib.NumberTheory.DirichletCharacter.Bounds import Mathlib.Analysis.Complex.Polynomial.Basic import Mathlib.RingTheory.RootsOfUnity.AlgebraicallyClosed import Mathlib.Analysis.Fourier.ZMod import Mathlib.Analysis.SpecialFunctions.Sqrt import Definitions.Def_CircleMethod_char import Mathlib.NumberTheory.ArithmeticFunction.Moebius open Finset open scoped BigOperators Classical
Formal statement
namespace Helfgott
theorem prime_supported_rational_character_energy (c : ℕ → ℂ) (hc : Summable c)
(x : ℝ) (hprime : ∀ n : ℕ, ¬Nat.Prime n → c n = 0)
(hcut : ∀ n : ℕ, (n : ℝ) ≤ Real.sqrt x → c n = 0)
(q : ℕ) [NeZero q] (hq : (q : ℝ) ≤ Real.sqrt x) (β : ℝ) :
(∑ a ∈ (range q).filter (fun a => Nat.Coprime a q),
‖expSum c (((a : ℝ)/(q : ℝ)+β : ℝ) : AddCircle (1 : ℝ))‖ ^ 2) =
(Nat.totient q : ℝ)⁻¹ * (∑ d ∈ q.divisors,
(if Nat.Coprime (q/d) d then
(((ArithmeticFunction.moebius (q/d) : ℤ) : ℝ) ^ 2) * (d : ℝ)
else 0) *
(∑ ψ ∈ (univ : Finset (DirichletCharacter ℂ d)).filter (fun ψ => ψ.IsPrimitive),
‖∑' n : ℕ, ψ (n : ZMod d)*(c n*CircleMethod.e ((n : ℝ)*β))‖ ^ 2)) := by sorry
end HelfgottSource
H. A. Helfgott, The ternary Goldbach conjecture is true, https://arxiv.org/html/1312.7748v2, §5.1, primitive-conductor energy identity between (5.3) and (5.4). Complete proof via Mathlib character orthogonality, exact induced Gauss sums proved here by Möbius inversion, and primitive Gauss magnitude proved by Fourier inversion. Circle-character helpers preserve tabbott attribution. Written by Codex.