Cauchy–Schwarz with a matched class in every dispersion row
ProvedErdos287.matched_outer_rows_cauchy_schwarzegyptian-fractionserdos-problemsnumber-theory
Each row has positive base modulus and a prescribed class modulo . Fix a lift factor . Sum a real array over the rows and those in the prescribed class for their row. The squared sum is at most the number of rows times times the sum of squares over every row and every .
Preamble
import Mathlib
Formal statement
theorem Erdos287.matched_outer_rows_cauchy_schwarz {ι : Type*} (rows : Finset ι) (modulus residue : ι → ℕ) (T : ℕ)
(hmodulus : ∀ i ∈ rows, 0 < modulus i) (value : ι → ℕ → ℝ) :
let matched (i : ι) := (Finset.range (modulus i * T)).filter (fun u => u ≡ residue i [MOD modulus i])
(∑ i ∈ rows, ∑ u ∈ matched i, value i u) ^ 2 ≤
(rows.card : ℝ) * T * (∑ i ∈ rows, ∑ u ∈ Finset.range (modulus i * T), value i u ^ 2) := by sorry
Source
Erdős #287, retaining the matched residue class in the Type II outer count.