NLA-lib Explorer

NLAlib.exists_forall_hasProjectionCostPreserving_of_hasLaw_srht

Library · theorem

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

SRHT rows suffice for a rank-d projection-cost-preserving sketch: O(\beta(d + \log(\lvert n\rvert/\delta))\log(d/\delta)/\varepsilon^2 + \beta^2(d+1)/(\varepsilon^2\delta)) rows give one: for a real bounded orthonormal \mathbf{F} with constant \beta and its SRHT \mathbf{S}, \mathbf{A}\mathbf{S}^{\mathsf{H}} is a rank-d projection-cost-preserving sketch of \mathbf{A} with constants 1 \mp \varepsilon and failure probability \delta, for \varepsilon and \delta below absolute constants; the constants come before every dimension and before \beta. Proved from NLAlib.hasProjectionCostPreserving_of_hasLaw_srht_of_le_card with \varepsilon_0 = 1 and \delta \le 1/2. [CohenElderMuscoMuscoPersu2015, proof of Theorem 12]. Asymptotic: NLAlib.hasProjectionCostPreserving_of_hasLaw_srht_of_le_card Result: srht-pcp

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

Full source on GitHub

Import NLAlib.Sketching.Structured.SRHTMultiplication.

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.