Matrix.rank_mul_of_snoc_eq_rank_of_snoc
Library ยท theorem
Rank step of general position: let \mathbf{B} \in \Bbbk^{k \times d} preserve the rank of \mathbf{U} \in \Bbbk^{d \times i}, \operatorname{rank}(\mathbf{B}\mathbf{U}) = \operatorname{rank}\mathbf{U}, and append a column \mathbf{x}. If \mathbf{x} lies in the column span of \mathbf{U}, or \mathbf{B}\mathbf{x} does not lie in the column span of \mathbf{B}\mathbf{U}, then \mathbf{B} preserves the rank of [\mathbf{U}\;\mathbf{x}].
Matrix.rank_mul_of_snoc_eq_rank_of_snoc.{u_6, u_7, u_8} {๐ : Type u_6} [Field ๐] {d : Type u_7}
{k : Type u_8} [Fintype d] {i : โ} (B : Matrix k d ๐) (U : Matrix d (Fin i) ๐) (x : d โ ๐)
(hU : (B * U).rank = U.rank)
(hx : x โ Submodule.span ๐ (Set.range Uแต) โจ B *แตฅ x โ Submodule.span ๐ (Set.range (B * U)แต)) :
(B * of fun r โฆ Fin.snoc (U r) (x r)).rank = (of fun r โฆ Fin.snoc (U r) (x r)).rankImport NLAlib.ForMathlib.LinearAlgebra.Matrix.Rank.