NLA-lib Explorer

NLAlib.ShiftedQR.subBlock_eq_submatrix_rangeEmb

Library · theorem

The block of a range inside the matrix is the submatrix on the range embedding.

NLAlib.ShiftedQR.subBlock_eq_submatrix_rangeEmb {n lo d : ℕ} (hN : lo + d ≤ n + 1)
  (A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) :
  subBlock A (lo, d) = A.submatrix (rangeEmb hN) (rangeEmb hN)

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSolveSteps.