The part of over residues prime to vanishes
ProvedCMSharp.S_coprime_part_eq_zeroLet be a prime, , and let be an integer with . Write
Split this complete sum according to whether . The assertion is that the part running over prime to vanishes identically,
provided is large enough relative to how divisible is by : precisely, whenever there is a with and .
Why it is true. Substitute . Since we have , so and the binomial expansion terminates after the linear term:
The substitution permutes the residues prime to , so averaging over modulo gives
The inner sum is a complete additive character sum, hence unless . As and , that would force , which is excluded. So every inner sum vanishes and the whole coprime part is .
This is the engine behind the prime-power estimate for : it reduces to its part, which is a scaled copy of , and iterating that recursion yields the classical bound of Vaughan, Theorem 4.2.
Remark. When one may take , so the conclusion holds for every .
import Definitions.Def_CircleMethod_char import Mathlib.Data.Nat.Prime.Basic import Mathlib.Algebra.BigOperators.Group.Finset.Basic open Finset
namespace CMSharp
theorem S_coprime_part_eq_zero {k p h j : ℕ} (hp : p.Prime) (a : ℤ) (ha : ¬ ((p : ℤ) ∣ a))
(hj : 1 ≤ j) (hjh : 2 * j ≤ h) (hk : ¬ ((p : ℤ) ^ j ∣ (k : ℤ))) :
∑ m ∈ (Finset.range (p ^ h)).filter (fun m => ¬ p ∣ m),
CircleMethod.e ((a : ℝ) * (m : ℝ) ^ k / ((p ^ h : ℕ) : ℝ)) = 0 := by sorry
end CMSharp