NLA-lib Explorer

NLAlib.exists_forall_hasProjectionCostPreserving_of_hasLaw_haarFrame

Library · theorem

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

Haar rows suffice for a rank-d projection-cost-preserving sketch: O((d+1)\log(1/\delta)/\varepsilon^2) rows give one: for \lvert k\rvert \le \lvert n\rvert, the Haar sketch \mathbf{S} = \sqrt{\lvert n\rvert/\lvert k\rvert}\,\mathbf{Q}^{\mathsf{H}} makes \mathbf{A}\mathbf{S}^{\mathsf{H}} a rank-d projection-cost-preserving sketch with constants 1 \mp \varepsilon and failure probability \delta, for \varepsilon and \delta below absolute constants; the constants come before every dimension. Proved from NLAlib.hasProjectionCostPreserving_of_hasLaw_haarFrame_of_jlMomentDim_le with \varepsilon_0 = 1 and \delta \le 1/2. [CohenElderMuscoMuscoPersu2015, proof of Theorem 12]. Asymptotic: NLAlib.hasProjectionCostPreserving_of_hasLaw_haarFrame_of_jlMomentDim_le Result: haar-pcp

NLAlib.exists_forall_hasProjectionCostPreserving_of_hasLaw_haarFrame :
  ∃ 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 k] (μ : Measure Ω) (Q : Ω → Matrix n k ℝ)
          (A : Matrix m n ℝ) (d : ℕ) (ε δ : ℝ),
          HasLaw Q (haarFrame n k) μ →
            Fintype.card k ≤ Fintype.card n →
              0 < ε →
                ε ≤ ε₀ →
                  0 < δ →
                    δ ≤ 1 / 2 →
                      C * ((↑d + 1) * Real.log (1 / δ) / ε ^ 2) ≤ ↑(Fintype.card k) →
                        HasProjectionCostPreserving
                          (fun ω ↦ √(↑(Fintype.card n) / ↑(Fintype.card k)) • (Q ω)ᴴ) A d (1 - ε)
                          (1 + ε) δ μ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.ProjectionCost.

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.