Multiplicativity of the local density
ProvedCircleMethod.locDens_mulFor coprime moduli and ,
This is the Euler-product structure of the singular series: it implies , so the arithmetic factor in the Hardy--Littlewood asymptotic decomposes into a product of local densities, one per prime, each measuring the density of -adic solutions to . Without it there is no local-global interpretation of the main term.
The proof is more delicate than multiplicativity of alone. Reduced residues mod correspond to pairs of reduced residues via , which splits the character factor exactly. But the arguments produced by then read and , which do not match and directly. What reconciles them is the invariance for — the from multiplicativity combines with one further from the reindexing to form a full -th power. A naive substitution instead forces , which is false in general.
import Definitions.Def_CircleMethod_waring import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Analysis.SpecialFunctions.Integrals.Basic import Mathlib.NumberTheory.Divisors import Mathlib.Data.ZMod.Basic import Mathlib.Algebra.Field.ZMod import Mathlib.Algebra.BigOperators.Group.Finset.Basic open Finset
namespace CircleMethod
theorem locDens_mul {k s q₁ q₂ : ℕ} (hk : 1 ≤ k) (h1 : 0 < q₁) (h2 : 0 < q₂)
(hco : Nat.Coprime q₁ q₂) (n : ℤ) :
locDens k s (q₁ * q₂) n = locDens k s q₁ n * locDens k s q₂ n := by sorry
end CircleMethod