Documentation

CslibFrontier.Foundations.LinearAlgebra.Matrix.RankSupport

Rank lower bounds from matrix support #

If every row of a matrix has at most d nonzero entries, then its nonzero columns are covered by the supports of a row basis. Consequently, the number of nonzero columns is at most rank * d (Matrix.card_nonzero_columns_le_rank_mul). If every column also has at most e nonzero entries, the total number of nonzero entries is at most rank * d * e (Matrix.card_nonzero_entries_le_rank_mul_mul). These inequalities are valid over every field; the division-free formulation also covers empty matrices and zero support bounds.

The second statement generalizes the sparse-matrix rank estimate in C. Lee, J. Lee, and S. Oum, Rank-width of random graphs, Lemma 4.3 of arXiv:1001.0461v1, from 𝔽₂ and one common support bound to every field and separate row and column bounds. The proof here retains the intermediate nonzero-column bound, which also applies to neighborhood expansion and cut ranks.

Main results #

References #

theorem Matrix.card_nonzero_columns_le_rank_mul {m : Type u_1} {n : Type u_2} {K : Type u_3} [Fintype m] [Fintype n] [Field K] [DecidableEq K] (M : Matrix m n K) (d : ℕ) (hrow : ∀ (i : m), {j : n | M i j ≠ 0}.card ≤ d) :
{j : n | ∃ (i : m), M i j ≠ 0}.card ≤ M.rank * d

If every row has at most d nonzero entries, then the number of nonzero columns is at most rank * d. The supports of a row basis cover all the nonzero columns.

theorem Matrix.card_nonzero_entries_le_rank_mul_mul {m : Type u_1} {n : Type u_2} {K : Type u_3} [Fintype m] [Fintype n] [Field K] [DecidableEq K] (M : Matrix m n K) (d e : ℕ) (hrow : ∀ (i : m), {j : n | M i j ≠ 0}.card ≤ d) (hcol : ∀ (j : n), {i : m | M i j ≠ 0}.card ≤ e) :
{p : m × n | M p.1 p.2 ≠ 0}.card ≤ M.rank * d * e

If rows have at most d and columns at most e nonzero entries, the matrix has at most rank * d * e nonzero entries. This generalizes Lee, Lee, and Oum, arXiv:1001.0461v1, Lemma 4.3.