NLA-lib Explorer

NLAlib.ShiftedQR.HoldsCoefficients.succ

Library · theorem

A newly stored rotation extends the retained coefficient prefix.

NLAlib.ShiftedQR.HoldsCoefficients.succ {n k : ℕ} {cf : ℕ × ℕ} {D : Matrix (Fin n) (Fin n) ℂ}
  {s : Ops.Store ℝ} (h : ShiftedQR.HoldsCoefficients cf D k s)
  (hc :
    s.readBlock cf.1 (cf.2 + 4 * k) 2 =
      some [(ShiftedQR.stepCoefs D k).1.re, (ShiftedQR.stepCoefs D k).1.im])
  (hs :
    s.readBlock cf.1 (cf.2 + 4 * k + 2) 2 =
      some [(ShiftedQR.stepCoefs D k).2.re, (ShiftedQR.stepCoefs D k).2.im]) :
  ShiftedQR.HoldsCoefficients cf D (k + 1) s

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RowSolveFactor.