AI Proved What?

Episode 133, October 2026

How hard is WL?

Claimed unconditional lower bounds and EXPTIME-completeness for Weisfeiler–Leman refinement, the classic test for graph isomorphism

Covers result 133 in OpenAI’s catalog: all 4 papers. See its connections to other results and the work it cites.

8:05. English captions available. The video loads from YouTube when you press play.

Chapters

  1. 0:00Weisfeiler–Leman refinement
  2. 1:37The claims
  3. 3:33How the proofs go
  4. 7:14Where it stands

The claim, in plain words

Colour refinement is a classic first test for whether two graphs are the same up to relabelling: give every vertex the same colour, then repeatedly recolour each vertex by its old colour and the multiset of its neighbours’ colours; if the colour counts ever differ, the graphs are not isomorphic. It cannot separate a six-cycle from two triangles. The k-dimensional Weisfeiler–Leman method colours k-tuples instead, starting from which entries are equal or adjacent and updating each tuple from the tuples made by putting any vertex into any one position; in the joint form, two dimensions already separate those graphs.

Weisfeiler and Leman introduced the method in 1968. Cai, Fürer and Immerman built coloured graphs of maximum degree three that need dimension linear in their size. For a fixed dimension k, refinement decides equivalence in time nO(k). Earlier hardness results were much weaker: identification was P-hard for every fixed dimension, equivalence with the dimension as input was coNP-hard, Berkholz asked whether it is EXPTIME-complete, and some coloured pairs need on the order of nk/2 rounds, which does not rule out a faster algorithm that decides the outcome another way.

Result 133 is four OpenAI preprints, 107 pages dated September 25, 2026. The first (27 pages) claims that for every sufficiently large fixed k, any deterministic algorithm deciding k-dimensional equivalence needs time at least nck at every large graph size, for one absolute constant c, with no complexity assumption, even on connected graphs of diameter at most two. The second (39 pages) claims that with the dimension given in binary, equivalence is EXPTIME-complete, even for connected graphs of maximum degree three. The third (25 pages) claims that deciding whether refinement of a given dimension identifies a graph is EXPTIME-complete. The fourth (16 pages) turns finite choice systems into pairs of graphs that are equivalent exactly when no consistent choice exists and, assuming the exponential time hypothesis, rules out fast algorithms even for the first round or two.

What it doesn’t claim

The papers use two update rules, joint and separate; the EXPTIME results cover only the joint one (identification uses colour refinement at dimension one). The lower bound is for deterministic sequential machines reading adjacency matrices (multitape Turing machines and logarithmic-word RAMs), not randomized algorithms or advice, and for small dimensions like two or three it gives nothing beyond the cost of reading the input. Sufficiently large is very large: with the paper’s constant 10−9, the bound beats the n2 cost of reading the input only once k passes two billion; the Lean version uses 1/2000 from k = 108.

Where it stands

Posted as preprints
OpenAI, four preprints, 107 pages, dated September 25, 2026
Peer reviewed
Not yet
Checked in Lean
The unconditional bound, both EXPTIME results, the parity-lift reduction, and (outside the catalog) the conditional time bounds. We have not run the check

Last checked October 19, 2026. The preprints have not been revised. OpenAI published a Lean formalization of the unconditional lower bound (comparator), the variable-dimension EXPTIME-completeness (comparator), the identification EXPTIME-completeness (comparator) and the parity-lift reduction theorem (comparator): 193 files and 65,771 lines with their imports (lower bound, variable dimension, identification, parity lifts), not counting Mathlib. The conditional time bounds are formalized too, in a file the catalog does not link (AsymptoticBounds.lean), with the exponential time hypothesis as an explicit assumption rather than an axiom; with it, 288 files and 80,477 lines. We found no unproved steps. We have not run the check. None of the papers is among those OSVerify reviewed, and we have seen no expert review.

