NLA-lib Explorer

NLAlib.Krylov.Lanczos.Rounded.Packed.advance

Library · theorem

A round changes only the next basis/diagonal/coupling entries and scratch. The same footprint rule preserves initialized tails and arbitrary old mathematical values.

NLAlib.Krylov.Lanczos.Rounded.Packed.advance {K : Type} [Inhabited K] {dec : K → ℝ}
  {n cap done L : ℕ} {V C : ℕ × ℕ} {z : Krylov.Lanczos.Rounded.Values n} {s s' : Ops.Store K}
  (h : Krylov.Lanczos.Rounded.Packed dec cap done V C z s) (hd : done < cap) (hvc : V.1 ≠ C.1)
  (hv : V.1 < L) (hc : C.1 < L)
  (hf : Ops.Store.EqOff (Krylov.Lanczos.advanceFp n cap done L V C) s s') {q : Fin n → ℝ} {a b : ℝ}
  (hq : Krylov.Lanczos.StoresVec dec (V.1, V.2 + (done + 1) * n) q s')
  (ha : Krylov.Lanczos.StoresCell dec (C.1, C.2 + done) a s')
  (hb : Krylov.Lanczos.StoresCell dec (C.1, C.2 + cap + done + 1) b s') :
  Krylov.Lanczos.Rounded.Packed dec cap (done + 1) V C (z.next done q a b) s'

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Rounded.State.