NLA-lib Explorer

NLAlib.Krylov.Lanczos.StoresCell.dec_vec_eq_of_readBlock

Library · theorem

A complete coefficient read and a decoded cell fact agree on that coefficient.

NLAlib.Krylov.Lanczos.StoresCell.dec_vec_eq_of_readBlock {K : Type} [Inhabited K] {dec : K → ℝ}
  {k i : ℕ} {C : ℕ × ℕ} {s : Ops.Store K} {cs : List K} {v : ℝ}
  (h : Krylov.Lanczos.StoresCell dec (C.1, C.2 + i) v s) (hr : s.readBlock C.1 C.2 k = some cs)
  (hi : i < k) : dec (Ops.vec cs i) = v

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Storage.