Algebraic Complexity Theory: OpenAI’s Proof Separates Four Worlds of Computation VP ≠ VNP

Draw a path, a tree and a grid. Apply the same recipe to each graph and the resulting polynomials expose three different limits on computation. In algebraic complexity theory, OpenAI’s November 24, 2026 preprint proves that the four classes in Valiant’s hierarchy are distinct over every field. Path state sums have small branching programs but require large formulas.

Complete binary trees have small circuits but require large branching programs. Square grids have efficient verification of individual terms but require superpolynomial circuits to compute the full sum. All three lower bounds survive even when the computation needs only to approximate coefficients of the target degree in the algebraic sense.

1. What Is Algebraic Complexity Theory and Valiant’s Hierarchy?

These algebraic complexity classes cover formal polynomial families of polynomially bounded degree and arity. Each family index may have its own computation.

The four classes in Theorem 1.1, ordered by inclusion.
ClassPolynomial-Size Description
VFArithmetic formulas with a tree of gate occurrences
VBPAlgebraic branching programs with affine edge labels
VPArithmetic circuits with reusable gate outputs
VNPSums of VP verifier outputs over Boolean witnesses

Consider p=ab+cp=ab+c. A circuit can feed the same gate for pp into both factors of (p+x)(p+y)(p+x)(p+y). A formula has a tree of gate occurrences, so writing the expression that way uses two copies of pp. An algebraic branching program (ABP) shares prefixes and suffixes through a directed acyclic graph. Its output is the sum of products of affine labels along source-to-sink paths. Formulas translate to ABPs by series and parallel composition. Circuits simulate ABPs by accumulating weighted sums in topological order.

2. The Historical Barrier to Proving Arithmetic Circuit Lower Bounds

Valiant’s framework asks whether summing over Boolean witnesses can create a polynomial that requires superpolynomial circuit size. Inside VP, a different question asks how expensive it is to replace shared intermediate results with a formula. The determinant is central because every VBP family is a polynomial projection of determinants of polynomial order. Classical results gave a cubic determinant formula lower bound and quasipolynomial formula upper bounds throughout VP.

Earlier results exploited restricted models. Multilinearity limits intermediate monomials, while noncommutativity keeps variable order visible. Here intermediate polynomials may have repeated variables and cancel, and the bounds allow arbitrary field constants and unbounded depth. Claude’s separate VP versus VNP proof addresses the top separation. This paper uses graph state sums to prove that separation and both below it.

3. OpenAI’s Proof of Three Separations With Three Graphs

Algebraic complexity theory hierarchy showing which graph witnesses each strict inclusion.
Algebraic complexity theory hierarchy showing which graph witnesses each strict inclusion.

Theorem 1.1 of the hierarchy preprint states that, over every field FF,

𝖵𝖥𝑭⊊𝖵𝖡𝖯𝑭⊊𝖵𝖯𝑭⊊𝖵𝖭𝖯𝑭.\boldsymbol{\mathsf{VF}_F\subsetneq\mathsf{VBP}_F\subsetneq\mathsf{VP}_F\subsetneq\mathsf{VNP}_F.}

Each witness uses nn states per edge. OpenAI’s release history lists the preprint in its Euclidean tensor geometry series. The five stages below reconstruct the argument from the published proof.

  1. Build one polynomial recipe. Give edges labels and vertices independent tables. A labeling selects one entry per table, so the graph determines which products enter the sum.
  2. Read the coefficients. Arrange them in an array. Each graph edge becomes an equality constraint between two indices, making the target’s dependencies explicit.
  3. Fix the delivery points. Give edge ends fixed sites in Euclidean space. Price equality by distance, then let each proposed summand choose its own cheaper supply sites.
  4. Extract cuts from computations. Circuits yield balanced splits, ABPs yield prefixes of a chosen size, and formulas yield nested splits. Compare their total price with the graph tensor’s price.
  5. Transfer by substitution. Prove the estimates on small graphs with many labels first. Pin unused labels and variables to transfer the bounds to the full families.
