NLA-lib Explorer

Row inclusion characterizes LU existence

Library · Result group

Theorem (exists_isLU_iff_forall_mem_span). Row inclusion characterizes LU existence. A square matrix factors as a unit lower triangular matrix times an upper triangular matrix exactly when, for each index i, row i restricted to columns before i lies in the span of the preceding rows on the same columns. This includes singular matrices and empty index types. [HornJohnson2013, Theorem 3.5.3].

Headline

Lean statement and details
NLAlib.exists_isLU_iff_forall_mem_span.{u_3, u_4} {ι : Type u_3} {R : Type u_4} [LinearOrder ι]
  [Fintype ι] [CommRing R] (A : Matrix ι ι R) :
  (∃ L U, IsLU A L U) ↔ ∀ (i : ι), (fun k ↦ A i ↑k) ∈ Submodule.span R (Set.range fun j k ↦ A ↑j ↑k)

Full source on GitHub

Copy link