Primitive Fourier energy for the squarefree prime-pair sieve
ProvedPrimePairSieve_squarefree_primitive_fourier_energyLet be squarefree, let be an even nonnegative integer, and let be a finite set of nonnegative integers such that no prime divisor of divides for any . Define
Writing , one has
The hypothesis means that avoids the actual polynomial roots modulo each prime divisor of . The estimate supplies the arithmetic lower-energy input to a large-sieve upper bound for the sifted set. It does not impose a diameter bound on : elements may repeat after reduction modulo . For the empty product is one and the single zero frequency gives equality. The case is included. Evenness ensures there is only one forbidden residue at the prime two, so every denominator is positive.
Formalization Note: primitive frequencies are indexed by the units of , and Mathlib's standard additive character represents . This theorem does not assert the final all-range prime-pair counting estimate.
import Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar import Mathlib.Analysis.Complex.Basic import Mathlib.Data.Nat.Squarefree open scoped BigOperators set_option autoImplicit false
theorem PrimePairSieve_squarefree_primitive_fourier_energy
(q : ℕ) [NeZero q] (d : ℕ) (hq : Squarefree q) (hd : 2 ∣ d)
(A : Finset ℕ)
(hA : ∀ n ∈ A, ∀ p ∈ q.primeFactors, ¬ p ∣ n*(n+d)) :
(∏ p ∈ q.primeFactors,
if p ∣ d then 1 / ((p : ℝ)-1) else 2 / ((p : ℝ)-2)) * (A.card : ℝ)^2 ≤
∑ u : (ZMod q)ˣ, ‖∑ n ∈ A, ZMod.stdAddChar (u.val*(n : ZMod q))‖^2 := by sorry