Example cuts in three witness graphs A four-by-four grid is split into two equal halves with four crossing edges. A complete binary tree of seven vertices has a three-vertex child subtree with one crossing edge. A five-vertex path has a two-vertex prefix with one crossing edge. Square Grid 4 Crossing Edges Complete Binary Tree 1 Crossing Edge Path 1 Crossing Edge
Example cuts. Orange edges join vertices on opposite sides.

4. Graph State Sums and the Polynomial Behind All Three Separations

	Algebraic complexity theory example showing how matching edge labels produce a three-vertex path state sum.
Algebraic complexity theory example showing how matching edge labels produce a three-vertex path state sum.

Let G=(V,E)G=(V,E) be a finite loopless multigraph and [q]={1,…,q}[q]=\{1,\ldots,q\} the edge alphabet. At each vertex vv, use a separate variable Xv,αX_{v,\alpha} for each tuple α\alpha of states on its incident edges E(v)E(v). An assignment aa to all edges determines the restricted tuple a|E(v)a|_{E(v)} at that vertex. The state sum is

𝒁𝑮,𝒒(𝑿)=∑𝒂∈[𝒒]𝑬∏𝒗∈𝑽𝑿𝒗,𝒂|𝑬(𝒗).\boldsymbol{Z_{G,q}(X)=\sum_{a\in[q]^E}\prod_{v\in V}X_{v,a|_{E(v)}}.}

Every monomial uses one variable from each vertex table, which makes the polynomial set-multilinear of degree |V||V|. On a three-vertex path with two states, write the left table as a row xx, the middle as a matrix YY and the right as a column zz. The four legal assignments give

𝒙𝒀𝒛=𝒙1𝒀11𝒛1+𝒙1𝒀12𝒛2+𝒙2𝒀21𝒛1+𝒙2𝒀22𝒛2.\boldsymbol{\begin{aligned}xYz&=x_1Y_{11}z_1+x_1Y_{12}z_2\\&\quad+x_2Y_{21}z_1+x_2Y_{22}z_2.\end{aligned}}

The coefficient of x1Y12z2x_1Y_{12}z_2 is one. The coefficient of x1Y12z1x_1Y_{12}z_1 is zero because the tables disagree on the second edge. Longer paths give iterated matrix multiplication. The coefficient tensor A(ZG,q)A(Z_{G,q}) stores these tests, with two indices per edge.

5. Euclidean Tensor Pricing Turns Geometry Into Lower Bounds

	Algebraic complexity theory diagram comparing a graph tensor with a low-rank summand at fixed terminals.
Algebraic complexity theory diagram comparing a graph tensor with a low-rank summand at fixed terminals.

Flattening a tensor means grouping its indices into the rows and columns of a matrix. For a vertex set CC, let ∂C\partial C be the edges from CC to its complement. Across this partition the target has rank q|∂C|q^{|\partial C|}. Every crossing edge supplies a rank-qq identity matrix, and every internal edge supplies a vector on just one side. A summand of low rank across one cut can have high rank across another.

The companion Euclidean pricing theorem, based on Strassen’s asymptotic spectrum, gives a single price HH at fixed sites. Tensor products add prices, and local linear maps can only lower them. Sharing a label among sites costs the logarithm of its alphabet size times their normalized Gaussian mean width. This width measures the convex hull through its expected extent in Gaussian directions and equals the distance for two sites. A sum costs at most its largest summand price plus the terminal width times log⁡L\log L, where LL is the number of summands. All logarithms here are base two.

Place the ends of each edge at opposite unit vectors on a separate axis. With e=|E|e=|E| and w=log⁡qw=\log q, every equality wire costs 2w2w. Independence of the wires gives the exact target price

