NLA-lib Explorer

The Gaussian OSI

Library · Result group

Theorem (isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix). The Gaussian OSI: \mathbf{S} = \lvert k \rvert^{-1/2} \, \mathbf{G} is an oblivious subspace injection for dimension d with constant \Bigl(1 - \frac{\sqrt{d} + t}{\sqrt{\lvert k \rvert}}\Bigr)^2 and failure probability e^{-t^2/2}, for k nonempty and 0 \le t \le \sqrt{\lvert k \rvert} - \sqrt{d}; for d > \lvert n \rvert the proof works at \min(d, \lvert n \rvert) and weakens. [CamanoEpperlyMeyerTropp2025, Definition 1.6, §1.5.0], who cite [MartinssonTropp2020, §8.7.2] for it; the one-sided tail gives the better failure probability.

Headline (provisional) General form: sizes are index types

Lean statement and details
NLAlib.isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3} {Ω : Type u_1}
  {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {k : Type u_2} {n : Type u_3} [Fintype k] [Fintype n]
  {G : Ω → Matrix k n ℝ} {t : ℝ} [DecidableEq n] [Nonempty k] (hG : HasLaw G (gaussianMatrix k n) μ)
  (d : ℕ) (ht : 0 ≤ t) (htd : t ≤ √↑(Fintype.card k) - √↑d) :
  IsObliviousSubspaceInjection (fun ω ↦ (√↑(Fintype.card k))⁻¹ • G ω) d
    ((1 - (√↑d + t) / √↑(Fintype.card k)) ^ 2) (rexp (-t ^ 2 / 2)) μ

Full source on GitHub

Copy link

Other forms

Theorem (isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix_of_gaussianInjectionDim_le). Gaussian OSI, sample-size form: at least <!-- value gaussianInjectionDim d \varepsilon \delta --> 4 (\sqrt{d} + \sqrt{2 \log(1/\delta)})^2/\varepsilon^2 rows (gaussianInjectionDim d ε δ) give an oblivious subspace injection for dimension d with constant 1 - \varepsilon and failure probability \delta, for 0 < \varepsilon \le 2 and 0 < \delta < 1; k is nonempty because the dimension is positive. [MartinssonTropp2020, §8.7.2] (the tail form: the smallest singular value of the sketch on the subspace is at most 1 - (1 + \sqrt{d})/\sqrt{\lvert k \rvert} - t with probability at most e^{-\lvert k \rvert t^2/2}); here solved for the row count. Asymptotic form: NLAlib.exists_forall_isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix.

General form: sizes are index types

Lean statement and details
NLAlib.isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix_of_gaussianInjectionDim_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] {G : Ω → Matrix k n ℝ} {d : ℕ} {ε δ : ℝ} [DecidableEq n]
  (hG : HasLaw G (gaussianMatrix k n) μ) (hε : 0 < ε) (hε2 : ε ≤ 2) (hδ : 0 < δ) (hδ1 : δ < 1)
  (hk : gaussianInjectionDim d ε δ ≤ ↑(Fintype.card k)) :
  IsObliviousSubspaceInjection (fun ω ↦ (√↑(Fintype.card k))⁻¹ • G ω) d (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.