Rectangle-free Boolean matrices and the 2-rectangle lift #
A Boolean matrix A : Matrix α β Bool has weight boolMatrixWeight A, the number of its true
entries, and is k-rectangle-free (IsRectangleFreeMatrix A k, or k-free) when no
k-element row set I and k-element column set J form an all-true submatrix I × J.
Given A : Matrix α β Bool, its 2-rectangle lift twoRectMatrix A is indexed by 2-element
subsets {r : Finset α // #r = 2} and {c : Finset β // #c = 2}, with entry (r, c) equal to
true precisely when r × c is an all-true 2 × 2 submatrix of A. Following Sergeev
([Ser14], Lemmas 1 and 2, p. 2):
- Dense
2-rectangle counting (pow_four_boolMatrixWeight_le_mul_boolMatrixWeight_twoRectMatrix, Lemma 1): if anm × mBoolean matrixAhas weight|A| ≥ 2 m^{3/2}(stated in exact integer form as4 * m ^ 3 ≤ |A| ^ 2), then|A| ^ 4 ≤ 32 * m ^ 4 * |twoRectMatrix A|. - Minimum-row-degree
2-rectangle bound (mul_sub_le_two_mul_choose_mul_boolMatrixWeight_twoRectMatrix): if every row ofAhas at leastdones, then(|α| * C(d, 2)) * (|α| * C(d, 2) - C(|β|, 2)) ≤ 2 * C(|β|, 2) * |twoRectMatrix A|. - Rectangle-freeness of the
2-rectangle lift (IsRectangleFreeMatrix.twoRectMatrix, Lemma 2): ifAisk-free, thentwoRectMatrix Ais(C(k - 1, 2) + 1)-free.
Main definitions #
Cslib.boolMatrixWeight: the number oftrueentries in a finite Boolean matrix.Cslib.IsRectangleFreeMatrix: absence ofk × kall-truesubmatrices (k-freeness).Cslib.twoRectMatrix: theC(|α|, 2) × C(|β|, 2)Boolean matrix indicating2 × 2all-truesubmatrices ofA.
Main results #
Cslib.mul_sub_le_two_mul_choose_mul_boolMatrixWeight_twoRectMatrix: lower bound on2 × 2all-truerectangles from a uniform lower bound on row weights.Cslib.pow_four_boolMatrixWeight_le_mul_boolMatrixWeight_twoRectMatrix: Sergeev's Lemma 1,|A| ^ 4 ≤ 32 * m ^ 4 * |twoRectMatrix A|when4 * m ^ 3 ≤ |A| ^ 2.Cslib.IsRectangleFreeMatrix.twoRectMatrix: Sergeev's Lemma 2,twoRectMatrix Ais(C(k - 1, 2) + 1)-free wheneverAisk-free.
References #
The weights of a Boolean matrix and its entrywise negation sum to |α| * |β|.
Every k-free matrix has 0 < k, since the empty 0 × 0 submatrix is vacuously all-true.
A 1-free finite Boolean matrix has weight 0.
Monotonicity in the rectangle threshold: a k-free matrix is k'-free for all k ≤ k'.
The number of 2-element subsets of a finite type α is C(|α|, 2).
If every row of A : Matrix α β Bool has at least d entries equal to true, then
(|α| * C(d, 2)) * (|α| * C(d, 2) - C(|β|, 2)) ≤ 2 * C(|β|, 2) * boolMatrixWeight (twoRectMatrix A).
Sergeev's Lemma 1 ([Ser14], p. 2): every m × m Boolean matrix A
(m = |α|) with weight |A| ≥ 2 m^{3/2} (stated in exact integer form as 4 * m ^ 3 ≤ |A| ^ 2)
satisfies |A| ^ 4 ≤ 32 * m ^ 4 * boolMatrixWeight (twoRectMatrix A).
Sergeev's Lemma 2 ([Ser14], p. 2): if A : Matrix α β Bool is k-free,
then its 2-rectangle lift twoRectMatrix A is (C(k - 1, 2) + 1)-free.