NLA-lib Explorer

NLAlib.HasOrthonormalCols.hasSubspaceInjection_of_hasLaw_haarFrame

Library · theorem

Haar subspace injection: for \mathbf{U} with orthonormal columns, the Haar sketch is a subspace injection for \operatorname{range} \mathbf{U} with constant a_{\mathrm{H}} = \frac{(1 - (\sqrt{\lvert p \rvert} + t)/\sqrt{\lvert k \rvert})^2} {(1 + (\sqrt{\lvert k \rvert} + s)/\sqrt{\lvert n \rvert})^2} outside probability e^{-t^2/2} + e^{-s^2/2}, for 0 \le t \le \sqrt{\lvert k \rvert} - \sqrt{\lvert p \rvert} and s \ge 0. By the transfer and \mathbf{U}^{\mathsf{H}} \mathbf{P}_{\mathbf{G}} \mathbf{U} = (\mathbf{G}^{\mathsf{H}}\mathbf{U})^{\mathsf{H}} (\mathbf{G}^{\mathsf{H}}\mathbf{G})^{-1} (\mathbf{G}^{\mathsf{H}}\mathbf{U}) with \mathbf{G}^{\mathsf{H}}\mathbf{U} a k \times p Gaussian: Gordon's lower tail for \mathbf{G}^{\mathsf{H}}\mathbf{U} (t), the upper tail of \|\mathbf{G}\|_2 (s), a union bound (no independence needed). Lossy near \lvert k \rvert = \lvert n \rvert (a_{\mathrm{H}} \approx (1 - \sqrt{\lvert p \rvert / \lvert n \rvert})^2 / 4 there); NLAlib.HasOrthonormalCols.hasSubspaceInjection_of_hasLaw_haarFrame_of_card_add_eq is better when the codimension is small, this one when \lvert k \rvert \le \lvert n \rvert / 2 (rule 4).

NLAlib.HasOrthonormalCols.hasSubspaceInjection_of_hasLaw_haarFrame.{u_1, u_2, u_3, u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {k : Type u_2} {n : Type u_3}
  {p : Type u_4} [Fintype k] [Fintype n] [Fintype p] [DecidableEq k] {Q : Ω → Matrix n k ℝ}
  {U : Matrix n p ℝ} {t s : ℝ} [DecidableEq p] (hU : HasOrthonormalCols U)
  (hQ : HasLaw Q (haarFrame n k) μ) (hk : Fintype.card k ≤ Fintype.card n) (ht : 0 ≤ t)
  (htk : t ≤ √↑(Fintype.card k) - √↑(Fintype.card p)) (hs : 0 ≤ s) :
  HasSubspaceInjection (fun ω ↦ √(↑(Fintype.card n) / ↑(Fintype.card k)) • (Q ω)ᴴ) U
    ((1 - (√↑(Fintype.card p) + t) / √↑(Fintype.card k)) ^ 2 /
      (1 + (√↑(Fintype.card k) + s) / √↑(Fintype.card n)) ^ 2)
    (rexp (-t ^ 2 / 2) + rexp (-s ^ 2 / 2)) μ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.HaarEmbedding.