NLA-lib Explorer

NLAlib.rank_gaussState_add

Library · theorem

While the pivots are nonzero, each step lowers the rank by one: for k \le n with the pivots \mathbf{A}^{(l)}_{l,l}, l < k, nonzero, \operatorname{rank} \mathbf{A}^{(k)} + k = \operatorname{rank} \mathbf{A}.

NLAlib.rank_gaussState_add.{u_1} {K : Type u_1} [Field K] {n : ℕ} (A : Matrix (Fin n) (Fin n) K)
  {k : ℕ} (hk : k ≤ n) (hp : ∀ (l : Fin n), ↑l < k → gaussState A (↑l) l l ≠ 0) :
  (gaussState A k).rank + k = A.rank

Full source on GitHub

Import NLAlib.Matrix.Factorizations.GaussState.