Arithmetic Circuit Complexity: OpenAI’s Proof Shatters the Polynomial Barrier

On three vertices, a cycle cover can make one round trip or break into smaller loops. Summing the weights of those choices leads to two famous polynomials. OpenAI’s November 24, 2026 paper in arithmetic circuit complexity proves that the directed Hamiltonian cycle polynomial requires superpolynomially many gates over every field. The permanent requires the same lower bound outside characteristic two. The theorem allows unlimited circuit depth, reuse of intermediate results, and even algebraic approximation of the target coefficients. Its proof builds two different hard polynomials and shows that at least one construction works in every characteristic.

1. OpenAI’s Breakthrough in Arithmetic Circuit Complexity

The theorem asks whether a compact sequence of arithmetic operations can produce a polynomial even when its expanded form is enormous. The proof answers this for two standard families at every sufficiently large matrix order. It also reaches sparse instances, where removing most entries might otherwise seem to offer an escape.

Key facts from Theorem 1.1 and Corollary 3.5.
FeatureWhat the Paper Establishes
Hamiltonian cycleSuperpolynomial arithmetic circuit size over every field.
PermanentThe same lower bound in every characteristic except two.
Circuit modelBinary addition, subtraction, and multiplication, with unrestricted depth and reuse.
ApproximationThe bound holds for algebraic limits of the degree matching the matrix order. Other output degrees are free.
Sparse instancesAt most three incoming and three outgoing arcs per vertex for tours, or three entries per row and column for the permanent.

2. The Original Problem: Can Small Arithmetic Circuits Compute Everything?

An arithmetic circuit is a directed acyclic graph of calculations. Each gate adds, subtracts, or multiplies two available values. Inputs and field constants are free, and a gate’s result can feed several later gates. Size counts gates, while depth measures the longest chain of dependencies. For example, computing u=x+yu=x+y, then u2u^2, then (u2)2(u^2)^2 represents a fourth power in three gates. Repeated squaring makes the gap between expression length and gate count even wider.

The calculation takes place in a formal polynomial ring. Over the two-element field, x2−xx^2-x vanishes at both field elements but still has nonzero formal coefficients. The model requires the polynomial itself. This matters when interpreting hardness over finite fields, where counting values on inputs and comparing coefficients are different tasks.

3. Hamiltonian Cycle and the Permanent: Two Faces of Algebraic Hardness

	Arithmetic circuit complexity example comparing three weighted cycle covers, with permanent 47 and Hamiltonian sum 40.
Arithmetic circuit complexity example comparing three weighted cycle covers, with permanent 47 and Hamiltonian sum 40.

Let XijX_{ij} be the weight of the directed edge from vertex ii to vertex jj. Write SNS_N for the set of permutations of NN vertices and 𝒞N\mathcal C_N for those consisting of a single cycle. Each permutation chooses one edge leaving and one edge entering each vertex. Fixed points give loops. The permanent of a matrix sums over all these cycle covers, and the Hamiltonian cycle polynomial keeps only single tours, counted once each.

Per𝑵⁡(𝑿)=∑𝝅∈𝑺𝑵∏𝒊=1𝑵𝑿𝒊,𝝅(𝒊)\boldsymbol{\operatorname{Per}_N(X)=\sum_{\pi\in S_N}\prod_{i=1}^{N}X_{i,\pi(i)}}
HC𝑵⁡(𝑿)=∑𝝅∈𝒞𝑵∏𝒊=1𝑵𝑿𝒊,𝝅(𝒊)\boldsymbol{\operatorname{HC}_N(X)=\sum_{\pi\in\mathcal C_N}\prod_{i=1}^{N}X_{i,\pi(i)}}

Over the rationals, consider a matrix whose only nonzero covers are the three loops, a two-cycle with a loop, and one three-cycle.

𝑿=(120314501)\boldsymbol{X=\begin{pmatrix}1&2&0\\3&1&4\\5&0&1\end{pmatrix}}

The three covers have weights 11, 2⋅3⋅1=62\cdot3\cdot1=6, and 2⋅4⋅5=402\cdot4\cdot5=40. Thus the permanent is 47 and the Hamiltonian cycle sum is 40. Viewed as choices of one entry in each row and column, the same permanent terms encode weighted perfect matchings in a bipartite graph.

Two directed cycle covers A three-cycle and a two-cycle with a loop. One Three-Cycle Two-Cycle + Loop 2 4 5 1 2 3 2 3 1 1 2 3 Weight 40 Weight 6
Two nonzero covers from the worked matrix. Only the three-cycle also contributes to the Hamiltonian cycle sum.

