NLA-lib Explorer

NLAlib.ShiftedQR.StackHolds.read_top

Library · theorem

The top pair is an actual contiguous two-word block.

NLAlib.ShiftedQR.StackHolds.read_top {b : ℕ × ℕ} {rs : List (ℕ × ℕ)} {r : ℕ × ℕ} {st : Ops.Store ℝ}
  (h : ShiftedQR.StackHolds b (rs ++ [r]) st) :
  st.readBlock b.1 (b.2 + 1 + 2 * rs.length) 2 = some [↑r.1, ↑r.2]

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.Worklist.