NLA-lib Explorer

NLAlib.hasSubspaceEmbedding_of_hasLaw_samplingSketch

Library · theorem

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

Row sampling under leverage domination: if \ell_i(\mathbf{U}) \le L p_i for every row, the row-sampling sketch with k samples is a subspace embedding for \operatorname{range}\mathbf{U} with constants 1 \mp \varepsilon outside probability 2 \operatorname{rank}\mathbf{U} \cdot e^{-\varepsilon^2 k / (3L)} \,, for 0 \le \varepsilon \le 1 and any \mathbf{U}. [Woodruff2014, Theorem 17], there \mathbf{U} with orthonormal columns, p a \beta-approximation of the leverage-score distribution and s > 144 d \log(2d/\delta) / (\beta \varepsilon^2) samples through a Bernstein bound (Fact 1); here matrix Chernoff, L = d/\beta, any shape and rank; [MartinssonTropp2020, §9.6.3]; [Tropp2015, Theorem 5.1.1]. Result: leverage-sampling-ose

NLAlib.hasSubspaceEmbedding_of_hasLaw_samplingSketch.{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 𝕜} {p : n → ℝ≥0} {L ε : ℝ} (hS : HasLaw S (samplingSketch k p) μ)
  (hp : ∑ i, p i = 1) (hdom : ∀ (i : n), leverageScore U i ≤ L * ↑(p i)) (hε : 0 ≤ ε)
  (hε1 : ε ≤ 1) :
  HasSubspaceEmbedding S U (1 - ε) (1 + ε)
    (2 * ↑U.rank * rexp (-ε ^ 2 * ↑(Fintype.card k) / (3 * L))) μ

Full source on GitHub

Import NLAlib.Sketching.Sampling.RowSampling.

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.