NLA-lib Explorer

Partial pivoting succeeds exactly for nonsingular inputs

Library ยท Result group

Theorem (forall_luUpper_apply_self_ne_zero_iff_isUnit_det). 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].

Headline

Lean statement and details
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

Copy link