The setting
In finite model theory and graph isomorphism, -dimensional Weisfeiler-Leman (-WL) refinement partitions the -tuples of vertices of a finite simple graph into color classes, and two graphs and are -WL equivalent, written , when they produce the same multiset of tuple colors at every refinement round. A central tool for proving or refuting is the bijective pebble game, in which Duplicator maintains partial isomorphisms between tuples of vertices by answering each vertex choice with a bijection between the vertex sets.
To connect refinement to back-and-forth strategies in both directions, one relates to families of tuple relations closed under reindexing and one-step bijective extensions, and one encodes vertex-colored graphs as uncolored graphs by attaching pendant leaves whose multiplicities record the vertex colors.
Weisfeiler-Leman refinement
All graphs are finite, simple, undirected, and uncolored. For a graph , write for its finite vertex set and for its edge set.
The -WL vertex coloring assigns to each vertex a color at each round . At round , every vertex receives the same constant color. At round , the color of is the pair consisting of its round- color and the multiset of round- colors of all vertices adjacent to in . The round- -WL color histogram of is the multiset of round- vertex colors over all .✦
For , the -WL tuple coloring assigns to each -tuple a color at each round . At round , is the pair of Boolean matrices recording coordinate equalities () and adjacencies () for . For and , let denote the tuple obtained from by replacing its -th coordinate with . At round , the tuple color is given recursively by (1): (1) where denotes a multiset. The round- -WL color histogram of is the multiset of colors over all .✦
Two finite simple graphs and are -WL equivalent, written , if their round- -WL color histograms agree for every when , and if their round- -WL color histograms agree for every when .✦ A pair of -tuples is -WL stable if for every .✦
Bijective extension systems
Let and be finite simple graphs and let . A bijective extension system of width between and is a family of relations for satisfying four conditions. First, relates the unique pair of empty tuples in . Second, for all , if and is any map, then , where . Third, whenever , the tuples preserve equalities and edges as in (2): (2) for all . Fourth, for every and every , there exists a bijection such that for all , where is obtained by appending to .
Leaf-tagged graphs
Let be a finite simple graph on a finite vertex set , and let be a multiplicity function. The leaf-augmented vertex set of is the disjoint union .✦ The graph with pendant leaves on this vertex set retains all edges of between vertices in , connects each to each of its attached leaves, and has no edges between leaves.✦
Given a vertex coloring , the leaf-tag size of a vertex is defined by (3): (3)✦ The leaf-tagged graph is the graph with pendant leaves .✦ Given finite simple graphs on and on with vertex colorings and , a pair of -tuples is tag-stable with respect to and if , viewed as a pair of -tuples of original vertices in and , is -WL stable, so that for every .✦
The claim
Lemma 2.1. Let and be finite simple graphs and let satisfy . If there exists a bijective extension system of width between and , then (4)✦
Now let and be finite simple graphs on finite vertex sets and , let and satisfy for every , and let . If , then for every there exists such that is tag-stable, that is, for every , (5)✦
For the same , and with for every , if and is tag-stable, then there exists a map such that for every , every , and every , (6)✦
In the paper, the result reads: for finite simple graphs and of equal positive order and , one has if and only if Duplicator has a winning strategy from the empty position in the bijective game with pair slots, and a winning strategy with at least two pair slots implies . The Lean library separates the forward implication for bijective extension systems in (4) from the extraction of tag-stable tuples and one-step extensions on leaf-tagged graphs in (5) and (6).
What is checked
Lemma 2.1 is stated over finite simple graphs with their -WL and -WL colorings and histograms, bijective extension systems of width , and leaf-tagged graphs with tag-stable -tuples under positive vertex colorings on the first graph and equal vertex-set cardinalities for the one-step extension.