NLA-lib Explorer

NLAlib.CGRun.norm_sub_mulVec_x_sub_r_le

Library · theorem

The residual gap (true minus updated residual): with \mathbf{x}_0 = \mathbf{0}, \mathbf{r}_0 = \mathbf{b}, \|(\mathbf{b} - \mathbf{A}\mathbf{x}_k) - \mathbf{r}_k\| \le \varepsilon\sum_{j<k} \bigl(\|\mathbf{A}\|_2(\|\mathbf{x}_j\| + 4\gamma_j\|\mathbf{p}_j\|) + \|\mathbf{r}_j\|\bigr) . [Greenbaum1997SIMAX]; [StrakosTichy2002, (7.16)], there with \|\mathbf{x}\| + \max_j\|\mathbf{x}_j\| and +O(\varepsilon^2). Local: no Lanczos reduction, no \kappa. [BakeCarsonMa2025, Theorem 1] gives a related PCG gap bound through the same telescoping mechanism, retaining a maximum-iterate factor. Result: cg-residual-gap

NLAlib.CGRun.norm_sub_mulVec_x_sub_r_le {n k : ℕ} (C : CGRun n k) :
  ‖WithLp.toLp 2 (C.b - C.A *ᵥ C.x k - C.r k)‖ ≤
    C.ε *
      ∑ j ∈ Finset.range k,
        (specNorm C.A * (‖WithLp.toLp 2 (C.x j)‖ + 4 * C.γ j * ‖WithLp.toLp 2 (C.p j)‖) + C.ρ j)

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.CGRunModel.