4. Permanent vs Determinant: Why the Polynomial Barrier Survived for Decades

The determinant uses the permanent’s terms with the sign of each permutation. In the example the transposition changes sign, giving 1−6+40=351-6+40=35. Alternating signs underpin determinant identities and polynomial-size division-free algorithms. In characteristic two, −1=1-1=1, so those signed formulas compute the permanent as well. The Hamiltonian cycle polynomial still selects the permutations by their cycle structure.

A long expansion cannot certify hardness. The determinant itself has N!N! distinct monomials, and circuits can both reuse a gate and cancel monomials along different paths. Earlier lower-bound methods often controlled one of these freedoms through monotonicity, formula structure, or multilinearity. Unrestricted circuits can mix these behaviors throughout the computation, including at intermediate gates whose polynomials have very high degree.

5. OpenAI’s Main Theorem: From Polynomial to Superpolynomial Lower Bounds

	Arithmetic circuit complexity gate bound for the directed Hamiltonian cycle polynomial and permanent, with field restrictions.
Arithmetic circuit complexity gate bound for the directed Hamiltonian cycle polynomial and permanent, with field restrictions.

Theorem 1.1 writes LF[D](f)\underline L_F^{[D]}(f) for the least size needed to put the degree-DD form ff in the Zariski closure of the degree-DD components produced by circuits of that size. This is closure in coefficient space, defined by polynomial equations. The circuit may emit any coefficients in other degrees. For char⁡F=χ\operatorname{char} F=\chi, the theorem states

𝑳𝑭[𝑵](HC𝑵⁡)≥exp⁡(𝒄(log⁡𝑵)2(log⁡log⁡𝑵)2).\boldsymbol{\underline{L}_F^{[N]}(\operatorname{HC}_N)\ge\exp\left(c\frac{(\log N)^2}{(\log\log N)^2}\right).}

The constant c>0c>0 is absolute, and the statement holds at every N≥N0(χ)N\ge N_0(\chi), with one threshold for fields of the same characteristic. Replacing HCN⁡\operatorname{HC}_N by PerN⁡\operatorname{Per}_N gives the same inequality when χ≠2\chi\ne2. On taking logarithms, the exponent grows faster than klog⁡Nk\log N for every fixed kk. That comparison rules out every polynomial gate budget.

6. The Proof Roadmap: Two Mathematical Routes to Circuit Hardness

	Arithmetic circuit complexity proof branches into balanced cuts or network compression, then transfers hardness.
Arithmetic circuit complexity proof branches into balanced cuts or network compression, then transfers hardness.
  1. Choose a candidate using a small verifier. The verifier checks Boolean guesses and gives accepted guesses weights. Summing all those weights creates a polynomial whose individual contributions are easy to describe.
  2. Read its coefficients as a tensor. In a polynomial that takes one variable from each row, the chosen indices identify a coefficient. A table of these coefficients exposes structure hidden by the circuit’s intermediate gates.
  3. Turn shared information into wire costs. Place the indices at sites and ask how expensive it is to supply the table through shared labels. Check whether the resulting spaces admit a uniform expansion inequality.
  4. Exploit the answer either way. Without expansion, every small-circuit decomposition fits a cheap geometric layout while an explicit tensor stays expensive. With expansion, network compression would let a program simulate and contradict its own path count.
  5. Transfer the contradiction. Encode the winning verifier in Hamiltonian cycles and, outside characteristic two, in perfect matchings. A small circuit for either complete polynomial would then yield a small circuit for the witness.

OpenAI’s research release credits an unnamed internal model for its manuscripts. The five stages above reconstruct the argument in the November 24 paper. The release documents the manuscripts and selected formalizations, with the earlier November 23 preprint superseded by the later work.

7. Tensor Geometry: Turning Arithmetic Computation Into Geometric Cost

Strassen’s asymptotic spectrum supplies functions on tensors that multiply for grouped tensor products, add for direct sums, and cannot increase under local linear maps. A scaled logarithm of such a function is a tensor price. For matrix rank across a chosen cut, a wire crossing it with qq possible labels costs log⁡q\log q at unit scale. A wire on one side costs zero for that particular rank test.

More generally, a wire costs its distance times log⁡q\log q. Joining wires gives a triangle inequality, and the paper works with extensions to Hadamard spaces, complete geodesic spaces of nonpositive curvature in the CAT(0) sense. A characteristic admits ports if some regular graphs of fixed degree and unbounded order obey a uniform nonlinear Poincaré inequality for placements in all its wire spaces. Average squared distance between random vertices is then bounded by a constant times average squared edge distance. The proof covers both possibilities without classifying the characteristics. Importantly, the same constant must work for every graph in the port family and every placement. An inequality for one convenient layout would tell us little about the networks that a hypothetical circuit could produce.

