NLA-lib Explorer

NLAlib.Krylov.GolubKahan.Band.StoredPrefix.succ

Library · theorem

The round of the loop invariant: a run that writes only the cells of block step j and leaves the two stored extensions of that step turns the stored prefix of j steps into the stored prefix of j + 1 steps. The scratch buffer is above the five output buffers, which are distinct.

NLAlib.Krylov.GolubKahan.Band.StoredPrefix.succ {K : Type} [Inhabited K] {dec : K → ℝ}
  {Ext : Ops.ExtendPred ℝ} {m n b j : ℕ}
  {Mv : Matrix (Fin n) (Fin b) ℝ → Matrix (Fin m) (Fin b) ℝ → Prop}
  {Rmv : Matrix (Fin m) (Fin b) ℝ → Matrix (Fin n) (Fin b) ℝ → Prop} {Ω : Matrix (Fin n) (Fin b) ℝ}
  {U V G R S W : ℕ × ℕ} {s s' : Ops.Store K}
  (h : Krylov.GolubKahan.Band.StoredPrefix dec Ext Mv Rmv Ω U V G R S j s)
  (hbuf : [U.1, V.1, G.1, R.1, S.1].Nodup) (hlt : ∀ z ∈ [U, V, G, R, S], z.1 < W.1)
  (hfr : Ops.Store.EqOff (Krylov.GolubKahan.Band.stepFp m n b j U V R S W) s s')
  (hL :
    Krylov.GolubKahan.Band.ProductExtAt dec Ext Mv s' (j * b) (V.1, V.2 + j * b * n) U
      (R.1, R.2 + Krylov.GolubKahan.Band.coefOffsetR b j))
  (hR :
    Krylov.GolubKahan.Band.ProductExtAt dec Ext Rmv s' ((j + 1) * b) (U.1, U.2 + j * b * m) V
      (S.1, S.2 + Krylov.GolubKahan.Band.coefOffsetS b j)) :
  Krylov.GolubKahan.Band.StoredPrefix dec Ext Mv Rmv Ω U V G R S (j + 1) s'

Full source on GitHub

Import NLAlib.Krylov.GolubKahan.Band.Alg.