Second moment for an arbitrary injective phase
ProvedCircleMethod.moment_two_genanalytic-number-theorycircle-methodnumber-theorywaring-problem
For any injective ,
The second moment depends on nothing about the phase except that it separates points: orthogonality reduces the integral to the count of pairs with , which injectivity collapses to the diagonal.
Stating it for a general phase rather than for matters for the induction behind Hua's inequality, where the relevant phases are not monomials but iterated forward differences of them, and one needs the base case uniformly across that whole family.
Preamble
import Definitions.Def_CircleMethod_waring import Definitions.Def_CircleMethod_weylsum import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Analysis.SpecialFunctions.Integrals.Basic import Mathlib.Analysis.PSeries import Mathlib.Analysis.Normed.Group.InfiniteSum import Mathlib.NumberTheory.Divisors import Mathlib.Data.Fintype.Pi open Finset
Formal statement
namespace CircleMethod
theorem moment_two_gen {g : ℕ → ℤ} (hg : Function.Injective g) (N : ℕ) :
(∫ θ in (0:ℝ)..1, ‖∑ x ∈ range N, e (θ * ((g x : ℤ) : ℝ))‖ ^ 2) = (N : ℝ) := by sorry
end CircleMethodSource
L.-K. Hua, On Waring's problem, Quarterly Journal of Mathematics 9 (1938), 199-202; R. C. Vaughan, The Hardy-Littlewood Method, 2nd ed., Cambridge Tracts in Mathematics 125, Cambridge University Press, 1997, Lemma 2.5.