NLA-lib Explorer

NLAlib.Krylov.Lanczos.Reorth.Rounded.Local.exists_roundedStep

Library · theorem

Actual numerical witnesses of a rounded reorthogonalized transition supply the same pure RoundedStep interface used by the existing finite-precision run theory. Every norm, update, normalization and orthogonalization clause follows from its primitive budgets.

NLAlib.Krylov.Lanczos.Reorth.Rounded.Local.exists_roundedStep {K : Type} [Inhabited K] {dec : K → ℝ}
  {n : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {em u E : ℝ} {e : Ops.Blas1Err} {done : ℕ}
  {z : Krylov.Lanczos.Rounded.Values n} {q : Fin n → ℝ} {a b nu η c : ℝ}
  (h : Krylov.Lanczos.Reorth.Rounded.Local dec A em u e done z q a b nu)
  (hprec : Krylov.Lanczos.Rounded.Precision em u E e n) (hη₀ : 0 ≤ η) (hη : η ≤ 1 / 100)
  (hc : c ≤ 1 / 100)
  (hbudget :
    (↑done + 1 + 1) * e.dot n * (1 + η) ^ 2 +
        ((1 + e.axpy) ^ (done + 1) - 1) * (1 + (↑done + 1) * (1 + e.dot n) * (1 + η) ^ 2) ≤
      c) :
  ∃ U W Z Z' H,
    LanczosReorthImplementation.RoundedStep A E (IsOrthErr η (2 * c) (3 * c) (2 * (η + c) ^ 2))
      (LanczosReorthRun.basisOf z.v (done + 1)) (z.v done) (z.v (done + 1)) q (z.beta done) a nu b U
      W Z Z' H

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Reorth.Rounded.Analysis.