NLA-lib Explorer

NLAlib.norm_inv_mulVec_sub_le_of_add_mulVec_eq

Library · theorem

A backward stable solve has a small relative error. If \mathbf{A} is invertible, (\mathbf{A} + \mathbf{E})\mathbf{d} = \mathbf{r} and \|\mathbf{A}^{-1}\mathbf{E}\|_2 \le \omega < 1, then \|\mathbf{A}^{-1}\mathbf{r} - \mathbf{d}\| \le \frac{\omega}{1 - \omega}\,\|\mathbf{A}^{-1}\mathbf{r}\|\,. With \|\mathbf{E}\|_2 \le c\,u_f\|\mathbf{A}\|_2, as for a solve with factors computed at unit roundoff u_f, one may take \omega = c\,\kappa(\mathbf{A})u_f. This is the accuracy of the correction solve of iterative refinement. [CarsonHigham2018, (2.3)]; the assumption there on the solver of the correction equation, obtained here from a backward error.

NLAlib.norm_inv_mulVec_sub_le_of_add_mulVec_eq.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A E : Matrix n n 𝕜} (hA : IsUnit A) {ω : ℝ}
  (hE : specNorm (A⁻¹ * E) ≤ ω) (hω : ω < 1) {d r : n → 𝕜} (hd : (A + E) *ᵥ d = r) :
  ‖WithLp.toLp 2 (A⁻¹ *ᵥ r - d)‖ ≤ ω / (1 - ω) * ‖WithLp.toLp 2 (A⁻¹ *ᵥ r)‖

Full source on GitHub

Import NLAlib.Matrix.Perturbation.Inverse.