Logarithmic asymptotics for polynomial threshold functions
Martin Anthony
Abstract
We count Boolean functions represented as the sign of a real polynomial of bounded degree on the n-dimensional cube. We prove that the logarithm of their number is asymptotic to that of the classical hyperplane-arrangement upper bound, uniformly over all degrees, with relative error O((logn)2/n). We also obtain sharper additive and relative error estimates in particular degree ranges, including an additive error O(n2) between the logarithms throughout a small linear degree range and improved bounds just below the central degree. The proof combines probabilistic estimates for Reed–Muller codes with a deletion argument for sets of evaluation vectors, an entropy count, and a sharp-threshold estimate for expected rank deficiency.
1 Introduction
1.1 Definitions and main results
For integers 1≤d≤n, let V={0,1}n and N=∣V∣=2n. The space of real multilinear polynomials of degree at most d has dimension
m=mn,d:=j=0∑d(jn).
Write Tn,d for the number of functions F:V→{−1,1} of the form F(x)=sgnp(x), where p is a real multilinear polynomial of degree at most d with no zero values on V. Multilinearity loses no functions, since reducing powers by xi2=xi preserves cube values and does not increase degree. We could equally well define these functions as the signs of real multilinear polynomials of degree at most d, with no zero values, on the domain {−1,1}n. The substitution xi=(yi+1)/2 preserves multilinearity and degree and gives a bijection between the functions on the two cubes, so the count is unchanged.
The equations p(x)=0, one for each x∈V, define a central hyperplane arrangement in the m-dimensional real coefficient space. Here central means that each hyperplane contains the origin. Its chambers, the connected components of the complement, correspond to the functions counted by Tn,d. See Cover [9, Sections I–III] and Baldi and Vershynin [6, Lemmas 2.1 and 3.2]. Indeed, the signs of the evaluations are constant on each chamber, while prescribed strict output signs specify an intersection of open half-spaces, which is convex and therefore connected, and hence is a single chamber when non-empty. The classical arrangement bound [9, 23] therefore gives
Tn,d≤Qn,d:=2i=0∑m−1(iN−1).(1)
We consider whether the logarithm of this upper bound is attained when the degree grows with the number of variables.
*Department of Mathematics, London School of Economics and Political Science. Email: m.anthony@lse.ac.uk.
We state relative error bounds throughout so that the results can be compared directly. Theorems B and C also give additive bounds on the difference between the logarithms in their respective degree ranges. Our first result determines the leading logarithm for every degree, with a uniform bound on this error.
Theorem A (Logarithmic asymptotics for every degree). There are absolute constants C > 0 and n0 such that
0≤En,d≤Cn(lnn)2(n≥n0,1≤d≤n).
In particular, log2Tn,d∼log2Qn,d uniformly over 1≤d≤n.
Baldi and Vershynin [6, Conjecture 8.2], citing earlier work of the author, state the conjecture that Tn,d∼Qn,d for every degree. They suggest that this assertion might be too strong, but that the corresponding logarithmic equivalence might hold. Theorem A establishes this logarithmic form for every degree, with a uniform rate.
For d≥⌈n/2⌉, the author's earlier centrality theorem [4, Theorem 1] gives the stronger equivalence
Tn,d∼Qn,d∼2N.
Theorem A is proved here without using that result. Theorems B–D give estimates for d<n/2, and Theorem D(i), together with monotonicity in the degree, also establishes the upper-range bound in Theorem A. At d=n, the equality Tn,n=Qn,n=2N is exact.
Our second result gives a quantitative comparison throughout a small linear degree range. It is the main estimate used to prove Theorem A for small degrees.
Theorem B (Additive and relative error for small degrees). There are absolute constants C>0 and n0 such that, whenever n≥n0 and 2≤d≤10−4n,
The constant 10−4 is a convenient choice for the estimates in the proof (see the remarks at the end of Subsection 4.4). Since log2(N/m)=n−log2m, this factor is asymptotic to n precisely when log2m/n→0. When d is proportional to n, m grows exponentially with n, so log2m is of order n and cannot be discarded. For sublinear degree, however, the bound m≤(en/d)d gives
nlog2m≤ndlog2(den)⟶0.
Thus Theorem B, together with Zuev's degree-one result, implies, for every integer sequence 1≤d=o(n),
log2Tn,d∼nmn,d=nj=0∑d(jn).(3)
Our next result gives additive and relative error bounds over a wider range below n/2.
Theorem C (Additive and relative error below the central degree). There are absolute constants C>0 and n0 such that, whenever n≥n0, n−1/3≤ε<1/2 and 2≤d≤(1/2−ε)n,
Our fourth result gives a further estimate as the degree approaches the central degree from below. Put
α=αn,d=2nmn,d,a=ln(1/α),
and write H2(u)=−ulog2u−(1−u)log2(1−u) for binary entropy, with 0log20=0. For d<n/2, the condition a=o(n) is equivalent to n/2−d=o(n).
Theorem D (Relative error just below the central degree). Recall that a=ln(2n/mn,d). There are absolute constants δ0,δ1,C>0 and n0 such that, whenever n≥n0 and 1≤d<n/2, the following hold.
(i) If a≤δ0n, then
0≤En,d≤Cna+ln(n/a).(4)
(ii) If (a/n)ln(a+2)≤δ1, then
0≤En,d≤nC{1+ln(a+2)ln(n/a)}.(5)
In particular, if d<n/2 and n/2−d=o(n), then
log2Tn,d∼log2Qn,d∼NH2(α).
Theorem B gives relative error O(n/mn,d) for small degrees. Theorem C reaches larger degrees, with relative error O(1/n) when d stays a fixed proportion below n/2. Comparing with Theorem C at fixed ε, Theorem B's bound has smaller order for d≥3 in their common range, while at d=2 the bounds have the same order. Theorem D gives sharper estimates closer to n/2 and covers degrees beyond the range of Theorem C. Where the ranges overlap, we use whichever bound is smaller. Theorem A gives a single bound valid for every degree, while Theorems B–D give smaller errors in particular ranges.
1.2 Related work and proof strategy
For degree one, Zuev [25] established log2Tn,1∼n2. Kahn, Komlós and Szemerédi [14, Section 4] obtained log2Tn,1=n2−nlog2n+O(n). Comparison with the same expansion for log2Qn,1 gives log2Qn,1−log2Tn,1=O(n), which we use in the degree-one case of Theorem A. More recently, Xie [24, Theorem 1] has obtained
Tn,1=2(n2n−1)(1+O(n−99)).
Since the last summand dominates the sum defining Qn,1, this gives Tn,1∼Qn,1.
For higher degrees, the classical arrangement bound gives Tn,d≤Qn,d. See Baldi [5] and Anthony [2] for its application to polynomial threshold functions. A recursive argument due to
Saks [20] gives
log2Tn,d≥(d+1n)(1≤d<n).
For each fixed d≥2, the lower bound has leading term nd+1/(d+1)!, whereas log2Qn,d∼nd+1/d!. These bounds therefore determine the order of the logarithm, but leave a factor of d+1 between their leading terms. An account of these earlier bounds is given in Anthony [3, Sections 4.5–4.7]. Baldi and Vershynin [6, Theorem 1.1 and the subsequent remarks] closed this gap for every fixed degree. More generally, their quantitative bounds apply for d≤n1−ε, for each fixed 0<ε<1, and yield log2Tn,d∼nmn,d when d=o(logn).
Anthony [2, p. 96] observed that a lower bound for Tn,d asymptotically matching the classical arrangement upper bound Qn,d would imply the upper-degree assertion of the Wang–Williams conjecture [22].
The proofs combine probabilistic estimates with counting arguments that turn those estimates into lower bounds for Tn,d. The counting methods have antecedents in work of Odlyzko [18], Zuev [26] and Irmatov [12, 13], and in Baldi and Vershynin's treatment of polynomial threshold functions [6]. The connection with coding theory comes from Reed–Muller codes, which record the values of polynomials over F2 on the Boolean cube. Recovery asks whether missing values can be determined from those that are known. Baldi and Vershynin use results of Abbe, Shpilka and Wigderson [1]. Luh [16] obtains related estimates for real linear independence at fixed degree.
For Theorem B, we sharpen a first-moment argument of Bhandari et al. [7], based on estimates of Sberlo and Shpilka [21] for Reed–Muller codes. Combining the sharper estimate with our counting argument gives the additive O(n2) bound.
Theorem C uses Theorem B for small degrees. For larger degrees, we estimate the probability that all the polynomial's values can be recovered from its values at randomly selected points. We derive the estimate needed here from Sberlo and Shpilka's Theorem 1.2, then use the counting arguments of Section 3 to obtain the stated bound for Tn,d.
For Theorem D, we estimate the expected nullity of randomly selected evaluation columns. The probability that a fixed column lies in the span of the other selected columns gives an integral formula for this expectation, which we bound using O'Donnell's sharp-threshold inequality [17, equation (10.8)]. Combining the estimate with an entropy count and the deletion lemma gives the stated relative error bounds. This probability also describes failure to recover an erased coordinate in the dual Reed–Muller code, connecting the argument with the work of Kudekar et al. [15] and the author's centrality paper [4].
Section 2 deduces Theorem A from the estimates above. Sections 4 and 5 prove Theorems B, C and D(i). The proof of Theorem D(ii) is completed in Appendix C. The supporting weight and sharp-threshold estimates are proved in Appendices A and B.
The proofs repeatedly use the following standard binomial entropy bounds (see Cover and Thomas [10, Example 11.1.3]):
The last equality holds because λ is fixed and both remainder terms are o(1/lnn). The estimate is uniform over the degrees in this range.
To apply Theorem D(ii), we must check that (a/n)ln(a+2)≤δ1. The bound just obtained implies a=o(n) uniformly, so a+2≤n for all sufficiently large n. Thus
naln(a+2)≤nalnn≤2λ+o(1)<δ1,
where the last inequality follows from λ<δ1/4. The hypotheses 1≤d<n/2 and n≥n0 also hold. Hence Theorem D(ii) gives
En,d≤nC{1+ln(a+2)ln(n/a)}.
Here ln(a+2)≤lnn. Also, d<n/2 implies mn,d≤2n−1, so a≥ln2 and
ln(n/a)≤lnn−ln(ln2)=lnn+O(1).
Consequently,
En,d≤nC{1+lnn(lnn+O(1))}=O(n(lnn)2).
The bound from Theorem C is stronger than this, so the latter bound holds throughout 2≤d<n/2.
Finally, suppose d≥⌈n/2⌉, and put d0=⌊n/2⌋−1. The central binomial estimate gives α0:=mn,d0/N=1/2−O(n−1/2). Since H2(1/2)=1 and H2′(1/2)=0, Taylor's theorem gives
1−H2(α0)=O((α0−1/2)2)=O(1/n).
Since ln(1/α0)=O(1), Theorem D(i) applies for all sufficiently large n and gives En,d0=O(lnn/n). The bounds in (6) also give
Combining the degree-one estimate with the bounds in the three ranges, and increasing the absolute constants C and n0 if necessary, gives
0≤En,d≤Cn(lnn)2(n≥n0,1≤d≤n).
Since (lnn)2/n→0, the asserted uniform logarithmic equivalence follows.
The author’s centrality theorem [4, Theorem 1] gives a substantially stronger bound in the upper range, although it is not needed for the proof of Theorem A. More precisely, for d≥⌈n/2⌉, it gives
Tn,d≥{1−exp(−cn2n/2)}2N
for an absolute c>0. Since Tn,d≤Qn,d≤2N, the definition of En,d yields
We use the standard polynomial evaluation matrix (see Baldi and Vershynin [6, Section 3]). Recall that N=2n. For S⊆[n]={1,2,…,n}, write xS=∏i∈Sxi, with x∅=1. Let A be the m×N matrix whose rows are indexed by the sets S⊆[n] with ∣S∣≤d and whose columns are indexed by the vertices of V={0,1}n. Its column at x∈V is
Ax=(xS)∣S∣≤d.
A real coefficient vector b=(bS)∣S∣≤d determines the polynomial
pb(x)=∣S∣≤d∑bSxS=bTAx.
Thus Ax records the values of all the monomials at one vertex, whereas ATb gives the values of one polynomial at all vertices. The entries of A are all equal to 0 or 1. We can therefore also regard A as a matrix over the field F2={0,1}, in which addition and multiplication are taken modulo 2. For a binary coefficient vector c∈F2m, the same matrix gives the binary polynomial function
Here the values of fc are in F2. The real polynomial pb and the binary polynomial fc belong to different spaces. What connects them is the common integer matrix A. Whenever a rank or span is taken below, we specify the field.
For U⊆V, write AU for the submatrix consisting of the columns indexed by U. We will need the following elementary comparison, also noted by Baldi and Vershynin [6, Section 4.2]:
rankF2AU≤rankRAU.(7)
Indeed, binary rank at least r means that some r×r minor has non-zero determinant modulo 2. Its integer determinant is odd and hence non-zero over R. This proves (7).
The full matrix A has row rank m over either field. To see this, restrict to the m columns x=1T with ∣T∣≤d, where 1T is the indicator vector of T. The entry in row S and the column corresponding to 1T is 1 precisely when S⊆T. Using the same ordering of the subsets by increasing cardinality for the rows S and columns 1T gives an upper triangular matrix with diagonal entries 1. In particular, different coefficient vectors give different polynomial functions on V, over either field.
3.2 Sets that determine their spans
We obtain a lower bound for Tn,d by counting distinct intersections of the hyperplanes. This suffices because the number of chambers is at least the number of such intersections. We follow the construction of Baldi and Vershynin [6, Section 4.4], using their terminology of good sets. Let qr be the probability that the columns of A indexed by a uniformly chosen r-element subset of V are linearly dependent over F2. Call a set U⊆V good if the columns of AU are linearly independent over F2 and no column indexed outside U lies in their span over F2. For 1≤k<m, a k-element set U is good exactly when the columns of AU∪{x} are linearly independent over F2 for every x∈/U. For a uniformly chosen k-element set U, the expected number of vertices x∈/U for which this fails is (N−k)qk+1. Indeed, if x is chosen uniformly outside U, then U∪{x} is a uniformly chosen (k+1)-element set. Consequently,
Pr(Uisgood)≥1−(N−k)qk+1.(8)
For any good U, put k=∣U∣. The columns of AU are independent over both F2 and R. Moreover, for each x∈/U,
k+1=rankF2AU∪{x}≤rankRAU∪{x}≤k+1.
Adding any column indexed outside U increases the real rank from k to k+1. The real span of the columns of AU therefore contains the evaluation columns indexed by U and no other evaluation columns. For x∈V, let Hx=Ax⊥ be the hyperplane in Rm with normal vector Ax. Different good sets give different real spans and therefore different intersections
x∈U⋂Hx=(spanR{Ax:x∈U})⊥,
since taking the orthogonal complement twice recovers the original subspace.
We need a lower bound on chambers from these intersections. For a finite central arrangement H, let r(H) be its number of chambers and i(H) the number of distinct intersections of its hyperplanes. Include the ambient space as the intersection of the empty family. Then
r(H)≥i(H).(9)
This inequality is due to Zuev [26, Section 3] (see also Baldi and Vershynin [6, Lemma 2.2(2)]).
We sketch Zuev’s induction on the number of hyperplanes. The empty arrangement has one chamber and one intersection. Assume the inequality holds for every arrangement of at most k hyperplanes, in every dimension. Let H have k+1 hyperplanes, choose H∈H, put H′=H∖{H}, and let K be the arrangement in H formed by the distinct hyperplanes H∩L with L∈H′. Its chambers and intersections are taken within H, with H itself as the empty intersection. A chamber of H′ that meets H is cut by H into two chambers of H, and its intersection with H is a chamber of K. This gives a bijection between such chambers and the chambers of K, so r(H)=r(H′)+r(K). Every intersection of H that is not an intersection of H′ involves H, and is therefore an intersection of members of K. Hence i(H)≤i(H′)+i(K). Both H′ and K have at most k hyperplanes, so induction gives
r(H)=r(H′)+r(K)≥i(H′)+i(K)≥i(H).
Different good sets give distinct intersections of the hyperplanes. Hence
Tn,d≥#{U⊆V:Uisgood}.(10)
In particular, restricting to sets of size k and using (8) gives
Tn,d≥(1−(N−k)qk+1)(kN).(11)
For Theorem B, it therefore remains to bound qk+1 for suitable k close to m. Because the error is multiplied by N−k, this argument needs dependence probabilities on the scale 1/N. The next section obtains these estimates using binary polynomials. For the other degree ranges, we first count independent sets and then apply the following deletion argument.
3.3 From independent sets to good sets
For Theorems C and D, we will first count independent sets of evaluation columns. An independent set need not be good: its span may contain further columns of the matrix. We show that deleting a controlled number of columns produces a good set, and bound how many independent sets can produce the same good set. Thus a lower bound on the number of independent sets gives a lower bound on the number of good sets and, by (10), on Tn,d.
The evaluation words of binary polynomials of degree at most d form the Reed–Muller code RM(n,d), the row space of A over F2. For d<n, duality and the minimum-weight formula [8, Section 4.1] give
kerF2A=RM(n,n−d−1),
and every non-zero word of this dual code has at least 2d+1 non-zero coordinates. Thus every dependent set of evaluation columns has at least 2d+1 elements.
The following deletion argument applies to any binary matrix with distinct non-zero columns. As above, a good set has independent columns and its span contains no further column of the matrix.
Each extra column in the span of an independent set has a unique expression as a sum of columns from that set. If every dependent set has at least g elements, this expression uses at least g - 1 columns. Deleting any one of them removes the extra column from the span. The proof chooses deletions at random and shows that a suitable choice breaks all these representations simultaneously.
Lemma 1 (Deleting columns to obtain a good set). Suppose a binary matrix has N distinct non-zero columns and every set of columns dependent over F2 has at least g≥2 elements. Let Jr count its independent r-element sets, where 1≤r≤N, and put
ℓ=min{r,⌈g−1rln(N+1)⌉}.
Then the number of good sets of size r−ℓ is at least
(ℓN−r+ℓ)Jr.
Proof. Fix an independent set S of size r. Each column Ax outside S that lies in its span has a unique expression
Ax=u∈Fx∑Au,Fx⊆S.
The columns indexed by Fx∪{x} are linearly dependent, so the hypothesis gives ∣Fx∣+1≥g, and hence ∣Fx∣≥g−1. There are at most N−r≤N such extra columns Ax, and hence at most N sets Fx.
We will construct a set H⊆S of at most ℓ columns that meets every Fx. Deleting these columns will break the representation of each extra column Ax. We will then check that the remaining set is good. If ℓ=r, take H=S. Otherwise, choose ℓ elements of S independently and uniformly, allowing repetitions. For each Fx, the probability that none of its members is chosen is at most
(1−∣Fx∣/r)ℓ≤e−ℓ(g−1)/r≤N+11.
By the union bound, the probability that at least one set Fx is missed is at most
N+1N<1.
Thus some choice meets every Fx. Taking H to be the set of distinct columns chosen gives ∣H∣≤ℓ. Enlarge H to size ℓ if necessary. The set S∖H is good: independence excludes the deleted columns from its span. Columns outside the span of S remain outside. Because H meets every Fx, the unique representation of each extra column Ax uses a deleted column. Hence none of these extra columns lies in the span of S∖H. The empty set is also good, since no column is zero.
Choose one such good subset from each independent S. A fixed good set of size r−ℓ is contained in at most (ℓN−r+ℓ) sets of size r. Counting these preimages proves the bound.
For the evaluation matrix with d<n, take g=2d+1. The geometric reduction (10) and Lemma 1 give, whenever Jr>0,
In this section we prove Theorem B. We first bound the probability that a random set of evaluation columns is linearly dependent over F2. We obtain this bound using estimates for the weights of Reed–Muller codewords. Finally, we apply the geometric reduction in Section 3 to count polynomial threshold functions.
4.1 Codewords, weights and bias
Recall that the set of binary evaluation vectors
C:={ATc:c∈F2m}⊆F2N
is the binary Reed–Muller code RM(n,d) (see Carlet [8, Section 4.1]). A codeword is a vector in F2N obtained by evaluating one of these binary polynomials at all N vertices. We identify a word f∈C with the function x↦f(x) giving its entries. The set C is a linear subspace: adding two words corresponds to adding their coefficient vectors over F2. Its dimension over F2 is m, by the rank calculation above, so it contains exactly 2m words. Since each codeword has a unique coefficient vector, choosing a word uniformly from C is equivalent to choosing its m coefficients independently and uniformly from F2.
For a word f, its relative Hamming weight is
wt(f):=N∣{x∈V:f(x)=1}∣.
Thus weight here means the fraction of non-zero entries, rather than the number of non-zero entries. We also use its bias
Bf:=N1x∈V∑(−1)f(x)=1−2wt(f).
The bias is the fraction of zero values minus the fraction of one values. A balanced word has bias 0, and the two constant words have bias 1 and -1. Since the constant polynomial 1 belongs to C, the map f↦f+1 is a bijection of C that exchanges zeros and ones. It takes Bf to −Bf, so the bias of a uniformly chosen word has a symmetric distribution. For a uniformly chosen codeword f, write X=∣Bf∣ for its absolute bias.
The coding estimates we use count words of small weight. To express them in terms of bias, put
Wn,d(u):=∣{f∈C:wt(f)≤u}∣.
For 0<b≤1, the event Bf≥b is precisely wt(f)≤(1−b)/2. Symmetry gives the same number of words with Bf≤−b, and these two events are disjoint. Consequently
fPr(X≥b)=2m2Wn,d((1−b)/2).(13)
The subscript f indicates that the probability is over a uniformly chosen word of C. The magnitude X has at most N+1 possible values, since the number of ones in a word is an integer between 0 and N.
The minimum non-zero relative weight of RM(n,d) is 2−d (see Carlet [8, Section 4.1]). Consequently,
Wn,d(u)=1if0≤u<2−d,(14)
since only the zero word has weight below this threshold.
4.2 The first moment and repeated vertices
We begin with the first-moment calculation of Bhandari et al. [7, Section 1.1], expressed in our notation. Let x1,…,xr be independent uniformly chosen vertices of V, and let ρ be the rank over F2 of the matrix with columns Ax1,…,Axr. The quantity 2r−ρ−1 is zero when these columns are linearly independent and at least 1 when they are dependent. Its expectation therefore bounds the probability of dependence. We estimate this expectation by counting the codewords that vanish at the sampled vertices.
Vanishing at all sampled vertices means that the coefficient vector lies in the kernel of the transpose of this matrix. By rank-nullity, this kernel has dimension m−ρ, giving exactly 2m−ρ such words. Choose a codeword f uniformly from C, independently of the sampled vertices. We calculate the probability that f vanishes at all sampled vertices in two ways. For a fixed sample, this probability is 2m−ρ/2m=2−ρ. For a fixed word f, a uniformly chosen vertex is a zero of f with probability 1−wt(f)=(1+Bf)/2. Since the vertices are chosen independently, the probability that f vanishes at all of them is (1+Bf)/2)r. Consequently,
Esample2−ρ=Ef[(21+Bf)r],
where the expectation on the left is over the sampled vertices and that on the right is over the uniformly chosen codeword. Multiplying by 2r gives
Esample2r−ρ=Ef(1+Bf)r.(15)
Lemma 2. Suppose d≥1, 1≤r≤m, and M:=(2r)<N. For 0<δ<1 with rδ≤1, put
Lr=Ef[(1+X)r1{δ≤X<1}],X=∣Bf∣.
Then
qr≤1−M/N2r−m+r4δ2/N+(2M)/N2+Lr.
Proof. For the sample x1,…,xr drawn with replacement, define the random variable Y=2r−ρ. By (15),
EsampleY=Ef(1+Bf)r=2m1f∈C∑(1+Bf)r.
Each codeword is chosen with probability 2−m. We bound this expectation by considering separately the codewords with ∣Bf∣<δ, δ≤∣Bf∣<1, and ∣Bf∣=1. For ∣b∣<δ, the binomial expansion gives
2(1+b)r+(1−b)r≤1+Mb2+r4b4.
For the remainder, use r∣b∣≤1 and ∑j≥21/(2j)!<1. We next bound the contribution to Ef(1+Bf)r from codewords with ∣Bf∣<δ. Complementing a codeword changes Bf to −Bf and preserves ∣Bf∣. Hence, by the preceding inequality,
For the second inequality, we use Bf4≤δ2Bf2 when ∣Bf∣<δ, then drop the indicator from the resulting non-negative expression. The last equality uses EfBf2=1/N (see also Luh [16, Section 6.2, p. 11]). To verify this, write
Bf=1−2wt(f)=N1x∈V∑(−1)f(x),
since each zero of f contributes +1 to the sum and each one contributes -1. Squaring and averaging over f gives
EfBf2=N21x,y∈V∑Ef(−1)f(x)+f(y).
When x=y, the summand is 1. For distinct x,y, choose a coordinate i on which they differ, say xi=0 and yi=1. Since d≥1, we can pair the polynomials defining the codewords by keeping all coefficients the same except that of the degree-one monomial in coordinate i. Call the two functions in each pair f0 and f1, according as this coefficient is 0 or 1. Then f1(x)=f0(x) and f1(y)=f0(y)+1, with addition modulo 2. Thus f0 and f1 give opposite signs in (−1)f(x)+f(y). Every codeword occurs in exactly one such pair, and all codewords are equally likely, so the expectation is zero when x=y. Only the N terms with x=y remain, giving EfBf2=N/N2=1/N. In Ef(1+Bf)r, the zero word has Bf=1 and contributes 2−m2r=2r−m. The constant-one word has Bf=−1 and contributes zero. For codewords with δ≤X<1, we have (1+Bf)r≤(1+X)r, so their total contribution to the expectation is at most Lr. Combining these estimates and subtracting 1 gives
EY−1≤2r−m+NM+Nr4δ2+Lr.(16)
We now pass from sampling with replacement to a uniformly chosen set of r distinct vertices. Samples containing repetitions have dependent columns, and we will subtract a lower bound for their contribution to E(Y−1). For 1≤i<j≤r, let Eij={xi=xj}. This is a pair-collision event, meaning that the same vertex is selected at positions i and j. Let E=⋃i<jEij, the event that the sample contains a repeated vertex. There are M=(2r) such pair-collision events, each of probability N−1. The intersection of any two distinct such events has probability N−2, whether or not the pairs share an index. The first two Bonferroni inequalities therefore give
NM−N2(2M)≤Pr(E)≤NM.
On E the columns are dependent, so Y−1≥1. Conditional on the complementary event Ec, in which all sampled vertices are distinct, the unordered sample is a uniformly chosen r-element set. Recall that qr is the probability that the evaluation columns indexed by a uniformly chosen r-element subset of V are linearly dependent over F2. Since qr is the conditional probability of dependence given Ec, qrPr(Ec) is the probability that the sample has distinct vertices and linearly dependent evaluation columns. On this event, (Y−1)1Ec≥1, and this random variable is non-negative elsewhere. Therefore
The equality subtracts the contribution from samples containing repetitions. This contribution is at least Pr(E) because Y−1≥1 on E. Dividing by Pr(Ec)≥1−M/N proves the result. □
4.3 The contribution of larger biases
We now bound Lr. The proof adapts the argument of Bhandari et al. [7, Claim 3.6 and its proof], using the weight estimates of Sberlo and Shpilka [21]. Throughout this subsection, let c=10−4, assume 2≤d≤cn, and write W=Wn,d. Put
γ=d/n,L=⌈3log2m⌉.
A larger bias magnitude X gives a larger factor (1+X)r in the expectation defining Lr. It is not enough merely to show that such words are rare. Their rarity must compensate for this factor so that the expectation is small. We first state the estimates needed to bound Lr.
Lemma 3. For all sufficiently large n,
log2W(2−j)≤41m2−j(j≥2).(17)
Moreover,
log2m<0.0015n,L<0.005n,(18)e−24γL≥2−d,nm2−d⟶∞,
and
fPr(X≥2−ℓ)≤2−(4/5)me−24γℓ(1≤ℓ≤L).(19)
The inequalities and the limit are uniform over 2≤d≤cn.
The proof, given in Appendix A, derives these estimates from Corollaries 3.6 and 3.13 and Propositions 3.7 and 3.14 of Sberlo and Shpilka [21]. The constant 24 comes from the choice of parameters in their bias estimate.
Lemma 4. Put δ=2−L, so that δ≤m−3. For all sufficiently large n, uniformly over integers 2≤d≤cn and 1≤r≤m,
Lr=Ef[(1+X)r1{δ≤X<1}]≤N−2.
Proof. We use Lemma 3. For each possible value x of X with δ≤x<1, we bound (1+x)rPrf(X=x). If x<1/2, put ℓ=⌈log2(1/x)⌉, so 2≤ℓ≤L. Then
log2(1+x)≤ln2x≤ln221−ℓ≤43e−24γℓ.
The last inequality follows because 21−ℓe24γℓ/ln2 decreases with ℓ and its value at ℓ=2 is at most e48c/(2ln2)<3/4. Using r≤m, (19) and e−24γℓ≥2−d from (18), we obtain
(1+x)rfPr(X=x)≤2−me−24γℓ/20≤2−m2−d/20.
If 1/2≤x<1, put u=(1−x)/2. A codeword f with ∣Bf∣=x has relative weight u or 1−u, so either f or f+1 has relative weight u. Since u>0, the codeword of weight u is non-zero, and the minimum-weight bound (14) gives u≥2−d. Since x≥1/2, we also have u≤1/4. Choose j=⌊log2(1/u)⌋, so that 2≤j≤d and u≤2−j<2u. Equation (17) gives W(u)≤2mu/2. By (13),
fPr(X=x)≤fPr(X≥x)=21−mW(u).
Using r≤m, 1+x=2(1−u) and log2(1−u)≤−u, we obtain
There are at most N+1 possible values of X. Summing the common bound from the two cases gives
Ef[(1+X)r1{δ≤X<1}]≤(N+1)2−m2−d/20≤N−2,(20)
where the last inequality follows from N=2n and the uniform limit m2−d/n→∞ in (18). □
4.4 Completion of the proof of Theorem B
We now complete the proof of Theorem B by counting good sets of evaluation columns. The geometric argument in Section 3 shows that Tn,d is at least the number of such sets. We first assemble the required bound on the probability of linear dependence. We then choose k close to m and show that a fixed positive proportion of the (kN) sets of k columns are good. This gives a lower bound for Tn,d, which we compare with Qn,d.
Throughout this subsection 2≤d≤10−4n, and all estimates are uniform over these degrees. Let 1≤r≤m. Recall that qr is the probability that the evaluation columns indexed by a uniformly chosen r-element subset of V are linearly dependent over F2. We apply Lemma 2 with M=(2r) and δ=2−L, where L=⌈3log2m⌉. Then δ≤m−3 and rδ≤m−2≤1. Lemma 4 gives Lr≤N−2. The following estimates bound the other error terms and the denominator in Lemma 2. Since r≤m and M≤r2/2, we also have
Nr4δ2≤Nm4m−6=m2N1,(2M)≤2M2≤8r4≤8m4.
For the denominator, M≤m2/2 gives 1−M/N≥1−m2/(2N). The estimate log2m<0.0015n in (18), together with N=2n, gives
2Nm2<2n+120.003n=2−0.997n−1⟶0.
Thus M<N and both denominators are positive for all sufficiently large n. Substituting these bounds gives
Completion of the proof of Theorem B. Put s=n+2 and k=m−s. We have N2k+1−m=1/2 and m≥(2n), while (18) gives m4/N≤2−0.994n. Hence (21) gives
(N−k)qk+1≤21+o(1).
Applying (11), we obtain
Tn,d≥(21−o(1))(m−n−2N).(22)
We compare this with Qn,d from (1). Since m/N→0, the last term dominates the binomial sum:
Qn,d=2(1+o(1))(m−1N−1)=2(1+o(1))(m−1N).
For the first equality, recall that m2/N→0, as shown when bounding the denominator in (21). For large n, the binomial coefficients in the sum increase with i. There are m−1 terms before the final term, each at most (m−2N−1), so
For the second equality, the ratio of the two binomial coefficients is (N−m+1)/N=1−o(1).
The ratio (m−1N)/(m−sN) is a product of n+1=s−1 factors. We will show that the logarithm of each factor is approximately log2(N/m), with errors that sum to O(1). More precisely,
Both (j−1)/N and (m−j)/m tend to zero uniformly over this range. The estimate log2(1−u)=O(u) as u→0 therefore gives an error O(m/N+(n+1)/m) per summand, uniformly over this range. Summing the n+1 errors gives
O(N(n+1)m+m(n+1)2)=O(1).
Here m≥(2n) bounds the second term, while m≥n+1 gives (n+1)m/N≤m2/N→0 for the first. The factor preceding the binomial coefficient in (22) has logarithm −1+o(1). Including the factor 2(1+o(1)) in Qn,d proves
and hence log2Qn,d≥1+(m−1)log2(N/m). Dividing the additive bound by this lower bound gives En,d≤Cn/m, since log2(N/m)≥1 throughout the stated range for all sufficiently large n.
Finally, it remains to estimate the logarithm of the binomial coefficient in the approximation Qn,d=2(1+o(1))(m−1N) already obtained. The standard bounds
By (18), log2(N/m)>0.9985n, and m≥(2n). Hence m+n=O(m) and n2=O(m), while log2(N/m)→∞. Both the O(m+n) error in the estimate for log2Qn,d and the O(n2) difference between log2Qn,d and log2Tn,d are therefore o(mlog2(N/m)). Consequently,
log2Tn,d∼log2Qn,d∼mlog2(N/m),
as required.
15
☐
The restriction to a small linear degree range enters in the weighted bias estimates of Subsection 4.3. Those estimates must control almost the full sample dimension, rather than a fixed fraction of it. With minor adjustments to the auxiliary numerical bounds, the same estimates permit any fixed c<1/3808, the restriction coming from 476γ<1/8 in the low-weight estimate (see Appendix A). We retain 10−4 for simplicity. For the leading logarithm at larger degrees, we use the coding estimates and deletion argument in Section 5.
Remark. The bound on qr also gives a statement about random sets of evaluation vectors. For s=n+⌈log2n⌉ and k=m−s, (21) gives (N−k)qk+1≤2/n+o(1). Thus (8) and (11) show that almost every set of m−s evaluation vectors is good and Tn,d≥(1−o(1))(m−sN). This conclusion concerns samples with order n fewer columns than the dimension. We return to the question of reaching the full dimension in Section 6.
5 The intermediate and near-central degrees
We now prove Theorems C and D. For the first, we use the weight bound of Sberlo and Shpilka to show that a suitable random selection of evaluation columns spans F2m with probability tending to one. For the second, we bound the expected nullity of a random selection of columns using the probability that a fixed column lies in the span of the other selected columns. An entropy argument then gives many independent sets. The deletion lemma converts the independent-set counts in both arguments into lower bounds for Tn,d.
5.1 A quantitative bound below the central degree
We derive from Theorem 1.2 of Sberlo and Shpilka [21] a bound on the probability that randomly selected evaluation columns fail to span F2m. This bound will be used to prove Theorem C. The condition d/n≤1/2−ε keeps the degree proportion at least ε below 1/2. Thus ε≥n−1/3 keeps d at least n2/3 below the central degree.
Lemma 5 (Full rank for a random evaluation matrix). There are absolute constants C>0 and n0 such that the following holds. Suppose n≥n0, n−1/3≤ε<1/2 and 1≤d≤(1/2−ε)n. Put m=mn,d and
Dε=ε544ln2,q=2nDεm.
Then 0<q<1. Choose U⊆{0,1}n by including each vertex independently with probability q. The failure probability satisfies
Consequently, if d=d(n) and ε=ε(n) satisfy the stated restrictions and m2−d/n4→∞, then AU has full row rank with probability tending to one as n→∞.
Moreover, for every fixed c>0 and every ζ>0, there is n1=n1(c,ζ)≥n0 such that, whenever n≥n1 and cn≤d≤(1/2−ε)n, the same construction satisfies
Pr(rankF2AU=m)≥1−ζ
uniformly over n−1/3≤ε<1/2.
The proof is given in Appendix A. It uses the weight bound to estimate the probability that a non-zero word vanishes at every selected vertex.
Proof of Theorem C. Let n−1/3≤ε<1/2 and put m=mn,d. All constants in this proof are absolute. If 2≤d≤10−4n, Theorem B bounds the additive error by a constant multiple of n2.
Since m≥(2n), this is at most a constant multiple of m, and hence at most a fixed constant times mln(e/ε). It remains to establish the additive bound for 10−4n<d≤(1/2−ε)n when this range is non-empty. We first use Lemma 5 to obtain a lower bound on the number of independent m-element sets of evaluation columns. Lemma 1 then gives a lower bound on the number of good sets. Different good sets give distinct hyperplane intersections, and the number of chambers is at least the number of these intersections. This supplies a lower bound on Tn,d, which we compare with Qn,d.
Choose U⊆V by including each vertex independently with probability q=Dεm/N. Taking c=10−4 and ζ=1/2 in the final assertion of Lemma 5, we obtain, for all sufficiently large n,
Pr(rankF2AU=m)≥21.
Whenever AU has rank m, it contains m columns that are linearly independent over F2. For any fixed m-element set S⊆V, the probability that S⊆U is qm, since all m vertices must be selected independently. Thus the union bound gives
21≤Pr(rankF2AU=m)≤Jmqm,
so, using q=Dεm/N,
log2Jm≥mlog2(N/m)−mlog2Dε−1.
For our evaluation matrix, every dependent set has at least 2d+1 columns. Applying Lemma 1 with r=m and g=2d+1, we obtain at least
(ℓN−m+ℓ)Jm
good sets of size m−ℓ. Since Tn,d is at least the number of good sets,
log2Tn,d≥log2Jm−log2(ℓN−m+ℓ)≥log2Jm−ℓn.
For the last inequality, we used (ℓN−m+ℓ)≤Nℓ and log2N=n. As in (12), the choice of ℓ in Lemma 1 gives
ℓ≤⌈2d+1−1mln(N+1)⌉,ℓn=O(2dmn2+n).
The term n accounts for rounding ℓ up to an integer. Substituting our bound on log2Jm, we obtain
log2Tn,d≥mlog2(N/m)−mlog2Dε−O(2dmn2+n).
The final error term is o(m) uniformly in this range. Indeed, d>10−4n and m≥(2n) give
mmn2/2d+n=2dn2+mn≤n22−10−4n+n−12⟶0.
For all the degrees under consideration, m≤N/2 and the binomial coefficients in Qn,d are increasing up to its last term. Hence
2(m−1N−1)≤Qn,d≤2m(m−1N−1).
Using
(m−1N−1)=Nm(mN)
and the elementary bounds
(mN)m≤(mN)≤(meN)m,
we obtain
log2Qn,d=mlog2(N/m)+O(m+n).
Since Dε=544ln2/ε and m≥(2n), comparison with the lower bound gives
0≤log2Qn,d−log2Tn,d≤Kmln(e/ε),
for a fixed absolute constant K chosen large enough also to cover the small-degree estimate. This proves the additive assertion throughout the stated range.
Finally, the upper bound in (6) gives
log2(N/m)≥n{1−H2(1/2−ε)}≥ln22nε2,
where the second inequality follows from Taylor’s theorem. Since m−1≥m/2 and log2Qn,d≥(m−1)log2(N/m), we have log2Qn,d≥mnε2/ln2. Dividing the additive bound by this quantity gives En,d≤Kln2ln(e/ε)/(nε2). Since ln2<1, taking the theorem constant C≥K proves both assertions.
5.2 Degrees just below the central degree
We prove Theorem D. Throughout this subsection, suppose 1≤d<n/2, and recall that
α=Nm≤21,a=ln(1/α).
We assume that a/n≤δ0 and that n is sufficiently large. We choose the absolute constant δ0>0 small enough to meet all the requirements below and in Appendix C, and use the same constant in Theorem D(i). The constants below are absolute, unless stated otherwise. We first use Lemma 6 and the deletion lemma to turn a bound on expected nullity into a lower bound on the number of polynomial threshold functions. We then express expected nullity as an integral of the probability that one column lies in the span of a random selection of the others. A sharp-threshold inequality bounds the integrals that arise. For Theorem D(i), we select m columns on average. For part (ii), we select slightly more and compare the two entropy terms together.
Applying (6) to m=mn,d gives
nln2{1−H2(d/n)}≤a≤nln2{1−H2(d/n)}+ln(n+1).
If n/2−d=o(n), then d/n→1/2 and H2(d/n)→1, so the upper bound gives a=o(n). Conversely, if a=o(n), the lower bound forces H2(d/n)→1. On [0,1/2], the entropy approaches 1 only when its argument approaches 1/2. Thus d/n→1/2, which means n/2−d=o(n).
5.2.1 An entropy count of independent sets
We will use the following count, which controls all sizes of independent sets at once. For a random variable X taking finitely many values, its Shannon entropy is
H(X)=−x∑Pr(X=x)log2Pr(X=x),
with 0log20=0. We write H(X,Y) for the entropy of the pair (X,Y). We use the standard facts that entropy is at most the logarithm of the number of possible values, that entropy is subadditive, and that H2 is concave (see Cover and Thomas [10, Chapter 2]).
Lemma 6. Let B be a binary matrix with N≥1 columns, and let I(B) be the number of subsets of its column indices whose corresponding columns are independent over F2, including the empty set. Choose a random set U of column indices by including each index independently with probability q. Then
log2I(B)≥NH2(q)−NH2(NE(∣U∣−rankF2BU)).
Proof. Fix an ordering of the columns of B. For each sampled set U, construct S(U) by examining its indices in that order, starting with the empty set. Add an index precisely when its column does not lie in the span over F2 of the columns already selected.
The selected columns are independent. Every skipped column lies in the span of those selected at that stage, and hence in the span of the final selection. Thus the selected columns form a basis for the columns of BU. Putting R(U)=U∖S(U), we therefore have
∣S(U)∣=rankF2BU,∣R(U)∣=∣U∣−rankF2BU.
Write S=S(U) and R=R(U). Since (S,R) is a function of U and U=S∪R is a function of (S,R), the two random variables have the same entropy:
H(U)=H(S,R).
We next calculate H(U). We may assume 0<q<1, since the endpoint cases of the lemma follow from I(B)≥1. For any fixed set W⊆{1,…,N},
Pr(U=W)=q∣W∣(1−q)N−∣W∣.
Entropy is the expected negative logarithm of the probability of the outcome. Since E∣U∣=Nq, this gives
H(U)=E[−∣U∣log2q−(N−∣U∣)log2(1−q)]=NH2(q).
By subadditivity of entropy,
NH2(q)=H(S,R)≤H(S)+H(R).
Since U is random, the set S=S(U) produced by the fixed procedure is a random variable. Every possible value of S is an independent set of column indices, so S takes at most I(B) values. Regardless of their probabilities, its entropy is therefore at most log2I(B).
It remains to bound H(R) in terms of its expected size. Put pv=Pr(v∈R). Since ∣R∣ counts the indices belonging to R, we have ∑v=1Npv=E∣R∣. The membership indicator for index v has entropy H2(pv). Subadditivity bounds the entropy of R by the sum of these individual entropies. Concavity of H2 then bounds this sum by N times the binary entropy of the average membership probability. Hence
Substituting E∣R∣=E(∣U∣−rankF2BU) and rearranging proves the lemma.
We now apply Lemma 6 to the evaluation matrix A. Recall that Jr counts its independent r-element sets over F2, and put Ibin=∑r=0mJr, where J0=1. Thus Ibin counts its independent sets of all sizes.
Choose r for which Jr is largest. There are m+1 possible sizes, so Jr≥Ibin/(m+1). Moreover, r≥1 since J1=N>J0. For d<n, the deletion bound (12) gives
To use (24), we need to estimate the expected nullity of AU. An upper bound on the expected nullity divided by N can be substituted into H2 provided that bound is at most 1/2, since H2 is increasing on [0,1/2]. We will check this condition when applying the estimate.
5.2.2 Estimates for Theorem D
To use (24) in the proofs of both parts of Theorem D, we need an estimate for log2Qn,d and a bound on the final error term. Both estimates use the quantity
Λ=NH2(α).
Recall that m=Nα and a=ln(1/α). The definition of H2 and the inequality lnx≤x−1 give
ln2ma≤Λ≤ln2m(a+1).
Since a≥ln2, we have a+1≤(1+1/ln2)a. Hence
1+ln2m(a+1)≤Λ≤ln2m(a+1).
In particular, Λ≥cm(a+1) for an absolute constant c>0. We will also use Λ≥m, which follows from the lower bound.
We first compare Λ with log2Qn,d. Since (iN−1)≤(iN), the upper bound in (6), with M=N and k=m, gives
Qn,d≤2i=0∑m(iN)≤2Λ+1.
For a lower bound, we retain the last term in the defining sum for Qn,d and use (m−1N−1)=(m/N)(mN). Thus
N(N+1)2m2Λ≤Qn,d≤2Λ+1.
Since N=2n and 1≤m≤N/2, taking logarithms gives
log2Qn,d=Λ+O(n).
We will also need the lower bound log2Qn,d≥Λ/2. To deduce it from the preceding estimate, we show that Λ grows at least quadratically in n. Since m≥n+1, the monotonicity of H2 on [0,1/2] gives
Λ≥NH2(Nn+1)≥(n+1){n−log2(n+1)}.
The last expression is at least a positive absolute constant times n2 for large n. Consequently,
log2Qn,d≥2Λ
for all sufficiently large n, uniformly over 1≤d<n/2.
We now use the assumption a/n≤δ0 to control the error term in (24). If d<n/4, the upper binomial bound in (6) would give
a/n≥ln2{1−H2(1/4)}>0.
Choosing δ0 smaller than this constant therefore forces d≥n/4. Also, m=Ne−a≥e(ln2−δ0)n. Since Λ≥m,
Λmn2/2d+n≤2dn2+mn≤n22−n/4+ne−(ln2−δ0)n.
Thus, for all sufficiently large n, the error term in (24), divided by Λ, is at most e−c′n for an absolute constant c′>0. The additive error in (24) is therefore exponentially small compared with Λ, and hence with log2Qn,d. We now turn to the expected nullity in (24).
5.2.3 Rank of a random set of columns
When each column is selected independently with probability α=m/N, the expected number selected is m. We will show that the expected number of columns that must be deleted to leave an independent set is small compared with m. This number of deletions is exactly the nullity of the selected matrix. Lemma 6 uses the expected nullity to give a lower bound on the number of independent sets. Combined with the deletion lemma, this gives (24). To bound the expected nullity, we study the probability that one column lies in the span of a random selection of the others.
Fix v∈V. Choose Ut(v)⊆V∖{v} by including each vertex independently with probability t, and put
hv(t)=Pr(Av∈spanF2{Au:u∈Ut(v)}).
Thus hv(t) is the probability that adding column Av to the selected columns does not increase their rank.
An invertible affine map of F2n has the form σ(x)=Lx+b, where L is an invertible n×n matrix over F2 and b∈F2n. Substitution by σ means replacing a polynomial p(x) by p(σ(x)). Each variable is replaced by an affine linear form, so the degree cannot increase. Thus this substitution preserves the space of binary polynomial functions of degree at most d. Consequently, for each such map σ, there is an invertible matrix Mσ over F2 such that
Aσ(x)=MσAx(x∈V).
The matrix Mσ is invertible because substitution by σ−1 gives its inverse. These maps therefore preserve all linear relations among the columns. Translations carry any vertex to any other and preserve the distribution of the selected set, so hv(t) is independent of v. We write h(t) for its common value (see also [15, Proposition 7 and Lemma 23]).
We now express the expected rank and nullity of a random selection of columns as integrals of h.
Lemma 7 (Integral identities for expected rank and nullity). For 0≤t≤1, choose U⊆V by including each vertex independently with probability t, and put F(t)=ErankF2AU. Then
Adding column Av, for v∈/S, increases the number of columns by one. If it increases the rank, the nullity is unchanged, but otherwise the nullity increases by one. Thus f(S∪{v})−f(S) is 1 precisely when Av lies in the span of the columns indexed by S, and is 0 otherwise. We use this observation to calculate G′(t).
Since the vertices are selected independently,
G(t)=W⊆V∑f(W)t∣W∣(1−t)N−∣W∣.
This is a polynomial in t, which we differentiate term by term.
The probability t∣W∣(1−t)N−∣W∣ is a product with one factor for each vertex: t for a vertex in W, and 1−t for a vertex outside W. We apply the product rule and group the resulting terms according to the vertex whose factor is differentiated. Fix v∈V, and let S⊆V∖{v}. The positive term associated with v comes from W=S∪{v}, and the negative term comes from W=S. Both have the factor t∣S∣(1−t)N−1−∣S∣, with coefficients f(S∪{v}) and −f(S), respectively. Summing these contributions gives, for 0<t<1,
The inner sum is the expectation of f(S∪{v})−f(S) when S is formed by selecting each vertex of V∖{v} independently with probability t. This difference is 1 when Av lies in the span of the columns indexed by S, and 0 otherwise. Its expectation is therefore the probability of that event, namely hv(t). Hence
G′(t)=v∈V∑hv(t)=Nh(t).
At t = 0, the selected set is empty and its nullity is zero, so G(0)=0. Integration gives
E(∣U∣−rankF2AU)=G(t)=N∫0th(u)du,
which proves the second identity.
Since E∣U∣=Nt, we also have
F(t)=Nt−G(t)=N∫0t(1−h(u))du.
At t=1, every vertex is selected with probability one, so U=V and AU=A with probability one. The matrix A has rank m, and therefore F(1)=m. Substituting t=1 gives
m=N∫01(1−h(u))du.
Dividing by N proves the first identity, since m/N=α. Finally, subtracting the formula for F(t) from that for F(1) gives
m−F(t)=N∫t1(1−h(u))du,
which is the third identity.
The function h also has a coding interpretation. In the dual Reed–Muller code RM(n,n−d−1)=kerF2A, it is the probability of failure to recover a fixed erased coordinate when each other coordinate is erased independently with probability t (see Kudekar et al. [15, Definition 2 and Proposition 4(a)]). Indeed, failure occurs precisely when there is a word z in this code with zv=1 and support contained in Ut(v)∪{v}. The equation Az=0 is then exactly the column dependence defining hv(t). In this interpretation, the first identity in (25) is equivalent to the area identity in [15, Proposition 4(c)], and G′(t)=Nh(t) also follows from Proposition 1 of that paper. Coordinate recovery also underlies the approach in the author's centrality paper [4].
If h were the step function taking the value 0 below α and 1 above α, the second identity in (25) would give zero expected nullity at sampling probability α. At this sampling probability, the first term on the right-hand side of (24) is NH2(α)=Λ, which approximates log2Qn,d, and the second term would vanish.
For Theorem D(i), we choose this same sampling probability α for the actual function h. We need to bound the expected nullity to estimate the second term on the right-hand side of (24). By the second identity in (25), this amounts to bounding ∫0αh(t)dt.
For part (ii), we choose a probability t>α, selecting more than m columns on average, to bring the expected rank closer to m. The third identity in (25) reduces this to bounding ∫t1(1−h(u))du. Selecting more columns also increases the expected nullity. The proof of part (ii) will estimate the first two terms in (24) together to account for these additional columns. The following lemma gives bounds on these integrals using a sharp-threshold inequality for h.
Lemma 8 (A differential inequality and integral bounds). There is an absolute constant c2>0 such that, with κ=c2n, the following hold. For 0<p<1, put bp=ln(e/p).
(i) For 0 < t < 1,
dtdln1−h(t)h(t)≥tln(e/t)κ.(26)
(ii) If κ>1 and h(p)≤1/2, then
∫0ph(t)dt≤κ−1pbp.(27)
(iii) Put zp=(1−h(p))/h(p). If bp<κ, then
∫p1(1−h(t))dt≤κ−bpzppbp,(28)
and consequently
m−F(p)≤κ−bpNzppbp.(29)
The differential inequality follows from O'Donnell's sharp-threshold inequality [17, Section 10.3, equation (10.8)], using the affine symmetries of the evaluation columns over F2. Integrating it gives the two integral bounds. The detailed proof is given in Appendix B.
Lemma 9 (Expected nullity at sampling probability α). Recall that the evaluation matrix A has m rows and N=2n columns. Put α=m/N and a=ln(1/α)=ln(N/m). There are absolute constants δ0,CI>0 and n0 such that, whenever n≥n0, 1≤d<n/2 and a≤δ0n,
∫0αh(t)dt=∫α1(1−h(t))dt≤CIαna.(30)
Consequently, if U⊆V includes each vertex independently with probability α, then
E(∣U∣−rankF2AU)=m−ErankF2AU≤CImna.
Proof. The equality of the two integrals follows from the first identity in (25). Write I for their common value. To bound I, we may therefore use either integral. We apply Lemma 8 with p=α, so
bα=ln(e/α)=a+1.
If h(α)≤1/2, part (ii) of Lemma 8 bounds the first integral:
I≤κ−1α(a+1).
If h(α)≥1/2, then (1−h(α))/h(α)≤1, so part (iii) bounds the second integral:
I≤κ−a−1α(a+1).
Recall that κ=c2n. Since a≤δ0n, we can choose δ0 sufficiently small and n0 sufficiently large that both denominators are at least c2n/2. These choices also ensure the hypotheses of Lemma 8(ii) and (iii). Thus, in either case,
I≤c2n2α(a+1)≤CIαna,
where the last inequality uses a≥ln2.
By the second identity in (25), the expected nullity is NI≤CIma/n. Since E∣U∣=Nα=m, the expected nullity also equals m−ErankF2AU.
5.2.4 Proof of Theorem D(i)
Proof. Write m=mn,d and N=2n, and recall that
α=Nm,a=ln(N/m)=ln(1/α).
The hypothesis of part (i) is a/n≤δ0. Since d<n/2, we also have α≤1/2 and a≥ln2. We take δ0<1.
Choose U⊆V by including each vertex independently with probability α, so that E∣U∣=Nα=m. Lemma 9 gives
NE(∣U∣−rankF2AU)≤CIαna≤2CIδ0≤21,
where the last inequality follows by taking δ0≤1/CI. Since H2 is increasing on [0,1/2], we may use this upper bound for its argument in the second entropy term of (24). Taking q=α in that inequality therefore gives
log2Tn,d≥Λ−NH2(CIαna)−O(2dmn2+n),Λ=NH2(α).
We first bound the entropy term. Using H2(x)≤xln(e/x)/ln2, together with Nα=m and ln(1/α)=a, gives
for an absolute constant K>0, which we keep fixed throughout this proof.
To obtain the relative error, we compare the lower bound for log2Tn,d with log2Qn,d. Subsection 5.2.2 gives
log2Qn,d≤Λ+1,log2Qn,d≥2Λ≥2cm(a+1)
for an absolute constant c>0. Here the last inequality uses the bound Λ≥cm(a+1). The factor 1/2 comes from the comparison log2Qn,d=Λ+O(n): since Λ grows at least quadratically in n, the magnitude of that O(n) term is at most Λ/2 for sufficiently large n. The first of these inequalities gives
The term O(mn2/2d+n) in our lower bound for log2Tn,d must also be divided by log2Qn,d. At the end of Subsection 5.2.2, we proved that (mn2/2d+n)/Λ≤e−c′n for an absolute constant c′>0 and all sufficiently large n. Consequently,
log2Qn,dmn2/2d+n≤2Λmn2/2d+n≤2e−c′n.
The contribution of the O(mn2/2d+n) term is therefore O(e−c′n). Combining this with the entropy bound gives
For sufficiently large n, the absolute value of the O(e−c′n) term is at most (ln2)/n, because exponential decay is faster than 1/n. Recall that a=ln(1/α)≥ln2 because α≤1/2. Hence
nln2≤na≤na+ln(n/a).
Consequently,
En,d≤(c2K+1)na+ln(n/a).
Taking the constant C in the theorem to satisfy C≥2K/c+1, and using Tn,d≤Qn,d, gives
0≤En,d≤Cna+ln(n/a).
Finally, recall that n/2−d=o(n) is equivalent to a=o(n). In this case,
na⟶0,nln(n/a)≤nln(n/ln2)⟶0.
Thus En,d→0. Together with log2Qn,d∼Λ from Subsection 5.2.2, this gives
log2Tn,d∼log2Qn,d∼NH2(α).
5.2.5 Sampling more columns for Theorem D(ii)
The proof of Theorem D(ii) is given in Appendix C. Here we introduce the sampling choice and state the bound on the expected rank of the selected matrix.
Recall that α=m/N and a=ln(1/α). In part (i), we selected m columns on average. For part (ii), we select slightly more columns, with the aim of making their expected rank closer to m.
Choose U⊆V by including each vertex independently with probability
q=(1+η)α,0<η≤1/10.
Thus E∣U∣=(1+η)m: the parameter η specifies the additional ηm columns selected on average. Since AU has m rows, its rank is at most m. Define
ρ=mm−ErankF2AU≥0.
Thus ρ is the difference between m and the expected rank, as a proportion of m, and ErankF2AU=(1−ρ)m. Consequently,
E(∣U∣−rankF2AU)=(1+η)m−(1−ρ)m=m(η+ρ).
The next lemma bounds ρ. We then use this expression for the expected nullity in the counting bound (24).
Lemma 10 (Expected rank). There are absolute constants δ0,μ,C0>0 and n0 such that the following holds. Suppose n≥n0, 1≤d<n/2, a≤δ0n and C0a/n≤η≤1/10. Choose U⊆V by including each vertex independently with probability q=(1+η)α, and put
ρ=mm−ErankF2AU.
Then
0≤ρ≤C0nae−μnη/a≤η.
The proof of Lemma 10 is given in Appendix C. To apply the lemma, recall that E(∣U∣−rankF2AU)=m(η+ρ) and m/N=α. Substituting q=(1+η)α in (24) therefore gives
log2Tn,d≥NH2((1+η)α)−NH2(α(η+ρ))−O(2dmn2+n).
Lemma 10 supplies the bound on ρ needed to estimate this expression. We compare it with log2Qn,d≤NH2(α)+1. Appendix C carries out the comparison and chooses η to obtain the bound in Theorem D(ii).
5.2.6 Consequences of Theorem D
The two parts of Theorem D complement one another. When a=Θ((lnn)2), part (ii) gives En,d=O(lnnlnlnn/n), whereas part (i) gives O((lnn)2/n). When a=Θ(lnn), part (i) is sharper.
For odd n, Theorem D includes the lower central degree ⌊n/2⌋. The upper central degree ⌈n/2⌉ is covered by the author's stronger centrality theorem [4, Theorem 1].
Fix K > 0 and consider degrees satisfying
0<n/2−d≤Kn.
In this window, the binomial probability α is bounded below by a positive constant depending only on K. Theorem D(i) therefore gives
En,d≤CKnlnn(31)
for all sufficiently large n, where CK depends only on K and the bound holds for every degree in the window.
To illustrate the improvement supplied by Theorem D(ii), take d=⌊n/2−n3/4⌋. The bounds in (6) and expansion about 1/2 give a∼2n. For this degree, part (i) gives En,d=O(n−1/2), whereas part (ii) gives
En,d=O((lnn)2/n).(32)
We can make the asymptotic formula for log2Tn,d more explicit when d is within O(n) of n/2. Suppose that d<n/2 and d=n/2−τn+o(n) for a fixed τ≥0. If Bn is binomial with parameters n and 1/2, then
α=Pr(Bn≤d)⟶Φ(−2τ),
where Φ is the standard normal distribution function [11]. Theorem D therefore gives
log2Tn,d∼2nH2(Φ(−2τ)).
For example, when τ=1, the coefficient H2(Φ(−2)) is approximately 0.157.
When n/2−d=O(n), so that α is bounded away from 0, the block-recovery theorem of Kudekar et al. [15, Theorem 27], applied to the dual code kerF2A and combined with (24), also gives log2Tn,d∼NH2(α), without a rate. Theorem D supplies the explicit bounds and also covers α→0 with a=o(n).
Related recursive recovery estimates for nested Reed–Muller codes on the erasure channel appear in Pfister and Reeves [19, Section III].
6 Conclusions and open questions
We have established the logarithmic form of the enumeration conjecture: Theorem A shows that log2Tn,d∼log2Qn,d for every degree sequence, with relative error O((logn)2/n) uniformly over all degrees. The author's earlier centrality theorem [4, Theorem 1] already establishes the stronger equivalence Tn,d∼Qn,d for d≥⌈n/2⌉. The results here complete the logarithmic asymptotic below the central degree.
Theorem B gives the sharper additive gap O(n2) throughout 2≤d≤10−4n. Theorem C gives relative error O(1/n) for 2≤d≤(1/2−ε)n, for each fixed 0<ε<1/2. Theorem D gives relative error O(logn/n) in the window 0<n/2−d=O(n), together with estimates throughout n/2−d=o(n).
The stronger question concerns the count itself. Does
Tn,d∼Qn,d
hold for every sequence 2≤d<n/2? Together with the known results at degree one and at or above ⌈n/2⌉, this would establish the full enumeration conjecture. The logarithmic equivalence proved here allows a multiplicative discrepancy that is still large, and so does not resolve this question.
It would also be interesting to determine how far the additive O(n2) estimate extends beyond the small linear degree range, and whether its order can be improved within that range. The O(mn,d) bound of Theorem C, for each fixed ε, becomes much larger than n2 when the degree grows, so it leaves this question open. The constant 10−4 is a convenient choice for the present weight estimates. The proof does not suggest a transition at this degree. More precise control of the number of evaluation vectors in a random span could give sharper counting estimates.
The order of the relative error also remains open. Can the logarithmic factors in the uniform bound of Theorem A be reduced? The logarithmic product in (5) is maximised near a=n, corresponding to n/2−d of order n3/4. This identifies a window in which to seek a sharper bound, but does not show that the actual error is largest there. The present estimates do not determine the best rate throughout n/2−d=o(n).
Finally, consider the evaluation-matrix formulation of Luh's question [16, Section 1.4 and Lemma 5.1] about the dimension threshold. His tensor problem in n+1 coordinates corresponds to evaluation vectors in n variables, with D(n+1,d)=mn,d in his notation. For which growing degrees in the range d≤10−4n are mn,d independently and uniformly sampled evaluation vectors linearly independent over R with probability tending to one? Our argument uses order n fewer vectors than the dimension. Independence of a full sample would be a stronger rank statement, although an additional argument would still be needed to obtain a sharper enumeration bound.
A Weight estimates and full rank
A.1 Verification of the weight and bias estimates
We retain the notation and hypotheses of Subsection 4.3: c=10−4, 2≤d≤cn, γ=d/n, W=Wn,d and L=⌈3log2m⌉.
Proof of Lemma 3.
Verification of (17). Corollary 3.6 and Proposition 3.7 of Sberlo-Shpilka [21] give, for 2≤j≤d,
since (h−a)/(n−a)≤h/n when h≤n and 0≤a<k. By the definition of mn−k,d−k, changing the summation index and applying this inequality term by term gives
mn−k,d−k=h=k∑d(h−kn−k)≤γkh=k∑d(hn)≤γkm.
The last inequality extends the sum to h=0,…,d, adding non-negative terms. Taking k=i−1 gives mn−i+1,d−i+1≤γi−1m. Putting t=i−j+1, we have i+2=j+t+1≤(j+2)t, and hence
The equality follows by differentiating the geometric series. For the last inequality, use (1−γ)−2≤3/2, since γ≤10−4, and 23(j+2)≤2j+3. For the first sum, (i−1)(i+2)≤2i2 gives
17ni=j∑d(i−1)(i+2)≤34ni=1∑di2≤34nd3.
Combining the bounds on the two sums gives
log2W(2−j)≤34nd3+17(2j+3)γj−1m.
To bound the second term, put aj=17(2j+3)2jγj−1 for j≥2. Then
ajaj+1=2γ2j+32j+5≤718γ<1,
since γ≤10−4. Thus aj≤a2=476γ<1/8, and hence 17(2j+3)γj−1≤2−j/8. It remains to show that 34nd3=o(m2−d), uniformly over the stated degree range. The quantity 2−d(dn)/d3 increases for 2≤d≤cn and large n, since its ratio at consecutive degrees is
2(d+1)n−d(d+1d)3≥4c1−c(32)3>1.
Here d+1≤2cn and d/(d+1)≥2/3. Comparing with d=2 and using m≥(dn) gives
nd3m2−d≥nd32−d(dn)≥64n−1⟶∞.
Since 34nd3=o(m2−d), this gives (17) for 2≤j≤d. For j>d, this holds because the minimum-weight bound (14) gives W(2−j)=1.
Verification of (18). For the inequality e−24γL≥2−d, it suffices to show that 24γL≤dln2. The bound m≤(en/d)d and the fact that tlog2(e/t) is increasing for 0<t<1 give
log2m≤nγlog2(e/γ)≤nclog2(e/c)<0.0015n.
Since L=⌈3log2m⌉, we have
L≤3log2m+1<0.0045n+1<0.005n
for all sufficiently large n. As γ=d/n,
24γL<24nd(0.005n)=0.12d<dln2.
The uniform comparison nd3=o(m2−d) established in the verification of (17) implies n=o(m2−d), proving the uniform limit in (18).
Verification of (19). We use the following consequence of Corollary 3.13 and Proposition 3.14 of Sberlo and Shpilka [21]. For positive integers ℓ,s, put t=2ℓ+s+1. If t<n and d<n−t, then, in our notation,
W(21−2−ℓ)≤2nt+[1−(1−n−td)t]mW(21−s).
For 1≤ℓ≤L, we take s=ℓ+2, so that t=3ℓ+3. The bound L<0.005n, proved in the verification of (18), gives t≤3L+3<n/2 for all sufficiently large n. Since d≤10−4n<n/2<n−t, the cited bound applies.
To estimate its exponent, we use d/(n−t)≤2γ<1/2, t≤6ℓ, and ln(1−u)≥−2u for 0≤u≤1/2. These give
(1−n−td)t≥e−24γℓ.
Substituting this estimate and 21−s=2−ℓ−1 into the bound from Sberlo and Shpilka gives
W(21−2−ℓ)≤2nt+(1−e−24γℓ)mW(2−ℓ−1).(33)
By (17) and 24γ<ln2,
log2W(2−ℓ−1)≤81m2−ℓ≤81me−24γℓ.
Since ℓ≤L, (18) gives e−24γℓ≥2−d throughout this range. Here t≤3L+3=O(dlog2n). The comparison established in the verification of (17) gives
m2−dndlog2n≤(n−1)d264log2n≤n−116log2n⟶0.
Since t=O(dlog2n), it follows that nt=o(m2−d) uniformly over the stated ranges. Combining the probability identity Prf(X≥b)=21−mW((1−b)/2) from (13), the weight bound (33), and W(2−ℓ−1)≤2(1/8)me−24γℓ obtained above gives
Finally, the bounds e−24γℓ≥2−d and m2−d/n→∞ from (18), together with nt=o(m2−d) proved above, give
me−24γℓ1+nt≤m2−d1+m2−dnt⟶0
uniformly over the stated ranges. Thus, for all sufficiently large n, we have 1+nt≤(3/40)me−24γℓ throughout these ranges. Since 7/8−4/5=3/40, it follows that
fPr(X≥2−ℓ)≤21+nt−(7/8)me−24γℓ≤2−(4/5)me−24γℓ,
which is (19).
This completes the proof.
A.2 Full rank for a random evaluation matrix
Proof of Lemma 5. The weight bound and sampling probability. Put γ=d/n≤β=1/2−ε and m=mn,d. Let Wn,d(u) count the words of RM(n,d) of relative weight at most u. Theorem 1.2 of Sberlo and Shpilka gives, in our notation,
Write D=Dε=544ln2/ε, so that D≥8, and take q=Dm/N. The upper bound in (6) gives m≤2nH2(β). Together with D=544ln2/ε, this gives the first inequality below. Taylor's theorem gives 1−H2(β)≥2ε2/ln2. Using also ε≥n−1/3, we obtain
for all sufficiently large n, uniformly over the stated parameters.
Bounding the failure probability. The matrix AU fails to have full row rank precisely when AUT has a non-zero kernel vector c∈F2m. Since
AUTc=(fc(x))x∈U,
this is equivalent to a non-zero word of RM(n,d) vanishing at every vertex in U. For a fixed word f of relative weight w, there are exactly Nw vertices at which f is non-zero. It vanishes on U precisely when all these vertices are excluded. Since each is excluded independently with probability 1−q, this has probability
(1−q)Nw≤e−qNw=e−Dmw.
The union bound therefore bounds the failure probability by ∑f=0e−Dmwt(f). Words of small weight are more likely to vanish on U, so we need to control how many such words there are. We bound their contribution by grouping the weights into intervals and applying the estimate for Wn,d above.
Words of weight at least 1/4 contribute at most 2me−Dm/4. The remaining non-zero words have weight at least 2−d and are covered by the intervals [2−ℓ−1,2−ℓ), 2≤ℓ≤d. There are at most Wn,d(2−ℓ) words in the ℓth interval. Each has weight at least 2−ℓ−1, so contributes at most e−Dm2−ℓ−1 to the union bound. Thus the interval contributes at most
Wn,d(2−ℓ)e−Dm2−ℓ−1.
Applying the weight estimate and using e−x=2−x/ln2, we bound this by
The contribution from the ℓth interval is therefore at most
2Cn4−Dm2−ℓ/(4ln2)≤2Cn4−Dm2−d/(4ln2),
where we used ℓ≤d. There are at most d such intervals. Including the words of weight at least 1/4 proves (23).
If m2−d/n4→∞, both terms in (23) tend to zero. For the first, use D≥8 and m→∞. For the second, the negative term in the exponent dominates Cn4, while d≤n. This proves the stated consequence for sequences.
The uniform assertion. Fix c>0 and suppose cn≤d. The lower bound in (6) gives
m2−d≥n+12nH2(d/n)−d.
By concavity, H2(u)≥2u on [0,1/2], so
m2−d≥n+12d≥n+12cn.
Using this bound, D≥8, d≤n and m≥n+1 in (23), we bound the failure probability by
e−(2−ln2)(n+1)+n2Cn4−ln22n+12cn.
This tends to zero and depends only on n and c. For each ζ>0, it is therefore at most ζ whenever n≥n1(c,ζ), proving the final assertion.
B Proof of the integral bounds
We retain the notation of Subsection 5.2.3. In particular, h(t) is the probability that a fixed column Av lies in the span over F2 of the other columns selected independently with probability t.
Proof of Lemma 8. We use the following form of the sharp-threshold inequality in O'Donnell [17, Section 10.3, equation (10.8)]. Select each of K≥2 coordinates independently with probability t, and let u(t) be the probability of an event determined by the selected set. Suppose that the event is increasing, meaning that selecting additional coordinates cannot destroy it, and non-constant, meaning that it occurs for some selected sets and fails for others. Suppose also that a group of coordinate permutations preserving the event can carry any coordinate to any other. Then
where c0>0 is absolute. O'Donnell states the inequality using a function taking values -1 and 1. We encode a selected coordinate by -1 and give the function value -1 when the event occurs. Its variance is then 4u(t)(1−u(t)), and the factor 4 is absorbed into c0.
We apply (34) to the event
Av∈spanF2{Au:u∈Ut(v)}.
The K=N−1 coordinates specify which vertices other than v are selected, and the event probability is h(t). Selecting more columns cannot destroy the event, so it is increasing.
By the affine invariance established in Subsection 5.2.3, affine maps over F2 fixing v preserve this event. They act transitively on V∖{v}: given w,z=v, choose an invertible linear map L over F2 with L(w−v)=z−v, by extending these non-zero vectors to bases. Then x↦v+L(x−v) fixes v and sends w to z.
The event is non-constant. The constant row of A gives Av=0, so it fails when no other column is selected. A row indexed by J⊆[n] contains 2n−∣J∣ ones, which is even because ∣J∣≤d<n. Hence, over F2,
x∈V∑Ax=0,Av=x=v∑Ax.
The event therefore holds when all other columns are selected. Thus h(0)=0 and h(1)=1. Both selections have positive probability when 0<t<1, so 0<h(t)<1 throughout this interval.
For every 0<t<1, we have
σ2ln(e/σ2)≤4tln(e/t).
Indeed, when t≤1/2, the inequalities 2t≤σ2≤4t give ln(e/σ2)≤ln(e/t), and multiplying the bounds for the two positive factors gives the result. When t≥1/2, we instead use
σ2ln(e/σ2)≤1≤4tln(e/t),
since xln(e/x)≤1 for 0<x≤1. Also, since N=2n,
ln(N−1)≥(n−1)ln2≥2ln2n(n≥2).
Substitution in (34) therefore gives
dtdln1−h(t)h(t)=h(t)(1−h(t))h′(t)≥tln(e/t)κ,
with κ=c2n for an absolute c2>0. This proves (i).
To prove (ii), we first bound h(t) for 0<t≤p. Recall that bp=ln(e/p). Integrating (26) from t to p gives
provided κ>1. If h(p)≤1/2, the factor h(p)/(1−h(p)) is at most one, proving (27).
To prove (iii), we want to bound ∫p1(1−h(t))dt. By the third identity in (25), multiplying this integral by N gives m−F(p), from which we will bound the expected nullity. We first integrate (26) to bound 1−h(t) for each t≥p. We then integrate that upper bound over [p,1].
Since h(t)≤1, the same expression bounds 1−h(t). We bound the logarithmic factor by a power of p/t, whose integral can be calculated explicitly. For p≤t<1,
bpln(e/t)=1−bpln(t/p),0≤bpln(t/p)<1.
Applying 1−x≤e−x with x=ln(t/p)/bp gives
(bpln(e/t))κ≤exp(−bpκln(t/p))=(tp)κ/bp.
Consequently,
1−h(t)≤zp(tp)κ/bp(p≤t<1).
With p fixed, the upper bound is a constant multiple of t−κ/bp.
We can now bound the required integral. If bp<κ, the exponent κ/bp is greater than 1. Integrating over [p,1] and then enlarging the integral of the positive power function to [p,∞), we obtain
∫p1(1−h(t))dt≤zp∫p∞(p/t)κ/bpdt=κ−bpzppbp.
This proves (28). Multiplying by N and using the third identity in (25) gives (29).
C Proof of Theorem D(ii)
We first prove the expected-rank bound in Lemma 10, then compare the two entropy terms in (24) and choose the sampling probability.
Proof of Lemma 10. Recall that α=m/N and a=ln(1/α). We select each column independently with probability q=(1+η)α, giving (1+η)m columns on average. Thus η specifies the proportional increase over m in the expected number of selected columns.
Recall that h(t) is the probability that a fixed column lies in the span of the other columns selected with probability t. The function h is continuous with h(0)=0 and h(1)=1, and Lemma 8(i) makes it strictly increasing on (0,1). Thus there is a unique θ∈(0,1) with h(θ)=1/2. We first show that θ is close to α.
Lemma 9 gives
∫0αh(t)dt=∫α1(1−h(t))dt≤CIαna.
If θ<α, then h(t)≥1/2 on [θ,α]. If θ>α, then 1−h(t)≥1/2 on [α,θ]. In either case, the corresponding integral is at least ∣θ−α∣/2. Hence
∣θ−α∣≤2CIαna.
Choose C0 to satisfy C0≥4CI and C0≥33/(5c2). The hypothesis η≥C0a/n then gives 2CIa/n≤η/2. Since q−α=αη,
q−θ=(q−α)−(θ−α)≥αη−2CIαna≥2αη.
The hypothesis a/n≤δ0 also gives θ≥α(1−2CIδ0). Reducing δ0 so that 2CIδ0≤1/10 ensures θ≥0.9α. Since η≤1/10, we have q≤1.1α as well. Thus [θ,q]⊆[0.9α,1.1α]. Throughout this interval,
tln(e/t)≤1.1α{a+1+ln(10/9)}≤4αa,
where the last inequality uses a≥ln2.
We can therefore integrate (26) from θ to q, using κ=c2n from Lemma 8. Since h(θ)=1/2, the logarithm of h(θ)/(1−h(θ)) is zero, and we obtain
ln1−h(q)h(q)≥4αac2n(q−θ)≥8c2anη.
Put μ=c2/8. Exponentiating and taking reciprocals gives
h(q)1−h(q)≤e−μnη/a.
We now use this bound to estimate how far the expected rank falls below m. Recall that F(q) is the expected rank when each column is selected independently with probability q, and that ρ=(m−F(q))/m. Thus m−F(q)=mρ. The earlier bound (29), applied with p=q, gives
mρ=m−F(q)≤κ−bqNzqqbq,
provided bq<κ, a condition verified below. Here zq=(1−h(q))/h(q), bq=ln(e/q) and κ=c2n. Substituting these definitions and dividing by m=Nα therefore gives
ρ≤h(q)1−h(q)α{c2n−ln(e/q)}qln(e/q).
Here q/α=1+η≤1.1. Also, q≥α and a≥ln2, so
ln(e/q)≤a+1≤3a.
The lemma assumes a≤δ0n. Reducing δ0 so that δ0≤c2/6 therefore ensures
Since the exponential factor is at most 1 and C0a/n≤η, this also gives ρ≤η.
Proof of Theorem D(ii). We first obtain an error bound whenever 0<η≤1/10 and 0≤ρ≤η. Lemma 10 supplies the latter condition for the choice made below. Recall that q=(1+η)α and that the expected nullity is m(η+ρ). Dividing this by N gives α(η+ρ), the argument of the second entropy term in (24). Subtracting that lower bound for log2Tn,d from log2Qn,d≤NH2(α)+1 gives
where the additional 1 has been included in the O-term. We need to bound these entropy terms together. The leading terms arising from the additional ηm columns will cancel.
Here we kept the term involving a separate and used η≤η+ρ≤2η for the remaining term. The last inequality follows from η≤1/10, which gives ln(1/η)≥1. Subtracting the lower bound for H2(q)−H2(α) from this upper bound cancels ηαa/ln2. It gives
To obtain the relative logarithmic error, we divide by log2Qn,d. Subsection 5.2.2 gives
log2Qn,d≥2Λ≥2cm(a+1),Λ=NH2(α),
for a fixed absolute constant c>0. Since Nα=m, the entropy terms therefore contribute at most
(c/2)m(a+1)Km{ρa+ηln(1/η)}≤c2K{ρ+a+1ηln(1/η)}.
We used a/(a+1)≤1 in the last step. The same subsection established (mn2/2d+n)/Λ≤e−c′n for a fixed absolute constant c′>0 and all sufficiently large n. Since log2Qn,d≥Λ/2, the remaining O-term, divided by log2Qn,d, is O(e−c′n). Hence
En,d≤c2K{ρ+a+1ηln(1/η)}+O(e−c′n).(35)
We now choose η to make ρ=O(1/n). The bound in Lemma 10 has prefactor C0a/n, so making its exponential factor at most 1/(a+2) will suffice. Set
η=Bnaln(a+2),
where B is a fixed absolute constant satisfying Bln2≥max{C0,1} and μB≥1. Since ln(a+2)≥ln2, these choices ensure η≥C0a/n and η≥a/n. The theorem assumes (a/n)ln(a+2)≤δ1. Choose
δ1≤min{1/(10B),δ0ln2}.
Then η≤Bδ1≤1/10 and a/n≤δ1/ln(a+2)≤δ0. Lemma 10 therefore applies. Our choice of η gives e−μnη/a=(a+2)−μB, and hence
ρ≤C0n(a+2)μBa≤nC0a+2a≤nC0.
Also, η≥a/n implies ln(1/η)≤ln(n/a), while
a+1η=nBa+1aln(a+2)≤nBln(a+2).
Substituting these bounds into (35) gives
En,d≤cn2K{C0+Bln(a+2)ln(n/a)}+O(e−c′n).
For all sufficiently large n, the absolute value of the exponentially small term is at most 1/n. Choose the theorem's constant C to be at least 2KC0/c+1 and 2KB/c, and also large enough for part (i). We obtain
En,d≤nC{1+ln(a+2)ln(n/a)}.
☐
Declaration of generative AI use
Anthropic’s Claude and OpenAI’s ChatGPT were used to assist with literature research, mathematical checking, and revisions of the proofs and exposition. The author takes full responsibility for the contents of the paper.
References
[1] Emmanuel Abbe, Amir Shpilka and Avi Wigderson, Reed–Muller codes for random erasures and errors, IEEE Transactions on Information Theory 61 (2015), 5229–5252.
[2] Martin Anthony, Classification by polynomial surfaces, Discrete Applied Mathematics 61 (1995), 91–103.
[3] Martin Anthony, Discrete Mathematics of Neural Networks: Selected Topics, SIAM Monographs on Discrete Mathematics and Applications 8, SIAM, Philadelphia, 2001.
[4] Martin Anthony, Almost every Boolean function has central threshold degree, arXiv:2610.15057v2, 2026.
[5] Pierre Baldi, Neural networks, orientations of the hypercube, and algebraic threshold functions, IEEE Transactions on Information Theory 34(3) (1988), 523–530.
[6] Pierre Baldi and Roman Vershynin, Polynomial threshold functions, hyperplane arrangements, and random tensors, SIAM Journal on Mathematics of Data Science 1 (2019), 699–729.
[7] Siddharth Bhandari, Prahladh Harsha, Ramprasad Saptharishi and Srikanth Srinivasan, Vanishing spaces of random sets and applications to Reed–Muller codes, in 37th Computational Complexity Conference (CCC 2022), Leibniz International Proceedings in Informatics 234, 31:1–31:14.
[8] Claude Carlet, Boolean Functions for Cryptography and Coding Theory, Cambridge University Press, 2021.
[9] Thomas M. Cover, Geometrical and statistical properties of systems of linear inequalities with applications in pattern recognition, IEEE Transactions on Electronic Computers EC-14 (1965), 326–334.
[10] Thomas M. Cover and Joy A. Thomas, Elements of Information Theory, second edition, Wiley, 2006.
[11] William Feller, An Introduction to Probability Theory and Its Applications, Volume I, third edition, John Wiley & Sons, New York, 1968.
[12] A. A. Irmatov, Arrangements of hyperplanes and the number of threshold functions, Acta Applicandae Mathematicae 68 (2001), 211–226.
[13] Anwar Irmatov, A lower bound of the number of threshold functions in terms of combinatorial flags on the Boolean cube, arXiv:1811.10087, 2018.
[14] Jeff Kahn, János Komlós and Endre Szemerédi, On the probability that a random ±1-matrix is singular, Journal of the American Mathematical Society 8 (1995), 223–240.
[15] Shrinivas Kudekar, Santhosh Kumar, Marco Mondelli, Henry D. Pfister, Eren Şaşoğlu and Rüdiger Urbanke, Reed–Muller codes achieve capacity on erasure channels, IEEE Transactions on Information Theory 63(7) (2017), 4298–4316.
[16] Kyle Luh, Linear independence of random Boolean tensor powers at the dimension threshold, arXiv:2609.23858v3, 2026.
[17] Ryan O'Donnell, Analysis of Boolean Functions, Cambridge University Press, 2014. Section 10.3, equation (10.8), is cited from the May 2021 edition, arXiv:2105.10386, p. 295.
[18] A. M. Odlyzko, On subspaces spanned by random selections of ±1 vectors, Journal of Combinatorial Theory, Series A 47 (1988), 124–133.
[19] Henry D. Pfister and Galen Reeves, From Symmetry to Capacity: Nested Codes on Binary Memoryless Symmetric Channels, arXiv:2504.15394v2, 2025, revised 3 September 2026.
[20] Michael E. Saks, Slicing the hypercube, in K. Walker (ed.), Surveys in Combinatorics, 1993, London Mathematical Society Lecture Note Series 187, Cambridge University Press, 1993, 211–256.
[21] Ori Sberlo and Amir Shpilka, On the performance of Reed–Muller codes with respect to random errors and erasures, in Proceedings of the 2020 ACM–SIAM Symposium on Discrete Algorithms (SODA), 2020, 1357–1376. The result numbers cited here refer to the full version arXiv:1811.12447v1.
[22] Chi Wang and A. C. Williams, The threshold order of a Boolean function, Discrete Applied Mathematics 31 (1991), 51–69.
[23] Robert O. Winder, Partitions of n-space by hyperplanes, SIAM Journal on Applied Mathematics 14 (1966), 811–818.
[25] Yu. A. Zuev, Asymptotics of the logarithm of the number of threshold functions of the algebra of logic, Soviet Mathematics Doklady 39 (1989), 512–513.
[26] Yu. A. Zuev, Combinatorial-probability and geometric methods in threshold logic, Discrete Mathematics and Applications 2 (1992), 427–438.