How the proofs go

  1. Parity lifts. Adapted from Roberson’s parity graphs, in the spirit of Cai, Fürer and Immerman: replace each vertex of a base graph by bit vectors with one bit per neighbouring vertex type and a prescribed parity, and join two of them when their base vertices are adjacent and the facing bits agree. Flipping the parity at one vertex twists the graph. On K4, both versions have 16 vertices, 48 edges and 32 triangles, but the untwisted one contains 8 copies of K4 and the twisted one none.
  2. Choice systems. For dimension four and up, with k + 1 domains under the joint rule or k under the separate rule, the two lifts of a choice-system graph are equivalent exactly when no consistent choice exists. A choice changes the number of maps of one small template graph into the lift, visible within two rounds; conversely, refinement only sees counts of patterns of small treewidth, and if one separated the lifts, following the odd parity through its tree decomposition would end at a bag that is a consistent choice.
  3. Diagonalization. A compressed consistency problem on addresses with r digits in base m becomes two connected graphs of diameter at most two, equivalent exactly when it is consistent; a one-tape machine run, with time and position in those digits, is such a problem; and a padded diagonal language has no one-tape decider in ms steps at any large length, though it is decidable in time polynomial in ms. Hard pairs exist at every size in a window, so one fast size in a late window would contradict the diagonal language.
  4. EXPTIME, and identification. An exponential-time tableau has exponentially many cells but short binary addresses; polynomially many product rules on those addresses, with the dimension equal to the address length, give polynomial-size graphs whose equivalence encodes the answer. Buffers make information flow one way, and a subcubic version uses triangles and colour-coding paths. For identification, every graph equivalent to the construction is a twisted copy; if the machine accepts, every twist refinement misses can be undone, and if it rejects, one twist survives.

The numbers in the video

  • Colour refinement cannot separate a six-cycle from two triangles; joint 2-dimensional refinement does in one round (6 against 0 non-adjacent pairs with a common neighbour).
  • Parity graph of K4: colour refinement and joint 2-dimensional refinement see no difference between the untwisted and twisted versions; joint 3-dimensional refinement does after one round.
  • A toy choice system with four two-valued domains (separate rule, k = 4): lifts of 16,456 vertices; template map counts equal when no choice exists, and different by 16,698,832,846,848 once one constraint becomes an equality.
  • Constants: c = 10−9 in the paper (nck passes n2 at k = 2 × 109); c = 1/2000 from k = 108 in Lean.

Read the source

The 4 papers in this result

OpenAI groups related papers, such as alternative proofs, supporting results and consequences, into one result; we label the first paper it lists the main paper and the others companions.

Transcript

Read the full script

0:00Weisfeiler–Leman refinement

Are two graphs the same up to relabelling? A classic first test is colour refinement. Give every vertex the same colour, then repeatedly recolour each vertex by its old colour and the multiset of its neighbours’ colours. If the colour counts ever differ, the graphs are not isomorphic. It can fail: in a six-cycle and in two triangles, every vertex has two neighbours, so refinement never separates them. The k-dimensional Weisfeiler–Leman method colours k-tuples of vertices instead. It starts from which entries are equal or adjacent, and updates each tuple from the tuples made by putting any vertex into any one position. In the joint form, which keeps the swaps for each new vertex together, two dimensions already separate these graphs. In our check, in the cycle 6 non-adjacent pairs share a neighbour, and in the triangles none do. Weisfeiler and Leman introduced the method in 1968. Cai, Fürer and Immerman built pairs of non-isomorphic coloured graphs of maximum degree three that need dimension linear in their size. For a fixed dimension k, refinement decides equivalence in time n^O(k). The known hardness was much weaker. Deciding whether refinement identifies a graph was P-hard for every fixed dimension. With the dimension as part of the input, equivalence was coNP-hard, and Berkholz asked whether it is EXPTIME-complete. And some coloured graph pairs need on the order of n^(k/2) rounds of refinement, which still does not rule out a faster algorithm that decides the outcome another way.

1:37The claims

