Documentation

CslibFrontier.Foundations.Analysis.InnerProductSpace.NearlyOrthogonal

Few nearly orthogonal vectors correlate with a fixed vector #

Let v i, i ∈ s, be vectors of squared norm at most A > 0 whose pairwise inner products are at most δ A, and let T be a vector of squared norm at most A with ⟪T, v i⟫ ≥ γ A for every i ∈ s, where γ ≥ 0. Then #s * γ ^ 2 ≤ 1 + (#s - 1) * δ (card_mul_sq_le_of_inner_ge). The bound is one-sided: pairs of strongly anticorrelated vectors are allowed. The proof is the Cauchy–Schwarz inequality for T and the sum U = ∑ i ∈ s, v i: on one side ⟪T, U⟫ ≥ #s γ A, on the other ‖U‖ ^ 2 ≤ #s A + #s (#s - 1) δ A by expanding the square (norm_sum_sq_real). This is the geometric argument behind the binary Johnson bound (Cslib.Code.card_mul_sq_sub_le_of_le_sum_signVal_mul_signVal).

If instead the pairwise inner products are at most δ A in absolute value and |⟪T, v i⟫| ≥ γ A, the same bound follows by replacing each v i with ± v i, the sign of ⟪T, v i⟫ (card_mul_sq_le_of_abs_inner_ge), so #s * (γ ^ 2 - δ) ≤ 1 when δ ≥ 0 (card_mul_sub_le_one_of_abs_inner_ge): at most 1 / (γ ^ 2 - δ) of the vectors correlate with T once γ ^ 2 > δ. This is a Cauchy–Schwarz form of the Gram-matrix argument of Kane and Williams ([KW16], arXiv:1511.07860v1, Lemma 6.1), stated here with explicit constants for vectors in any real inner product space.

Main results #

References #

theorem card_mul_sq_le_of_inner_ge {V : Type u_1} {ι : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] {s : Finset ι} (hs : s.Nonempty) (v : ι → V) (T : V) {A δ γ : ℝ} (hA : 0 < A) (hγ : 0 ≤ γ) (hT : ‖T‖ ^ 2 ≤ A) (hv : ∀ i ∈ s, ‖v i‖ ^ 2 ≤ A) (hδ : ∀ i ∈ s, ∀ j ∈ s, i ≠ j → inner ℝ (v i) (v j) ≤ δ * A) (hTv : ∀ i ∈ s, γ * A ≤ inner ℝ T (v i)) :
↑s.card * γ ^ 2 ≤ 1 + (↑s.card - 1) * δ

Few nearly orthogonal vectors correlate with a fixed vector, one-sided form: if v i, i ∈ s, have squared norms at most A > 0 and pairwise inner products at most δ A, and T has squared norm at most A and ⟪T, v i⟫ ≥ γ A for all i ∈ s with γ ≥ 0, then #s * γ ^ 2 ≤ 1 + (#s - 1) * δ.

theorem card_mul_sq_le_of_abs_inner_ge {V : Type u_1} {ι : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] {s : Finset ι} (hs : s.Nonempty) (v : ι → V) (T : V) {A δ γ : ℝ} (hA : 0 < A) (hγ : 0 ≤ γ) (hT : ‖T‖ ^ 2 ≤ A) (hv : ∀ i ∈ s, ‖v i‖ ^ 2 ≤ A) (hδ : ∀ i ∈ s, ∀ j ∈ s, i ≠ j → |inner ℝ (v i) (v j)| ≤ δ * A) (hTv : ∀ i ∈ s, γ * A ≤ |inner ℝ T (v i)|) :
↑s.card * γ ^ 2 ≤ 1 + (↑s.card - 1) * δ

Few nearly orthogonal vectors correlate with a fixed vector: if v i, i ∈ s, have squared norms at most A > 0 and pairwise inner products at most δ A in absolute value, and T has squared norm at most A and |⟪T, v i⟫| ≥ γ A for all i ∈ s with γ ≥ 0, then #s * γ ^ 2 ≤ 1 + (#s - 1) * δ ([KW16], arXiv:1511.07860v1, Lemma 6.1, with explicit constants).

theorem card_mul_sub_le_one_of_abs_inner_ge {V : Type u_1} {ι : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] (s : Finset ι) (v : ι → V) (T : V) {A δ γ : ℝ} (hA : 0 < A) (hδ0 : 0 ≤ δ) (hγ : 0 ≤ γ) (hT : ‖T‖ ^ 2 ≤ A) (hv : ∀ i ∈ s, ‖v i‖ ^ 2 ≤ A) (hδ : ∀ i ∈ s, ∀ j ∈ s, i ≠ j → |inner ℝ (v i) (v j)| ≤ δ * A) (hTv : ∀ i ∈ s, γ * A ≤ |inner ℝ T (v i)|) :
↑s.card * (γ ^ 2 - δ) ≤ 1

Few nearly orthogonal vectors correlate with a fixed vector, list-size form: under the hypotheses of card_mul_sq_le_of_abs_inner_ge with δ ≥ 0 (and s possibly empty), #s * (γ ^ 2 - δ) ≤ 1. Once γ ^ 2 > δ, at most 1 / (γ ^ 2 - δ) vectors correlate with T.