NLA-lib Explorer

NLAlib.Krylov.CG.Reorth.state_reads

Library · theorem

The three individually readable blocks of a stored CG state.

NLAlib.Krylov.CG.Reorth.state_reads {K : Type} [Inhabited K] {dec : K → ℝ} {n : ℕ} {x r p : ℕ × ℕ}
  {s : CGState ℝ (Fin n)} {μ : Ops.Mem K} (h : Krylov.CG.HSCG.StoresState dec n x r p s μ) :
  ∃ xs rs ps,
    μ.store.readBlock x.1 x.2 n = some xs ∧
      μ.store.readBlock r.1 r.2 n = some rs ∧
        μ.store.readBlock p.1 p.2 n = some ps ∧ Krylov.CG.HSCG.decodedState dec n xs rs ps = s

Full source on GitHub

Import NLAlib.Krylov.CG.Reorth.State.