NLA-lib Explorer

Forward error of iterative refinement

Library · Result group

Theorem (RefinementRun.norm_sub_x_le). Forward error of iterative refinement. For an invertible \mathbf{A} \in \Bbbk^{n \times n}, a run of k steps with accuracy parameters \theta, \eta, \zeta, \varepsilon, the solution \mathbf{A}\mathbf{x}_\star = \mathbf{b} and contraction factor \varphi < 1, every j \le k satisfies \|\mathbf{x}_\star - \mathbf{x}_j\| \le \varphi^j\|\mathbf{x}_\star - \mathbf{x}_0\| + \frac{\xi}{1 - \varphi}\,\|\mathbf{x}_\star\|\,. Here, with \kappa = \kappa(\mathbf{A}), the contraction factor is the following, <!-- value refinementContractionFactor \kappa \theta \eta \zeta \varepsilon --> \varphi = (1+\varepsilon)(\theta+(1+\theta)\kappa(\zeta+\eta)), and the accuracy bound is the following, <!-- value refinementAccuracyBound \kappa \theta \eta \varepsilon --> \xi = (1+\varepsilon)(1+\theta)2\kappa\eta+\varepsilon. [CarsonHigham2018, Corollary 3.3]; stated there in the \infty-norm as a limiting accuracy 4 p u_r \operatorname{cond}(\mathbf{A}, \mathbf{x}) + u, with p the largest number of nonzeros in a row of [\mathbf{A}\ \mathbf{b}], and a rate that depends only on the solve; here in the Euclidean norm with the transient term, and the rate also has the term \kappa(\mathbf{A})(\zeta + \eta).

Headline

Notes

the limiting term involves the solve accuracy \theta only through 1 + \theta and 1 - \varphi, so for \varphi bounded away from one a less accurate solve changes it by a constant factor. One step is NLAlib.RefinementRun.norm_sub_x_succ_le.

Lean statement and details
NLAlib.RefinementRun.norm_sub_x_le.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
  [DecidableEq n] {k : ℕ} {A : Matrix n n 𝕜} {b : n → 𝕜} {θ η ζ ε : ℝ}
  (R : RefinementRun A b θ η ζ ε k) {xs : n → 𝕜} (hxs : A *ᵥ xs = b)
  (hφ : refinementContractionFactor (pseudoConditionNumber A) θ η ζ ε < 1) {j : ℕ} (hj : j ≤ k) :
  ‖WithLp.toLp 2 (xs - R.x j)‖ ≤
    refinementContractionFactor (pseudoConditionNumber A) θ η ζ ε ^ j *
        ‖WithLp.toLp 2 (xs - R.x 0)‖ +
      refinementAccuracyBound (pseudoConditionNumber A) θ η ε /
          (1 - refinementContractionFactor (pseudoConditionNumber A) θ η ζ ε) *
        ‖WithLp.toLp 2 xs‖

Full source on GitHub

Copy link