NLA-lib Explorer

No random sketch beats a random orthonormal one

Library · Result group

Theorem (exists_hasOrthonormalCols_le_lintegral_frobNorm_mul_sub_mul_sketchAndSolve_sq). No random sketch beats a random orthonormal one (Epperly and Webber's minimax lower bound for sketch-and-solve): for a random sketch \mathbf{\Omega} \in \mathbb{R}^{m \times \ell} of any law with full column rank almost surely, \mathbf{A} \in \mathbb{R}^{m \times n} with r = \operatorname{rank}\mathbf{A}, r + 2 \le \ell and any \mathbf{B}, there is an orthogonal \mathbf{U} with <!-- value haarProjectionFactor m \ell r --> \Bigl(1 + \frac{m - \ell}{m - r}\cdot\frac{r}{\ell - r - 1}\Bigr) \|(\mathbf{I} - \mathbf{P}_{\mathbf{A}})\mathbf{B}\|_{\mathsf{F}}^2 \le \mathbb{E}\|\mathbf{U}\mathbf{B} - \mathbf{U}\mathbf{A}\,\mathsf{sketchAndSolve}(\mathbf{U}\mathbf{A}, \mathbf{\Omega}^{\mathsf{H}}, \mathbf{U}\mathbf{B})\|_{\mathsf{F}}^2\,, in extended reals (the expectation may be infinite). With NLAlib.integral_frobNorm_sub_mul_sketchAndSolve_sq_of_hasLaw_haarFrame (equality for a Haar sketch): the random orthonormal sketch is minimax optimal. [EpperlyWebber2026, Theorem 2.2]; there as a supremum over problems of rank r.

Headline General form: sizes are index types

Lean statement and details
NLAlib.exists_hasOrthonormalCols_le_lintegral_frobNorm_mul_sub_mul_sketchAndSolve_sq.{u_1, u_2, u_3,
    u_4, u_6}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq m] {r' : Type u_6} [Fintype r']
  [IsProbabilityMeasure μ] {X : Ω → Matrix m l ℝ} (hX : AEMeasurable X μ)
  (hXr : ∀ᵐ (ω : Ω) ∂μ, (X ω).rank = Fintype.card l) {A : Matrix m n ℝ}
  (hA : A.rank + 2 ≤ Fintype.card l) (B : Matrix m r' ℝ) :
  ∃ U,
    HasOrthonormalCols U ∧
      ENNReal.ofReal
          (haarProjectionFactor (Fintype.card m) (Fintype.card l) A.rank *
            frobNorm ((1 - rangeProjector A) * B) ^ 2) ≤
        ∫⁻ (ω : Ω),
          ENNReal.ofReal (frobNorm (U * B - U * A * sketchAndSolve (U * A) (X ω)ᴴ (U * B)) ^ 2) ∂μ

Full source on GitHub

Copy link

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.