The setting
The -dimensional Weisfeiler-Leman (-WL) algorithm distinguishes finite graphs by iteratively refining colorings of -tuples of vertices. Two standard refinement rules appear in graph theory and finite model theory: joint (folklore) refinement, which groups the colors of all coordinate substitutions for each vertex together, and separate (oblivious) refinement, which records the multiset of colors for each coordinate position independently. Two graphs are compared either by the color histograms computed on each graph separately or by the histograms of pure tuples computed inside their disjoint union.
Simultaneous choice systems formulate -ary compatibility problems in which one selects an element from each of finite domains so that all pairwise label maps agree. In fine-grained complexity, such systems provide the combinatorial source instances for reductions from the Exponential Time Hypothesis (ETH), and concrete instances are built directly from finite lists of integer label vectors and pairwise bounds.
Weisfeiler-Leman color refinement and histograms
Let , and let be a refinement convention. For any set , write for the set of finite multisets with elements in , and denote multisets with double braces . Let be the set of atomic types of -tuples of vertices in a simple graph; for a finite simple graph and a -tuple indexed by , write for the atomic type of in .
The joint -WL color space and the separate -WL color space at round are defined recursively by (1): (1)
For a finite simple graph , a tuple , an index , and a vertex , let denote the tuple obtained from by replacing its -th coordinate with . The joint -WL coloring and the separate -WL coloring are defined recursively by (2) and (3): (2)✦ and (3)✦ Write for when and for when .
For finite simple graphs and , the round- -WL color histogram of under convention is the finite multiset (4) The graphs and have the same -WL color histogram at round under convention when , using (4).✦
Let be the disjoint union of and on the vertex set , with canonical inclusions and and no edges between the two copies. The left and right pure-tuple -WL color histograms at round under convention are the finite multisets given by (5): (5) The graphs and have the same pure -WL histogram at round under convention when .✦
Simultaneous choice systems and choice data
For , let be the set of ordered index pairs (6)✦ For example, taking domains of partial Boolean assignments and restricting them to shared variables turns compatible choices into a single global assignment. A choice system of arity consists of a finite domain for each , a finite label set for each ordered pair from (6), and two label maps and for each ; empty domains are allowed.✦
Choice system data of arity is a pair consisting of a finite list of functions for each , together with a table of natural-number bounds .✦ Write for the length of and for its -th element when . For and , the data entry , the symmetrized pair bound , and the clamped label are the natural numbers defined by (7): (7)
The claim
Definition 1.1. Let be finite simple graphs with graph isomorphisms and , let be a refinement convention, and let . Then the separate-graph -WL color histograms satisfy (8)✦ and the pure-tuple -WL color histograms in the disjoint unions satisfy (9)✦
Furthermore, let and let be choice system data of arity . The choice system of arity induced by has domains , label sets , and label maps and defined for every , every , every , and every by (10)✦ where is the clamped label from (7).
What is checked
The Lean library states Definition 1.1 over finite simple graphs with graph isomorphisms, joint and separate -WL colorings and their separate-graph and pure-tuple disjoint-union histograms for arbitrary , and simultaneous choice systems built from finite choice system data of arbitrary arity , capturing the isomorphism equivalences (8) and (9) and the induced choice system (10).