NLA-lib Explorer

NLAlib.Krylov.Lanczos.Reorth.Rounded.History.exists_roundedStep

Library · theorem

Each executed step of the final history has a pure rounded-step witness with exactly its archived vectors, alpha, beta and saved norm. Strict admissibility is left to prefix selection.

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

Full source on GitHub

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