Finite Field Character Sum Weil Bound 3-AP Discrepancy Control (Exact Normalized)
Provedweil_bound_ap3_character_density_fixedcombinatoricserdos-problemsnumber-theory
For any multiplicative character on with Weil bound , the 3-AP error density satisfies .
Formal statement
import Mathlib
theorem weil_bound_ap3_character_density_fixed (p : ℕ) (hp : 100 ≤ p) (E : ℝ) (hE_nonneg : 0 ≤ E)
(hE_weil : E ≤ 2 * Real.sqrt (p : ℝ) * (p : ℝ)) :
E / ((p : ℝ) ^ 2) ≤ 2 * Real.sqrt (p : ℝ) / (p : ℝ) := by sorry