NLA-lib Explorer

NLAlib.IsSVD.norm_sub_pinv_mulVec_sq

Library Β· theorem

Orthogonal bias and noise. For a fixed split SVD with positive retained singular values, put \mathbf{B}=\mathbf{U}_1\mathbf{\Sigma}_1\mathbf{V}_1^{\mathsf{H}}. For arbitrary data \mathbf{A}\mathbf{x}+\mathbf{e}, \|\mathbf{x}-\mathbf{B}^{+}(\mathbf{A}\mathbf{x}+\mathbf{e})\|^2 = \|(\mathbf{I}-\mathbf{V}_1\mathbf{V}_1^{\mathsf{H}})\mathbf{x}\|^2+ \|\mathbf{B}^{+}\mathbf{e}\|^2. The retained block may be empty or unsorted. [FesslerNadakuditi2024, (5.42)]; the squared identity follows from orthogonality. Result: truncated-svd-regularization

NLAlib.IsSVD.norm_sub_pinv_mulVec_sq.{u_1, u_2, u_3, u_4, u_5} {π•œ : Type u_1} [RCLike π•œ]
  {m : Type u_2} {n : Type u_3} {r : Type u_4} {s : Type u_5} [Fintype m] [Fintype n] [Fintype r]
  [Fintype s] [DecidableEq r] [DecidableEq s] {A : Matrix m n π•œ} {U₁ : Matrix m r π•œ}
  {Uβ‚‚ : Matrix m s π•œ} {V₁ : Matrix n r π•œ} {Vβ‚‚ : Matrix n s π•œ} {σ₁ : r β†’ ℝ} {Οƒβ‚‚ : s β†’ ℝ}
  [DecidableEq n] (h : IsSVD A (U₁.fromCols Uβ‚‚) (σ₁ βŠ•α΅₯ Οƒβ‚‚) (V₁.fromCols Vβ‚‚))
  (hΟƒ : βˆ€ (i : r), 0 < σ₁ i) (x : n β†’ π•œ) (e : m β†’ π•œ) :
  β€–WithLp.toLp 2 (x - pinv ((U₁ * diagonal fun i ↦ ↑(σ₁ i)) * V₁ᴴ) *α΅₯ (A *α΅₯ x + e))β€– ^ 2 =
    β€–WithLp.toLp 2 ((1 - V₁ * V₁ᴴ) *α΅₯ x)β€– ^ 2 +
      β€–WithLp.toLp 2 (pinv ((U₁ * diagonal fun i ↦ ↑(σ₁ i)) * V₁ᴴ) *α΅₯ e)β€– ^ 2

Full source on GitHub

Import NLAlib.Matrix.Pseudoinverse.TruncatedSVD.