OctoInform Beta

OpenAI preprint, September 2026 · §2. Joint refinement and its bijective game

Lemma 2.4: For k≥2k \ge 2 and a nonempty graph GG, G≡kHG \equiv_k H if and only if Duplicator wins the (k+1)(k + 1)-slot game

Joint-update Weisfeiler-Leman equivalence via the bijective pebble game.

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

The kk-dimensional Weisfeiler-Leman algorithm iteratively refines a coloring of vertex kk-tuples to test graph isomorphism, and its distinguishing power is characterized by a bijective pebble game between Spoiler and Duplicator. Under the joint-update convention, each refinement step groups all kk single-coordinate replacements for a given vertex into one multiset entry. Lemma 2.4 characterizes this joint-update equivalence for every integer k≥2k \ge 2 and finite simple graphs GG and HH with GG of positive order by the existence of a winning Duplicator strategy in a (k+1)(k + 1)-slot bijective pebble game with announced bijections.

Joint-update Weisfeiler-Leman refinement

A finite simple graph GG consists of a natural number n≥0n \ge 0, its order, and an undirected loopless graph with vertex set V(G)V(G) of size nn and edge set E(G)E(G).✦ For a natural number kk, a vertex kk-tuple of GG is an ordered tuple 𝒗=(v1,…,vk)∈V(G)k\mathbf{v} = (v_1, \dots, v_k) \in V(G)^k.✦ Given an index i∈{1,…,k}i \in \{1, \dots, k\} and a vertex z∈V(G)z \in V(G), write 𝒗[i←z]\mathbf{v}[i \leftarrow z] for the tuple obtained from 𝒗\mathbf{v} by replacing its ii-th entry with zz.

For each k∈ℕk \in \mathbb{N}, the space 𝒞k,s\mathcal{C}_{k,s} of round-ss colors is defined inductively on the round s∈ℕs \in \mathbb{N}: a round-00 color in 𝒞k,0\mathcal{C}_{k,0} is a function {1,…,k}2→{0,1}2\{1, \dots, k\}^2 \to \{0, 1\}^2, and a round-(s+1)(s + 1) color in 𝒞k,s+1\mathcal{C}_{k,s+1} is a pair consisting of a color in 𝒞k,s\mathcal{C}_{k,s} and a finite multiset of kk-tuples in 𝒞k,sk\mathcal{C}_{k,s}^k.✦ Because 𝒞k,s\mathcal{C}_{k,s} depends only on kk and ss, tuple colors from different graphs lie in the same space.

For a finite simple graph GG and k∈ℕk \in \mathbb{N}, the round-ss coloring χsG:V(G)k→𝒞k,s\chi_s^G : V(G)^k \to \mathcal{C}_{k,s} is defined recursively on ss. At round 00, χ0G(𝒗)\chi_0^G(\mathbf{v}) assigns to each ordered pair (i,j)∈{1,…,k}2(i, j) \in \{1, \dots, k\}^2 the pair of truth values recording whether vi=vjv_i = v_j and whether {vi,vj}∈E(G)\{v_i, v_j\} \in E(G). At round s+1s + 1, the coloring is given by (1): χs+1G(𝒗)=(χsG(𝒗),{{(χsG(𝒗[1←z]),…,χsG(𝒗[k←z])):z∈V(G)}}),\begin{aligned} \chi_{s+1}^G(\mathbf{v}) = \Bigl(\chi_s^G(\mathbf{v}), \bigl\{\!\bigl\{ & \bigl(\chi_s^G(\mathbf{v}[1 \leftarrow z]), \dots, \\ & \chi_s^G(\mathbf{v}[k \leftarrow z])\bigr) : z \in V(G) \bigr\}\!\bigr\}\Bigr), \end{aligned}(1)✦ where the double braces denote a multiset.

