NLA-lib Explorer

NLAlib.exists_forall_hasSubspaceEmbedding_of_hasLaw_samplingSketchWithoutReplacement

Library · theorem

Row sampling without replacement, asymptotic form: with d = \operatorname{rank}\mathbf{U}, O(L \log(d/\delta)/\varepsilon^2) samples suffice for row sampling without replacement under the domination \ell_i(\mathbf{U}) \le L / \lvert n \rvert to be a subspace embedding for \operatorname{range}\mathbf{U} with constants 1 \mp \varepsilon and failure probability \delta, for \varepsilon and \delta below absolute constants; the constants come before every dimension and before L (the coherence parameter), which stays in the threshold. Proved from NLAlib.hasSubspaceEmbedding_of_hasLaw_samplingSketchWithoutReplacement_of_samplingEmbeddingDim_le with C = 6, \varepsilon_0 = 1 and \delta \le 1/2. Asymptotic: NLAlib.hasSubspaceEmbedding_of_hasLaw_samplingSketchWithoutReplacement_of_samplingEmbeddingDim_le

NLAlib.exists_forall_hasSubspaceEmbedding_of_hasLaw_samplingSketchWithoutReplacement :
  ∃ 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 𝕜) (U : Matrix n r 𝕜) (L ε δ : ℝ),
          HasLaw S (samplingSketchWithoutReplacement k n) μ →
            (∀ (i : n), leverageScore U i ≤ L * (↑(Fintype.card n))⁻¹) →
              0 < ε →
                ε ≤ ε₀ →
                  0 < δ →
                    δ ≤ 1 / 2 →
                      C * (L * Real.log (↑U.rank / δ) / ε ^ 2) ≤ ↑(Fintype.card k) →
                        HasSubspaceEmbedding S U (1 - ε) (1 + ε) δ μ

Full source on GitHub

Import NLAlib.Sketching.Sampling.WithoutReplacement.