Boolean Circuits: Inside OpenAI’s Proof of a Stronger Depth-Three Lower Bound

A three-layer logic circuit can read every input bit at once and reuse intermediate results freely. OpenAI’s new construction still forces it beyond every constant-times-square-root exponential size bound. The September 23, 2026 paper presents one efficiently computable language whose depth-three Boolean circuits require 2ω(n)2^{\omega(\sqrt n)} gates at every sufficiently large input length.

That is the OpenAI Boolean circuit complexity proof’s central claim. It strengthens a specific shallow-circuit lower bound, without resolving P versus NP or demonstrating faster AI software. Released in OpenAI’s October mathematics announcement, it also illustrates why research proofs and benchmark scores are different evidence. Here, the achievement is ruling out every small representation allowed by a precisely defined model.

1. What OpenAI Proved About Depth-Three Boolean Circuits

Theorem 1.1 of the research manuscript fixes a language LL, one deterministic Turing machine, and positive integers C,aC,a. That machine decides membership within C(n+1)aC(n+1)^a steps. Let fnf_n be membership on nn-bit inputs and S3(fn)S_3(f_n) the minimum total AND/OR gate count. Then, for every fixed A>0A>0:

S3(fn)>2Anfor every n≥NA.S_3(f_n)>2^{A\sqrt n}\quad\text{for every }n\ge N_A.

The threshold NAN_A may depend on AA. The language, machine, and runtime constants cannot. Circuits may change arbitrarily with input length. The bound holds eventually at all lengths, rather than along a convenient infinite subsequence. This rules out changing the language whenever someone asks for a larger lower-bound constant. Choose a million for AA, and the same evaluator still works. What changes is how far along the input-length sequence the guarantee begins. The theorem supplies no practical crossover length.

1.1. Boolean Circuits: The Key Facts

Theorem 1.1: Scope And Resources
FunctionOne fixed language in deterministic polynomial time
Circuit modelThree successive OR–AND–OR layers, read from output to inputs
Gate countAll AND/OR gates, including bottom gates and the output
Size guaranteeS3(fn)>2AnS_3(f_n)>2^{A\sqrt n} eventually for every fixed A>0A>0
Allowed resourcesArbitrary finite fan-in, shared gates, free input negations and constants
Unproved stronger claimA fixed-power exponent n1/2+εn^{1/2+\varepsilon}, or unrestricted-depth hardness

2. The Original Boolean Circuit Lower-Bound Problem

Boolean circuit complexity asks how many logic gates are necessary to represent a function. Counting arguments show that most truth tables need enormous circuits. The difficult task is proving such hardness for an explicitly specified, efficiently computable function.

There is no contradiction in putting the language in polynomial time. A Turing machine can carry out many sequential stages. The theorem’s circuit must squeeze its computation into three successive layers. Polynomial-time algorithms have polynomial-size general circuits, but those circuits need not have depth three.

This is a representation bottleneck. Our permanent versus determinant explainer examines another representation problem, in algebraic complexity. Likewise, discrete Fourier transform complexity depends on permitted operations. Neither result transfers automatically between models. Here the central question is whether a shallow classical circuit can reproduce every output exactly, irrespective of how cleverly its gates are wired. Circuit nonuniformity makes that challenge stronger: there is no requirement for a single efficient program to generate the circuit at each length. The lower bound defeats even separately chosen wiring diagrams. The construction is efficient on the algorithm side while allowing this freedom on the circuit side.

3. Why Previous Parity Lower Bounds Stopped at the Square-Root Exponent

Parity returns whether an input contains an odd number of ones. Håstad’s random-restriction and switching method established depth-three circuit lower bounds at the 2Ω(n)2^{\Omega(\sqrt n)} scale. Håstad, Jukna, and Pudlák later improved constants through a top-down approach.

Paturi, Pudlák, and Zane obtained the sharp parity lower bound Ω(n1/42n)\Omega(n^{1/4}2^{\sqrt n}), matching its upper bound within a constant factor. Thus parity itself cannot exceed every 2An2^{A\sqrt n}. A larger constant in an existing proof cannot overcome a matching construction.

