NLA-lib Explorer

NLAlib.hasSubspaceEmbedding_of_hasLaw_samplingSketch_const_inv_card

Library · theorem

Uniform row sampling: sampling rows uniformly gives a subspace embedding with constants 1 \mp \varepsilon outside probability 2 \operatorname{rank}\mathbf{U} \cdot e^{-\varepsilon^2 k / (3 \operatorname{coh}\mathbf{U})}, for 0 \le \varepsilon \le 1; the domination constant is the coherence L = \operatorname{coh}\mathbf{U} (NLAlib.coherence). No normalisation hypothesis: for empty n the bound is 0 and every embedding event is full. [MartinssonTropp2020, §9.6.2], there the sample size 2 \varepsilon^{-2} \mu \log(2d/\delta) for a coherence \mu, through matrix Chernoff.

NLAlib.hasSubspaceEmbedding_of_hasLaw_samplingSketch_const_inv_card.{u_1, u_2, u_3, u_4, u_6}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3}
  {n : Type u_4} {r : Type u_6} [Fintype k] [Fintype n] [Fintype r] [DecidableEq n]
  {S : Ω → Matrix k n 𝕜} {U : Matrix n r 𝕜} {ε : ℝ}
  (hS : HasLaw S (samplingSketch k fun x ↦ (↑(Fintype.card n))⁻¹) μ) (hε : 0 ≤ ε) (hε1 : ε ≤ 1) :
  HasSubspaceEmbedding S U (1 - ε) (1 + ε)
    (2 * ↑U.rank * rexp (-ε ^ 2 * ↑(Fintype.card k) / (3 * coherence U))) μ

Full source on GitHub

Import NLAlib.Sketching.Sampling.RowSampling.