Nonnegative factorizations and nonnegative rank #
A nonnegative factorization of a matrix M : Matrix m n R over an ordered semiring, with inner
index type ρ, writes M = T * U with T : Matrix m ρ R and U : Matrix ρ n R entrywise
nonnegative (Matrix.HasNonnegFactorization). The nonnegative rank rank₊ M is the least r
for which M has a nonnegative factorization with inner dimension r, or ⊤ if there is none
(Matrix.nonnegRank); equivalently, it is the least number of nonnegative rank-one matrices
summing to M [FioriniMassarPokuttaTiwaryDeWolf2015, Section 3.1]. A matrix has finite
nonnegative rank exactly when it is entrywise nonnegative (Matrix.nonnegRank_ne_top_iff), and
then at most its number of rows and of columns (Matrix.nonnegRank_le_card_height,
Matrix.nonnegRank_le_card_width). Over a commutative semiring with the strong rank condition,
such as an ordered field, the rank is at most the nonnegative rank (Matrix.rank_le_nonnegRank).
In a nonnegative factorization, an entry of T * U is nonzero exactly when some inner index k
has T i k ≠ 0 and U k j ≠ 0 (Matrix.mul_apply_ne_zero_iff_of_nonneg). So the support of M
is the union of the r combinatorial rectangles {i | T i k ≠ 0} × {j | U k j ≠ 0}, which is the
rectangle-covering lower bound on the nonnegative rank
(Cslib.Communication.Nondeterministic.coverNumberFun_ne_zero_le_nonnegRank).
The nonnegative rank of a slack matrix of a polytope is its extension complexity
(extensionComplexity_eq_nonnegRank_slackMatrix), by Yannakakis's factorization theorem.
Main definitions #
Matrix.HasNonnegFactorization: nonnegative factorizations with a given inner index type.Matrix.nonnegRank: the nonnegative rank, valued inℕ∞.
Main results #
Matrix.nonnegRank_le_iff,Matrix.le_nonnegRank_iff,Matrix.HasNonnegFactorization.nonnegRank_le: bounds through factorizations.Matrix.HasNonnegFactorization.of_embedding: padding the inner dimension.Matrix.HasNonnegFactorization.nonneg,Matrix.nonnegRank_ne_top_iff: only nonnegative matrices have nonnegative factorizations, and all of them do.Matrix.nonnegRank_le_card_height,Matrix.nonnegRank_le_card_width: the trivial bounds.Matrix.nonnegRank_submatrix_le: submatrices have smaller nonnegative rank.Matrix.nonnegRank_transpose: transposition preserves the nonnegative rank.Matrix.nonnegRank_eq_zero_iff: only the zero matrix has nonnegative rank zero.Matrix.rank_le_nonnegRank: rank is at most nonnegative rank.Matrix.mul_apply_ne_zero_iff_of_nonneg: the support of a product of nonnegative matrices.
References #
M has a nonnegative factorization with inner index type ρ: M = T * U for entrywise
nonnegative matrices T : Matrix m ρ R and U : Matrix ρ n R
[FioriniMassarPokuttaTiwaryDeWolf2015, Section 3.1].
The nonnegative rank rank₊ M: the least r such that M = T * U with T and U
entrywise nonnegative of inner dimension r, or ⊤ if M has no nonnegative factorization
[FioriniMassarPokuttaTiwaryDeWolf2015, Section 3.1].
A nonnegative factorization can be transported along an equivalence of inner index types.
A nonnegative factorization through ρ gives one through any ρ' into which ρ embeds:
pad T with zero columns and U with zero rows.
A nonnegative factorization through ρ bounds the nonnegative rank by |ρ|.
Lower bounds on the nonnegative rank are lower bounds on the inner dimension of every nonnegative factorization.
M has nonnegative rank at most r exactly when it has a nonnegative factorization with
inner dimension r.
The zero matrix has nonnegative rank zero.
Only the zero matrix has nonnegative rank zero.
Restricting the rows and columns does not increase the nonnegative rank.
A nonnegative factorization of M transposes to one of Mᵀ.
Transposition preserves the nonnegative rank.
Rank is at most nonnegative rank: a nonnegative factorization with inner dimension r is
in particular a factorization through R ^ r.
Only entrywise nonnegative matrices have nonnegative factorizations.
A nonnegative matrix factors trivially through its rows: M = 1 * M.
A nonnegative matrix factors trivially through its columns: M = M * 1.
The nonnegative rank of a nonnegative matrix is at most its number of rows.
The nonnegative rank of a nonnegative matrix is at most its number of columns.
A matrix with finitely many rows has finite nonnegative rank exactly when it is entrywise nonnegative.
The support of a product of nonnegative matrices: an entry of T * U is nonzero exactly
when some inner index k has T i k ≠ 0 and U k j ≠ 0.