NLA-lib Explorer

NLAlib.Krylov.CG.Reorth.reorthStep_eq_cgState_of_history

Library · theorem

Any stored history decoding to the earlier CG residuals gives the same exact next state. The basis may use any exact representation of those residuals.

NLAlib.Krylov.CG.Reorth.reorthStep_eq_cgState_of_history {K : Type} [Inhabited K] {dec : K → ℝ}
  {n j : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} (hA : A.PosDef) (b x₀ : Fin n → ℝ) (qs : List K)
  (h : ∀ i < j + 1, Krylov.CG.Reorth.column dec n qs i = (cgState A b x₀ i).r) :
  Krylov.CG.Reorth.reorthStep A (Krylov.CG.Reorth.column dec n qs) (j + 1) (cgState A b x₀ j) =
    cgState A b x₀ (j + 1)

Full source on GitHub

Import NLAlib.Krylov.CG.Reorth.State.