Complexitylib: a blueprint for computational complexity in Lean

13 Analysis of Boolean functions

This chapter covers the Fourier analysis of Boolean functions, following O’Donnell’s Analysis of Boolean Functions. These tools are aimed at small-depth circuit lower bounds and at property testing. Two parts are used elsewhere in the library: the BLR soundness theorem is used by the Hadamard tester in the PCP development, and Korten’s developments of Section 13.11 feed the top-down parity lower bounds of Section 8.12. Everything formalized here lives in Complexitylib.BooleanAnalysis: the FourierExpansion surface (with FourierExpansion.Defs and FourierExpansion.Internal), the PolynomialCorrelation development, and Korten’s HarmonicMean, Bernoulli, LightPatterns, Fibers, CoordinateSampling, and MirrorSets modules. The following Fourier results are formalized: the parity basis, the Fourier expansion, Plancherel and Parseval, the degree decomposition, the BLR linearity test with soundness and local correction, the spectral definitions and basic identities of noise stability, noise sensitivity, the noise operator, derivatives, and influence (O’Donnell, Chapter 1 and parts of Chapter 2), the reading of influence as the probability of a pivotal flip, and the one-bit base case of the Bonami inequality. The correlated-input readings of the noise quantities, monotone functions, \(L^p\) norms, and hypercontractivity are not yet formalized. Hypercontractivity is the main open direction: its tensorization step is what the level-1 inequality, FKN, KKL, and Friedgut’s junta theorem all need. The Linial–Mansour–Nisan concentration bound for \(\mathsf{AC^0}\) needs instead the Fourier degree bound for decision trees and a Fourier-side restriction API.

Section 13.10 also formalizes the exponential correlation bound for XOR of majorities against low-degree binary polynomials. Its proof uses finite interpolation and dimension counting independently of the Fourier infrastructure. Section 13.12 integrates OpenAI’s Gotsman–Linial average-sensitivity bound with the canonical influence API, including multilinearization and spectral noise and tail consequences. Section 13.11 develops Korten’s harmonic mean transform, including its variational formula and the analytic inequality used in his top-down parity lower bound.

Conventions.

The cube is \(\mathbb {F}_2^n\), written Cube n = Fin n -> ZMod 2. The encoding is \(\chi (0) = 1\), \(\chi (1) = -1\), so bit \(0\) is the value \(+1\) in O’Donnell’s \(\{ -1,1\} ^n\) picture. “Boolean-valued” always means \(\{ -1,1\} \)-valued. Noise stability, the noise operator, noise sensitivity, the derivative, and the influences are all defined spectrally. Some combinatorial readings are theorems: influence is the probability that flipping a coordinate changes a Boolean-valued function, and the derivative is a twisted pointwise difference (Theorems 1195 and 1196). The correlated-input readings of the noise quantities are planned (Proposition 1191).

13.1 The cube and the Fourier basis

\(\mathrm{BooleanFunction}(n)\) is the real vector space of functions \(f : \mathbb {F}_2^n \to \mathbb {R}\). Its inner product space structure comes from the uniform-measure inner product \(\langle f, g \rangle = 2^{-n} \sum _x f(x) g(x)\). The uniform expectation \(\mathbb {E}[f]\) is the average of \(f\) over the cube, so \(\mathbb {E}[f] = 2^{-n} \sum _x f(x)\) and \(\langle f, g \rangle = \mathbb {E}_x[f(x) g(x)]\). The type is a def rather than an abbrev, so the \(L^2\) norm does not clash with Mathlib’s sup norm on function types.

\(\chi : \mathbb {F}_2 \to \mathbb {R}\) sends \(b \mapsto (-1)^b\). For \(S \subseteq [n]\), the parity function is \(\chi _S(x) = \prod _{i \in S} \chi (x_i)\), so \(\chi _\emptyset = 1\). A function is Boolean-valued if every value is \(1\) or \(-1\).

\(\langle \chi _S, \chi _T \rangle = [S = T]\) and \(\mathbb {E}[\chi _S] = [S = \emptyset ]\). Moreover, \(\chi _S \chi _T = \chi _{S \triangle T}\) pointwise, \(\chi _S(x + y) = \chi _S(x) \chi _S(y)\), every \(\chi _S\) is Boolean-valued, and \(S \mapsto \chi _S\) is injective.

Proof ▶

If \(j \in S\), translating by the unit vector \(e_j\) permutes the cube and negates \(\chi _S\), so \(\sum _x \chi _S(x) = -\sum _x \chi _S(x) = 0\). Orthonormality then follows from \(\chi _S \chi _T = \chi _{S \triangle T}\), since \(S \triangle T = \emptyset \) iff \(S = T\).

The Fourier coefficient of \(f\) on \(S\) is \(\widehat{f}(S) = \langle f, \chi _S \rangle \), and its Fourier weight is \(\widehat{f}(S)^2\). The weight at degree \(k\) is \(W^k[f] = \sum _{|S| = k} \widehat{f}(S)^2\).

Every \(f : \mathbb {F}_2^n \to \mathbb {R}\) satisfies \(f(x) = \sum _S \widehat{f}(S) \chi _S(x)\), so the parities span. The coefficients are unique: if \(f = \sum _S c_S \chi _S\) pointwise, then \(c_S = \widehat{f}(S)\) for all \(S\). In particular, two functions are equal iff all their Fourier coefficients agree, and \(f = 0\) iff every coefficient vanishes.

Proof ▶

Substituting \(\widehat{f}(S) = 2^{-n} \sum _y f(y) \chi _S(y)\) and \(\chi _S(y)\chi _S(x) = \chi _S(x + y)\) gives \(\sum _S \widehat{f}(S)\chi _S(x) = 2^{-n} \sum _y f(y) \sum _S \chi _S(x + y)\), and \(\sum _S \chi _S(z)\) is \(2^n\) at \(z = 0\) and \(0\) elsewhere. Uniqueness comes from taking inner products with each \(\chi _T\). Two functions with the same coefficients have the same expansion.

\(\langle f, g \rangle = \sum _S \widehat{f}(S) \widehat{g}(S)\) and \(\lVert f \rVert _2^2 = \langle f, f \rangle = \sum _S \widehat{f}(S)^2\). If \(f\) is Boolean-valued, then \(\sum _S \widehat{f}(S)^2 = 1\), so \(|\widehat{f}(S)| \le 1\) for every \(S\).

Proof ▶

The parities are orthonormal and span, so they form an orthonormal basis, and Plancherel is Parseval’s identity for that basis. For Boolean-valued \(f\), \(\langle f, f \rangle = \mathbb {E}[f^2] = 1\).

