NLA-lib Explorer

NLAlib.norm_sub_kaczmarzIterate_succ_sq

Library · theorem

The one-step identity, for any reference point \mathbf{x}_\star and every row: with \mathbf{a}_i the rows of \mathbf{A} and \mathbf{x}_q = \mathsf{kaczmarzIterate}(\mathbf{A}, \iota, \mathbf{b}, \mathbf{x}_0, q), \|\mathbf{x}_\star - \mathbf{x}_{q+1}\|^2 = \|\mathbf{x}_\star - \mathbf{x}_q\|^2 - \frac{\lvert(\mathbf{A}(\mathbf{x}_\star - \mathbf{x}_q))_{\iota_q}\rvert^2} {\|\mathbf{a}_{\iota_q}\|^2} + \frac{\lvert(\mathbf{b} - \mathbf{A}\mathbf{x}_\star)_{\iota_q}\rvert^2}{\|\mathbf{a}_{\iota_q}\|^2}\,; for a zero row both fractions are 0 and the step is the identity. [StrohmerVershynin2009, proof of Theorem 2], there for a consistent system.

NLAlib.norm_sub_kaczmarzIterate_succ_sq.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
  {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m] {A : Matrix m n 𝕜} {b : m → 𝕜} {x₀ : n → 𝕜}
  (ι : ℕ → m) (xs : n → 𝕜) (q : ℕ) :
  ‖WithLp.toLp 2 (xs - kaczmarzIterate A ι b x₀ (q + 1))‖ ^ 2 =
    ‖WithLp.toLp 2 (xs - kaczmarzIterate A ι b x₀ q)‖ ^ 2 -
        ‖(A *ᵥ (xs - kaczmarzIterate A ι b x₀ q)) (ι q)‖ ^ 2 / ‖WithLp.toLp 2 (A (ι q))‖ ^ 2 +
      ‖(b - A *ᵥ xs) (ι q)‖ ^ 2 / ‖WithLp.toLp 2 (A (ι q))‖ ^ 2

Full source on GitHub

Import NLAlib.Regression.Kaczmarz.