OctoInform Beta

OpenAI preprint, September 2026 · §1. Introduction

Theorem 1.2: Equal-order uncolored parity lifts encoding choice systems for joint and separate kk-WL with early-round detection

Parity reduction from choice systems to Weisfeiler-Leman equivalence.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

Deciding whether two finite simple graphs are indistinguishable by kk-dimensional Weisfeiler-Leman (kk-WL) color refinement is a central problem in graph isomorphism and fine-grained complexity. One way to transfer combinatorial hardness into kk-WL equivalence is to encode a pairwise consistency problem on tt finite domains, called a choice system, into a pair of uncolored simple graphs of equal order.

The parity reduction constructs from any choice system on tt domains a base graph over a fixed template graph and then forms two uncolored parity lifts X0X_0 and X*X_*. Their equivalence under kk-WL characterizes the absence of a successful choice, their common vertex count is bounded linearly in the maximum domain and label size for fixed tt, and any successful choice is detected in at most one or two refinement rounds.

Choice systems

Fix an integer k≥4k \ge 4 for the Weisfeiler-Leman dimension and a refinement convention cc, which is either joint or separate. The bag parameter tt is defined by t=k+1t = k + 1 under the joint convention and t=kt = k under the separate convention.✦ Write [t]={1,…,t}[t] = \{1, \dots, t\}, and call an ordered pair (i,j)(i, j) with i,j∈[t]i, j \in [t] and i<ji < j a main pair.✦

A choice system CC on tt domains consists of a finite domain DiD_i for each i∈[t]i \in [t], a finite label set LijL_{ij} for each main pair (i,j)(i, j), and two label maps λij−:Di→Lij\lambda_{ij}^- : D_i \to L_{ij} and λij+:Dj→Lij\lambda_{ij}^+ : D_j \to L_{ij} for each main pair (i,j)(i, j).✦ A successful choice for CC is a tuple d=(d1,…,dt)∈∏i∈[t]Did = (d_1, \dots, d_t) \in \prod_{i \in [t]} D_i such that (1) holds for every main pair (i,j)(i, j): λij−(di)=λij+(dj).\lambda_{ij}^-(d_i) = \lambda_{ij}^+(d_j).(1)✦ For a natural number AA, the choice system CC has size at most AA if |Di|≤A|D_i| \le A for every i∈[t]i \in [t] and |Lij|≤A|L_{ij}| \le A for every main pair (i,j)(i, j).✦

Parity lifts

For a natural number tt, a helper triple is a triple hij;lh_{ij;l} consisting of a main pair (i,j)(i, j) and an index l∈[t]\{i,j}l \in [t] \setminus \{i, j\}.✦ The template graph T=TtT = T_t is the simple graph whose vertex set V(T)V(T) is the disjoint union of the main vertices [t][t] and the helper vertices hij;lh_{ij;l}. In TT, the main vertices [t][t] form a clique, each helper vertex hij;lh_{ij;l} is adjacent to the three main vertices ii, jj, and ll, and no two helper vertices are adjacent.✦

Given a choice system CC on tt domains, its base graph GG is the simple graph whose vertex set V(G)V(G) is the disjoint union of the main-fiber vertices (i,d)(i, d) for i∈[t]i \in [t] and d∈Did \in D_i, and the helper-fiber vertices (hij;l,q)(h_{ij;l}, q) for each helper vertex hij;lh_{ij;l} of TT and q∈Lijq \in L_{ij}. Two vertices of GG are adjacent if and only if they are joined, in either order, by one of four edge types:

  • a main edge between (i,d)(i, d) and (j,e)(j, e) for a main pair (i,j)(i, j) with λij−(d)=λij+(e)\lambda_{ij}^-(d) = \lambda_{ij}^+(e),

  • a left helper edge between (hij;l,λij−(d))(h_{ij;l}, \lambda_{ij}^-(d)) and (i,d)(i, d) for d∈Did \in D_i,

  • a right helper edge between (hij;l,λij+(e))(h_{ij;l}, \lambda_{ij}^+(e)) and (j,e)(j, e) for e∈Dje \in D_j,

  • a third helper edge between (hij;l,q)(h_{ij;l}, q) and (l,f)(l, f) for every q∈Lijq \in L_{ij} and f∈Dlf \in D_l.

The type map τ:V(G)→V(T)\tau : V(G) \to V(T) sends (i,d)↦i(i, d) \mapsto i and (hij;l,q)↦hij;l(h_{ij;l}, q) \mapsto h_{ij;l}; it is a graph homomorphism from GG to TT.✦

