Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

rank⁡B(M)≤rank⁡+(M)\operatorname{rank}_B(M) \le \operatorname{rank}_+(M)rankB​(M)≤rank+​(M): nonnegative factorizations give Boolean factorizations of the support

Proved
ConeLifts.NonnegRank.booleanRank_le_nonnegRank

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

boolean-rankcone-liftsnonnegative-rankp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let M=(Mij)M = (M_{ij})M=(Mij​) be a nonnegative matrix with rows indexed by a set III and columns by a set JJJ, and let k∈Nk \in \mathbb{N}k∈N. Suppose M=ABM = ABM=AB with A∈R+I×kA \in \mathbb{R}_+^{I \times k}A∈R+I×k​ and B∈R+k×JB \in \mathbb{R}_+^{k \times J}B∈R+k×J​ nonnegative, that is,

Mij=∑l=1kAilBljfor all i∈I, j∈J.M_{ij} = \sum_{l=1}^{k} A_{il} B_{lj} \qquad \text{for all } i \in I,\ j \in J .Mij​=l=1∑k​Ail​Blj​for all i∈I, j∈J.

Then the support supp⁡(M)\operatorname{supp}(M)supp(M) has a Boolean factorization of intermediate dimension kkk: there are 0/10/10/1 matrices A′∈{0,1}I×kA' \in \{0,1\}^{I \times k}A′∈{0,1}I×k and B′∈{0,1}k×JB' \in \{0,1\}^{k \times J}B′∈{0,1}k×J with

Mij≠0  ⟺  ∃ l: Ail′=1 and Blj′=1.M_{ij} \neq 0 \iff \exists\, l :\ A'_{il} = 1 \text{ and } B'_{lj} = 1 .Mij​=0⟺∃l: Ail′​=1 and Blj′​=1.

Since this holds for every kkk admitting a nonnegative factorization, the Boolean rank of supp⁡(M)\operatorname{supp}(M)supp(M) is at most the nonnegative rank of MMM, rank⁡B(M)≤rank⁡+(M)\operatorname{rank}_B(M) \le \operatorname{rank}_+(M)rankB​(M)≤rank+​(M) (including the case rank⁡+(M)=+∞\operatorname{rank}_+(M) = +\inftyrank+​(M)=+∞). This is the step that transfers combinatorial lower bounds on the Boolean rank to the nonnegative rank.

Formalization Note The index sets are arbitrary types; the paper's p×qp \times qp×q matrices are the case I=[p]I = [p]I=[p], J=[q]J = [q]J=[q], and the slack matrix of a polytope is the case I=I = I= vertices, J=J = J= facets. 0/10/10/1 entries are Bool.

Preamble
import Mathlib
Formal statement
namespace ConeLifts.NonnegRank

/-- Gouveia, Parrilo & Thomas, arXiv:1111.3164v2, §4.2, p. 15: "It is easy to see that
`rank_B(M) ≤ rank₊(M)`", stated in factorization form for every intermediate dimension `k` (so that
it also covers `rank₊(M) = +∞`): if the nonnegative matrix `M` factors as `M = AB` with `A` and `B`
nonnegative of intermediate dimension `k` (Definition 4.3 (1) with `K = (ℝⁱ₊)`, p. 13; Definition 3.2,
p. 9), then its support `supp(M)` (a one exactly where `M i j ≠ 0`) has a Boolean factorization
`supp(M) = A'B'` of intermediate dimension `k` in Boolean arithmetic (Definition 4.10, p. 15), with
`A'`, `B'` 0/1 matrices (entries in `Bool`).

The rows and columns are indexed by arbitrary types `ι`, `κ`; the paper's `p × q` matrices are
`ι = Fin p`, `κ = Fin q`, and the slack matrix of a polytope is indexed by its vertices and facets. -/
theorem booleanRank_le_nonnegRank {ι κ : Type*} (M : ι → κ → ℝ) (hM : ∀ i j, 0 ≤ M i j) (k : ℕ)
    (A : ι → Fin k → ℝ) (B : Fin k → κ → ℝ) (hA : ∀ i l, 0 ≤ A i l) (hB : ∀ l j, 0 ≤ B l j)
    (hAB : ∀ i j, M i j = ∑ l, A i l * B l j) :
    ∃ (A' : ι → Fin k → Bool) (B' : Fin k → κ → Bool),
      ∀ i j, (M i j ≠ 0 ↔ ∃ l, A' i l = true ∧ B' l j = true) := by sorry

end ConeLifts.NonnegRank
Source
Gouveia, Parrilo & Thomas, Lifts of Convex Sets and Cone Factorizations, arXiv:1111.3164v2, p. 15, §4.2 ("It is easy to see that rank_B(M) ≤ rank₊(M)"); Definition 4.10, p. 15; Definition 4.3 (1), p. 13
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 1, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me