Parity lifts and bounded-treewidth witnesses for Weisfeiler–Leman equivalenceResearch Paper
Motivation
The Weisfeiler–Leman (WL) method is the standard combinatorial heuristic for graph isomorphism: it repeatedly refines colors of -tuples of vertices, and two graphs it cannot tell apart are called -WL equivalent. It is equivalent to counting-logic indistinguishability and, by results of Dvořák (2010) and Dell, Grohe and Rattan (2018), to equality of homomorphism counts from graphs of treewidth below (bags of size at most ). For fixed , direct refinement decides -WL equivalence in time; whether the growing exponent is necessary is a natural complexity question.
This preprint gives an exact reduction from a simple constraint problem (choosing compatible elements from finite domains) to -WL equivalence of two explicit uncolored graphs, and uses it to derive conditional time lower bounds.
Background
- 1968. Weisfeiler and Leman introduce the refinement method for graph canonization.
- 1992. Cai, Fürer and Immerman construct parity (CFI) graph pairs of bounded degree that need WL dimension linear in their order.
- 1999. Grohe shows equivalence in finite-variable logics is complete for polynomial time.
- 2001. Impagliazzo and Paturi formulate the Exponential Time Hypothesis; Impagliazzo, Paturi and Zane give sparsification.
- 2010, 2018. Dvořák, and Dell–Grohe–Rattan, characterize -WL equivalence by homomorphism counts from bounded-treewidth graphs.
- 2019. Atserias, Mančinska, Roberson, Šámal, Severini and Varvitsiotis encode solutions of binary linear systems as graph vertices.
- 2025. Grohe, Lichter, Neuen and Schweitzer prove round lower bounds for joint refinement; Lichter, Raßmann and Schweitzer conjecture that WL equivalence and identification do not admit time.
- 2026. The OpenAI preprint Parity lifts and bounded-treewidth witnesses for Weisfeiler–Leman equivalence (dated September 25, 2026) proves the parity reduction below. It has not been peer reviewed; the Lean goal is open on this platform.
Setting
Fix . The atomic type of a tuple records all equalities and adjacencies among its entries. In joint refinement a round records the old color of and the multiset over of the vectors . In separate refinement it records the old color and the multisets . Two graphs are -WL equivalent () when their tuple-color histograms agree at every round. The bag parameter is (joint) or (separate).
A choice system on domains consists of finite sets and, for each pair , a finite label set with maps , . A successful choice is with for all . Empty domains are allowed.
In Lean (OAI.ParityWL), ChoiceSystem t packages the domains and labels, template t is the -clique with helpers, baseGraph C replaces template types by domains and labels, and zeroLift C, starLift C are the two parity lifts. Colors are defined by recursion on rounds (jointColor, separateColor) with histograms compared as multisets.
Formalization targets
Goal: Theorem 1.2 (Parity reduction)
For , either convention and the corresponding , for every choice system on domains the two explicit uncolored simple graphs have equal order and
both with common color names on separate graphs and with pure-tuple comparison in the disjoint union. If every domain and label set has size at most , the common order is at most with
When a successful choice exists, the histograms already differ after two joint rounds or one separate round.
Significance
The result. The reduction turns compatible-choice problems, which encode sparse satisfiability, into WL equivalence of uncolored graphs whose size grows only linearly in the domain size. Combined with sparsification it gives Theorem 1.3: under the positive-rate ETH there are , such that no deterministic algorithm decides -WL equivalence of -vertex graphs in time for fixed , even when only early-round histograms are compared. This addresses the expectation stated by Lichter, Raßmann and Schweitzer.
Formalizing it. No machine-checked proof exists; the source is an unrefereed preprint. A formalization would also give Lean definitions of both WL conventions, reusable by the companion missions in this family on identification and unconditional lower bounds. The ETH consequence (Theorem 1.3) is not part of the Lean goal.
Difficulty
The forward direction (a successful choice yields a distinguishing homomorphism test detected in few rounds) is constructive. The converse is the hard part: one must show that every bounded-treewidth homomorphism test that distinguishes the lifts yields a successful choice, even when bags do not induce cliques, projected images repeat, and some weights vanish. A naive argument that counts only type-preserving homomorphisms fails because non-type-preserving maps also contribute to .
Formalization scope
- Graphs are
SimpleGraphon finite types; the lifts' vertex types are sigma types of base vertices with parity tags. - WL colors are nested
Multiset-valued types defined by recursion on the round number; equivalence quantifies over all rounds . - The order bound uses
orderFactor t = t * 2^(t-2+3*(t-1).choose 2) + 12 * t.choose 3with natural-number subtraction (harmless since ). Successfulis an existential over dependent tuples; empty domains are allowed, in which case no successful choice exists and the lifts must be equivalent.
The goal is not trivial: the biconditional pins down equivalence exactly, and the detection clause fixes the round.
Needed infrastructure: tree decompositions and homomorphism counts, the Dvořák/Dell–Grohe–Rattan interface for both conventions, and linear algebra for the parity lifts. Contributions toward either direction of the equivalence are welcome.
Selected references
- OpenAI, Parity lifts and bounded-treewidth witnesses for Weisfeiler–Leman equivalence, OpenAI Math Release preprint, September 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Parity-lifts-and-bounded-treewidth-witnesses-for-Weisfeiler-Leman-equivalence-September-25-2026/paper.pdf
- B. Weisfeiler, A. Leman, The Reduction of a Graph to Canonical Form and the Algebra Which Appears Therein, 1968. https://www.iti.zcu.cz/wl2018/pdf/wl_paper_translation.pdf
- J.-Y. Cai, M. Fürer, N. Immerman, An Optimal Lower Bound on the Number of Variables for Graph Identification, Combinatorica 12 (1992). https://doi.org/10.1007/BF01305232
- Z. Dvořák, On Recognizing Graphs by Numbers of Homomorphisms, J. Graph Theory (2010). https://doi.org/10.1002/jgt.20461
- H. Dell, M. Grohe, G. Rattan, Lovász Meets Weisfeiler and Leman, ICALP 2018. https://doi.org/10.4230/LIPIcs.ICALP.2018.40
- A. Atserias et al., Quantum and Non-Signalling Graph Isomorphisms, J. Combin. Theory Ser. B (2019). https://doi.org/10.1016/j.jctb.2018.11.002
- R. Impagliazzo, R. Paturi, On the Complexity of k-SAT, J. Comput. Syst. Sci. (2001). https://doi.org/10.1006/jcss.2000.1727
- M. Grohe, M. Lichter, D. Neuen, P. Schweitzer, Compressing CFI Graphs and Lower Bounds for the Weisfeiler–Leman Refinements, J. ACM (2025). https://doi.org/10.1145/3727978
- M. Lichter, S. Raßmann, P. Schweitzer, Computational Complexity of the Weisfeiler–Leman Dimension, CSL 2025. https://doi.org/10.4230/LIPIcs.CSL.2025.13