The round-ss color histogram ℋsk(G)\mathcal{H}_s^k(G) of GG is the multiset of round-ss colors attained over all vertex kk-tuples of GG, defined by (2): ℋsk(G)={{χsG(𝒗):𝒗∈V(G)k}}.\mathcal{H}_s^k(G) = \bigl\{\!\bigl\{ \chi_s^G(\mathbf{v}) : \mathbf{v} \in V(G)^k \bigr\}\!\bigr\}.(2)✦ Two finite simple graphs GG and HH are kk-dimensional joint-update Weisfeiler-Leman equivalent, written G≡kHG \equiv_k H, if their color histograms agree at every round, as in (3): ℋsk(G)=ℋsk(H)for all s∈ℕ.\mathcal{H}_s^k(G) = \mathcal{H}_s^k(H) \quad \text{for all } s \in \mathbb{N}.(3)✦

The bijective pebble game

Fix finite simple graphs GG and HH and a natural number qq, the number of pair slots. A position pp of the qq-slot game assigns to each slot i∈{1,…,q}i \in \{1, \dots, q\} either a vertex pair (u,w)∈V(G)×V(H)(u, w) \in V(G) \times V(H), making slot ii occupied, or no pair, making slot ii vacant.✦ A position p′p' is a subposition of pp if every slot occupied in p′p' is occupied in pp with the same vertex pair.✦ A position pp is a partial isomorphism if, whenever slots i,j∈{1,…,q}i, j \in \{1, \dots, q\} are occupied by (ui,wi)(u_i, w_i) and (uj,wj)(u_j, w_j), the conditions (4) hold: ui=uj⇔wi=wj,{ui,uj}∈E(G)⇔{wi,wj}∈E(H).\begin{aligned} u_i = u_j &\iff w_i = w_j, \\ \{u_i, u_j\} \in E(G) &\iff \{w_i, w_j\} \in E(H). \end{aligned}(4)✦

A move in the qq-slot game is either a discard move, specified by a target position pp, or a placement move (i,f,v)(i, f, v), specified by a slot i∈{1,…,q}i \in \{1, \dots, q\}, a bijection f:V(G)→V(H)f : V(G) \to V(H), and a vertex v∈V(G)v \in V(G).✦ A play history hh is a finite sequence of moves. Its resulting position pos(h)\mathrm{pos}(h) is defined recursively: after the empty play, every slot is vacant; after a discard move with target position pp, the resulting position is pp; and after a placement move (i,f,v)(i, f, v) appended to a history hh, the resulting position agrees with pos(h)\mathrm{pos}(h) on every slot other than ii and places (v,f(v))(v, f(v)) in slot ii.✦

A Duplicator strategy SS for the qq-slot game on GG and HH takes a play history hh and a slot i∈{1,…,q}i \in \{1, \dots, q\} and either announces a bijection f:V(G)→V(H)f : V(G) \to V(H) or gives no response.✦ The play histories reachable under SS are defined inductively: the empty play is reachable; if hh is reachable and pp is a subposition of pos(h)\mathrm{pos}(h), then extending hh by the discard move to pp is reachable; and if hh is reachable, slot ii is vacant in pos(h)\mathrm{pos}(h), S(h,i)S(h, i) announces a bijection f:V(G)→V(H)f : V(G) \to V(H), and v∈V(G)v \in V(G), then extending hh by the placement move (i,f,v)(i, f, v) is reachable.✦ A strategy SS is winning for Duplicator if for every play history hh reachable under SS, the position pos(h)\mathrm{pos}(h) is a partial isomorphism and S(h,i)S(h, i) announces a bijection V(G)→V(H)V(G) \to V(H) for every slot ii vacant in pos(h)\mathrm{pos}(h).✦

The claim

Lemma 2.4. Let GG and HH be finite simple graphs with GG of positive order, and let k≥2k \ge 2 be an integer. Then G≡kH⇔Duplicator has a winning strategy in the(k+1)-slot bijective pebble game on G and H.\begin{aligned} G \equiv_k H \iff{} & \text{Duplicator has a winning strategy in the} \\ & (k + 1)\text{-slot bijective pebble game on } G \text{ and } H. \end{aligned}(5)✦

What is checked

In the Lean library, Lemma 2.4 states the equivalence (5) for finite simple graphs GG and HH with GG of positive order and any integer k≥2k \ge 2, relating kk-dimensional joint-update Weisfeiler-Leman equivalence via round-by-round color histograms to the existence of a winning history-dependent Duplicator strategy in the (k+1)(k + 1)-slot bijective pebble game.