8. When Expansion Fails: Balanced Cuts and Exterior Tensor Hardness

Lemma 3.3 extracts only monomials that choose one variable per row. It tracks row sets through gates and groups computation terms around gates carrying between one-third and two-thirds of the rows. The coefficient tensor of a small circuit is consequently a sum of terms of low matrix rank on their own balanced cuts, with a closure version for border circuits. A single rank test can miss the savings because each term may choose a different cut.

Failure of the port inequality gives enough geometric freedom to make all these alternatives cheap at one placement. Random-walk entropy and a product construction provide directions for each cut. Two suppliers share a rank label across the cut while moving toward their own row sites. The savings on row wires must cover both the shared rank label and the extra label that lets all rows agree on which summand to use. Think of a rank-RR matrix as a sum of RR products, with one factor on each side. The shared label selects the same product at both ends. The geometry trades the cost of this one label against many shorter deliveries to the rows.

One balanced cut A central supplier splits into two joined suppliers. One Supplier Two Suppliers 1 2 3 4 1 2 3 4 Rank label
Schematic of one balanced cut. Two suppliers shorten the row wires and pay for a shared rank label.

The competing tensor comes from exterior multiplication. Wedging selected columns produces minors, and dimensions of subspace intersections help bound their price. The paper packs the required minors into a single explicit binary tensor from which local maps can recover a suitable exterior tensor for the placement. Weighted prices track the cost of transporting different row letters. The witness nearly matches the cost of sending every index from the center, so the circuit’s cheaper decomposition contradicts its price. Choosing the row count as a function of the variable budget yields the logarithmic exponent in Theorem 1.1.

9. When Expansion Holds: Compression and the Counting Contradiction

Ports furnish identities that compress a network’s contraction, the sum of the products of its local entries over shared labels. This matters because the witness coefficients are signed path counts. Each input includes the code of a clocked program. Its coefficient counts paths returning +1+1 minus paths returning −1-1, with timeouts contributing zero. The verifier can check a guessed path within a polynomial budget even when the table is costly to supply.

Assume the table has a small network. Compression reduces how many choices an evaluator must coordinate publicly, leaving short checks for private branches. That division lets a program use its own description as input, simulate its count in time, and contribute one extra success. The resulting count would equal itself plus one in the prime field. Batching is important because the argument evaluates many copies together even if the network mixes their internal wires.

Border circuits add a complication. Along a curve approaching the target coefficient vector, individual contributions can have poles that cancel in the sum. For example, take u=t−1u=t^{-1} and v=t−1−tv=t^{-1}-t. Both u2u^2 and uvuv have poles at zero, but u2−uv=1u^2-uv=1. A procedure that extracts each monomial separately needs to preserve this cancellation. Residues of test differentials and the Cartier operator turn that regular sum into a matrix action. The boundary value is an eigenvalue on a common nonzero vector, and matrix entries can be counted using the available time budget. The extra success at a chosen nonzero coordinate again forces a contradiction. In characteristic zero, specialization to a suitable prime preserves the finite data used in this simulation.

10. From Hard Tensors to Hamiltonian Cycle and Permanent Lower Bounds

Valiant’s completeness projections replace matrix entries by variables or field constants. Lemma 3.4 gives a sparse version beginning with weighted Boolean verifiers. The proof translates each accepted guess into a unique satisfying assignment of clauses that require exactly one true literal. It then turns the assignment into a tour whose edge weights reproduce the verifier’s contribution. For the permanent, alternating matchings encode bits, and a weighted gadget cancels inconsistent choices using the inverse of two.

The projection has order linear in the verifier length. The hard instances have at most three incoming and three outgoing arcs per vertex, or at most three entries per row and column for the permanent. To transfer a border bound, the proof extracts the homogeneous component before substituting constants, since constants can mix degrees. At a multiplication gate, the degree being tracked can be assembled from products of lower-degree pieces whose degrees add up to it. Keeping these components through degree NN adds only polynomial overhead. Forced paths for tours and identity blocks for matchings extend the construction to all sufficiently large orders.

11. How OpenAI’s Proof Advances Previous Circuit Lower Bounds