The new paper therefore changes the hard function. Its qualitative gain is an exponent whose ratio to n\sqrt n diverges. As with exponential improvements in Subset Sum, changing an asymptotic rate differs from shaving a polynomial factor. And, as our quadratic sensitivity explainer illustrates, the precise growth comparison determines what a Boolean-function separation actually says.

4. Understanding the OR–AND–OR Circuit Model

Boolean circuits example with three OR clauses, two AND gates, and one output OR gate.
Boolean circuits example with three OR clauses, two AND gates, and one output OR gate.

Read the layers from inputs upward. Bottom OR gates form clauses from literals, meaning variables or their negations. Middle AND gates join clauses into conjunctive normal forms, or CNFs. The output OR accepts whenever any middle CNF accepts. These depth 3 circuits allow unrestricted finite fan-in and fan-out, including shared bottom gates. Input negations and constants are free.

For a worked example, define clauses C1=x1∨¬x2C_1=x_1\lor\neg x_2, C2=x2∨x3C_2=x_2\lor x_3, and C3=¬x1∨x3C_3=\neg x_1\lor x_3. Use two middle gates for C1∧C2C_1\land C_2 and C1∧C3C_1\land C_3, then OR their outputs. This implementation has three bottom gates, two middle gates, and one output gate: six total. The shared clause counts once. Input (1,1,0)(1,1,0) accepts through the first middle gate.

This is an implementation count, not a claim of minimality. Counting only middle gates would be misleading: any Boolean function has a potentially enormous single-CNF representation. Our random 3-SAT guide explains the same clause vocabulary, while quantum circuit lower bounds concern a different gate model.

5. The Central Proof Idea: Low Correlation Forces Large Circuits

Encode the hard function as a sign gg: positive one on accepted inputs, negative one otherwise. A CNF indicator HH instead takes values zero and one. The relevant correlation is |E[gH]||\mathbb E[gH]|, with expectation over uniformly random inputs. It measures the imbalance between accepted and rejected points inside the CNF’s satisfying set. This is an unnormalized correlation. A tiny CNF satisfying set automatically has small correlation, even if every point in it is positive. The argument deliberately exploits that fact: an exact middle gate with low correlation must cover only a tiny fraction of the whole cube.

If HH feeds an exact OR representation, it cannot accept a negative point. Consequently gH=HgH=H, and small correlation forces EH\mathbb E H, its acceptance density, to be small.

Now imagine covering a substantial positive set with such CNFs. Each covers very little, so many are necessary. This resembles covering a floor with tiny tiles, except overlapping tiles still count against the budget. The proof engineers a slice with positive density and uniformly low CNF correlation, then handles wide clauses separately.

6. Constructing OpenAI’s Polynomial-Time Hard Language

Boolean circuits evaluator: hash input data, evaluate a polynomial, and test its constant coefficient.
Boolean circuits evaluator: hash input data, evaluate a polynomial, and test its constant coefficient.

Definition 5.1 starts with d=⌊n/5⌋d=\lfloor n/5\rfloor data bits, rejects when d<64d<64, and sets r=⌈d2/3⌉r=\lceil d^{2/3}\rceil. Let tt be the largest nonnegative even integer satisfying t6≤dt^6\le d. The input then supplies d+r−1d+r-1 hash bits, rr modulus bits, and tt coefficient blocks of rr bits each.

The modulus bits encode the monic polynomial P(Z)=Zr+∑i=0r−1piZiP(Z)=Z^r+\sum_{i=0}^{r-1}p_iZ^i over F2\mathbb F_2, arithmetic modulo two. Computation occurs in the quotient ring RP=F2[Z]/(P)R_P=\mathbb F_2[Z]/(P), where polynomials are reduced to degree below rr.

