NLA-lib Explorer

Sub-Gaussian OSE

Library · Result group

Theorem (isObliviousSubspaceEmbedding_of_isSubgaussianVector). Sub-Gaussian OSE: for a random \mathbf{X} with independent, isotropic, sub-Gaussian rows with proxy c, \mathbf{S} = \lvert k \rvert^{-1/2} \, \mathbf{X} is an oblivious subspace embedding for dimension d with constants 1 \mp \varepsilon and failure probability <!-- value subgaussianJLConstant --> 2 \cdot 21^d \, e^{-\frac{1}{36} \lvert k \rvert \min(16\varepsilon^2/(25c^2), \, 4\varepsilon/(5c))} \,, the constant being subgaussianJLConstant: JL plus a net of radius 1/10 at 4\varepsilon/5 (NLAlib.HasJLProperty.isObliviousSubspaceEmbedding). [Vershynin2018, Theorem 4.6.1, (4.22)], there for the singular values, K^2 \max(\delta, \delta^2) with an unspecified constant; it dominates the rows theorem's Gram sandwich in every regime.

Headline (provisional) General form: sizes are index types

Lean statement and details
NLAlib.isObliviousSubspaceEmbedding_of_isSubgaussianVector.{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} {ε : ℝ} [DecidableEq n] (hind : iIndepFun (fun i ω ↦ X ω i) μ)
  (hsub : ∀ (i : k), IsSubgaussianVector (fun ω ↦ X ω i) c μ)
  (hiso : ∀ (i : k), IsIsotropic (fun ω ↦ X ω i) μ) (d : ℕ) :
  IsObliviousSubspaceEmbedding (fun ω ↦ (√↑(Fintype.card k))⁻¹ • X ω) d (1 - ε) (1 + ε)
    (2 * 21 ^ d *
      rexp
        (-(subgaussianJLConstant * ↑(Fintype.card k) *
            min (16 * ε ^ 2 / (25 * ↑c ^ 2)) (4 * ε / (5 * ↑c)))))
    μ

Full source on GitHub

Copy link

Other forms

Theorem (isObliviousSubspaceEmbedding_of_isSubgaussianVector_of_subgaussianEmbeddingDim_le). Sub-Gaussian OSE, sample-size form: for a random \mathbf{X} with k independent, isotropic, sub-Gaussian rows with proxy c, 0 < \varepsilon \le 5c/4, \delta > 0 and at least <!-- value subgaussianEmbeddingDim c d \varepsilon \delta --> 25 c^2 (d \log 21 + \log(2/\delta))/(16 C \varepsilon^2) rows (subgaussianEmbeddingDim c d ε δ, with <!-- value subgaussianJLConstant -->C = 1/36 the constant subgaussianJLConstant), \mathbf{S} = \lvert k \rvert^{-1/2} \, \mathbf{X} is an oblivious subspace embedding for dimension d with constants 1 \mp \varepsilon and failure probability \delta. [Vershynin2018, Theorem 4.6.1]; [Woodruff2014, Theorem 6]. Asymptotic form: NLAlib.exists_forall_isObliviousSubspaceEmbedding_of_isSubgaussianVector.

General form: sizes are index types

Lean statement and details
NLAlib.isObliviousSubspaceEmbedding_of_isSubgaussianVector_of_subgaussianEmbeddingDim_le.{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} {ε δ : ℝ} {d : ℕ} [DecidableEq n]
  (hind : iIndepFun (fun i ω ↦ X ω i) μ) (hsub : ∀ (i : k), IsSubgaussianVector (fun ω ↦ X ω i) c μ)
  (hiso : ∀ (i : k), IsIsotropic (fun ω ↦ X ω i) μ) (hε : 0 < ε) (hεc : ε ≤ 5 / 4 * ↑c) (hδ : 0 < δ)
  (hk : subgaussianEmbeddingDim (↑c) d ε δ ≤ ↑(Fintype.card k)) :
  IsObliviousSubspaceEmbedding (fun ω ↦ (√↑(Fintype.card k))⁻¹ • X ω) d (1 - ε) (1 + ε) δ μ

Full source on GitHub

Copy link

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.