NLA-lib Explorer

NLAlib.hasJLProperty_of_iIndepFun_entry

Library · theorem

Headline of jl-subgaussian (provisional) General form: sizes are index types

Sub-Gaussian JL for independent entries: for a random \mathbf{X} with independent entries \mathbf{X}_{i,j}, each sub-Gaussian with proxy c and with \mathbb{E}[\mathbf{X}_{i,j}^2] = 1, \mathbf{S} = \lvert k \rvert^{-1/2} \, \mathbf{X} has the JL property with failure probability <!-- value subgaussianJLConstant --> 2 e^{-(1/36) \lvert k \rvert \min(\varepsilon^2/c^2, \varepsilon/c)}, the constant being subgaussianJLConstant. The mean is 0 by HasSubgaussianMGF.integral_eq_zero, so the second moment is the variance. The rows hypotheses follow by NLAlib.iIndepFun_row_of_iIndepFun_entry, IsSubgaussianVector.of_iIndepFun and IsIsotropic.of_iIndepFun; the other rows theorems apply to entries through the same three steps. [Vershynin2018, Exercise 5.3.3]. Result: jl-subgaussian

NLAlib.hasJLProperty_of_iIndepFun_entry.{u_1, u_2, u_3} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
  {μ : Measure Ω} {k : Type u_2} {n : Type u_3} [Fintype k] [Fintype n] {X : Ω → Matrix k n ℝ}
  {c : ℝ≥0} {ε : ℝ} (hind : iIndepFun (fun p ω ↦ X ω p.1 p.2) μ)
  (hsub : ∀ (i : k) (j : n), HasSubgaussianMGF (fun ω ↦ X ω i j) c μ)
  (hvar : ∀ (i : k) (j : n), ∫ (ω : Ω), X ω i j ^ 2 ∂μ = 1) :
  HasJLProperty (fun ω ↦ (√↑(Fintype.card k))⁻¹ • X ω) ε
    (2 * rexp (-(subgaussianJLConstant * ↑(Fintype.card k) * min (ε ^ 2 / ↑c ^ 2) (ε / ↑c)))) μ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.SubGaussian.

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.