NLA-lib Explorer

NLAlib.IsLU.isUnit_det_iff

Library · theorem

A matrix with an LU factorization is nonsingular (\det \mathbf{A} a unit) exactly when its pivots \mathbf{U}_{i,i} are units.

NLAlib.IsLU.isUnit_det_iff.{u_1, u_3} {R : Type u_1} {n : Type u_3} [LinearOrder n] [Fintype n]
  [CommRing R] [DecidableEq n] {A L U : Matrix n n R} (h : IsLU A L U) :
  IsUnit A.det ↔ ∀ (i : n), IsUnit (U i i)

Full source on GitHub

Import NLAlib.Matrix.Factorizations.LU.