NLAlib.HasJLProperty.measureReal_exists_abs_norm_mulVec_sq_sub_ge_le
Library · theorem
Headline of jl-lemma (provisional) General form: sizes are index types
Johnson–Lindenstrauss lemma: for finitely many points \mathbf{x}_i, i \in \iota, and \delta \ge 0, the probability that some pairwise difference \mathbf{x}_i - \mathbf{x}_j \ne \mathbf{0} has its squared norm distorted \mathbf{b}y a factor \varepsilon or more, \varepsilon \|\mathbf{x}_i - \mathbf{x}_j\|^2 \le \bigl\lvert \|\mathbf{S}(\mathbf{x}_i - \mathbf{x}_j)\|^2 - \|\mathbf{x}_i - \mathbf{x}_j\|^2 \bigr\rvert, is at most \binom{\lvert \iota \rvert}{2} \delta (union over unordered pairs). [Woodruff2014, Definition 3]; there inner products on a finite set, here squared norms of differences. Result: jl-lemma
NLAlib.HasJLProperty.measureReal_exists_abs_norm_mulVec_sq_sub_ge_le.{u_1, u_2, u_3, u_4, u_5}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3}
{n : Type u_4} [Fintype k] [Fintype n] {S : Ω → Matrix k n 𝕜} {ε δ : ℝ}
(h : HasJLProperty S ε δ μ) (hδ : 0 ≤ δ) {ι : Type u_5} [Fintype ι] (x : ι → n → 𝕜) :
μ.real
{ω |
∃ i j,
x i ≠ x j ∧
ε * ‖WithLp.toLp 2 (x i - x j)‖ ^ 2 ≤
|‖WithLp.toLp 2 (S ω *ᵥ (x i - x j))‖ ^ 2 - ‖WithLp.toLp 2 (x i - x j)‖ ^ 2|} ≤
↑((Fintype.card ι).choose 2) * δImport NLAlib.Sketching.Properties.JohnsonLindenstrauss.
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.