NLA-lib Explorer

NLAlib.hasProjectionCostPreserving_of_isSubgaussianVector_of_le_card

Library · theorem

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

General form: sizes are index types

A sub-Gaussian sketch is a projection-cost-preserving sketch, size form: for a sketch \mathbf{X} with independent isotropic rows, sub-Gaussian with proxy c, for k nonempty, 0 < \varepsilon \le 5c/2, \delta > 0, at least <!-- value subgaussianEmbeddingDim c d (\varepsilon/2) (\delta/2) --> 25 c^2 (d \log 21 + \log(2/(\delta/2)))/(16 C (\varepsilon/2)^2) rows (subgaussianEmbeddingDim c d (ε / 2) (δ / 2), with <!-- value subgaussianJLConstant -->C = 1/36 the constant subgaussianJLConstant) and at least <!-- value projectionCostTailDim {(16c^2 - 1)} d \varepsilon \delta --> 384 \cdot (16c^2 - 1) (d + 1)/(\varepsilon^2 \delta) rows (projectionCostTailDim (16 * c ^ 2 - 1) d ε δ), \mathbf{S} = \lvert k \rvert^{-1/2}\mathbf{X} makes \mathbf{A}\mathbf{S}^{\mathsf{H}} a rank-d projection-cost-preserving sketch of \mathbf{A} with constants 1 \mp \varepsilon, for every \mathbf{A}, except with probability \delta. A Rademacher sketch is the case c = 1 (NLAlib.isSubgaussianVector_of_hasLaw_rademacherVector, NLAlib.isIsotropic_of_hasLaw_rademacherVector, ProbabilityTheory.HasLaw.iIndepFun_eval), CEMMP's family 1; its constants are looser than a Rademacher-specific route would give, which the asymptotic forms do not see. The route of [CohenElderMuscoMuscoPersu2015, proof of Theorem 12]; the sub-Gaussian instance is not stated there. Incomparable with its \log(1/\delta) twin NLAlib.hasProjectionCostPreserving_of_isSubgaussianVector_of_subgaussianJLMomentDim_le (rule 4): this one needs fewer rows at constant \delta, the twin for small \delta; the asymptotic form NLAlib.exists_forall_hasProjectionCostPreserving_of_isSubgaussianVector is proved from the twin. Result: subgaussian-pcp

NLAlib.hasProjectionCostPreserving_of_isSubgaussianVector_of_le_card.{u_1, u_2, u_3, u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {k : Type u_2} {n : Type u_3} [Fintype k]
  [Fintype n] {ε δ : ℝ} [DecidableEq n] {X : Ω → Matrix k n ℝ} {c : ℝ≥0} [Nonempty k]
  (hind : iIndepFun (fun i ω ↦ X ω i) μ) (hsub : ∀ (i : k), IsSubgaussianVector (fun ω ↦ X ω i) c μ)
  (hiso : ∀ (i : k), IsIsotropic (fun ω ↦ X ω i) μ) {m : Type u_4} [Fintype m] (A : Matrix m n ℝ)
  (d : ℕ) (hε : 0 < ε) (hεc : ε ≤ 5 / 2 * ↑c) (hδ : 0 < δ)
  (hk₁ : subgaussianEmbeddingDim (↑c) d (ε / 2) (δ / 2) ≤ ↑(Fintype.card k))
  (hk₂ : projectionCostTailDim (16 * ↑c ^ 2 - 1) d ε δ ≤ ↑(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.