𝑯(𝑨(𝒁𝑮,𝒒))=2|𝑬|log⁡𝒒.\boldsymbol{H(A(Z_{G,q}))=2|E|\log q.}
Fixed terminals and movable supply sites Two views of the same four terminals. The graph tensor pairs A with B i horizontally and D with B j vertically. For a low-rank summand across the cut around B, the origin supplies A and D while a second site z supplies B i and B j. A dashed rank wire connects the two supply sites. Graph Tensor Low-Rank Summand BᵢBⱼAD BᵢBⱼAD 0 z Equality wires Rank wire
Schematic for the cut around the middle vertex B of path A–B–D. The four terminals stay fixed.

For a summand of rank at most RR across CC, a shared RR-valued index lets two supply sites generate their respective arrays by local maps. Move the supply site for CC from the origin toward the sum of its terminal vectors. Internal edge ends cancel, and the crossing vectors are orthogonal, so this sum has length |∂C|\sqrt{|\partial C|}. The first-order output-wire saving per unit displacement is at least wbw\sqrt b when every summand cuts at least bb edges. The unchanged terminals let us compare terms even when their supply sites differ. The rank wire costs log⁡R\log R per unit.

Lemma 3.2 assumes 2≤d=|V|≤w1/32\le d=|V|\le w^{1/3} and 1≤b≤e≤2d1\le b\le e\le 2d. If log⁡R<wb/2\log R< w\sqrt b/2, the displacement can leave a saving of at least wb/(16e)wb/(16e) per summand after the quadratic distance penalty. With at most 2d2^d summands, the addition premium is O(dlog⁡(2d))O(d\sqrt{\log(2d)}), smaller than the saving for sufficiently large ww. Their sum would cost less than the target. Price sublevels are Zariski closed, so the contradiction survives taking the Zariski closure of the set of sums. Coefficient extraction is linear on the target-degree component. This rules out even degree-component border computations, whose degree-matched coefficients need only approach the target in the Zariski sense over the algebraic closure of FF.

6. Square Grids Separate VP From VNP With Balanced Cuts

Gates may mix vertex tables. Lemma 4.2 separates homogeneous degrees. From the output degree dd, it follows larger-degree inputs at products and distributes through sums, accumulating a multiplier for each visited gate. It stops at factors of degree greater than d/3d/3 and at most 2d/32d/3. Extracting one variable per slot groups those products by the vertex set supplied by the factor. For each such split the rank is O((s+1)(d+1)2)O((s+1)(d+1)^2) for circuit size ss.

In an rr-by-rr grid, a balanced partition cuts at least ⌈r/3⌉\lceil r/3\rceil edges. Either enough rows contain both colors, giving horizontal crossings, or each color fills a row, giving a vertical crossing in every column. The pricing bound now forces qΩ(r)q^{\Omega(\sqrt r)} circuit size when r2≤(log⁡q)1/3r^2\le(\log q)^{1/3}. Set q=nq=n and restrict the full grid to a subgrid of side

𝒓=⌊(log⁡𝒏)1/6⌋.\boldsymbol{r=\lfloor(\log n)^{1/6}\rfloor.}

The projection pins unused edges and sets deleted tables to one on legal entries. Its polynomial overhead is absorbed by the growing exponent. Theorem 4.1 thus yields

𝒔≥𝒏𝛀((log⁡𝒏)1/12).\boldsymbol{s\ge n^{\Omega((\log n)^{1/12})}.}

For VNP membership, encode edge labels with Boolean blocks. Products of bits and complements select each local table entry, and unused encodings contribute zero. Degree at most four keeps the verifier polynomial in size in every characteristic.

7. Binary Trees Separate Branching Programs From Circuits

A circuit works upward, storing one subtree sum per possible parent-edge label. The parent reuses those sums across table entries, giving size O(dq3)O(dq^3) on dd vertices. One child subtree has nearly half the vertices but crosses just one edge.

