NLA-lib Explorer

NLAlib.ShiftedQR.get_of_readBlock_flatMap_pair

Library · theorem

The cells of a block of pairs.

NLAlib.ShiftedQR.get_of_readBlock_flatMap_pair {s : Ops.Store ℝ} {b o : ℕ} {zs : List ℂ}
  (h : s.readBlock b o (2 * zs.length) = some (List.flatMap (fun z ↦ [z.re, z.im]) zs)) {j : ℕ}
  (hj : j < zs.length) :
  s.get b (o + 2 * j) = some zs[j].re ∧ s.get b (o + 2 * j + 1) = some zs[j].im

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.PairBlocks.