Hash coordinate hi(x)=∑s=1dui+s−1xs(mod2)h_i(x)=\sum_{s=1}^{d}u_{i+s-1}x_s\pmod 2 defines h(x)=∑i=1rhi(x)Zi−1h(x)=\sum_{i=1}^{r}h_i(x)Z^{i-1}. Its matrix is Hankel, constant along anti-diagonals, or Toeplitz after reversing data coordinates. With supplied coefficients βj\beta_j, acceptance means:

λ(∑j=0t−1βjh(x)j)=0.\lambda\left(\sum_{j=0}^{t-1}\beta_jh(x)^j\right)=0.

Here λ\lambda extracts the constant coefficient of the reduced representative. Unused bits are ignored. A defensive rejection checks block availability, although the blocks fit whenever d≥64d\ge64.

Monicity makes reduction well-defined even for reducible moduli. Direct hashing and Horner evaluation use O(rd+tr2)O(rd+tr^2) bit-array operations, with polynomial Turing-machine overhead. The evaluator neither tests irreducibility nor searches for hard parameters. Fixing those supplied parameters selects a data function called a slice. As a toy illustration of quotient arithmetic, reducing modulo Z2+Z+1Z^2+Z+1 replaces Z2Z^2 with Z+1Z+1, since addition and subtraction coincide modulo two. The actual construction uses much larger degrees. The example simply shows why multiplication can return to a fixed-length coefficient array.

7. Random Restrictions and OpenAI’s Signed CNF Restriction Lemma

A random restriction leaves each data variable live with probability pp, independently, and fixes all others to independent uniform bits. Ordinary simplification need not make every clause narrow when a CNF contains arbitrarily many clauses.

Lemma 3.1 instead represents a restricted width-kk CNF as a finite signed combination of width-bb CNFs. Signed means coefficients may be negative, not that logical gates acquire negative inputs. Its controlling parameter is:

θ=∑ℓ=b+1k(kℓ)(2p1−p)ℓ<1.\theta=\sum_{\ell=b+1}^{k}\binom{k}{\ell}\left(\frac{2p}{1-p}\right)^{\ell}<1.

The expected total absolute coefficient mass is bounded by 1/(1−θ)1/(1-\theta). With bounded pkpk and p≤1/2p\le1/2, choosing a sufficiently large constant bb makes this at most two, independently of clause count. Width counts distinct variables in an individual normalized clause. For example, fixing x1=0x_1=0 in x1∨x2∨¬x3x_1\lor x_2\lor\neg x_3 leaves a two-variable clause. Fixing x1=1x_1=1 makes that clause true, so it disappears from the conjunction. The signed expansion addresses clauses that remain too wide after this elementary simplification.

The expansion follows paths of successive clause violations. Counting backwards pairs each possible violated-clause choice with a reciprocal violation count, cancelling dependence on how many clauses are eligible. Classical switching-lemma estimates also avoid a clause-count parameter, but change the normal form. Here the tests remain CNFs. That is the useful distinction in this random-restrictions argument, not a claim that earlier methods ignored formula size.

8. Sunflower Sparsification and Disjoint CNF Partitions

Narrow CNFs still form too large a test family. Lemma 4.1 makes them sparse: for fixed width bb and any η>0\eta>0, a CNF on mm variables partitions into at most 2ηm2^{\eta m} CNF indicators. Each retains width at most bb and has at most MmMm clauses, where MM depends only on b,ηb,\eta.

A sunflower is a family of sets sharing a core, with pairwise disjoint petals outside it. Applied to clauses, branching separates assignments satisfying the core from assignments falsifying it and satisfying the petals. Explicitly requiring the core to be false on the second branch keeps the pieces disjoint.

The proof tracks clause-insertion budgets and bounds branch histories through binary entropy. This controls both leaf count and clause count. Disjointness makes the original indicator exactly the sum of its pieces, avoiding inclusion–exclusion. These are exact identities between indicators, not approximations of satisfying sets. The later error terms come from exceptional restrictions and deleted wide clauses. Keeping these sources separate makes the final probability budget easier to audit. Sparsification also appears in the background of exponential-time hypotheses and SAT, though the present goal is controlling correlation tests. For fixed width, only polynomially many different clauses exist on mm variables. Limiting each piece to linearly many clauses therefore leaves at most 2O(mlogm)2^{O(m\log m)} sparse tests. This finite counting bound is what makes a simultaneous probability estimate feasible.

