NLA-lib Explorer

NLAlib.Krylov.Lanczos.Rounded.Output.exists_run_backward

Library · theorem

Under the input cap's quadratic small-roundoff condition, the same physically identified run satisfies the existing Frobenius backward bound, even if it stopped before the cap.

NLAlib.Krylov.Lanczos.Rounded.Output.exists_run_backward {K : Type} [Inhabited K] {dec : K → ℝ}
  {n cap : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {rhs : Fin n → ℝ} {E : ℝ} {vs cs : List K}
  (h : Krylov.Lanczos.Rounded.Output dec A rhs E cap vs cs) (hcap : 0 < cap) (hrhs : rhs ≠ 0)
  (hsmall : ↑cap ^ 2 * E ≤ 1 / 1000) :
  ∃ done ≤ cap,
    ∃ z R,
      Krylov.Lanczos.Rounded.Outcome A rhs E done z ∧
        Krylov.Lanczos.Rounded.PackedOutput dec cap z vs cs ∧
          R.H = A ∧
            R.ε = E ∧
              R.v = z.v ∧
                R.α = z.alpha ∧
                  R.β = z.beta ∧
                    (done < cap → z.beta done = 0) ∧
                      frobNorm (R.backwardH - R.dilatedH) ≤
                        lanczosSmallRoundoffBackwardFactor done * E * specNorm A

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Rounded.Stability.