NLA-lib Explorer

NLAlib.Krylov.Lanczos.Reorth.Rounded.History.initial_outcome

Library · theorem

The original rounded initialization remains attached to the final history, including the input norm, initial direction, zero previous vector and initial coupling.

NLAlib.Krylov.Lanczos.Reorth.Rounded.History.initial_outcome {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 : ℕ → ℝ}
  (h : Krylov.Lanczos.Reorth.Rounded.History dec A rhs em u E e done z nus) :
  ∃ initial,
    Krylov.Lanczos.Rounded.Outcome A rhs E 0 initial ∧
      z.initialNorm = initial.initialNorm ∧
        z.v 0 = initial.v 0 ∧ z.v 1 = initial.v 1 ∧ z.beta 0 = initial.beta 0

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Reorth.Rounded.History.