NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.stepRel_rel

Library · theorem

NLAlib.Krylov.CG.HSCG.stepRel_rel {K : Type} [Inhabited K] (dec : K → ℝ) {n : ℕ}
  (A : Matrix (Fin n) (Fin n) ℝ) (x✝ : List ℕ) (X : List (List K)) (x✝¹ : List K)
  (Y : List (List K)) :
  (Krylov.CG.HSCG.stepRel dec A).rel x✝ X x✝¹ Y =
    match X, Y with
    | [xs, rs, ps], [xs', rs', ps'] =>
      Krylov.CG.HSCG.decodedState dec n xs' rs' ps' =
        cgStep A (Krylov.CG.HSCG.decodedState dec n xs rs ps)
    | x, x_1 => False

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Exact.