NLA-lib Explorer

NLAlib.IsSVD.iterativeSketching_succ

Library · theorem

The iterative sketching step through an SVD: for a singular value decomposition \mathbf{S}\mathbf{A} = \mathbf{U}\mathbf{\Sigma}\mathbf{V}^{\mathsf{H}} with square \mathbf{V} and every \sigma_i > 0, the iterates \mathbf{x}_q = \mathsf{iterativeSketching}(\mathbf{A}, \mathbf{S}, \omega, \mathbf{y}, \mathbf{x}_0, q) satisfy \mathbf{x}_{q+1} = \mathbf{x}_q + \omega\mathbf{V}\mathbf{\Sigma}^{-2}\mathbf{V}^{\mathsf{H}} \mathbf{A}^{\mathsf{H}}(\mathbf{y} - \mathbf{A}\mathbf{x}_q)\,. [EpperlyMeierNakatsukasa2024, §2.1], there the change of variables for any orthogonal factorization.

NLAlib.IsSVD.iterativeSketching_succ.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {k : Type u_2}
  {m : Type u_3} {n : Type u_4} [Fintype k] [Fintype m] [Fintype n] {S : Matrix k m 𝕜}
  {A : Matrix m n 𝕜} [DecidableEq n] {U : Matrix k n 𝕜} {σ : n → ℝ} {V : Matrix n n 𝕜}
  (hSVD : IsSVD (S * A) U σ V) (hσ : ∀ (i : n), 0 < σ i) (ω : ℝ) (y : m → 𝕜) (x₀ : n → 𝕜) (q : ℕ) :
  iterativeSketching A S ω y x₀ (q + 1) =
    iterativeSketching A S ω y x₀ q +
      ω •
        ((V * diagonal fun i ↦ (↑(σ i) ^ 2)⁻¹) * Vᴴ) *ᵥ
          Aᴴ *ᵥ (y - A *ᵥ iterativeSketching A S ω y x₀ q)

Full source on GitHub

Import NLAlib.Regression.IterativeSketching.