NLA-lib Explorer

NLAlib.IsSubspaceEmbedding.norm_sub_mulVec_sq_le_of_fromCols

Library · theorem

Sketch-and-solve with an embedding of \operatorname{range}[\mathbf{A}, \mathbf{y}], the form in which the literature states it. [Woodruff2014, proof of Theorem 21].

NLAlib.IsSubspaceEmbedding.norm_sub_mulVec_sq_le_of_fromCols.{u_1, u_2, u_4, u_6} {𝕜 : Type u_1}
  [RCLike 𝕜] {k : Type u_2} {n : Type u_4} {q : Type u_6} [Fintype k] [Fintype n] [Fintype q]
  {S : Matrix k n 𝕜} {A : Matrix n q 𝕜} {y : n → 𝕜} {x : q → 𝕜} {a b : ℝ} [DecidableEq n]
  (h : IsSubspaceEmbedding S (A.fromCols (replicateCol Unit y)) a b) (ha : 0 < a)
  (hx : IsLeastSquaresSolution (S * A) (S *ᵥ y) x) :
  ‖WithLp.toLp 2 (y - A *ᵥ x)‖ ^ 2 ≤ b / a * ‖WithLp.toLp 2 ((1 - rangeProjector A) *ᵥ y)‖ ^ 2

Full source on GitHub

Import NLAlib.Regression.Embedding.