Let NT(a)N_T(a) denote the set of neighbors of a vertex aa in TT, and let ℤ2={0,1}\mathbb{Z}_2 = \{0, 1\} denote the parity bits. Given a parity assignment b:V(T)→ℤ2b : V(T) \to \mathbb{Z}_2, a parity tag at a∈V(T)a \in V(T) for bb is a map s:NT(a)→ℤ2s : N_T(a) \to \mathbb{Z}_2 whose values sum to b(a)b(a) in ℤ2\mathbb{Z}_2.✦ The parity lift XbX_b of (G,τ)(G, \tau) with respect to bb is the simple graph whose vertices are pairs (u,s)(u, s) with u∈V(G)u \in V(G) and ss a parity tag at τ(u)\tau(u) for bb. Two vertices (u,s)(u, s) and (v,s′)(v, s') are adjacent in XbX_b if and only if uu and vv are adjacent in GG and (2) holds: s(τ(v))=s′(τ(u)).s(\tau(v)) = s'(\tau(u)).(2)✦

The zero parity assignment 0:V(T)→ℤ20 : V(T) \to \mathbb{Z}_2 is identically 00, and the star parity assignment e1:V(T)→ℤ2e_1 : V(T) \to \mathbb{Z}_2 assigns 11 to the first main vertex 1∈[t]1 \in [t] and 00 to every other vertex of TT.✦ Their parity lifts are the two compared uncolored simple graphs X0X_0 and X*:=Xe1X_* := X_{e_1}. For any integer t≥2t \ge 2, the lift order factor MtM_t is defined by (3): Mt=t⋅2t−2+3(t−12)+12(t3).M_t = t \cdot 2^{t - 2 + 3\binom{t - 1}{2}} + 12\binom{t}{3}.(3)✦

Weisfeiler-Leman equivalence

Let HH be a finite simple graph and let kk be a natural number. For a kk-tuple x∈V(H)kx \in V(H)^k, an index i∈[k]i \in [k], and a vertex y∈V(H)y \in V(H), write x[i↦y]x[i \mapsto y] for the kk-tuple obtained from xx by replacing its ii-th coordinate with yy. In round 00, both the joint kk-WL coloring cH,0Jc^{\mathrm{J}}_{H, 0} and the separate kk-WL coloring cH,0Sc^{\mathrm{S}}_{H, 0} assign to each x∈V(H)kx \in V(H)^k its atomic type in HH. For every round r≥0r \ge 0, the colorings refine recursively according to (4): cH,r+1J(x)=(cH,rJ(x),{{(cH,rJ(x[i↦y]))i=1k:y∈V(H)}}),cH,r+1S(x)=(cH,rS(x),({{cH,rS(x[i↦y]):y∈V(H)}})i=1k),\begin{aligned} c^{\mathrm{J}}_{H, r+1}(x) &= \Bigl(c^{\mathrm{J}}_{H, r}(x),\; \bigl\{\!\bigl\{ \bigl(c^{\mathrm{J}}_{H, r}(x[i \mapsto y])\bigr)_{i=1}^k : y \in V(H) \bigr\}\!\bigr\}\Bigr), \\ c^{\mathrm{S}}_{H, r+1}(x) &= \Bigl(c^{\mathrm{S}}_{H, r}(x),\; \bigl(\bigl\{\!\bigl\{ c^{\mathrm{S}}_{H, r}(x[i \mapsto y]) : y \in V(H) \bigr\}\!\bigr\}\bigr)_{i=1}^k\Bigr), \end{aligned}(4) where {{⋅}}\{\!\{ \cdot \}\!\} denotes a multiset.

Let H1H_1 and H2H_2 be finite simple graphs, let cc be either the joint or the separate refinement convention, and let r≥0r \ge 0 be a round. The graphs H1H_1 and H2H_2 have the same round-rr kk-WL histogram under convention cc if the multisets of round-rr colors over V(H1)kV(H_1)^k and V(H2)kV(H_2)^k coincide.✦ They are kk-WL equivalent under convention cc, written H1≡kH2H_1 \equiv_k H_2, if they have the same round-rr kk-WL histogram for every r≥0r \ge 0.✦

Forming the disjoint union H1⊔H2H_1 \sqcup H_2, the graphs H1H_1 and H2H_2 have the same round-rr pure kk-WL histogram under convention cc if the multisets of round-rr colors in H1⊔H2H_1 \sqcup H_2 over pure tuples in V(H1)kV(H_1)^k and over pure tuples in V(H2)kV(H_2)^k coincide.✦ They are pure kk-WL equivalent under convention cc, written H1≡kpureH2H_1 \equiv_k^{\mathrm{pure}} H_2, if they have the same round-rr pure kk-WL histogram for every r≥0r \ge 0.✦ The detection round rcr_c is rc=2r_c = 2 for the joint convention and rc=1r_c = 1 for the separate convention.✦

The claim

Theorem 1.2. Let k≥4k \ge 4 be an integer, let cc be either the joint or the separate refinement convention with bag parameter tt, and let CC be a choice system on tt domains. Let X0X_0 and X*X_* be the zero and star parity lifts of the base graph GG of CC over TtT_t. Then X0X_0 and X*X_* have equal order, |V(X0)|=|V(X*)||V(X_0)| = |V(X_*)|, and for every integer A≥1A \ge 1 such that CC has size at most AA, their common order satisfies |V(X0)|≤AMt|V(X_0)| \le A M_t. Under convention cc, both separate-graph and pure-tuple kk-WL equivalence satisfy (5): X0≡kX*⇔C has no successful choice,X0≡kpureX*⇔C has no successful choice.\begin{aligned} X_0 \equiv_k X_* &\iff C \text{ has no successful choice}, \\ X_0 \equiv_k^{\mathrm{pure}} X_* &\iff C \text{ has no successful choice}. \end{aligned}(5)✦ Whenever CC has a successful choice, X0X_0 and X*X_* have different round-rcr_c kk-WL histograms and different round-rcr_c pure kk-WL histograms under convention cc.

What is checked

In the Lean library, Theorem 1.2 is stated for every integer k≥4k \ge 4, both the joint and separate refinement conventions with bag parameter tt, and every choice system CC on tt finite domains with finite label sets. Its objects are the template graph TtT_t, the base graph GG with type homomorphism τ:G→Tt\tau : G \to T_t, the zero and star parity lifts X0X_0 and X*X_*, the lift order factor MtM_t, and both separate-graph and disjoint-union pure-tuple kk-WL colorings with detection round rcr_c.