The setting
Deciding whether two finite simple graphs are indistinguishable by -dimensional Weisfeiler-Leman (-WL) color refinement is a central problem in graph isomorphism and fine-grained complexity. One way to transfer combinatorial hardness into -WL equivalence is to encode a pairwise consistency problem on 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 domains a base graph over a fixed template graph and then forms two uncolored parity lifts and . Their equivalence under -WL characterizes the absence of a successful choice, their common vertex count is bounded linearly in the maximum domain and label size for fixed , and any successful choice is detected in at most one or two refinement rounds.
Choice systems
Fix an integer for the Weisfeiler-Leman dimension and a refinement convention , which is either joint or separate. The bag parameter is defined by under the joint convention and under the separate convention.✦ Write , and call an ordered pair with and a main pair.✦
A choice system on domains consists of a finite domain for each , a finite label set for each main pair , and two label maps and for each main pair .✦ A successful choice for is a tuple such that (1) holds for every main pair : (1)✦ For a natural number , the choice system has size at most if for every and for every main pair .✦
Parity lifts
For a natural number , a helper triple is a triple consisting of a main pair and an index .✦ The template graph is the simple graph whose vertex set is the disjoint union of the main vertices and the helper vertices . In , the main vertices form a clique, each helper vertex is adjacent to the three main vertices , , and , and no two helper vertices are adjacent.✦
Given a choice system on domains, its base graph is the simple graph whose vertex set is the disjoint union of the main-fiber vertices for and , and the helper-fiber vertices for each helper vertex of and . Two vertices of are adjacent if and only if they are joined, in either order, by one of four edge types:
a main edge between and for a main pair with ,
a left helper edge between and for ,
a right helper edge between and for ,
a third helper edge between and for every and .
The type map sends and ; it is a graph homomorphism from to .✦
Let denote the set of neighbors of a vertex in , and let denote the parity bits. Given a parity assignment , a parity tag at for is a map whose values sum to in .✦ The parity lift of with respect to is the simple graph whose vertices are pairs with and a parity tag at for . Two vertices and are adjacent in if and only if and are adjacent in and (2) holds: (2)✦
The zero parity assignment is identically , and the star parity assignment assigns to the first main vertex and to every other vertex of .✦ Their parity lifts are the two compared uncolored simple graphs and . For any integer , the lift order factor is defined by (3): (3)✦
Weisfeiler-Leman equivalence
Let be a finite simple graph and let be a natural number. For a -tuple , an index , and a vertex , write for the -tuple obtained from by replacing its -th coordinate with . In round , both the joint -WL coloring and the separate -WL coloring assign to each its atomic type in . For every round , the colorings refine recursively according to (4): (4) where denotes a multiset.
Let and be finite simple graphs, let be either the joint or the separate refinement convention, and let be a round. The graphs and have the same round- -WL histogram under convention if the multisets of round- colors over and coincide.✦ They are -WL equivalent under convention , written , if they have the same round- -WL histogram for every .✦
Forming the disjoint union , the graphs and have the same round- pure -WL histogram under convention if the multisets of round- colors in over pure tuples in and over pure tuples in coincide.✦ They are pure -WL equivalent under convention , written , if they have the same round- pure -WL histogram for every .✦ The detection round is for the joint convention and for the separate convention.✦
The claim
Theorem 1.2. Let be an integer, let be either the joint or the separate refinement convention with bag parameter , and let be a choice system on domains. Let and be the zero and star parity lifts of the base graph of over . Then and have equal order, , and for every integer such that has size at most , their common order satisfies . Under convention , both separate-graph and pure-tuple -WL equivalence satisfy (5): (5)✦ Whenever has a successful choice, and have different round- -WL histograms and different round- pure -WL histograms under convention .
What is checked
In the Lean library, Theorem 1.2 is stated for every integer , both the joint and separate refinement conventions with bag parameter , and every choice system on finite domains with finite label sets. Its objects are the template graph , the base graph with type homomorphism , the zero and star parity lifts and , the lift order factor , and both separate-graph and disjoint-union pure-tuple -WL colorings with detection round .