NLA-lib Explorer

NLAlib.Krylov.GolubKahan.Band.StoredPrefix.exists_storedOut

Library · theorem

Readback of the stored prefix of all q steps: the five output blocks are readable and their decoded matrices are related block by block, with the decoded window ω as start block.

NLAlib.Krylov.GolubKahan.Band.StoredPrefix.exists_storedOut {K : Type} [Inhabited K] {dec : K → ℝ}
  {Ext : Ops.ExtendPred ℝ} {m n b q : ℕ}
  {Mv : Matrix (Fin n) (Fin b) ℝ → Matrix (Fin m) (Fin b) ℝ → Prop}
  {Rmv : Matrix (Fin m) (Fin b) ℝ → Matrix (Fin n) (Fin b) ℝ → Prop} {U V G R S : ℕ × ℕ}
  {μ : Ops.Mem K} {ω : List K}
  (h :
    Krylov.GolubKahan.Band.StoredPrefix dec Ext Mv Rmv (Ops.decodeMatrix dec n b ω) U V G R S q
      μ.store) :
  ∃ us vs gs rs ss,
    μ.readBlocks [U, V, G, R, S] (Krylov.GolubKahan.Band.outLens m n b q) =
        some [us, vs, gs, rs, ss] ∧
      Krylov.GolubKahan.Band.StoredOut dec m n b q (Krylov.GolubKahan.Band.IsStoredRun Ext Mv Rmv) ω
        us vs gs rs ss

Full source on GitHub

Import NLAlib.Krylov.GolubKahan.Band.Alg.