9. How Universal Hashing and Polynomial Interpolation Produce Hard Slices

For the hardness argument, select an irreducible modulus, making RPR_P a field of 2r2^r elements. A random hash sends each nonzero difference uniformly into that field. On an mm-dimensional restricted cube, a union bound makes hash-collision probability at most 2m−r2^{m-r}. This uses linear-hash universality, not strong pairwise independence of hash outputs.

When the hash is injective, polynomial interpolation makes evaluations at any tt distinct cube points independent and uniform. Applying λ\lambda produces unbiased, tt-wise independent signs. For a fixed sparse indicator JJ, set Y=∑zg(z)J(z)Y=\sum_zg(z)J(z). Expanding the even moment gives EYt≤tt2mt/2\mathbb E Y^t\le t^t2^{mt/2}: tuples containing a point just once contribute zero.

Markov’s inequality and a union bound control every sparse test simultaneously. Sparsification with η=1/8\eta=1/8 then yields correlation at most 2−m/82^{-m/8} for every width-bb CNF.

Proposition 5.3 chooses p=B/dp=B/\sqrt d, giving mean live dimension m0=Bdm_0=B\sqrt d. A parameter setting exists whose restriction-failure probability is at most 4·2−m0/164\cdot2^{-m_0/16}, including dimension tails outside [m0/2,2m0][m_0/2,2m_0]. Averaging proves existence. The evaluator simply reads its parameters, so it need not discover this hard setting. The parameter scales serve separate purposes. Degree rr, growing like d2/3d^{2/3}, eventually exceeds the live dimension, which grows like d\sqrt d, suppressing collisions. Independence order tt, growing like d1/6d^{1/6}, eventually dominates the logarithmic cost of enumerating sparse tests. These comparisons hold with the proof constants fixed.

10. Completing the Proof: From CNF Correlation to the Gate Lower Bound

Boolean circuits proof: small CNF coverage cannot cover a hard slice with positive acceptance density.
Boolean circuits proof: small CNF coverage cannot cover a hard slice with positive acceptance density.

Fix a proposed exponent constant A>0A>0. Choose s=3As=3A, B=64(s+1)B=64(s+1), p=B/dp=B/\sqrt d, and k=⌈3(s+1)d⌉k=\lceil3(s+1)\sqrt d\rceil. Next choose constant width bb large enough for θ≤1/2\theta\le1/2, then take sufficiently large inputs. Combining the restriction lemma with Proposition 5.3 gives, for every width-kk CNF:

|𝔼[gH]|≤6⋅2−m0/16.|\mathbb E[gH]|\le6\cdot2^{-m_0/16}.

No independence between coefficient mass and good restrictions is assumed. The constant-true CNF also qualifies, so the slice is nearly balanced and eventually accepts at least one quarter of inputs.

Suppose an exact circuit has S≤2AnS\le2^{A\sqrt n} total gates. Fixing parameter bits cannot increase size. Each of its at most SS middle CNFs has at most SS clauses. Deleting clauses wider than kk enlarges each satisfying set by probability at most S2−kS2^{-k}, since each deleted clause fails with probability at most 2−k2^{-k}. This explains the squared size term: one factor budgets clauses per middle gate, and another budgets middle gates. Sharing bottom gates does not invalidate either upper bound. Counting all gates ensures both budgets remain available even when bottom fan-in is unrestricted.

Correlation bounds the enlarged CNF, with that deletion error added back. Summing across middle gates yields:

Pr⁡[g=1]≤6S2−m0/16+S22−k.\Pr[g=1]\le6S2^{-m_0/16}+S^2 2^{-k}.