\(\mathrm{Var}[f] = \mathbb {E}[f^2] - \mathbb {E}[f]^2\) and \(\mathrm{Cov}[f,g] = \mathbb {E}[fg] - \mathbb {E}[f]\mathbb {E}[g]\). The uniform probability of a predicate \(P\) is \(\Pr [P] = \mathbb {E}[1_P]\), where \(1_P\) is the \(0\)–\(1\) indicator of \(P\), and the relative Hamming distance is \(\mathrm{dist}(f,g) = \Pr _x[f(x) \neq g(x)]\).

\(\mathbb {E}[f] = \widehat{f}(\emptyset )\), \(\mathrm{Var}[f] = \sum _{S \neq \emptyset } \widehat{f}(S)^2\), and \(\mathrm{Cov}[f,g] = \sum _{S \neq \emptyset } \widehat{f}(S)\widehat{g}(S)\). For Boolean-valued \(f\) and \(g\), \(\mathrm{Var}[f] = 1 - \mathbb {E}[f]^2\) and \(\langle f, g \rangle = 1 - 2\, \mathrm{dist}(f,g)\).

Proof ▶

Take \(\chi _\emptyset = 1\) in the definition of \(\widehat{f}(\emptyset )\), then apply Plancherel and split off the empty set. For Boolean-valued functions, \(f^2 = 1\) pointwise, and \(f(x) g(x)\) is \(1\) where \(f\) and \(g\) agree and \(-1\) where they differ.

Every \(f\) has \(\mathrm{Var}[f] \ge 0\). If \(f\) is Boolean-valued, then \(\mathrm{Var}[f] = 4 \Pr [f = 1] \Pr [f = -1]\) and \(0 \le \mathrm{Var}[f] \le 1\). Moreover, with \(\varepsilon = \min (\mathrm{dist}(f, 1), \mathrm{dist}(f, -1))\), the distance to the nearer constant function, \(2\varepsilon \le \mathrm{Var}[f] \le 4\varepsilon \).

Proof ▶

The variance is a sum of squared Fourier coefficients. For Boolean-valued \(f\), let \(p = \Pr [f = 1]\) and \(q = \Pr [f = -1]\). Then \(p + q = 1\) and \(\mathbb {E}[f] = p - q\), so \(\mathrm{Var}[f] = 1 - (p - q)^2 = 4pq\). Also \(\mathrm{dist}(f, 1) = q\) and \(\mathrm{dist}(f, -1) = p\), and \(2\min (p,q) \le 4pq \le 4\min (p,q)\).

The convolution is \((f * g)(x) = \mathbb {E}_y[f(y)\, g(x + y)]\). A density is a nonnegative \(\varphi \) with \(\mathbb {E}[\varphi ] = 1\). The density of a nonempty set \(A\) is \(\varphi _A = 1_A / \mathbb {E}[1_A]\). For \(A = \emptyset \) the Lean definition divides by zero and returns the zero function, so theorems about \(\varphi _A\) assume \(A\) is nonempty.

\(\widehat{f * g}(S) = \widehat{f}(S)\, \widehat{g}(S)\). The convolution of two densities is a density. For nonempty \(A\), \(\varphi _A\) is a density and \(\widehat{\varphi _A}(S) = |A|^{-1} \sum _{x \in A} \chi _S(x)\). In particular, \(\varphi _{\{ 0\} } = \sum _S \chi _S\), and every Fourier coefficient of \(\varphi _{\{ 0\} }\) is \(1\).

Proof ▶

Substitute \(x = y + z\) and use \(\chi _S(y + z) = \chi _S(y)\chi _S(z)\). The density claims follow by exchanging the two averages in \(\mathbb {E}[\varphi * \psi ]\) and by computing \(\mathbb {E}[1_A] = |A|/2^n\).

13.2 Degree structure

The degree-\(k\) part of \(f\) is \(f^{=k} = \sum _{|S| = k} \widehat{f}(S) \chi _S\), and \(f^{\le k} = \sum _{|S| \le k} \widehat{f}(S) \chi _S\). The weight above degree \(k\) is \(W^{{\gt}k}[f] = \sum _{|S| {\gt} k} \widehat{f}(S)^2\). The degree of \(f\) is \(\max \{ |S| : \widehat{f}(S) \neq 0\} \), valued in \(\mathbb {N} \cup \{ \bot \} \) with \(\bot \) for \(f = 0\). For Boolean-valued \(f\), the spectral sample is the probability distribution \(S \mapsto \widehat{f}(S)^2\) on subsets of \([n]\).

\(f = \sum _{k=0}^{n} f^{=k}\) and \(\widehat{f^{=k}}(T) = [|T| = k]\, \widehat{f}(T)\). For \(j \neq k\) the parts \(f^{=j}\) and \(g^{=k}\) are orthogonal. Also \(\lVert f^{=k} \rVert _2^2 = W^k[f]\), \(\sum _{k=0}^n W^k[f] = \langle f, f \rangle \) (which is \(1\) for Boolean-valued \(f\)), \(f^{\le k} = \sum _{j \le k} f^{=j}\), and \(\langle f^{\le k}, f^{\le k} \rangle = \sum _{j \le k} W^j[f]\). Finally, \(f^{=0}\) is the constant \(\mathbb {E}[f]\), \(\mathrm{Var}[f] = \sum _{k=1}^n W^k[f]\), and \(\deg f \le n\).

Proof ▶

Regroup the Fourier expansion and Parseval’s sum by \(|S|\). The projection \(f^{=k}\) keeps exactly the coefficients with \(|S| = k\).

13.3 Linearity testing

\(f\) is linear if \(f = \chi _S\) for some \(S\). It is multiplicative if \(f(x + y) = f(x) f(y)\) for all \(x, y\). It is \(\varepsilon \)-close to \(g\) if \(\mathrm{dist}(f, g) \le \varepsilon \), and \(\varepsilon \)-close to a property \(P\) if it is \(\varepsilon \)-close to some \(g\) satisfying \(P\). The BLR acceptance probability is \(\Pr _{x,y}[f(x) f(y) = f(x + y)]\) for independent uniform \(x\) and \(y\).

Theorem 1184 Linear iff multiplicative
✓

A Boolean-valued \(f\) is linear if and only if it is multiplicative.

Proof ▶

A multiplicative \(\pm 1\)-valued function is a character of \(\mathbb {F}_2^n\). Take \(S = \{ i : f(e_i) = -1\} \) and write each \(x\) as a sum of unit vectors.

For Boolean-valued \(f\), the BLR test accepts with probability \(\frac{1}{2} + \frac{1}{2} \sum _S \widehat{f}(S)^3\). A linear \(f\) is accepted with probability \(1\).

Proof ▶

The acceptance probability is \(\frac{1}{2} + \frac{1}{2} \langle f, f * f \rangle \). Then apply the convolution theorem.

Theorem 1186 BLR soundness
✓

If a Boolean-valued \(f\) passes the BLR test with probability at least \(1 - \varepsilon \), then \(f\) is \(\varepsilon \)-close to linear.

Proof ▶

