NLA-lib Explorer

NLAlib.hasJLMoment_of_hasLaw_countSketch_of_le_card

Library · theorem

CountSketch JL moment, size form, Woodruff's Theorem 14 as stated: at least 2/(\varepsilon^2\delta) rows give the (\varepsilon, \delta, 2) JL moment, for \varepsilon, \delta > 0. The source's formula, so not a named size. [Woodruff2014, Theorem 14] (over \mathbb{R}).

NLAlib.hasJLMoment_of_hasLaw_countSketch_of_le_card.{u_1, u_2, u_3, u_4} {Ω : Type u_1}
  {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3} {n : Type u_4}
  [Fintype k] [Fintype n] [DecidableEq k] {S : Ω → Matrix k n 𝕜} {ε δ : ℝ}
  (hS : HasLaw S (countSketch k n) μ) (hε : 0 < ε) (hδ : 0 < δ)
  (hk : 2 / (ε ^ 2 * δ) ≤ ↑(Fintype.card k)) : HasJLMoment S ε δ 2 μ

Full source on GitHub

Import NLAlib.Sketching.Sparse.CountSketchEmbedding.