Since n≤9dn\le9d eventually, the right side is at most 6·2−(3s+4)d+2−(s+3)d6\cdot2^{-(3s+4)\sqrt d}+2^{-(s+3)\sqrt d}, which tends to zero. That contradicts acceptance density of at least one quarter. Arbitrary AA gives the claimed Boolean circuit lower bounds.

11. What the OpenAI Proof Establishes, What Remains Open, and Lean Verification

The improvement concerns exact depth-three representations with arbitrary bottom width. It establishes neither unrestricted-circuit hardness nor P versus NP. A bound 2n1/2+ε2^{n^{1/2+\varepsilon}} for fixed ε>0\varepsilon>0 remains beyond this theorem. Developers should infer no measured SAT, chip-design, or neural-network speedup. As with quantum query complexity, the resource being counted matters.

OpenAI’s published Lean scope covers the fixed polynomial-time language and eventual total-gate bound. The formalization catalogue points to a proof entry combining those results. This article has not rebuilt that Lean development. Formal checking also differs from independent peer review, a distinction explored in our Fermat formalization analysis.

For researchers checking the result, start with the formal theorem’s order of quantifiers and its circuit definition. Then follow the separate evaluator and lower-bound dependencies. Merely finding a theorem statement is insufficient: a comparator challenge can intentionally contain an unproved placeholder, while the implementation proof lives elsewhere. The catalogue distinguishes those roles. For developers, the reusable insight is methodological: fixing parameter bits can expose a hard subfunction without making parameter search part of the computation. That separation is central to why probabilistic existence and a deterministic evaluator coexist here.

The useful lesson for AI readers is to inspect the quantifiers, permitted resources, and verification scope together. For Boolean circuits, the square-root constant barrier is precisely the advance to understand. Keep reading Binary Verse AI for research explainers that connect the theorem to its proof and preserve the limits of what it establishes.

What did OpenAI prove about Boolean circuits?

OpenAI constructed a single polynomial-time decidable language whose membership functions require more than 2An2^{A\sqrt n} total gates in exact depth-three OR–AND–OR circuits, for every fixed positive constant AA and all sufficiently large input lengths. The language and evaluator are fixed before AA is chosen.

Why couldn’t previous parity proofs achieve this result?

Parity has depth-three circuit complexity at the 2Θ(n)2^{\Theta(\sqrt n)} scale, with sharp lower and upper bounds matching within a constant factor. Improving constants cannot exceed every constant multiple of n\sqrt n in the exponent, so a different hard function is needed.

How does OpenAI’s proof use random restrictions differently from Håstad’s switching lemma?

The new lemma represents restricted CNFs as signed combinations of narrower CNFs, bounding expected total absolute coefficient mass independently of clause count. Classical switching estimates also avoid a clause-count parameter, but change the normal form. The new tests remain CNFs.

Why is the constructed function polynomial-time computable if its circuits require so many gates?

The lower bound restricts the circuit to three successive layers. A polynomial-time Turing machine can perform a more general sequence of operations. The fixed evaluator therefore computes the language efficiently even though small circuits in the specified shallow model cannot represent it exactly.

Does the proof establish a lower bound of 2n1/2+ε2^{n^{1/2+\varepsilon}}?

No. It proves 2ω(n)2^{\omega(\sqrt n)}, exceeding 2An2^{A\sqrt n} for every fixed positive constant AA. It does not establish the stronger bound with any fixed positive ε\varepsilon.

Does OpenAI’s Boolean circuit proof solve P versus NP?

No. It gives lower bounds for exact depth-three OR–AND–OR circuits. It does not establish comparable lower bounds for unrestricted Boolean circuits or separate P from NP. The constructed language is itself in P.

Has OpenAI’s Boolean circuit proof been formally verified in Lean?

OpenAI published a Lean formalization whose documented scope covers the fixed polynomial-time language, its evaluator, and the eventual total-gate lower bound. The catalogue points to a proof entry combining those results. This article has not rebuilt the Lean development, and formal verification should not be confused with independent peer review.

Leave a Comment