Bound \(\sum _S \widehat{f}(S)^3 \le \max _S \widehat{f}(S)\) using Parseval, and convert the largest coefficient to a distance with \(\langle f, \chi _S \rangle = 1 - 2\, \mathrm{dist}(f, \chi _S)\).

Proposition 1187 Local correction
✓

If a real-valued \(f\) on \(\{ 0,1\} ^n\) is \(\varepsilon \)-close to \(\chi _S\) (it differs from \(\chi _S\) on at most an \(\varepsilon \) fraction of inputs), then for every \(x\), \(\Pr _y[f(y) f(x + y) = \chi _S(x)] \ge 1 - 2\varepsilon \). No Boolean-valuedness is needed.

Proof ▶

\(y\) and \(x + y\) are each uniform. Apply a union bound to the two events where \(f\) disagrees with \(\chi _S\).

13.4 Noise

All four are defined spectrally, for \(\rho \in \mathbb {R}\):

  • \(\mathrm{Stab}_\rho [f] = \sum _S \rho ^{|S|} \widehat{f}(S)^2\);

  • \(\mathrm{Stab}_\rho [f,g] = \sum _S \rho ^{|S|} \widehat{f}(S)\widehat{g}(S)\);

  • the noise (Bonami–Beckner) operator \(T_\rho f = \sum _S \rho ^{|S|} \widehat{f}(S) \chi _S\);

  • \(\mathrm{NS}_\rho [f] = (\langle f, f \rangle - \mathrm{Stab}_\rho [f])/2\).

\(\widehat{T_\rho f}(S) = \rho ^{|S|} \widehat{f}(S)\), \(T_1 f = f\), and \(T_0 f = \mathbb {E}[f] \cdot 1\). Also \(\mathrm{Stab}_\rho [f] = \langle f, T_\rho f \rangle \) and \(\mathrm{Stab}_\rho [f,g] = \langle f, T_\rho g \rangle \). The bilinear form is symmetric, restricts to \(\mathrm{Stab}_\rho [f]\) on the diagonal, and equals \(\langle f, g \rangle \) at \(\rho = 1\). Combining symmetry with \(\mathrm{Stab}_\rho [f,g] = \langle f, T_\rho g \rangle \) shows that \(T_\rho \) is self-adjoint; this corollary is not stated as a separate declaration.

Proof ▶

Read off coefficients using orthonormality, then apply Plancherel. The identities for \(T_1\) and \(T_0\) compare Fourier coefficients.

\(\mathrm{Stab}_\rho [f] = \sum _{k=0}^n \rho ^k W^k[f]\). Moreover \(\mathrm{Stab}_1[f] = \langle f, f \rangle \), \(\mathrm{Stab}_0[f] = \mathbb {E}[f]^2\), and \(\mathrm{NS}_1[f] = 0\). For \(\rho \ge 0\), \(0 \le \mathbb {E}[f]^2 \le \mathrm{Stab}_\rho [f]\). On \(0 \le \rho _1 \le \rho _2\), \(\mathrm{Stab}_{\rho _1}[f] \le \mathrm{Stab}_{\rho _2}[f]\) and \(\mathrm{NS}_{\rho _2}[f] \le \mathrm{NS}_{\rho _1}[f]\). For \(\rho \in [0,1]\), \(\mathrm{Stab}_\rho [f] \le \langle f, f \rangle \) (so \(\mathrm{Stab}_\rho [f] \le 1\) for Boolean-valued \(f\)) and \(\mathrm{NS}_\rho [f] \ge 0\). Always, \(\mathrm{Stab}_\rho [f] + 2\, \mathrm{NS}_\rho [f] = \langle f, f \rangle \).

Proof ▶

Term-by-term comparison of the spectral sums.

Proposition 1191 Correlated-input form of noise

Let \(y \sim N_\rho (x)\) mean that each \(\chi (y_i)\) independently equals \(\chi (x_i)\) with probability \(\frac{1+\rho }{2}\) and is flipped otherwise, for \(\rho \in [-1,1]\). Then \(T_\rho f(x) = \mathbb {E}_{y \sim N_\rho (x)}[f(y)]\) and \(\mathrm{Stab}_\rho [f] = \mathbb {E}_{x,\, y \sim N_\rho (x)}[f(x) f(y)]\). In particular, for Boolean-valued \(f\) and \(\delta \in [0,1]\), \(\mathrm{NS}_{1-2\delta }[f] = \Pr [f(x) \neq f(y)]\) when each bit is flipped independently with probability \(\delta \).

Proof ▶

Compute \(\mathbb {E}_{y \sim N_\rho (x)}[\chi _S(y)] = \rho ^{|S|}\chi _S(x)\) and extend by linearity. The first step is to define the product distribution \(N_\rho (x)\) as a finite weighted average.

13.5 Influence and derivatives

Definition 1192 Influence and total influence
✓

Spectrally, \(\mathrm{Inf}_i[f] = \sum _{S \ni i} \widehat{f}(S)^2\) and \(\mathbf{I}[f] = \sum _S |S|\, \widehat{f}(S)^2\).

\(\mathbf{I}[f] = \sum _i \mathrm{Inf}_i[f] = \sum _{k=0}^n k\, W^k[f]\). Each influence satisfies \(0 \le \mathrm{Inf}_i[f] \le \mathbf{I}[f]\) and \(\mathrm{Inf}_i[f] \le \langle f, f \rangle \), which is \(1\) for Boolean-valued \(f\). Also \(\mathbf{I}[f] \le n \langle f, f \rangle \), which is \(n\) for Boolean-valued \(f\). If every coefficient on sets of size greater than \(d\) vanishes, then \(\mathbf{I}[f] \le d \langle f, f\rangle \), hence \(\mathbf{I}[f] \le d\) for Boolean-valued \(f\). For parities, \(\mathbf{I}[\chi _S] = |S|\) and \(\mathrm{Inf}_i[\chi _S] = [i \in S]\).

Proof ▶

Exchange the sums over \(i\) and \(S\), and bound \(|S|\) by \(n\) or \(d\).

\(x^{\oplus i}\) flips coordinate \(i\) of \(x\). This is an involutive equivalence of the cube. The derivative is defined spectrally: \(D_i f = \sum _{S \ni i} \widehat{f}(S)\, \chi _{S \setminus \{ i\} }\). The sensitivity operator is \(L_i f(x) = (f(x) - f(x^{\oplus i}))/2\). These are different operators: by Theorem 1195, \(D_i\) removes \(i\) from each frequency, while \(L_i\) keeps only the frequencies that contain \(i\).

