NLA-lib Explorer

NLAlib.IsLeastSquaresSolution.norm_sub_le

Library · theorem

Headline of least-squares-perturbation (provisional)

Perturbation of a least-squares solution. Let \mathbf{A} have full column rank and \|\mathbf{A}^{+}\|_2 \|\mathbf{E}\|_2 < 1. If \mathbf{x} solves the problem (\mathbf{A}, \mathbf{b}) and \mathbf{y} solves (\mathbf{A} + \mathbf{E}, \mathbf{b} + \mathbf{f}), then \begin{aligned} \|\mathbf{y} - \mathbf{x}\| &\le \|(\mathbf{A} + \mathbf{E})^{+}\|_2 \bigl(\|\mathbf{f}\| + \|\mathbf{E}\|_2 \|\mathbf{x}\| \\ &\qquad + \|\mathbf{A}^{+}\|_2 \|\mathbf{E}\|_2 \|\mathbf{b} - \mathbf{A}\mathbf{x}\|\bigr). \end{aligned} [GolubVanLoan2013, Theorem 5.3.1]; [Wedin1973]; [Higham2002, Theorem 20.1]. Result: least-squares-perturbation

NLAlib.IsLeastSquaresSolution.norm_sub_le.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
  {n : Type u_3} [Fintype m] [Fintype n] {A E : Matrix m n 𝕜} (hA : Function.Injective A.mulVec)
  (hE : specNorm (pinv A) * specNorm E < 1) {b f : m → 𝕜} {x y : n → 𝕜}
  (hx : IsLeastSquaresSolution A b x) (hy : IsLeastSquaresSolution (A + E) (b + f) y) :
  ‖WithLp.toLp 2 (y - x)‖ ≤
    specNorm (pinv (A + E)) *
      (‖WithLp.toLp 2 f‖ + specNorm E * ‖WithLp.toLp 2 x‖ +
        specNorm (pinv A) * specNorm E * ‖WithLp.toLp 2 (b - A *ᵥ x)‖)

Full source on GitHub

Import NLAlib.Matrix.Perturbation.LeastSquares.