NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.RoundBounds.exists_run_errors

Library · theorem

Componentwise operation bounds give the normwise local errors used by the existing PCG run model. Both actual residual pairings and the fixed oracle action are preserved. [Higham2002, §3.1].

NLAlib.Krylov.CG.HSPCG.Rounded.RoundBounds.exists_run_errors {n : ℕ} {em u ed ea e : ℝ}
  {A P : Matrix (Fin n) (Fin n) ℝ} {O : MatvecOracle P} {s s' : PCGState ℝ (Fin n)} {rho rho' : ℝ}
  (h : Krylov.CG.HSPCG.Rounded.RoundBounds em u ed ea A O s s' rho rho') (hu : 0 ≤ u) (hd : 0 ≤ ed)
  (ha : 0 ≤ ea) (hem : em ≤ e) (hue : u ≤ e) (hde : ed ≤ e) (hae : ea ≤ e) :
  ∃ q curv alpha beta eg eb,
    ‖WithLp.toLp 2 (A *ᵥ s.p - q)‖ ≤ e * specNorm A * ‖WithLp.toLp 2 s.p‖ ∧
      0 < rho ∧
        0 < curv ∧
          |rho - s.r ⬝ᵥ s.z| ≤ e * ‖WithLp.toLp 2 s.r‖ * ‖WithLp.toLp 2 s.z‖ ∧
            |curv - s.p ⬝ᵥ q| ≤ e * ‖WithLp.toLp 2 s.p‖ * ‖WithLp.toLp 2 q‖ ∧
              alpha = rho / curv * (1 + eg) ∧
                |eg| ≤ e ∧
                  beta = rho' / rho * (1 + eb) ∧
                    |eb| ≤ e ∧
                      s'.z = O.mulVec s'.r ∧
                        |rho' - s'.r ⬝ᵥ s'.z| ≤ e * ‖WithLp.toLp 2 s'.r‖ * ‖WithLp.toLp 2 s'.z‖ ∧
                          ‖WithLp.toLp 2 (s.x + alpha • s.p - s'.x)‖ ≤
                              e * (‖WithLp.toLp 2 s.x‖ + |alpha| * ‖WithLp.toLp 2 s.p‖) ∧
                            ‖WithLp.toLp 2 (s.r - alpha • q - s'.r)‖ ≤
                                e * (‖WithLp.toLp 2 s.r‖ + |alpha| * ‖WithLp.toLp 2 q‖) ∧
                              ‖WithLp.toLp 2 (s'.z + beta • s.p - s'.p)‖ ≤
                                e * (‖WithLp.toLp 2 s'.z‖ + |beta| * ‖WithLp.toLp 2 s.p‖)

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.Step.