NLA-lib Explorer

NLAlib.forall_luUpper_apply_self_ne_zero_iff_isUnit_det

Library ยท theorem

Headline of partial-pivoting-success

Partial pivoting succeeds exactly for nonsingular inputs. All diagonal entries of \mathbf{U} = \mathsf{luUpper}(\mathbf{B}) are nonzero exactly when \mathbf{A} is invertible, where \mathbf{B} permutes its rows by \mathsf{luPartialPivotPerm}(\mathbf{A}). [TrefethenBau1997, Lecture 21]; [GolubVanLoan2013, Theorem 3.4.1]. Result: partial-pivoting-success

NLAlib.forall_luUpper_apply_self_ne_zero_iff_isUnit_det.{u_2} {๐•œ : Type u_2} [RCLike ๐•œ] {n : โ„•}
  (A : Matrix (Fin n) (Fin n) ๐•œ) :
  (โˆ€ (i : Fin n), luUpper (A.submatrix (โ‡‘(luPartialPivotPerm A)) id) i i โ‰  0) โ†” IsUnit A.det

Full source on GitHub

Import NLAlib.Matrix.Factorizations.LUGeneral.