The setting
The -dimensional Weisfeiler-Leman algorithm iteratively refines a coloring of vertex -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 single-coordinate replacements for a given vertex into one multiset entry. Lemma 2.4 characterizes this joint-update equivalence for every integer and finite simple graphs and with of positive order by the existence of a winning Duplicator strategy in a -slot bijective pebble game with announced bijections.
Joint-update Weisfeiler-Leman refinement
A finite simple graph consists of a natural number , its order, and an undirected loopless graph with vertex set of size and edge set .✦ For a natural number , a vertex -tuple of is an ordered tuple .✦ Given an index and a vertex , write for the tuple obtained from by replacing its -th entry with .
For each , the space of round- colors is defined inductively on the round : a round- color in is a function , and a round- color in is a pair consisting of a color in and a finite multiset of -tuples in .✦ Because depends only on and , tuple colors from different graphs lie in the same space.
For a finite simple graph and , the round- coloring is defined recursively on . At round , assigns to each ordered pair the pair of truth values recording whether and whether . At round , the coloring is given by (1): (1)✦ where the double braces denote a multiset.
The round- color histogram of is the multiset of round- colors attained over all vertex -tuples of , defined by (2): (2)✦ Two finite simple graphs and are -dimensional joint-update Weisfeiler-Leman equivalent, written , if their color histograms agree at every round, as in (3): (3)✦
The bijective pebble game
Fix finite simple graphs and and a natural number , the number of pair slots. A position of the -slot game assigns to each slot either a vertex pair , making slot occupied, or no pair, making slot vacant.✦ A position is a subposition of if every slot occupied in is occupied in with the same vertex pair.✦ A position is a partial isomorphism if, whenever slots are occupied by and , the conditions (4) hold: (4)✦
A move in the -slot game is either a discard move, specified by a target position , or a placement move , specified by a slot , a bijection , and a vertex .✦ A play history is a finite sequence of moves. Its resulting position is defined recursively: after the empty play, every slot is vacant; after a discard move with target position , the resulting position is ; and after a placement move appended to a history , the resulting position agrees with on every slot other than and places in slot .✦
A Duplicator strategy for the -slot game on and takes a play history and a slot and either announces a bijection or gives no response.✦ The play histories reachable under are defined inductively: the empty play is reachable; if is reachable and is a subposition of , then extending by the discard move to is reachable; and if is reachable, slot is vacant in , announces a bijection , and , then extending by the placement move is reachable.✦ A strategy is winning for Duplicator if for every play history reachable under , the position is a partial isomorphism and announces a bijection for every slot vacant in .✦
The claim
Lemma 2.4. Let and be finite simple graphs with of positive order, and let be an integer. Then (5)✦
What is checked
In the Lean library, Lemma 2.4 states the equivalence (5) for finite simple graphs and with of positive order and any integer , relating -dimensional joint-update Weisfeiler-Leman equivalence via round-by-round color histograms to the existence of a winning history-dependent Duplicator strategy in the -slot bijective pebble game.