NLA-lib Explorer

NLAlib.ShiftedQR.Store.exists_readBlock_pair

Library · theorem

Two stored words inside a stored block are the parts of one complex number.

NLAlib.ShiftedQR.Store.exists_readBlock_pair {s : Ops.Store ℝ} {b off N o : ℕ} {xs : List ℝ}
  (h : s.readBlock b off N = some xs) (ho : o + 2 ≤ N) :
  ∃ z, s.readBlock b (off + o) 2 = some [z.re, z.im]

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.StableStepTermination.