Razborov's GF(2) rank property against AC⁰[2] #
This module specializes the general prime-p rank property of
CslibFrontier.Computability.Circuit.Boolean.Smolensky.RankProperty to p = 2, recovering the
GF(2) rank property of truth tables that is large and useful against AC⁰[2]—the property that
Razborov and Rudich, §3.2, p. 27 extract from Razborov's lower bound for
constant-depth circuits with parity gates [Raz87].
The zero-sum matrix of h : (ι → Bool) → ZMod 2 at level a (zeroSumMatrix) is
Smolensky.zeroSumMatrixMod 2 a h, with rows and columns indexed by the a-subsets of ι. Over
ZMod 2 the sign (-1) ^ weight x is 1, so entry (I, J) is both the subset Möbius transform
of h at (I ∪ J)ᶜ (zeroSumMatrix_apply_eq_subsetMobius) and the sum of h over the points
vanishing on I ∪ J (zeroSumMatrix_apply). Three facts about the matrix drive the argument:
- a function of degree
DwithD + 2 a < |ι|has zero matrix, because(I ∪ J)ᶜhas more thanDelements (zeroSumMatrix_eq_zero_of_mem_lowDegree); - a function supported on
Ehas matrix rank at most#E, because its matrix factors throughE(rank_zeroSumMatrix_le_card); - the indicator of the points with exactly
azeros has the identity matrix (zeroSumMatrix_exactWeight).
The rank test (rankTest n a := Smolensky.rankTestMod 2 n a) accepts a Boolean function f on
n inputs when the rank of the zero-sum matrix of f is at least C(n, a) / 2.
- Usefulness. Smolensky's approximation (
Smolensky.exists_lowDegree_approx, overZMod 2) writes a depth-dcircuit as a polynomial of degreeℓ ^ dplus an error supported on at mostsize · 2 ^ n / 2 ^ ℓinputs. Whenℓ ^ d + 2 a < nthe polynomial has zero matrix, so the rank of the circuit's matrix is at most the size of that support (rank_mul_two_pow_le_size). - Largeness. At least half of all functions pass the test at every
nanda(two_pow_two_pow_le_two_mul_ncard_rankTest). - Tradeoff. At level
a = ⌈n/2⌉ - swith1 ≤ sand100 s² ≤ n + 1, a depth-dAC⁰[2] circuit computing a function that passes the test has size at least2 · 2 ^ ℓ / (5 (n + 1))wheneverℓ ^ d + 2 ≤ 2 s(two_mul_two_pow_le_size_of_mem_rankTest).
The constructivity of the test, a circuit of size 173 · 8 ^ n deciding it from truth tables, is
in CslibFrontier.Computability.Circuit.Boolean.Razborov.Natural.
Sources and variant. Razborov and Rudich, §3.2, p. 27 state the rank
property only abstractly and leave its largeness as an exercise. The explicit form for p = 2 is
the sketch in Carmosino et al., p. 10:20, who
accept when some matrix of level b ≤ a,
a = n/2 - √n, has rank at least 2 ^ n / (140 n²). This module uses a variant: one square
matrix at a single level a, the threshold C(n, a) / 2 (which makes largeness exactly 1/2),
and the level a = ⌈n/2⌉ - s. Razborov's original paper [Raz87] was not checked for its
own form of the property.
Main definitions #
Cslib.Circuits.Boolean.Razborov.zeroSumMatrix: the zero-sum matrix of aZMod 2-valued function.Cslib.Circuits.Boolean.Razborov.exactWeight: the indicator of the points of a given weight.Cslib.Circuits.Boolean.Razborov.rankTest: the rank test at levela.
Main results #
Cslib.Circuits.Boolean.Razborov.zeroSumMatrix_apply: entries as sums over subcubes.Cslib.Circuits.Boolean.Razborov.zeroSumMatrix_eq_zero_of_mem_lowDegree: low-degree functions have zero matrix.Cslib.Circuits.Boolean.Razborov.rank_zeroSumMatrix_le_card: rank at most the support size.Cslib.Circuits.Boolean.Razborov.zeroSumMatrix_exactWeight: the identity witness.Cslib.Circuits.Boolean.Razborov.two_pow_two_pow_le_two_mul_ncard_rankTest: largeness.Cslib.Circuits.Boolean.Razborov.rank_mul_two_pow_le_size: usefulness against AC⁰[2].Cslib.Circuits.Boolean.Razborov.two_mul_two_pow_le_size_of_mem_rankTest: the size–depth tradeoff for functions passing the test.
References #
The zero-sum matrix #
The zero-sum matrix of h at level a: Smolensky.zeroSumMatrixMod 2 a h. Rows and
columns are the a-subsets of ι, and over ZMod 2 entry (I, J) is both the subset Möbius
transform of h at (I ∪ J)ᶜ (zeroSumMatrix_apply_eq_subsetMobius) and the sum of h over the
points vanishing on I ∪ J (zeroSumMatrix_apply).
The entry of the zero-sum matrix at (I, J) is the subset Möbius transform at (I ∪ J)ᶜ.
The zero-sum matrix is additive.
The zero-sum matrix commutes with subtraction.
Low-degree functions have zero matrix: if h has degree at most D and
D + 2 a < |ι|, then the complement of the union of two a-sets has more than D elements, so
every entry of the zero-sum matrix of h is a vanishing coefficient.
The rank of the zero-sum matrix is at most the support size: if h vanishes off E, the
matrix of h is the product of the a-sets-by-E incidence matrix [I ⊆ zeros x] with a matrix
with #E rows, so its rank is at most #E.
The indicator of the points of weight k: exactWeight k x holds when x has exactly k
true coordinates.
exactWeight k x holds exactly when x has weight k.
The identity witness: the zero-sum matrix at level a of the indicator of the points with
exactly a zeros (weight |ι| - a) is the identity. A point vanishing on I ∪ J with exactly
a zeros has zero set I = J, and for I = J there is exactly one such point.
The rank test #
The rank test at level a: Smolensky.rankTestMod 2 n a, accepting a Boolean function f
on n inputs when the zero-sum matrix of f (read in ZMod 2) has rank at least C(n, a) / 2.
This is a variant of the rank property of Razborov and Rudich, §3.2 with one
square matrix and the threshold C(n, a) / 2; see the module docstring.
Membership in the rank test.
The indicator of the points with exactly a zeros passes the rank test at level a: its
zero-sum matrix is the identity, of full rank C(n, a).
Usefulness of the rank test against AC⁰[2]: if a circuit of the AC⁰[2] basis of depth d
computes f, then for every ℓ ≥ 1 with ℓ ^ d + 2 a < n, the zero-sum matrix of f at level
a has rank at most size · 2 ^ n / 2 ^ ℓ.
The size–depth tradeoff for the rank test: let 1 ≤ s and 100 s² ≤ n + 1. If f passes
the rank test at level ⌈n/2⌉ - s and a circuit of the AC⁰[2] basis of depth d computes f,
then its size is at least 2 · 2 ^ ℓ / (5 (n + 1)) for every ℓ ≥ 1 with ℓ ^ d + 2 ≤ 2 s.