NLA-lib Explorer

NLAlib.HasOrthonormalCols.hasSubspaceEmbedding_of_hasLaw_gaussianMatrix

Library · theorem

Headline of gaussian-ose (provisional) General form: sizes are index types

Gaussian subspace embedding: for \mathbf{U} with orthonormal columns, \mathbf{S} = \lvert k \rvert^{-1/2} \, \mathbf{G} is a subspace embedding for \operatorname{range} \mathbf{U} with constants \Bigl(1 \mp \frac{\sqrt{\lvert p \rvert} + t}{\sqrt{\lvert k \rvert}}\Bigr)^2 outside probability 2 e^{-t^2/2}, for 0 \le t \le \sqrt{\lvert k \rvert} - \sqrt{\lvert p \rvert}; Gordon's Gram sandwich for the k \times p Gaussian \mathbf{G}\mathbf{U}. [Woodruff2014, Theorem 6] (\lvert k \rvert = \Theta((\lvert p \rvert + \log(1/\delta))/\varepsilon^2), no constant); [MartinssonTropp2020, §8.7.2], there 1 \mp (1 + \sqrt{\lvert p \rvert})/\sqrt{\lvert k \rvert} \mp t/\sqrt{\lvert k \rvert} for our t. Result: gaussian-ose

NLAlib.HasOrthonormalCols.hasSubspaceEmbedding_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {k : Type u_2} {n : Type u_3}
  {p : Type u_4} [Fintype k] [Fintype n] [Fintype p] {G : Ω → Matrix k n ℝ} {U : Matrix n p ℝ}
  {t : ℝ} [DecidableEq p] (hU : HasOrthonormalCols U) (hG : HasLaw G (gaussianMatrix k n) μ)
  (ht : 0 ≤ t) (htk : t ≤ √↑(Fintype.card k) - √↑(Fintype.card p)) :
  HasSubspaceEmbedding (fun ω ↦ (√↑(Fintype.card k))⁻¹ • G ω) U
    ((1 - (√↑(Fintype.card p) + t) / √↑(Fintype.card k)) ^ 2)
    ((1 + (√↑(Fintype.card p) + t) / √↑(Fintype.card k)) ^ 2) (2 * rexp (-t ^ 2 / 2)) μ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.Gaussian.

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.