Cauchy–Schwarz and the choice of weights #
The lemma that removes the weights (Lemma 5.3 of the paper, Section 5.2), for two finite
families of non-negative vectors (no cube). The steps of its proof: the Cauchy–Schwarz inequality
over the pairs (Step 1, pair_cs), the choice of the weights w j = 1 / (√(X j * Y j) + ε) with
ε → 0 (Step 2, weight_choice), the Cauchy–Schwarz inequality over the coordinates (Step 3, in
cs_core), and the conclusion (le_of_sq_le_mul).
abstract_cs (Lemma 5.3): if the sums ∑_{j ∈ D x y} w j * a x j * b y j are positive and
∑_{x ∈ O} ∑_{y ∈ N} (∑_{j ∈ D x y} w j * a x j * b y j)⁻¹ ≤ C * ∑ j, (w j)⁻¹
for every positive weight vector w, then
(∑_{x ∈ O} (∑ j, a x j)⁻¹) * (∑_{y ∈ N} (∑ j, b y j)⁻¹) ≤ C.
The lemma abstract_cs is used twice: for the two-sided inequality (RemoveWeights.lean) and
for the third-moment inequality (Level/ThirdMoment.lean).
The choice of the weights w j = 1 / (√(X j * Y j) + ε), ε → 0
(Step 2 of the proof of Lemma 5.3 of the paper).
The Cauchy–Schwarz argument with general coefficients u, v satisfying
u x ^ 2 * ∑ j, a x j = u x and v y ^ 2 * ∑ j, b y j = v y.
The lemma that removes the weights (Lemma 5.3 of the paper): Steps 1–3 and the conclusion of
its proof. The reciprocals are ⁻¹, with 0⁻¹ = 0 in Lean, and the sets O and N may be
empty; so the first assertion of Lemma 5.3, that the sums ∑ j, a x j and ∑ j, b y j are
positive, is not part of this statement.