The paper cites a prior arithmetic circuit lower bound of Ω(N2log⁡log⁡N)\Omega(N^2\log\log N) for exact computation of the permanent over the complex numbers with unrestricted depth and reuse. Exponential bounds for monotone circuits and superpolynomial bounds for multilinear formulas concerned narrower models. OpenAI’s November 23 preprint gave a border lower bound of exp⁡(Ω((log⁡n)5/4))\exp(\Omega((\log n)^{5/4})) for an explicit VNP family and transferred it to both complete families with the same field restrictions. Anthropic’s independent Claude result gives Nc(log⁡N)1/3N^{c(\log N)^{1/3}} for exact and approximating circuits in the corresponding fields.

The November 24 theorem raises the exponent scale to (log⁡N)2/(log⁡log⁡N)2(\log N)^2/(\log\log N)^2 over every field for Hamiltonian cycle and every field of characteristic other than two for the permanent. This is superpolynomial and subexponential in matrix order. Theorem 12.2 gives the much faster stretched-exponential bound 2Nεχ2^{N^{\varepsilon_\chi}} in characteristics admitting ports, with an exponent that can depend on the characteristic.

12. What the Proof Establishes, What Lean Verifies and What Remains Open

Exact complexity requires a circuit to output the whole target. Ordinary border complexity allows algebraic limits of whole outputs, and degree-component border complexity constrains only the selected degree in the limit. Over every field, VNP therefore contains families outside border VP. VP comprises polynomial-degree, polynomial-variable families with polynomial-size circuits. VNP additionally allows a sum of an efficient verifier over Boolean witnesses. The theorem separates these algebraic classes. Boolean P vs NP remains open. The gate counts describe formal polynomial computation and leave open whether a polynomial-time Boolean algorithm can decide if a graph has a tour.

OpenAI’s Lean documentation reports an exact gate bound above NCN^C for every fixed CC, eventually and uniformly within each characteristic, with the same exception for the permanent. The exact VP vs VNP Comparator challenge states the class separation. The stronger quantitative degree-component border theorem for these families remains outside that formalization.

The theorem also forces superpolynomial matrix order for determinantal representations, even allowing coefficient limits, because determinants of affine-linear matrices have polynomial-size division-free circuits. In arithmetic circuit complexity, the result closes the polynomial-size question for the directed Hamiltonian cycle family and for the permanent outside characteristic two. Matching upper bounds and the classification of port characteristics remain open. Follow Binary Verse AI for more paper-first analysis of the mathematics behind results like this.

What is arithmetic circuit complexity?

Arithmetic circuit complexity measures the resources required to compute a formal polynomial using operations such as addition, subtraction, and multiplication. OpenAI’s paper proves superpolynomial size lower bounds for unrestricted division-free arithmetic circuits for the directed Hamiltonian cycle polynomial and, outside characteristic two, the permanent.

What did OpenAI prove about the Hamiltonian cycle and permanent polynomials?

The November 24 paper proves a degree-component border size lower bound of exp⁡(c(log⁡N)2(log⁡log⁡N)2)\exp\left(c\frac{(\log N)^2}{(\log\log N)^2}\right) at every sufficiently large matrix order NN. The constant c>0c>0 is absolute and the threshold depends only on the field characteristic. The result covers directed Hamiltonian cycle over every field and the permanent outside characteristic two.

Why is the permanent computationally harder than the determinant?

The determinant assigns alternating signs to permutation terms. These signs underpin identities used by polynomial-size division-free circuits. The permanent uses all positive signs in its defining sum, and the paper proves that polynomial-size arithmetic circuits cannot compute it outside characteristic two. In characteristic two the signs coincide and both polynomials are equal.

How did OpenAI overcome previous arithmetic circuit lower-bound barriers?

The proof uses two alternatives. If the field’s tensor geometry lacks a uniform expansion property, balanced cuts make a small circuit’s coefficient tensor too cheap to match an explicit exterior-tensor witness. If the geometry has expansion, network compression would let a program reconstruct and contradict its own signed path count. Together the alternatives cover all field characteristics.

What is the difference between exact circuit complexity and border complexity?

Exact complexity requires the whole output polynomial to equal the target. Border complexity also allows algebraic limits of bounded-size circuits. The paper proves a lower bound in the more permissive degree-component border model, where only the coefficients in the target degree must approach the specified values in the algebraic sense.

Has OpenAI’s arithmetic circuit complexity proof been verified in Lean?

OpenAI’s documentation reports that Lean proves eventual superpolynomial exact gate lower bounds for directed Hamiltonian cycle over every field and for the permanent outside characteristic two. The stronger quantitative degree-component border bound for these two families remains unformalized.

Does OpenAI’s proof solve the P vs NP problem?

No. It separates VP and VNP, which are classes of polynomial families in algebraic complexity theory. Boolean P vs NP concerns decision problems and remains open.

Leave a Comment