Documentation

Formalizations.LinearAlgebra.Matrix.SchurRank

Rank of a block matrix through its Schur complement #

Over a field, a block matrix with invertible top-left block A has rank |A| plus the rank of its Schur complement. In particular a real symmetric block matrix with positive definite A and zero Schur complement is positive semidefinite of rank |A|: the exact certificate behind "this Gram matrix has rank r".

Main results #

References #

theorem Matrix.rank_fromBlocks_diagonal {l : Type u_1} {m : Type u_2} {n : Type u_3} {p : Type u_4} {K : Type u_5} [Field K] [Fintype l] [Fintype m] [Fintype n] [Fintype p] (A : Matrix l m K) (D : Matrix p n K) :
(fromBlocks A 0 0 D).rank = A.rank + D.rank

The rank of a block diagonal matrix is the sum of the ranks of its blocks.

theorem Matrix.rank_fromBlocks_of_isUnit₁₁ {m : Type u_2} {n : Type u_3} {K : Type u_5} [Field K] [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n] (A : Matrix m m K) (B : Matrix m n K) (C : Matrix n m K) (D : Matrix n n K) (hA : IsUnit A) :
(fromBlocks A B C D).rank = Fintype.card m + (D - C * A⁻¹ * B).rank

Rank of a block matrix with invertible top-left block, through the Schur complement.

theorem Matrix.posSemidef_rank_of_schur_eq_zero {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n] {𝕜 : Type u_6} [RCLike 𝕜] [PartialOrder 𝕜] [StarOrderedRing 𝕜] {A : Matrix m m 𝕜} (B : Matrix m n 𝕜) (D : Matrix n n 𝕜) (hA : A.PosDef) (hS : D - B.conjTranspose * A⁻¹ * B = 0) :

If A is positive definite and the Schur complement D - Bᴴ * A⁻¹ * B vanishes, then fromBlocks A B Bᴴ D is positive semidefinite of rank card m.