NLA-lib Explorer

NLAlib.exists_forall_hasProjectionCostPreserving_of_isSubgaussianVector

Library · theorem

This statement changed in the recorded rename: 2026-10-sketching-moments.

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

Sub-Gaussian rows suffice for a rank-d projection-cost-preserving sketch: O(c^2 (d+1)\log(1/\delta)/\varepsilon^2) independent isotropic rows, sub-Gaussian with proxy c, give one, with constants 1 \mp \varepsilon and failure probability \delta, for \varepsilon and \delta below absolute constants; the constants come before every dimension and the proxy. At c = 1 this covers Rademacher sketches. Proved from NLAlib.hasProjectionCostPreserving_of_isSubgaussianVector_of_subgaussianJLMomentDim_le with \varepsilon_0 = 1 and \delta \le 1/2; isotropy forces c \ge 1 once there is a column. [CohenElderMuscoMuscoPersu2015, proof of Theorem 12]. Asymptotic: NLAlib.hasProjectionCostPreserving_of_isSubgaussianVector_of_subgaussianJLMomentDim_le Result: subgaussian-pcp

NLAlib.exists_forall_hasProjectionCostPreserving_of_isSubgaussianVector :
  ∃ 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] [Nonempty k] (μ : Measure Ω)
          (X : Ω → Matrix k n ℝ) (c : ℝ≥0) (A : Matrix m n ℝ) (d : ℕ) (ε δ : ℝ),
          iIndepFun (fun i ω ↦ X ω i) μ →
            (∀ (i : k), IsSubgaussianVector (fun ω ↦ X ω i) c μ) →
              (∀ (i : k), IsIsotropic (fun ω ↦ X ω i) μ) →
                0 < ε →
                  ε ≤ ε₀ →
                    0 < δ →
                      δ ≤ 1 / 2 →
                        C * (↑c ^ 2 * (↑d + 1) * Real.log (1 / δ) / ε ^ 2) ≤ ↑(Fintype.card k) →
                          HasProjectionCostPreserving (fun ω ↦ (√↑(Fintype.card k))⁻¹ • X ω) 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.