NLA-lib Explorer

NLAlib.exists_forall_hasSubspaceInjection_of_hasLaw_samplingSketch

Library · theorem

The lower half, asymptotic form: with d = \operatorname{rank}\mathbf{U}, O(L \log(d/\delta)/\varepsilon^2) samples suffice for row sampling under leverage domination \ell_i(\mathbf{U}) \le L p_i to be a subspace injection for \operatorname{range}\mathbf{U} with constant 1 - \varepsilon and failure probability \delta, for \varepsilon below an absolute constant; the constants come before every dimension and before L, which stays in the threshold. Proved from NLAlib.hasSubspaceInjection_of_hasLaw_samplingSketch_of_samplingInjectionDim_le with C = 2 and \varepsilon_0 = 1. Asymptotic: NLAlib.hasSubspaceInjection_of_hasLaw_samplingSketch_of_samplingInjectionDim_le

NLAlib.exists_forall_hasSubspaceInjection_of_hasLaw_samplingSketch :
  ∃ C ε₀,
    0 < C ∧
      0 < ε₀ ∧
        ∀ {Ω 𝕜 k n r : Type} [inst : MeasurableSpace Ω] [inst_1 : RCLike 𝕜] [inst_2 : Fintype k]
          [inst_3 : Fintype n] [inst_4 : Fintype r] [inst_5 : DecidableEq n] (μ : Measure Ω)
          (S : Ω → Matrix k n 𝕜) (p : n → ℝ≥0) (U : Matrix n r 𝕜) (L ε δ : ℝ),
          HasLaw S (samplingSketch k p) μ →
            ∑ i, p i = 1 →
              (∀ (i : n), leverageScore U i ≤ L * ↑(p i)) →
                0 < ε →
                  ε ≤ ε₀ →
                    0 < δ →
                      C * (L * Real.log (↑U.rank / δ) / ε ^ 2) ≤ ↑(Fintype.card k) →
                        HasSubspaceInjection S U (1 - ε) δ μ

Full source on GitHub

Import NLAlib.Sketching.Sampling.RowSampling.