NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.Rounded.RoundBounds.exists_run_errors

Library · theorem

Every local standard CG recurrence supplies the existing run theory's normwise scalar and vector defects at a common error bound, including the actual matvec defect. [Higham2002, §3.1].

NLAlib.Krylov.CG.HSCG.Carried.Rounded.RoundBounds.exists_run_errors {n : ℕ} {em u ed ea e : ℝ}
  {A : Matrix (Fin n) (Fin n) ℝ} {s s' : CGState ℝ (Fin n)} {rho rho' : ℝ}
  (h : Krylov.CG.HSCG.Carried.Rounded.RoundBounds em u ed ea A 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 theta eg eb,
    ‖WithLp.toLp 2 (A *ᵥ s.p - q)‖ ≤ e * specNorm A * ‖WithLp.toLp 2 s.p‖ ∧
      0 < rho ∧
        0 < curv ∧
          rho' = ‖WithLp.toLp 2 s'.r‖ ^ 2 * (1 + theta) ∧
            |theta| ≤ e ∧
              |s.p ⬝ᵥ q - curv| ≤ e * ‖WithLp.toLp 2 s.p‖ * ‖WithLp.toLp 2 q‖ ∧
                alpha = rho / curv * (1 + eg) ∧
                  |eg| ≤ e ∧
                    beta = rho' / rho * (1 + eb) ∧
                      |eb| ≤ e ∧
                        ‖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'.r + beta • s.p - s'.p)‖ ≤
                              e * (‖WithLp.toLp 2 s'.r‖ + |beta| * ‖WithLp.toLp 2 s.p‖)

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.Bounds.