NLAlib.hasSubspaceEmbedding_of_hasLaw_samplingSketch_leverageScoreDistribution
Library · theorem
General form: sizes are index types
Exact leverage-score sampling: sampling rows by the leverage-score distribution of \mathbf{U} gives a subspace embedding with constants 1 \mp \varepsilon outside probability 2 d \, e^{-\varepsilon^2 k / (3 d)} \,, d = \operatorname{rank}\mathbf{U}, for 0 \le \varepsilon \le 1; the domination constant is L = d. No normalisation hypothesis: for \mathbf{U} = \mathbf{0} the bound is 0 and every embedding event is full. [MartinssonTropp2020, §9.6.3]; [Woodruff2014, Theorem 17], there \beta = 1. Result: leverage-sampling-ose
NLAlib.hasSubspaceEmbedding_of_hasLaw_samplingSketch_leverageScoreDistribution.{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 (leverageScoreDistribution U)) μ) (hε : 0 ≤ ε) (hε1 : ε ≤ 1) :
HasSubspaceEmbedding S U (1 - ε) (1 + ε)
(2 * ↑U.rank * rexp (-ε ^ 2 * ↑(Fintype.card k) / (3 * ↑U.rank))) μ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.