Relative OR-complexity of Boolean matrices and their complements #
Igor S. Sergeev ([Ser14], pp. 1–3) constructs explicit n × n Boolean matrices
whose rectifier (OR) complexity is linear (OR_3(C) = O(n)), while their entrywise complements
C̄ are 2-rectangle-free with OR(C̄) = |C̄| = Ω(n^{4/3}).
Given an m × m Boolean matrix A, let B = twoRectMatrix A be its n × n 2-rectangle lift
(n = C(m, 2)):
- Depth-
3upper bound forB̄(complTwoRectCircuit,orDepthComplexity_three_compl_twoRectMatrix_le): a4-layer rectifier circuit connects inputcto columnj ∈ c(2 nedges), columnjto rowiwheneverA i j = false(|Ā|edges), and rowito outputrwheneveri ∈ r(2 nedges), givingOR_3(B̄) ≤ 4 n + |Ā| ≤ 7 n(3 ≤ m). - General
k-free separation (Lemma 3) (pow_four_boolMatrixWeight_le_eight_mul_orComplexity_twoRectMatrix): ifAisk-free and4 * m ^ 3 ≤ |A| ^ 2, combining Lemma 1, Lemma 2, and Nechiporuk's bound yields|A| ^ 4 ≤ 8 * (k * m) ^ 4 * OR(B)(note that [Ser14], Lemma 3, pp. 2–3 writes(|A| / (k n)) ^ 4due to reusing Lemma 1's dimension variablenafter settingn = C(m, 2)for anm × mmatrixA; Lemma 1 on them × mmatrixAgives|B| = Ω((|A| / m) ^ 4)andOR(B) = Ω((|A| / (k m)) ^ 4)). - Explicit
O(n)vs.Ω(n^{4/3})separation (Theorem 1(ii)) (sergeevComplementMatrix,orDepthComplexity_three_sergeevComplementMatrix_le,isRectangleFreeMatrix_compl_sergeevComplementMatrix,orComplexity_compl_sergeevComplementMatrix_eq_boolMatrixWeight,choose_pow_four_le_mul_orComplexity_compl_sergeevComplementMatrix_pow_three,exists_gt_sergeev_or_complement_separation): instantiatingA = brownMatrix p(m = p ^ 3,pprime withp ≡ 3 (mod 4)) produces explicitn × nmatricesC = B̄(n = C(p ^ 3, 2)) satisfyingOR(C) ≤ OR_3(C) ≤ 7 * n,C̄is2-free,OR(C̄) = |C̄|, andn ^ 4 ≤ 2 ^ 23 * OR(C̄) ^ 3(for arbitrarily largenvia Dirichlet's theorem). Theorem 1(i)'s projective norm-graph instantiation ([KRS96], withΔ = 2^{O(√(log m log log m))}givingOR(C̄) / OR(C) = n · 2^{-O(√(ln n ln ln n))}) remains open under #7622, with Lemma 3 supplying its general reduction step.
Main definitions #
Cslib.Circuits.ComplTwoRectVertex: the four vertex layers of Sergeev's depth-3circuit.Cslib.Circuits.complTwoRectCircuit: Sergeev's explicit depth-3rectifier circuit for(twoRectMatrix A).map (! ·).Cslib.Circuits.sergeevComplementMatrix: the explicitC(p ^ 3, 2) × C(p ^ 3, 2)matrix(twoRectMatrix (brownMatrix p)).map (! ·).
Main results #
Cslib.Circuits.size_complTwoRectCircuit,Cslib.Circuits.hasDepthLE_three_complTwoRectCircuit,Cslib.Circuits.computes_complTwoRectCircuit: size, depth3, and correctness ofcomplTwoRectCircuit.Cslib.Circuits.orDepthComplexity_three_compl_twoRectMatrix_le,Cslib.Circuits.orDepthComplexity_three_compl_twoRectMatrix_le_seven_mul: Sergeev's Lemma 3 upper boundsOR_3(B̄) ≤ 4 n + |Ā| ≤ 7 n.Cslib.Circuits.pow_four_boolMatrixWeight_le_eight_mul_orComplexity_twoRectMatrix: Sergeev's Lemma 3 lower bound|A| ^ 4 ≤ 8 * (k * m) ^ 4 * OR(twoRectMatrix A).Cslib.Circuits.orDepthComplexity_three_sergeevComplementMatrix_le,Cslib.Circuits.orComplexity_sergeevComplementMatrix_le,Cslib.Circuits.isRectangleFreeMatrix_compl_sergeevComplementMatrix,Cslib.Circuits.orComplexity_compl_sergeevComplementMatrix_eq_boolMatrixWeight,Cslib.Circuits.choose_pow_four_le_mul_orComplexity_compl_sergeevComplementMatrix_pow_three,Cslib.Circuits.exists_gt_sergeev_or_complement_separation: Sergeev's Theorem 1(ii).
References #
- I. S. Sergeev, On relative OR-complexity of Boolean matrices and their complements, Theorem 1(ii) and Lemma 3, pp. 1–3
- W. G. Brown, On graphs that do not contain a Thomsen graph
Vertex layers of Sergeev's depth-3 rectifier circuit implementing
(twoRectMatrix A).map (! ·) ([Ser14], p. 3).
- inp {α : Type u_3} {β : Type u_4} (c : { c : Finset β // c.card = 2 }) : ComplTwoRectVertex α β
Layer
0: input pole for a2-element column subsetc. - col {α : Type u_3} {β : Type u_4} (j : β) : ComplTwoRectVertex α β
Layer
1: column vertexj : β. - row {α : Type u_3} {β : Type u_4} (i : α) : ComplTwoRectVertex α β
Layer
2: row vertexi : α. - out {α : Type u_3} {β : Type u_4} (r : { r : Finset α // r.card = 2 }) : ComplTwoRectVertex α β
Layer
3: output pole for a2-element row subsetr.
Instances For
Sergeev's depth-3 rectifier circuit implementing (twoRectMatrix A).map (! ·)
([Ser14], p. 3).
Exact edge count of complTwoRectCircuit A.
complTwoRectCircuit A has depth at most 3.
complTwoRectCircuit A computes (twoRectMatrix A).map (! ·)
([Ser14], p. 3).
Sergeev's Lemma 3, upper bound ([Ser14], pp. 2–3): for any m × m
Boolean matrix A (m = |α|, n = C(m, 2)),
orDepthComplexity 3 ((twoRectMatrix A).map (! ·)) ≤ 4 * n + boolMatrixWeight (A.map (! ·)).
Sergeev's Lemma 3, linear depth-3 upper bound ([Ser14], pp. 2–3): for
any m × m Boolean matrix A with 3 ≤ m (n = C(m, 2)),
orDepthComplexity 3 ((twoRectMatrix A).map (! ·)) ≤ 7 * n.
Sergeev's Lemma 3, polynomial lower bound ([Ser14], pp. 2–3): if an
m × m Boolean matrix A is k-free and 4 * m ^ 3 ≤ |A| ^ 2, then
|A| ^ 4 ≤ 8 * (k * m) ^ 4 * orComplexity (twoRectMatrix A) (that is,
OR(twoRectMatrix A) = Ω((|A| / (k m)) ^ 4)).
Sergeev's explicit complement-separation matrix
C = (twoRectMatrix (brownMatrix p)).map (! ·) of dimension C(p ^ 3, 2) × C(p ^ 3, 2)
([Ser14], Theorem 1(ii), p. 3).
Sergeev's Theorem 1(ii), exact OR-complexity of the complement
([Ser14], pp. 1–2): for prime p ≡ 3 (mod 4),
orComplexity ((sergeevComplementMatrix p).map (! ·)) = boolMatrixWeight ((sergeevComplementMatrix p).map (! ·)).
Sergeev's Theorem 1(ii), Ω(n^{4/3}) complement lower bound ([Ser14],
pp. 1–3): for every prime p ≡ 3 (mod 4) and n = C(p ^ 3, 2),
n ^ 4 ≤ 2 ^ 23 * orComplexity ((sergeevComplementMatrix p).map (! ·)) ^ 3.
Sergeev's Theorem 1(ii), unbounded Fin n × Fin n family ([Ser14],
pp. 1–2): for arbitrarily large n, there is an n × n Boolean matrix C with
OR_3(C) ≤ 7 * n, OR(C) ≤ 7 * n, C̄ 2-rectangle-free, OR(C̄) = |C̄|, and
n ^ 4 ≤ 2 ^ 23 * OR(C̄) ^ 3.