An ABP offers a stronger handle. Expand its affine-labeled paths and keep choices with one variable per vertex slot. Stop immediately after the kkth variable. For a given prefix slot set and stopping vertex, prefix and suffix arrays form an outer product. Grouping by prefix set gives rank at most the ABP size across each corresponding cut, as Lemma 5.2 shows.

On a complete tree of hh levels, a subset’s size is the root’s membership contribution plus signed subtree sizes 2j−12^j-1 at boundary edges. With at most a small constant times hh boundary edges, the number of representable sizes is less than the number of possible sizes. Some kk therefore forces Ω(h)\Omega(h) crossings for every prefix set. Pricing then gives qΩ(h)q^{\Omega(\sqrt h)} on short trees. Take q=nq=n and project the full tree, which has ⌊log⁡(2n)⌋\lfloor\log(2n)\rfloor levels, to one with ⌊(log⁡log⁡n)/3⌋\lfloor(\log\log n)/3\rfloor levels. Theorem 5.1 and the quadratic projection overhead give

𝒔≥𝒏𝛀(log⁡log⁡𝒏).\boldsymbol{s\ge n^{\Omega(\sqrt{\log\log n})}.}

8. Why Arithmetic Formulas Cannot Match Branching Programs on Paths

A layered ABP keeps the current edge label as its state. A formula can bisect the matrix product, summing over the qq middle labels and recursively expanding the shorter products, for size qO(log⁡d)q^{O(\log d)}. Every prefix size has a cut crossing just one edge. To recover a logarithmic factor, the lower bound has to combine splits across scales.

At a formula’s first product gate where both children contribute variables, coefficient extraction splits the slots. Repeat on each child. Lemma 6.2 groups the resulting terms by the ordered tree of splits, the leaf labels and the distances to the chosen products. A shared address tells each descendant leaf which product occurrence was chosen. Along a leaf’s chain the address lengths sum to at most the formula depth.

Lemma 6.3 clusters consecutive leaves of that split tree at dyadic scales. Each cluster moves toward its own sum of terminal vectors. Every proper cluster in a connected graph has a crossing edge, so each scale yields a saving. A subtree’s displacements at scales larger than its leaf count are common translations, which add no width. The finer ones shrink geometrically, bounding the mean width in proportion to the subtree’s share of leaves. Thus address costs are controlled by depth, while the output-wire saving gains a factor of log⁡d\log d.

If depth is below a suitable constant times (log⁡q)log⁡d(\log q)\log d, the saving beats the sum premium for 2≤d≤(log⁡q)1/32\le d\le(\log q)^{1/3}. This gives matching exponents for short paths, and the same lower-bound argument applies to every tree in that range. Balancing a size-ss formula to depth O(log⁡(s+2))O(\log(s+2)) turns this into a size bound. Project the nn-vertex path to ⌊(log⁡n)1/3⌋\lfloor(\log n)^{1/3}\rfloor vertices at q=nq=n to get

𝒔≥𝒏𝛀(log⁡log⁡𝒏).\boldsymbol{s\ge n^{\Omega(\log\log n)}.}

9. The Determinant Inherits the Path Lower Bound

The layered ABP’s weighted adjacency matrix MM is strictly upper triangular in topological order. The source-to-sink entry of (I−M)−1(I-M)^{-1} sums the weighted paths, because each power of MM accounts for paths of one length. Since det⁡(I−M)=1\det(I-M)=1, the cofactor identity makes that entry a signed minor. Absorb the sign into one row and pad with an identity block. With q=⌊n⌋q=\lfloor\sqrt n\rfloor and d=⌊(log⁡q)1/3⌋d=\lfloor(\log q)^{1/3}\rfloor, the minor fits inside order nn. The resulting affine projection transfers the path bound to the generic determinant.

FormulaSize⁡(det𝒏⁡)≥𝒏𝛀(log⁡log⁡𝒏).\boldsymbol{\operatorname{FormulaSize}(\det\nolimits_n)\ge n^{\Omega(\log\log n)}.}

