NLA-lib Explorer

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)).rank

Full source on GitHub

Import NLAlib.ForMathlib.LinearAlgebra.Matrix.Rank.