NLA-lib Explorer

Matrix.rank_mul_eq_iff_injOn

Library · theorem

The rank interface: the sketch \mathbf{S} keeps the rank of \mathbf{X}, \operatorname{rank}(\mathbf{S}\mathbf{X}) = \operatorname{rank}\mathbf{X}, exactly when it is injective on \operatorname{range}\mathbf{X}. This is the form NLAlib.IsSubspaceInjection.injOn concludes, and the hypothesis of the oblique projector NLAlib.obliqueProjector X S.

Matrix.rank_mul_eq_iff_injOn.{u_1, u_3, u_6, u_7} {K : Type u_1} [Field K] {m : Type u_3}
  {k : Type u_6} {r : Type u_7} [Fintype m] [Fintype r] {S : Matrix k m K} {X : Matrix m r K} :
  (S * X).rank = X.rank ↔ Set.InjOn S.mulVec ↑X.mulVecLin.range

Full source on GitHub

Import NLAlib.ForMathlib.LinearAlgebra.Matrix.Rank.