The computational complexity of Weisfeiler–Leman refinement
Deciding Weisfeiler–Leman equivalence at dimension k needs time n to a power proportional to k.
Weisfeiler–Leman refinement is a standard test for whether two networks look alike, run at a chosen dimension k. The usual method checks every list of k points. Its cost grows like the number of points to the power k. With no unproven assumption, this paper proves that no correct step-by-step algorithm avoids a power proportional to k. Companion papers prove that the problem is EXPTIME-complete when k is part of the input.
The explanation
Take six points. In graph A, join them in one ring, like a hexagon. In graph B, join them as two separate triangles. In both graphs every point has exactly two neighbours. Yet B contains triangles and A contains none. The two graphs are clearly different.
A standard test, called colour refinement, cannot see this. Every point starts with the same colour. In each round, a point records the colours of its neighbours. Here every point always sees two neighbours of one colour. So the colour counts match forever, and the test calls the graphs alike.
Weisfeiler–Leman refinement is the stronger version. At dimension k, it colours every ordered list of k points, called a tuple. At dimension 2 it colours pairs. A joined pair in B has a shared neighbour, and a joined pair in A does not. After one round, the pair colour counts differ, so dimension 2 tells A from B. Two graphs are called k-equivalent when the colour counts agree at every round. Equivalent graphs need not be the same graph.
The catch is cost. A graph with n points has n^k tuples. With 100 points, dimension 2 means 10,000 pairs. Dimension 10 means 10^20 tuples. For each fixed dimension the test runs in polynomial time. But the direct methods take time n^O(k), so the power of n grows with k. The open question was whether any algorithm at all must pay that growing power. A cleverer method might reach the same verdict without colouring every tuple.
Earlier lower bounds missed this question. In 1992, Cai, Fürer and Immerman showed that some graphs need high dimension to be told apart. Those are limits on the dimension, not on every algorithm. Grohe, Lichter, Neuen and Schweitzer built graphs needing about n^(k/2) rounds of refinement. That bound concerns the refinement process itself. It does not exclude a faster method that decides the final answer another way. Lichter, Raßmann and Schweitzer expected that no algorithm runs in time n^o(k). That means a power growing more slowly than k.
The main paper proves that expectation for equivalence. For every large enough fixed k, any correct step-by-step algorithm needs at least n^(ck) steps on some input pairSource 1. Here c is a fixed positive number that does not depend on k or on the algorithmSource 2. The bound holds at every large enough number of points, not only at some sizesSource 3. It holds without any unproven assumptionSource 4. It holds even for uncoloured connected graphs where any two points are at most two steps apartSource 5.
The one obstacle is size. The proof makes graph equivalence act out a long computation. A computation with a power proportional to k touches too many places to list in a small graphSource 6. The paper writes each place as an address in short pieces. Each local block records only two neighbouring pieces of an addressSource 7. A classic diagonal argument then supplies a problem that no fast program can solve at any large size.
The other three papers settle nearby questions. When k is part of the input, deciding equivalence is EXPTIME-completeSource 8. That means it is among the hardest problems solvable in exponential time. This holds even for connected graphs where no point has more than three neighboursSource 9. Deciding whether dimension k tells one graph apart from every other graph is also EXPTIME-completeSource 10. The third gives a weaker time bound that rests on an unproven assumptionSource 11. That bound applies even to colour counts after two rounds of the joint testSource 12.
These results have firm limits. They cover deterministic algorithms, not ones that flip coins or use outside adviceSource 13. They cover graphs written out as full tables of which points are joined. The main paper makes no claim about graphs with few links per point at fixed kSource 14. None of this gives a faster test or decides when two graphs are truly the same.
How sure is this? A computer proof checker called Lean has checked formal versions of all four main statements. These are the time lower bound, the two EXPTIME-completeness results, and the graph construction in the parity-lift paper. That paper's conditional time bounds are outside the Lean check. No specialist review has been published.
What it doesn't show. This does not give a faster test, and it says nothing about randomised algorithms.
Where it came from
This result comes from an unreleased OpenAI model, published in the openai/math release on 6 October 2026.
Hype check
Major for complexity theory if the proofs hold. Lean has checked formal versions of the four main statements, but the fourth paper's conditional bounds are outside that check. The bound covers only deterministic algorithms and large fixed dimensions, gives no faster method, and has no published specialist review.
Words used
- Graph
- A set of points, some pairs of which are joined by links.
- Weisfeiler–Leman refinement
- A test that repeatedly recolours lists of points by what surrounds them, to compare two graphs.
- Dimension
- How many points each coloured list holds in Weisfeiler–Leman refinement.
- Tuple
- An ordered list of points, such as a pair or a triple.
- Unconditional lower bound
- A proven minimum running time that rests on no unproven assumption.
- EXPTIME-complete
- Among the hardest problems that can be solved in exponential time.
- Deterministic algorithm
- A step-by-step method that makes no random choices.
The original papers (4)
- Parity lifts and bounded-treewidth witnesses for Weisfeiler–Leman equivalence (PDF, opens in a new tab) September 25, 2026
- The complexity of identifying a graph by Weisfeiler–Leman refinement (PDF, opens in a new tab) September 25, 2026
- Unconditional time lower bounds for Weisfeiler–Leman equivalence (PDF, opens in a new tab) September 25, 2026
- Variable-dimension Weisfeiler–Leman equivalence on general and subcubic graphs (PDF, opens in a new tab) September 25, 2026
All quoted lines (14)
-
For every sufficiently large fixed , deciding whether two -vertex graphs are -Weisfeiler–Leman equivalent requires deterministic sequential time in the worst case.
Unconditional time lower bounds for Weisfeiler–Leman equivalence Back to text -
The exponent constant is independent of both and the program. The threshold need not be uniform in either.
Unconditional time lower bounds for Weisfeiler–Leman equivalence Back to text -
The bound holds at every sufficiently large graph order, even for simple connected uncolored graphs of diameter at most two, without a complexity assumption.
Unconditional time lower bounds for Weisfeiler–Leman equivalence Back to text -
Theorem … is unconditional; in particular, it does not assume the Exponential Time Hypothesis.
Unconditional time lower bounds for Weisfeiler–Leman equivalence Back to text -
The same bound holds if is required to decide correctly only on pairs of simple connected uncolored graphs of diameter at most two, with maximized over that class.
Unconditional time lower bounds for Weisfeiler–Leman equivalence Back to text -
First, a polynomial-time computation with an exponent proportional to has too many addressed locations to list in a small reduction. Second, local consistency uses symmetric comparisons, whereas a computation must propagate information forward without forcing false predecessors to become true.
Unconditional time lower bounds for Weisfeiler–Leman equivalence Back to text -
A block records only two adjacent address coordinates.
Unconditional time lower bounds for Weisfeiler–Leman equivalence Back to text -
Both and are -complete under deterministic polynomial-time many-one reductions.
Variable-dimension Weisfeiler–Leman equivalence on general and subcubic graphs Back to text -
Its restricted version additionally requires the two graphs to be connected, of the same positive order, and of maximum degree at most three. Malformed encodings or failures of the specified graph and dimension conditions are excluded.
Variable-dimension Weisfeiler–Leman equivalence on general and subcubic graphs Back to text -
The following problem is EXPTIME-complete under deterministic polynomial-time many-one reductions: given a nonempty finite simple undirected uncolored graph by its adjacency matrix and a positive integer in binary, decide whether .
The complexity of identifying a graph by Weisfeiler–Leman refinement Back to text -
Its unconditional theorem supersedes the conditional lower bound for stable equivalence in Theorem ….
Parity lifts and bounded-treewidth witnesses for Weisfeiler–Leman equivalence Back to text -
The time exclusions proved here already apply to comparing tuple-color histograms after two joint rounds or one separate round, under the same respective hypotheses; Section … gives the deduction.
Parity lifts and bounded-treewidth witnesses for Weisfeiler–Leman equivalence Back to text -
The theorem concerns deterministic computation, not randomized algorithms, nonuniform advice, or unit-cost operations on unbounded integers.
Unconditional time lower bounds for Weisfeiler–Leman equivalence Back to text -
Likewise, the universal hub used to obtain diameter two has unbounded degree. No bounded-degree promise is asserted in this paper.
Unconditional time lower bounds for Weisfeiler–Leman equivalence Back to text
Other sources
- B. Weisfeiler and A. Leman, “The reduction of a graph to canonical form and the algebra which appears therein”, Nauchno-Technicheskaya Informatsiya, Series 2, 9 (1968), 12–16
- J.-Y. Cai, M. Fürer and N. Immerman, “An optimal lower bound on the number of variables for graph identification”, Combinatorica 12(4) (1992), 389–410
- M. Grohe, M. Lichter, D. Neuen and P. Schweitzer, “Compressing CFI graphs and lower bounds for the Weisfeiler–Leman refinements”, Journal of the ACM 72(3) (2025), Article 21
- T. Seppelt, “An algorithmic meta theorem for homomorphism indistinguishability”, MFCS 2024, LIPIcs 306, 82:1–82:19
- M. Lichter, S. Raßmann and P. Schweitzer, “Computational complexity of the Weisfeiler–Leman dimension”, arXiv:2402.11531v2 (2024); ACM Transactions on Computational Logic 27(2) (2026)
- OpenAI, “Unconditional time lower bounds for Weisfeiler–Leman equivalence”, openai/math preprint (25 September 2026)
Theorem … is unconditional; in particular, it does not
- OpenAI, “Variable-dimension Weisfeiler–Leman equivalence on general and subcubic graphs”, openai/math preprint (25 September 2026)
Both and are -complete under deterministic
- OpenAI, “The complexity of identifying a graph by Weisfeiler–Leman refinement”, openai/math preprint (25 September 2026)
The following problem is EXPTIME-complete under deterministic
- OpenAI, “Parity lifts and bounded-treewidth witnesses for Weisfeiler–Leman equivalence”, openai/math preprint (25 September 2026)
Its unconditional theorem supersedes the conditional lower bound for
- openai/math release notes (2026): model provenance
manuscripts and supporting proof artifacts produced by an internal OpenAI model