The flip preserves expectations, \(\mathbb {E}_x[g(x^{\oplus i})] = \mathbb {E}[g]\), and \(\chi _S(x^{\oplus i}) = (-1)^{[i \in S]} \chi _S(x)\). Precomposing with the flip gives \(\widehat{f \circ \oplus _i}(T) = (-1)^{[i \in T]} \widehat{f}(T)\). Moreover \(\widehat{D_i f}(T) = [i \notin T]\, \widehat{f}(T \cup \{ i\} )\) and \(\widehat{L_i f}(T) = [i \in T]\, \widehat{f}(T)\). Hence \(\mathrm{Inf}_i[f] = \lVert D_i f \rVert _2^2 = \lVert L_i f \rVert _2^2\) and \(L_i f = \chi _{\{ i\} } \cdot D_i f\).

Proof ▶

The flip is measure-preserving and negates exactly the parities containing \(i\). Then apply Parseval, and compare Fourier coefficients for \(L_i f = \chi _{\{ i\} } \cdot D_i f\).

For Boolean-valued \(f\), \(\mathrm{Inf}_i[f] = \Pr _x[f(x) \neq f(x^{\oplus i})]\) and \(\mathbf{I}[f] = \mathbb {E}_x\bigl[\# \{ i : f(x) \neq f(x^{\oplus i})\} \bigr]\). The Lean statements write the probability as the expectation of the \(0\)–\(1\) indicator.

Proof ▶

For Boolean-valued \(f\), \((L_i f)^2\) is the indicator that \(i\) is pivotal at \(x\).

Theorem 1197 Poincaré inequality
✓

\(\mathrm{Var}[f] \le \mathbf{I}[f]\) for every \(f : \mathbb {F}_2^n \to \mathbb {R}\).

Proof ▶

Every nonempty \(S\) has \(|S| \ge 1\).

For \(\rho \in [0,1]\), \(\langle f, f \rangle - \mathrm{Stab}_\rho [f] \le (1 - \rho )\, \mathbf{I}[f]\). Equivalently, \(\mathrm{NS}_\rho [f] \le \frac{1-\rho }{2}\, \mathbf{I}[f]\).

Proof ▶

Use \(1 - \rho ^k \le (1 - \rho ) k\) term by term.

\(\widehat{f}(\{ i\} )^2 \le \mathrm{Inf}_i[f]\) and \(\sum _i \widehat{f}(\{ i\} )^2 = W^1[f] \le \mathbf{I}[f]\). These are not the hypercontractive level-1 inequality of Theorem 1208.

Proof ▶

The singletons are exactly the sets of size \(1\). Each inequality drops nonnegative terms from a spectral sum.

13.6 Monotone functions

Definition 1200 Monotone functions

Order the cube coordinatewise by the values \(\chi (x_i) \in \{ -1, 1\} \). So \(x \le y\) iff \(y\) is obtained from \(x\) by changing some coordinates from \(1\) to \(0\). A function \(f\) is monotone if \(x \le y\) implies \(f(x) \le f(y)\). This is O’Donnell’s order on \(\{ -1,1\} ^n\). It is the reverse of the bitwise order on \(\mathbb {F}_2^n\), and the Lean definition must record the choice explicitly. The circuit library’s IsMonotoneBoolFun is a different notion: monotonicity of \(\{ 0,1\} \)-valued functions on bit strings in the bitwise order.

Theorem 1201 Influences of monotone functions

If \(f\) is Boolean-valued and monotone, then \(\mathrm{Inf}_i[f] = \widehat{f}(\{ i\} )\) for every \(i\), and \(\mathbf{I}[f] \le \sqrt{n}\).

Proof ▶

\(\widehat{f}(\{ i\} ) = \mathbb {E}[f(x)\chi (x_i)]\). By monotonicity this equals the probability that \(i\) is pivotal. For the second claim, apply Cauchy–Schwarz to \(\sum _i \widehat{f}(\{ i\} )\) and use \(W^1[f] \le 1\).

Theorem 1202 Margulis–Russo formula

Let \(\mu _p\) be the product measure on the cube in which each coordinate independently has \(\chi (x_i) = 1\) with probability \(p\). For monotone Boolean-valued \(f\), \(\frac{d}{dp} \mu _p(f = 1) = \sum _i \Pr _{x \sim \mu _p}[f(x) \neq f(x^{\oplus i})]\).

Proof ▶

Differentiate the multilinear polynomial \(p \mapsto \mu _p(f = 1)\) one coordinate at a time. The first step is a \(p\)-biased expectation, which the library does not yet have (it has only the uniform measure).

13.7 Hypercontractivity

Lemma 1203 Bonami base case
✓

For all real \(a, b\), \(\frac{1}{2}\bigl((a + b/\sqrt{3})^4 + (a - b/\sqrt{3})^4\bigr) \le (a^2 + b^2)^2\). Read on one bit, this says \(\lVert T_{1/\sqrt{3}} f \rVert _4^4 \le \lVert f \rVert _2^4\) for \(f(x) = a + bx\). The Lean statement is only the real inequality; the library has no \(L^4\) norm or one-bit noise operator.

Proof ▶

Expand. The slack is \(8b^4/9 \ge 0\).

Definition 1204 \(L^p\) norms

For real \(p \ge 1\), \(\lVert f \rVert _p = \mathbb {E}[|f|^p]^{1/p}\) under the uniform measure. It should agree with the existing \(L^2\) norm at \(p = 2\) and satisfy Hölder’s inequality.

Theorem 1205 \((2,4)\)-hypercontractivity

For every \(n\) and every \(f : \mathbb {F}_2^n \to \mathbb {R}\), \(\lVert T_{1/\sqrt{3}} f \rVert _4 \le \lVert f \rVert _2\).

Proof ▶

Induct on \(n\). Write \(f = g + x_n h\), where \(g\) and \(h\) do not depend on \(x_n\). Apply the base case pointwise, then the induction hypothesis to \(g\) and \(h\), with Cauchy–Schwarz. The noise operator factors as a product of one-bit operators, so a coordinate-restriction API for \(T_\rho \) is needed first.

Corollary 1206 Bonami lemma

If \(f\) has degree at most \(k\), then \(\lVert f \rVert _4 \le \sqrt{3}^{\, k}\, \lVert f \rVert _2\).

Proof ▶

Apply the theorem to \(T_{\sqrt{3}} f\), whose coefficients are at most \(\sqrt{3}^{\, k}\) times those of \(f\).

Corollary 1207 Dual \((4/3, 2)\)-hypercontractivity

\(\lVert T_{1/\sqrt{3}} f \rVert _2 \le \lVert f \rVert _{4/3}\) for every \(f\).

Proof ▶

\(T_{1/\sqrt{3}}\) is self-adjoint, and \(4/3\) and \(4\) are Hölder conjugates.

13.8 Consequences of hypercontractivity

Theorem 1208 Level-1 inequality

If \(f : \mathbb {F}_2^n \to \{ 0, 1\} \) has mean \(\alpha \le 1/2\), then \(W^1[f] \le O(\alpha ^2 \log (1/\alpha ))\).

Proof ▶

Let \(\ell = f^{=1}\). Bound \(W^1[f] = \langle f, \ell \rangle \) by splitting on whether \(|\ell |\) exceeds a threshold. The tail is controlled by hypercontractive concentration of the linear form \(\ell \).

Theorem 1209 Friedgut–Kalai–Naor

If \(f\) is Boolean-valued and \(W^1[f] \ge 1 - \delta \), then \(f\) is \(O(\delta )\)-close to \(\chi _{\{ i\} }\) or to \(-\chi _{\{ i\} }\) for some \(i\).

Proof ▶

\(\ell = f^{=1}\) has \(\ell ^2\) close to \(1\) in \(L^2\). The Bonami lemma applied to the degree-2 polynomial \(\ell ^2 - 1\) forces one coefficient of \(\ell \) to dominate.

There is an absolute constant \(c {\gt} 0\) such that for every \(n \ge 1\), every Boolean-valued \(f : \mathbb {F}_2^n \to \mathbb {R}\) has a coordinate \(i\) with \(\mathrm{Inf}_i[f] \ge c \cdot \mathrm{Var}[f] \cdot \frac{\log n}{n}\).

Proof ▶

Apply the \((4/3, 2)\) bound to each \(D_i f\). For Boolean-valued \(f\), \(\lVert D_i f \rVert _{4/3}^{4/3} = \mathrm{Inf}_i[f]\), which gives \(\sum _i \mathrm{Stab}_{1/3}[D_i f] \le \sum _i \mathrm{Inf}_i[f]^{3/2}\). Compare with the low-degree part of \(\mathbf{I}[f]\).

Theorem 1211 Friedgut’s junta theorem

Call \(g\) a \(k\)-junta if it depends on at most \(k\) coordinates. For every Boolean-valued \(f\) and \(0 {\lt} \varepsilon \le 1\), \(f\) is \(\varepsilon \)-close to a Boolean-valued \(2^{O(\mathbf{I}[f]/\varepsilon )}\)-junta.

Proof ▶

Let \(J\) be the coordinates with influence above \(2^{-O(\mathbf{I}[f]/\varepsilon )}\). Hypercontractivity bounds the Fourier weight outside \(J\) and above degree \(O(\mathbf{I}[f]/\varepsilon )\). Round the restriction of \(f\) to \(J\) to \(\pm 1\). The junta predicate has to be defined first.

13.9 Fourier concentration of constant-depth circuits

These nodes connect this chapter to the circuit lower-bound chapter. The Linial–Mansour–Nisan argument consumes the switching lemma formalized there (random restrictions collapse small-depth circuits to shallow decision trees), together with the fact that a shallow decision tree has low Fourier degree. Nothing in this section is formalized yet.

Definition 1212 Real-valued view of a Boolean function on bit strings

Every \(F : \{ 0,1\} ^n \to \{ 0,1\} \) on bit strings determines the Boolean-valued function \(x \mapsto \chi (F(x))\) on the cube. This must be a public bridge. The PCP development has only a related map, Complexity.signOf in an internal module, which sends an \(\mathbb {F}_2\)-valued function on the cube to its \(\pm 1\) encoding. It does not act on bit strings.

Theorem 1213 Decision trees have low degree

If \(F\) is computed by a decision tree of depth \(t\), then the real-valued view of \(F\) has degree at most \(t\).

Proof ▶

\(F\) is a sum over leaves of the leaf label times the indicator of the path. The indicator of a depth-\(t\) path is a product of \(t\) functions \((1 \pm \chi (x_i))/2\).

Suppose \(F\) is computed by an unbounded fan-in AND/OR circuit with negations of size \(s\) and depth \(d\). Then its real-valued view satisfies \(W^{{\gt}k}[F] \le s \cdot 2^{-\Omega (k^{1/d})}\) for every \(k\).

Proof ▶

Relate \(W^{{\gt}k}[F]\) to the expected high-degree weight of a random restriction of \(F\). The restriction formula is \(\widehat{F_{J \mid z}}(S) = \sum _{T \subseteq \bar J} \widehat{F}(S \cup T)\chi _T(z)\). By the switching lemma, the restricted circuit is a shallow decision tree with high probability. A Fourier-side restriction API on the cube is needed first.

Corollary 1215 Parity is not in \(\mathsf{AC^0}\), via LMN

For each fixed \(d\), every unbounded fan-in circuit of depth \(d\) computing the parity of \(n\) bits has size \(2^{\Omega (n^{1/d})}\). Håstad’s bound (Theorem 956) improves the exponent to \(n^{1/(d-1)}\).

Proof ▶

The real-valued view of parity is \(\chi _{[n]}\), whose entire Fourier weight sits at degree \(n\).

13.10 Exponential correlation bounds for binary polynomials

This section formalizes Theorem 1.1 and the finite estimate of Section 2.3 of Eshan Chattopadhyay, Pooya Hatami, Chin Ho Lee, Shachar Lovett, Avishay Tal, and Emanuele Viola, Exponential Correlation Bounds for Polynomials, arXiv:2609.28839v1 (2026). The improved numerical constant and the pseudorandom-generator applications in the appendices are not formalized here.

Set \(\ell =2m+1\). Inputs have \(k\) blocks of \(\ell \) bits, represented either by their true-coordinate subsets or by ordinary \(\mathbb F_2\) assignments. Write \(h_i(x)=[|x^{(i)}|{\gt}m]\) and \(H(x)=\sum _i h_i(x)\) in \(\mathbb F_2\). Define \(\operatorname {corr}(f,g)=|\mathbb E_x(-1)^{f(x)+g(x)}|\) for uniform \(x\), and \(N_{m,d}=\# \{ A\subseteq [\ell ]:|A|\le m{\lt}|A|+d\} \).

Let \(V_m\) span the squarefree monomials \(x^A\) with \(|A|\le m\). A product generator \(x^{\mathbf A}h^S\) has weight \((m+1)|S|+\sum _{i\notin S}|A_i|\), with each \(|A_i|\le m\). Let \(F_r\) be the span of generators of weight at most \(r\).

Every function on \(\{ x:|x|\le m\} \) has an interpolant in \(V_m\). Every function on an odd block is \(q+hr\) for some \(q,r\in V_m\).

Proof ▶

Restricted monomials span by triangular elimination on subset cardinality. Complementing coordinates handles the upper half of the cube.

Lemma 1219 Polynomial multiplication
✓

If \(f\in F_r\) and \(p\) has ordinary total degree at most \(d\), then \(pf\in F_{r+d}\).

Proof ▶

Reinterpolate a block when a variable reaches its middle level; use \(h_i^2=h_i\). Iterate over each monomial in the polynomial’s support.

Theorem 1220 Finite middle-band bound
✓

For every \(p\in \mathbb F_2[X_{i,j}]\) of total degree at most \(d\),

\[ \operatorname {corr}(H,p)\le \left(\frac{2N_{m,d}}{2^\ell }\right)^k. \]
Proof ▶

On \(E=\{ p=H\} \), eliminate a majority factor from a block with \(|A_i|+d\le m\), using induction on weight. Counting retained generators gives \(2|E|\le 2^{k\ell }+(2N_{m,d})^k\). Apply the same bound to \(p+1\).

For \(\ell =2m+1\) and every binary polynomial \(p\) of total degree at most \(d\),

\[ \operatorname {corr}(\mathrm{Maj}_\ell ^{\oplus k},p) \le \left(\frac{2d}{\sqrt\ell }\right)^k. \]

The formal statements include \(k=0\) and \(d=0\).

Proof ▶

Bound \(N_{m,d}\le d\binom \ell m\) and \(\binom \ell m\le 2^\ell /\sqrt\ell \). The latter follows from the elementary inductive inequality \((3m+1)\binom {2m}{m}^2\le 16^m\).

13.11 Harmonic means and top-down lower bounds

This section follows Oliver Korten, Top-Down Lower Bounds for All Depths, ECCC TR26-221 (2026), https://eccc.weizmann.ac.il/report/2026/221/. It formalizes the analytic core of Section 4, including the improved light-patterns lemma with its exact constants, and the resulting improved mirror-set argument. Section 8.12 completes the communication adversary and both lower bounds of Theorem 3. Here the cube is represented by Boolean functions on the coordinate type; a coordinate set is also represented by its Boolean membership function.

For nonnegative \(f\) on a nonempty finite set, its harmonic mean is \((\mathbb {E}_x f(x)^{-1})^{-1}\) if all entries are positive, and zero otherwise. On the Boolean cube, let \(f_R(z)=\mathbb {E}[f(x)\mid x_R=z]\). The harmonic transform is \(\breve f(R)=(\mathbb {E}_z f_R(z)^{-1})^{-1}\), with the same zero convention. Bernoulli coordinate expectations assign a mask \(R\) weight \(p^{|R|}(1-p)^{n-|R|}\).

The full-cube representation of a projection agrees with \(f_R(x_R)\). Its harmonic mean equals the harmonic mean over actual projected patterns, and \(\mathbb {E}_z f_R(z)=\mathbb {E}_x f(x)\). Bernoulli weights sum to one.

Proof ▶

Split the coordinates into \(R\) and its complement and factor the finite expectations. Each projected pattern has the same number of completions.

For every nonnegative function \(f\),

\[ \breve f(R)=\inf _{w\ge 0,\ \mathbb {E}w=1} \mathbb {E}_z[f_R(z)w(z)^2]. \]

The infimum is attained, including when a projected value is zero. The finite harmonic-mean version holds on any nonempty finite type.

Proof ▶

If a value vanishes, concentrate a normalized weight there. Otherwise, the reciprocal density gives an attaining weight; completing the square proves the matching lower bound for every admissible weight.

The map \(f\mapsto \breve f\) is pointwise concave on nonnegative functions. If \(R\subseteq S\), then \(\breve f(S)\le \breve f(R)\). Furthermore, \(0\le \breve f(R)\le \mathbb {E}f=\breve f(\varnothing )\), and \(\breve f([n])\) is the harmonic mean of \(f\).

Proof ▶

Use the variational minimum for concavity. For coordinate inclusion, induct on dimension using the arithmetic and harmonic means of the two slices, their monotonicity, and concavity. The endpoints follow directly from the definition.

Theorem 1226 Harmonic mean inequality, Korten Lemma 12
✓

For every \(n\ge 0\) and every \(f:\{ 0,1\} ^n\to \mathbb {R}_{\ge 0}\),

\[ \mathbb {E}_{R\subseteq _{1/4}[n]}\sqrt{\breve f(R)} \ge \mathbb {E}_{x\in \{ 0,1\} ^n}\sqrt{f(x)}. \]
Proof ▶

Prove the one-bit inequality by a square, then induct on dimension. If the first coordinate is absent, average its two slices; if it is present, take the harmonic mean of their transforms. Apply concavity and the one-bit inequality before the induction hypotheses.

Theorem 1227 Good projections at sampling rate \(1/4\)
✓

If \(0\le f\le B\), \(\mathbb {E}f=1\), and \(B\ge 1\), then

\[ \Pr _{R\subseteq _{1/4}[n]}[\breve f(R)\ge (4B)^{-1}] \ge (2\sqrt B)^{-1}. \]

This is the intermediate estimate in the proof of Korten’s Lemma 10.

Proof ▶

Since \(f\le B\), the mean of \(\sqrt f\) is at least \(B^{-1/2}\). Apply the harmonic mean inequality and bound \(\sqrt{\breve f}\) by one on the good event and by \((2\sqrt B)^{-1}\) outside it.

For nonnegative \(f\), if \(0{\lt}a\le \breve f(R)\) and \(b\ge 0\), then \(\Pr _{z\in \{ 0,1\} ^R}[f_R(z)\le b]\le b/a\). The same bound holds for any nonempty finite type and its harmonic mean.

Proof ▶

The positive harmonic mean forces every entry to be positive. Bound the indicator of \(f_R(z)\le b\) by \(b/f_R(z)\) and average.

If \(A\subseteq 2^{[n]}\) is nonempty and downward closed, and \(0\le r\le 1/20\), then

\[ \Pr _{R\subseteq _r[n]}[R\in A] \ge \Pr _{S\subseteq _{1/4}[n]}[S\in A]^{5r}. \]

Korten attributes the transfer principle to Yufei Zhao, Probabilistic Methods in Combinatorics, Lemma 4.3.7, https://yufeizhao.com/pm/probmethod_notes.pdf.

Proof ▶

The union of independent masks of rates \(p,q\) has rate \(p+q-pq\). Iterating \(h\) rate-\(r\) masks gives union rate \(1-(1-r)^h\le hr\); downward closure bounds its membership probability by \(\Pr _r(A)^h\). For \(r{\gt}0\), take \(h=\lfloor 1/(4r)\rfloor \), so \(hr\le 1/4\) and \(1/h\le 5r\), and use monotonicity in the sampling rate. At \(r=0\), the sampled set is empty and belongs to \(A\).

Definition 1230 Marginal probability mass
✓
#

For a real mass function \(\mu \) on the cube, define \(\mu _R(z)=\sum _{x:x_R=z}\mu (x)\). If \(\mu \ge 0\) and \(\sum _x\mu (x)=1\), this is the probability of the pattern \(z\) under the marginal distribution.

Marginalization preserves total mass and nonnegativity. If \(f(x)=2^n\mu (x)\), then \(f_R(z)=2^{|R|}\mu _R(z)\).

Proof ▶

Split the cube into selected and complementary coordinates and factor the finite sums. The number of completions is \(2^{n-|R|}\).

Let \(k\ge 1\), \(0\le r\le (512k)^{-1}\), and let \(X\) be a distribution on \(\{ 0,1\} ^n\) of min-entropy deficit at most \(k\). With probability at least \(63/64\) over \(R\subseteq _r[n]\), at most \(2^{|R|-k}\) patterns \(z\) have \(\Pr [X_R=z]\le 2^{-|R|-2k-2}\). In Lean the distribution is a nonnegative real mass function summing to one, with pointwise bound \(\mu (x)\le 2^{k-n}\). This is the min-entropy deficit condition; \(k\) is real. The statement includes zero masses, dimension zero, and \(r=0\). The coordinate type may be any finite type, including a subtype selected by a preceding sample.

Proof ▶

Transfer the downward-closed family of good projections from rate \(1/4\) to rate \(r\), then apply Markov’s inequality to the reciprocal marginal density. The failure probability is at most \(5r(k/2+1)\le 1/64\). Convert the fraction of light normalized-density patterns into the stated count using the mass-to-density marginal bridge.

For nonempty \(X\subseteq \{ 0,1\} ^I\), let \(\mu _X\) be its uniform mass function and \(D_\infty (X)=|I|-\log _2|X|\). Given \(S\subseteq I\) and \(x\in X\), the fiber \(X_{x,S}\) consists of patterns on \(S\) whose completion using \(x\) outside \(S\) belongs to \(X\). Its deficit is measured relative to the \(|S|\)-dimensional cube. The real-valued Lean definition takes value \(|I|\) at the empty set; entropy interpretations require nonemptiness. Write \(x[S\leftarrow y]\) for replacing \(x\) on \(S\) using \(y\), \(\rho _X(S,x)=|X_{x,S}|/2^{|S|}\) for the fiber density, and \(f_X=2^{|I|}\mu _X\) for the normalized cube density.

The pattern fiber has the same cardinality as \(\{ y\in X:y_{I\setminus S}=x_{I\setminus S}\} \) and is nonempty for \(x\in X\). For nonempty \(X\), \(D_\infty (X)\le k\) if and only if \(|X|\ge 2^{|I|-k}\); in that case \(\mu _X(x)\le 2^{k-|I|}\) for every \(x\). The mass function is nonnegative, sums to one, and computes uniform finite-set expectations.

Proof ▶

Completing and restricting patterns give the fiber bijection. The deficit and mass bounds follow by exponentiating the defining logarithm.

Lemma 1235 Conditional-fiber entropy, Korten Lemma 4
✓

For every nonempty \(X\) and every fixed \(S\subseteq I\), \(\mathbb E_{x\sim X} D_\infty (X_{x,S})\le D_\infty (X)\).

Proof ▶

Group points by their restriction outside \(S\). The finite log-sum inequality lower-bounds the average log fiber size by \(\log |X|-|I\setminus S|\log 2\). Subtract from \(|S|\) and convert to base two.

Corollary 1236 Good-fiber probability
✓

If \(X\) is nonempty, \(k{\gt}0\), and \(D_\infty (X)\le k\), then for every fixed \(S\), with probability at least \(63/64\) over \(x\sim X\), \(D_\infty (X_{x,S})\le 64k\).

Proof ▶

Apply Markov’s inequality to the nonnegative fiber deficit.

Uniform sampling restricts to uniform sampling on a selected-coordinate subtype, and \(\rho _X(S,x)=\Pr _y[x[S\leftarrow y]\in X]\). Fiber densities and normalized densities are nonnegative. For nonempty \(X\), \(\mathbb E f_X=1\) and \(f_X(z)=2^{D_\infty (X)}\mathbf1[z\in X]\); thus \(D_\infty (X)\le k\) implies \(f_X(z)\le 2^k\).

Proof ▶

Split the cube into selected and complementary coordinates. Normalize the uniform mass and exponentiate its entropy deficit.

Bernoulli expectations are invariant under coordinate equivalences, and restriction preserves their product law. Let \(P\subseteq _p I\) and \(Q\subseteq _q I\) be independent and let \(\theta =p+q-pq\). If \(\theta r=p(1-q)\), then for every test function on pairs \((S,R)\), with \(R\subseteq S\),

\[ \mathbb E_{P,Q}F(P\cup Q,P\setminus Q) =\mathbb E_{S\subseteq _\theta I}\mathbb E_{R\subseteq _r S}F(S,R). \]

This is an algebraic identity, including degenerate rates. When \(p\ge 0\) and \(0{\lt}q\le 1\), the ratio \(r=p(1-q)/(p+q-pq)\) belongs to \([0,1]\) and is at most \(p/q\).

Proof ▶

Check the two Boolean coordinates and induct on dimension, then transport by an equivalence of finite coordinate types. Factor out unused coordinates to obtain the subtype formulation.

Definition 1239 Density limit, Korten Definition 2
✓

A point \(x\) is a \((p,k)\)-limit of \(Y\) if \(\Pr _{P\subseteq _p I}[\rho _Y(P,x)\ge 2^{-k}]\ge 3/4\).

Lemma 1240 Completion estimate for the improved mirror argument
✓

Suppose \(X\) is nonempty, \(D_\infty (X)\le k\), \(k\ge 1\), \(p{\gt}0\), and \(q=32768kp\le 1/2\). With probability at least \(31/32\) over independent \(P\subseteq _p I\), \(Q\subseteq _q I\), and uniform \(x\in X\),

\[ \Pr _y[\rho _X(Q,x[P\leftarrow y]){\lt}2^{-194k}]\le 2^{-k-6}. \]
Proof ▶

Condition on \(S=P\cup Q\). The entropy lemma bounds the fiber deficit by \(64k\) with probability \(63/64\). Lemma 10 with parameter \(64k\) bounds light projected patterns, again with probability \(63/64\). The conditional rate is at most \((32768k)^{-1}\). A projected density multiplied by \(2^{-D_\infty (X_{x,S})}\) equals the completion density. Outside the light patterns this is at least \(2^{-192k-2}\ge 2^{-194k}\). Their fraction is at most \(2^{-64k}\le 2^{-k-6}\). Combine the two good events.

Lemma 1241 Improved strong mirror-set lemma
✓

Let \(X,Y\subseteq \{ 0,1\} ^I\), with \(X\) nonempty, \(D_\infty (X)\le k\), \(k\ge 1\), \(p{\gt}0\), and \(q=32768kp\le 1/2\). If every point of \(X\) is a \((p,k)\)-limit of \(Y\), there is a nonempty \(Y'\subseteq Y\) with \(D_\infty (Y')\le 2k+2\) such that every point of \(Y'\) is a \((q,194k)\)-limit of \(X\).

Proof ▶

Sample a uniform \(x\in X\) and a rate-\(p\) mask. On fibers of \(Y\) of density at least \(2^{-k}\), sample uniformly from their intersection with \(Y\); otherwise sample from the whole fiber. This variant of Korten’s guiding sets has density at most \(2^k\) relative to uniform fiber sampling. Its output belongs to \(Y\) with probability at least \(3/4\), and the completion estimate bounds its subsequent failure probability by \(1/16\). A Markov argument leaves mass at least \(1/4\) on the points in \(Y\) that are \((q,194k)\)-limits of \(X\). The output mass of any set \(A\) is at most \(2^k|A|/|X|\), proving \(|Y'|\ge 2^{|I|-2k-2}\).

13.12 Polynomial threshold functions and the Gotsman–Linial bound

This section uses OpenAI’s Average Sensitivity of Polynomial Threshold Functions (25 September 2026) and its Lean proof in openai/math, at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a. The imported matrix and weighted-grading argument is due to that source. Complexitylib supplies the coordinate equivalence, multilinear normal form, and the following connections to its existing Fourier API. The elementary corollaries are not assertions of research novelty. In particular, the noise estimate below is weaker than the source paper’s dimension-free noise bound.

For \(p\in \mathbb R[X_1,\ldots ,X_n]\), let \(f_p(x)=\operatorname {sign}(p(\chi (x_1),\ldots ,\chi (x_n)))\), with \(\operatorname {sign}(0)=1\). A function is a degree-at-most-\(d\) polynomial threshold if it is \(f_p\) for some \(p\) of total degree at most \(d\). Its sign-cube multilinearization reduces each monomial exponent modulo two.

Sign-cube multilinearization preserves evaluation whenever every coordinate squares to one, does not increase total degree, and preserves the threshold function, including its values at polynomial zeros.

Proof ▶

Use \(x_i^a=x_i^{a\bmod 2}\) on the sign cube. Reducing an exponent modulo two cannot increase it. Apply these facts termwise to the polynomial’s support.

For every real polynomial \(p\) of total degree at most \(d\) in \(n\) variables,

\[ I[f_p]\le 8d\sqrt n. \]

This includes \(n=0\) and \(d=0\), allows zeros of \(p\) on the cube, and does not require the supplied polynomial to be multilinear.

Proof ▶

Multilinearize, apply OpenAI’s weighted-grading and edge-recovery theorem, and transport the Boolean sign encoding through the coordinate equivalence that respects flips and uniform expectation. The combinatorial average sensitivity equals the canonical total influence.

If \(f\) is a degree-at-most-\(d\) polynomial threshold, \(0\le \rho \le 1\), and \(m\in \mathbb N\), then

\[ \operatorname {NS}_{\rho }[f]\le 4(1-\rho )d\sqrt n, \qquad \mathbf W^{{\gt}m}[f]\le \frac{8d\sqrt n}{m+1}. \]

Here \(\rho \) is the correlation parameter, so the corresponding bit-flip rate is \((1-\rho )/2\).

Proof ▶

Noise sensitivity is bounded by \((1-\rho )I[f]/2\). Every Fourier coefficient above degree \(m\) contributes at least \(m+1\) times its weight to \(I[f]\).

13.13 Correlation and threshold weight

The following finite duality inequality is a reusable step toward consequences of OpenAI’s Beyond the Square-Root Exponent for Depth-Three Boolean Circuits (23 September 2026). Its use with that paper’s explicit hard function requires a separate correlation theorem; the statement here makes that hypothesis explicit.

Theorem 1246 Small correlations force large threshold weight
✓

Let \(X\) be finite and nonempty, \(J\) finite, and let \(g,H_j:X\to \mathbb R\) and \(a_j\in \mathbb R\). If \(|\mathbb E_x[g(x)H_j(x)]|\le \varepsilon \) for every \(j\) and \(g(x)\sum _j a_jH_j(x)\ge \gamma \) for every \(x\), then

\[ \gamma \le \varepsilon \sum _j|a_j|. \]

In particular, for \(\varepsilon {\gt}0\) and margin \(\gamma =1\), the sum of absolute coefficient values is at least \(1/\varepsilon \). A constant bias can be included as another feature and must satisfy the same correlation hypothesis. This is a coefficient-weight statement, rather than a bound on arbitrary-weight gate counts or on coefficient encoding lengths.

Proof ▶

Average the pointwise margin inequality, distribute the finite sum, and apply the triangle inequality and the per-feature correlation bounds.

13.14 Sensitivity and exact query complexity

This section imports OpenAI’s 2026 sensitivity separation from the pinned openai/math solution modules. It then connects block sensitivity to the finite decision trees already used in the switching-lemma development. The sensitivity here is a maximum over Boolean inputs, rather than the average sensitivity or Fourier total influence of the preceding sections.

For a finite Boolean function \(f\), let \(s(f,x)\) count coordinates whose individual flips change \(f(x)\). Let \(\operatorname {bs}(f,x)\) be the maximum number of pairwise disjoint nonempty coordinate blocks whose flips change \(f(x)\). Write \(s(f)\) and \(\operatorname {bs}(f)\) for the maxima over inputs.

Every exact decision tree \(T\) computing \(f\) satisfies \(s(f)\le \operatorname {bs}(f)\le \operatorname {depth}(T)\). Every function on \(n\) bits has an exact tree of depth at most \(n\); consequently \(\operatorname {bs}(f)\le n\), including when \(n=0\).

Proof ▶

Singleton sensitive coordinates are disjoint sensitive blocks. At a tree node, at most one block contains the queried coordinate; the other blocks remain sensitive for the selected subtree. Induct on the tree. For the upper bound, query all coordinates and output the function’s value.

For every integer \(d\ge 1\), some nonconstant \(f\) with \(f(0)=0\) satisfies

\[ \frac{\operatorname {bs}(f)}{s(f)^2} \ge \frac{2^d}{4(d+2)^2}. \]

Thus for every \(C{\gt}0\), some such \(f\) has \(C s(f)^2{\lt}\operatorname {bs}(f)\). Moreover, there are a fixed \(\alpha {\gt}2\) and a family \(F_m\) such that, for \(m\ge 1\), the arity is positive, \(F_m\) is nonconstant, \(F_m(0)=0\), and \(s(F_m)^\alpha \le \operatorname {bs}(F_m,0)\), while \(\operatorname {bs}(F_m,0)\) tends to infinity.

Proof ▶

OpenAI’s construction iterates nested Hamming-ball predicates using a regular tournament with a suitable edge labeling. The four sensitivity profiles give the quantitative ratio. Block composition of a seed with ratio greater than one yields the fixed-power family.

For every \(C{\gt}0\), some nonconstant finite Boolean function \(f\) requires exact decision-tree depth greater than \(C s(f)^2\). There are also a fixed \(\alpha {\gt}2\) and a family \(F_m\) such that every exact tree computing \(F_m\) has depth at least \(s(F_m)^\alpha \) for \(m\ge 1\). Every choice of exact trees for that family has depth tending to infinity.

Proof ▶

Apply the block-sensitivity bound to every exact tree. The lower bound at the all-zero input also transfers the divergence of block sensitivity.