NLA-lib Explorer

NLAlib.deflate_eq_submatrix

Library · theorem

For an admitted rank, deflation is exactly the requested leading columns of the actual QR result. There is no fallback column in this range.

NLAlib.deflate_eq_submatrix.{u_1, u_2, u_3} {F : Type u_1} {Su : Type u_2} {Sg : Type u_3}
  (M : FloatMachine F Su Sg) {n r : ℕ} (hr : r ≤ n) (P : Matrix (Fin n) (Fin n) (F × F))
  (G : Matrix (Fin n) (Fin n) Sg) :
  deflate M r P G = (M.qr (M.mm P (G.map M.normal))).1.submatrix id (Fin.castLE hr)

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.Deflation.