NLA-lib Explorer

NLAlib.rank_eq_of_smul_le_of_le_smul

Library · theorem

Comparable Gram matrices have the same rank: if 0 < a and a \mathbf{A}^{\mathsf{H}}\mathbf{A} \preceq \mathbf{B}^{\mathsf{H}}\mathbf{B} \preceq b \mathbf{A}^{\mathsf{H}}\mathbf{A}, then \operatorname{rank} \mathbf{B} = \operatorname{rank} \mathbf{A}.

NLAlib.rank_eq_of_smul_le_of_le_smul.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2}
  {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m] [Fintype n] {A : Matrix m n 𝕜}
  {B : Matrix l n 𝕜} {a b : ℝ} (ha : 0 < a) (h₁ : a • (Aᴴ * A) ≤ Bᴴ * B)
  (h₂ : Bᴴ * B ≤ b • (Aᴴ * A)) : B.rank = A.rank

Full source on GitHub

Import NLAlib.Matrix.Perturbation.Relative.