The bound also holds for degree-component border formulas. ABPs and circuits can still compute determinants efficiently by reusing intermediates.

10. When Do Graph State Sums Admit Polynomial-Size Computation?

Theorem 7.1 classifies graph families when one polynomial in |V|+q|V|+q must bound size across the family and all q≥2q\ge2. The same criteria apply to sequences of polynomially bounded order with q=nq=n.

Theorem 7.1. The bounds on graph parameters must hold uniformly across the family.
Computational ModelParameters That Must Be Bounded
Arithmetic formulasMaximum degree and largest connected-component size
Algebraic branching programsCutwidth
Arithmetic circuitsTreewidth and maximum degree

With bounded components and degree, a formula enumerates labelings inside each component and multiplies the results. An ABP tracks labels crossing a prefix in an order of bounded cutwidth. A circuit uses a tree decomposition, reusing tables indexed by labels shared between bags. Treewidth measures the smallest possible largest bag size minus one.

Large degree tt forces a rank of qtq^t across one vertex’s table, while a small computation has only linearly many affine inputs to span that table’s coefficient vectors. Under bounded degree, unbounded component size forces long paths. Unbounded cutwidth forces unbounded pathwidth and hence complete binary tree minors, and unbounded treewidth forces grid minors. Minor projections route tuples of labels through contracted branch sets. They retain enough alphabet states to transfer the corresponding lower bounds, even in the border model.

11. What OpenAI’s Proof Changes in Algebraic Complexity Theory

Across every field, the three separations survive algebraic degeneration of the relevant degree component. Boolean P versus NP asks about decision problems in a different computational model, so it remains open.

OpenAI’s Lean scope notes report all three strict inclusions, including a result ruling out polynomial-size degree-component border circuits for the grid family. The hierarchy Comparator states the inclusions for the exact classes. The paper’s explicit grid exponent remains outside that formalization.

For algebraic complexity theory, the classification gives the separations a common explanation. What a graph makes expensive depends on how the model can carry labels across a cut or share them across many scales. Follow Binary Verse AI for more research explainers grounded in the original proofs.

What is algebraic complexity theory?

Algebraic complexity theory studies the resources needed to compute formal polynomials using arithmetic operations. It compares models such as formulas, algebraic branching programs and circuits to determine which families of polynomials admit efficient computation.

What did OpenAI prove about Valiant’s hierarchy?

OpenAI’s preprint establishes 𝖵𝖥⊊𝖵𝖡𝖯⊊𝖵𝖯⊊𝖵𝖭𝖯\mathsf{VF}\subsetneq\mathsf{VBP}\subsetneq\mathsf{VP}\subsetneq\mathsf{VNP} over every field. State sums on paths, complete binary trees and square grids witness the three strict inclusions, respectively.

Why are paths, trees and grids important in OpenAI’s proof?

Each graph exposes a different limitation. Paths require the formula argument to track nested splits across scales. Complete binary trees force large boundaries at a carefully chosen subset size, which constrains branching programs. Square grids force large boundaries at every balanced cut, which constrains arithmetic circuits.

How is OpenAI’s proof different from Claude’s VP vs VNP proof?

Claude’s proof addresses the separation of VP and VNP. OpenAI’s hierarchy paper uses one graph state-sum construction to separate VP from VNP, arithmetic formulas from branching programs, and branching programs from arithmetic circuits.

Does separating Valiant’s hierarchy solve P vs NP?

No. Valiant’s hierarchy concerns the arithmetic complexity of formal polynomial families, while P vs NP concerns Boolean decision problems. Boolean P vs NP remains open.

Has OpenAI’s arithmetic hierarchy proof been verified in Lean?

OpenAI’s published Lean development establishes all three strict inclusions over every field. It rules out polynomial-size degree-component border circuits for the square-grid family. The paper’s explicit nΩ((log⁡n)1/12)n^{\Omega((\log n)^{1/12})} grid lower bound remains outside the formalized results.

Leave a Comment