NLA-lib Explorer

NLAlib.exists_forall_hasProjectionCostPreserving_of_hasLaw_countSketch

Library · theorem

Headline of sparse-pcp (provisional) General form: sizes are index types

CountSketch rows suffice for a rank-d projection-cost-preserving sketch: O((d+1)^2/(\varepsilon^2\delta)) rows give one, with constants 1 \mp \varepsilon and failure probability \delta, over any field, for \varepsilon below an absolute constant; the constants come before every dimension. Proved from NLAlib.hasProjectionCostPreserving_of_hasLaw_countSketch_of_le_card with C = 768 and \varepsilon_0 = 1. [CohenElderMuscoMuscoPersu2015, Theorem 12, Lemma 11 family 2]. Asymptotic: NLAlib.hasProjectionCostPreserving_of_hasLaw_countSketch_of_le_card Result: sparse-pcp

NLAlib.exists_forall_hasProjectionCostPreserving_of_hasLaw_countSketch :
  ∃ C ε₀,
    0 < C ∧
      0 < ε₀ ∧
        ∀ {Ω 𝕜 k m n : Type} [inst : MeasurableSpace Ω] [inst_1 : RCLike 𝕜] [inst_2 : Fintype k]
          [inst_3 : Fintype m] [inst_4 : Fintype n] [inst_5 : DecidableEq k] (μ : Measure Ω)
          (S : Ω → Matrix k n 𝕜) (A : Matrix m n 𝕜) (d : ℕ) (ε δ : ℝ),
          HasLaw S (countSketch k n) μ →
            0 < ε →
              ε ≤ ε₀ →
                0 < δ →
                  C * ((↑d + 1) ^ 2 / (ε ^ 2 * δ)) ≤ ↑(Fintype.card k) →
                    HasProjectionCostPreserving S A d (1 - ε) (1 + ε) δ μ

Full source on GitHub

Import NLAlib.Sketching.Sparse.CountSketchEmbedding.

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.