NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.Rounded.initializeRel_rel

Library · theorem

NLAlib.Krylov.CG.HSCG.Carried.Rounded.initializeRel_rel {K : Type} [Inhabited K] (dec : K → ℝ)
  (ed : ℝ) (n : ℕ) (x✝ : List ℕ) (X : List (List K)) (x✝¹ : List K) (Y : List (List K)) :
  (Krylov.CG.HSCG.Carried.Rounded.initializeRel dec ed n).rel x✝ X x✝¹ Y =
    match X, Y with
    | [bs, head], [xs, rs, ps, [rr]] =>
      Krylov.CG.HSCG.decodedState dec n xs rs ps =
          { x := 0, r := Ops.decv dec n bs, p := Ops.decv dec n bs } ∧
        Ops.IsDotErr dec ed n (Ops.vec rs) (Ops.vec rs) rr
    | x, x_1 => False

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.Initialization.