for prime moduli
OpenCMSharp.S_prime_boundLet be a prime, , and an integer with . Then the complete exponential sum over a prime modulus satisfies the square-root cancellation bound
Context. Write . The -th powers modulo coincide with the -th powers, and for the number of solutions of is , the sum running over the multiplicative characters of order dividing . Substituting and separating the principal character (whose contribution cancels the term) expresses as a sum of Gauss sums,
each of modulus exactly . Since , the bound follows.
Role. This is the one place in the proof of Vaughan's Theorem 4.2 where the trivial bound is not enough: for the estimate gives too much, and no elementary substitution recovers it. Every higher prime power reduces to this case by the recursion . Note that for , so square-root cancellation is comfortably stronger than the ultimately needed.
Degenerate cases. When the map permutes the residues, so ; the stated bound is then an equality only if . The right-hand side is because .
import Definitions.Def_CircleMethod_waring import Mathlib.Data.Nat.Prime.Basic import Mathlib.Analysis.SpecialFunctions.Sqrt
namespace CMSharp
theorem S_prime_bound {k p : ℕ} (hk : 1 ≤ k) (hp : p.Prime) {a : ℤ} (ha : ¬ ((p : ℤ) ∣ a)) :
‖CircleMethod.S k p a‖ ≤ ((k : ℝ) - 1) * Real.sqrt (p : ℝ) := by sorry
end CMSharp