Character energy after two coprimality masks
ProvedErdos287.character_energy_after_two_coprimality_masksegyptian-fractionserdos-problemsnumber-theory
Let A be arbitrary complex coefficients on the positive integers and let chi be completely multiplicative with absolute values at most one. For positive a and b, the squared absolute character sum on 1 through N restricted to integers coprime to ab is at most tau(a) tau(b) times the sum over d dividing a and v dividing b of the squared absolute character sums with coefficient A(dvj) on 1 through floor(N/(dv)).
Preamble
import Mathlib
Formal statement
theorem Erdos287.character_energy_after_two_coprimality_masks (N a b : ℕ) (ha : 0 < a) (hb : 0 < b) (A χ : ℕ → ℂ)
(hmul : ∀ d n, χ (d * n) = χ d * χ n) (hnorm : ∀ n, ‖χ n‖ ≤ 1) :
‖∑ n ∈ (Finset.Icc 1 N).filter (fun n => n.Coprime (a * b)), A n * χ n‖ ^ 2 ≤
((a.divisors.card : ℝ) * b.divisors.card) *
∑ d ∈ a.divisors, ∑ v ∈ b.divisors,
‖∑ j ∈ Finset.Icc 1 (N / (d * v)), A (d * v * j) * χ j‖ ^ 2 := by sorry
Source
Erdős #287, mixed-residue Type II zero-frequency comparison.