NLA-lib Explorer

Flattening

Library · Result group

Theorem (measureReal_exists_leverageScore_mul_diagonal_gt_le_of_hasLaw_rademacherVector). Flattening: a randomized unitary transform makes every subspace incoherent. For a bounded orthonormal \mathbf{F} with constant \beta, independent signs \boldsymbol{\xi}, \mathbf{D} = \operatorname{diag}(\boldsymbol{\xi}), any \mathbf{U} with d = \operatorname{rank}\mathbf{U} and t \ge 0, outside probability \lvert n \rvert e^{-t} every leverage score satisfies \ell_i(\mathbf{F}\mathbf{D}\mathbf{U}) \le \frac{\beta\,(d + 2\sqrt{d t} + 2t)}{\lvert n \rvert} \,. [CamanoEpperlyMeyerTropp2025, Imported Theorem 4.3] (there O((d + \log(n/\delta))/n) for a unitary Walsh–Hadamard, cosine or Fourier transform with entries O(n^{-1/2}); they note the argument needs only these two features); [Tropp2011a, Lemma 3.3] (real signs, Walsh–Hadamard, orthonormal \mathbf{U}; (\sqrt{d} + \sqrt{8 \log(n/\delta)})^2 / n outside probability \delta). Here any \mathbf{F} with n \lvert \mathbf{F}_{i,j} \rvert^2 \le \beta, any field, any \mathbf{U}, the Hsu–Kakade–Zhang constant. The proof passes to an orthonormal basis \mathbf{Q} of \operatorname{range}\mathbf{U} (NLAlib.leverageScore_eq_of_range_eq); almost surely \mathbf{F}\mathbf{D}\mathbf{Q} is orthonormal and score i is \|(\mathbf{F}\mathbf{D}\mathbf{Q})_i\|^2 = \|\mathbf{M}_i \boldsymbol{\xi}\|^2 with \mathbf{M}_i = \mathbf{Q}^{\mathsf{T}} \operatorname{diag}(\mathbf{F}_{i,\cdot}), \|\mathbf{M}_i\|_{\mathsf{F}}^2 \le \beta d / \lvert n \rvert and \|\mathbf{M}_i\|_2^2 \le \beta / \lvert n \rvert; the Hsu–Kakade–Zhang tail at proxy 1 per row, then a union over the rows.

Headline General form: sizes are index types

Lean statement and details
NLAlib.measureReal_exists_leverageScore_mul_diagonal_gt_le_of_hasLaw_rademacherVector.{u_1, u_2,
    u_4, u_5}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {n : Type u_4}
  {r : Type u_5} [Fintype n] [Fintype r] [DecidableEq n] {F : Matrix n n 𝕜} {ξ : Ω → n → ℝ}
  {β t : ℝ} (hF : IsBoundedOrthonormal F β) (hξ : HasLaw ξ (rademacherVector n) μ)
  (U : Matrix n r 𝕜) (ht : 0 ≤ t) :
  μ.real
      {ω |
        ∃ i,
          β * (↑U.rank + 2 * √(↑U.rank * t) + 2 * t) * (↑(Fintype.card n))⁻¹ <
            leverageScore ((F * diagonal fun l ↦ ↑(ξ ω l)) * U) i} ≤
    ↑(Fintype.card n) * rexp (-t)

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.