Result 133 is four OpenAI preprints, 107 pages in all, dated September 25. The first claims an unconditional lower bound: for every sufficiently large fixed k, any deterministic algorithm deciding k-dimensional equivalence needs time at least n^(ck), for one absolute constant c, at every large graph size, even on connected graphs of diameter at most two. The second: with the dimension given in binary, equivalence is EXPTIME-complete, even for connected graphs of maximum degree three. The third: deciding whether refinement of a given dimension identifies a graph, separating it from every non-isomorphic graph, is EXPTIME-complete too. The fourth turns finite choice problems into graph pairs and, assuming the exponential time hypothesis, rules out fast algorithms even for the first round or two. The fine print matters. The papers use two update rules, joint and separate; the second and third results cover only the joint one. The lower bound is for deterministic sequential machines reading adjacency matrices, and for small dimensions like two or three it gives nothing beyond the cost of reading the input. Sufficiently large is very large: with the paper’s constant, 10⁻⁹, the bound only beats the n² cost of reading the input once k passes 2 billion. The Lean version uses 1/2000, from k of 100 million. OpenAI published Lean formalizations of all four. For the parity lifts, the catalogued statement is the reduction theorem, and a further file that the catalog does not link proves the conditional time bounds, with the exponential time hypothesis as an explicit assumption. In all, about 290 files and 80,000 lines, not counting Mathlib. We have not run the Lean check.

3:33How the proofs go

The building block is a parity lift, adapted from Roberson’s parity graphs, in the spirit of Cai, Fürer and Immerman. Take a base graph. Replace each vertex by bit vectors, one bit per neighbouring vertex type, with a prescribed parity. Join two of them when their base vertices are adjacent and the bits facing each other agree. Flipping the parity at one vertex twists the graph. On the complete graph on four vertices, both versions have 16 vertices, 48 edges and 32 triangles, but the untwisted one contains 8 copies of the complete graph and the twisted one none. In our check, colour refinement and joint two-dimensional refinement could not tell them apart; joint three-dimensional refinement could, after one round. The fourth paper builds the base graph from a choice system: a few domains, and for each pair of domains, labels that the chosen elements must agree on. For dimension four and up, with k plus one domains under the joint rule, or k under the separate rule, the two lifts are equivalent exactly when no consistent choice exists. A consistent choice changes the number of ways to map one small template graph into the lift, and that shows up within two rounds. Conversely, refinement only sees counts of patterns of small treewidth, and if one of them separated the lifts, following the odd parity through its tree decomposition would end at a bag whose vertices form a consistent choice. In our check, a toy system with four two-valued domains, which is dimension four under the separate rule, where three must pairwise differ, gave lifts of 16,456 vertices with equal template map counts. Turning one constraint into an equality made a choice possible, and the counts differed by about 17 trillion. The unconditional bound needs no hypothesis because it diagonalizes. First, a compressed consistency problem, on addresses written with r digits in base m, becomes two connected graphs of diameter at most two that are equivalent exactly when the problem is consistent. Second, the run of a one-tape machine, with its time and tape position written in those digits, is such a problem, so the graphs are equivalent exactly when the machine rejects. Third, a padded diagonal language simulates the machine named by the input’s prefix and flips its answer, so no one-tape machine decides it in m^s steps at any large length, though it is decidable in time polynomial in m^s. Hard pairs exist at every graph size in a window, so a decider beating n^(ck) at even one size in any late window would decide that language too fast. With the dimension as input, the same idea scales up. An exponential-time machine has exponentially many tableau cells, but each cell has a short binary address of time and position bits. The construction describes the tableau by polynomially many product rules on those addresses, sets the dimension equal to the address length, and builds graphs of polynomial size whose equivalence encodes the machine’s answer. Buffers make information flow one way, and the subcubic version rebuilds high-degree parts from paths and trees, then replaces each vertex by a triangle, with paths whose lengths encode its colour. Identification needs more. The third paper shows that every graph equivalent to its construction is a twisted copy, isomorphic exactly when the twist can be undone. If the machine accepts, every twist that refinement misses can be undone, so refinement identifies the graph; if it rejects, one twist survives.

7:14Where it stands

The four preprints are not peer reviewed and have not been revised. The Lean formalizations cover the unconditional lower bound, both EXPTIME-completeness results and the parity-lift reduction, and a file the catalog does not link covers the conditional time bounds; we have not run them. None of these papers is among those OSVerify reviewed, and we have seen no expert review. If they hold, deciding the outcome of Weisfeiler–Leman refinement is provably hard. For large fixed dimensions no deterministic algorithm beats n^(ck), with no unproved hypothesis, and with the dimension as input, both equivalence and identification are EXPTIME-complete, which by the time hierarchy theorem rules out polynomial time.

Spot a mistake?

This episode simplifies on purpose, but it shouldn’t be wrong. If something is, open an issue on GitHub or leave a comment on YouTube. Corrections are noted here with a date.