The setting
In the parity reduction for -dimensional Weisfeiler-Leman (-WL) equivalence with , where for joint -WL and for separate -WL, an instance of a choice problem on finite domains is encoded into an uncolored simple base graph equipped with a type map to a template graph . From , one forms parity lifts (in particular and ) by expanding each base vertex into copies indexed by parity tags over the template neighbors of whose bits sum to .
Two structural properties govern this construction. Adjacency in forces the pair labels carried by adjacent vertices to agree across main edges and along helper incidences, and the number of parity tags at each template vertex is controlled in terms of , yielding the vertex-count bound for the parity lifts when every domain and label set has size at most .
Template graph and choice systems
Fix a natural number and write for the -element index set . An ordered index pair is a pair satisfying .✦ A helper triple is a pair consisting of an ordered index pair and a third index .✦
A template graph vertex is either a main vertex or a helper triple , so the template vertex set is the disjoint union of and the set of all helper triples.✦ A helper triple has helper incidence with a main vertex if .✦ Under template graph adjacency, two template graph vertices are adjacent if they are distinct main vertices , or if one is a main vertex and the other is a helper triple incident to ; two helper triples are never adjacent.✦ The template graph is the simple graph on with template graph adjacency, so forms a main clique and each helper vertex has neighborhood .✦
In the parity reduction, a choice system supplies the input domains and pair-label tests from which uncolored simple graphs are built.
A choice system on consists of a finite domain for each , a finite label set for each ordered index pair , and left and right labeling maps and .✦
Base graph and vertex labels
Given a choice system on , a base graph vertex is either a main base vertex with and , or a helper base vertex with a helper triple and a label .✦ Write for the set of base graph vertices. The base vertex projection maps each main base vertex to and each helper base vertex to .✦
A base graph arc is a directed relation on generated by four families of pairs: a main arc from to for an ordered index pair whenever ; a left arc from to for any helper triple and ; a right arc from to for any helper triple and ; and a third arc from to for any helper triple , any , and any .✦ The base graph is the simple graph on in which distinct vertices and are adjacent if a base graph arc joins to or to .✦
Adjoin a distinguished undefined value to each label set . For an ordered index pair , the left vertex label sends each main base vertex to and every other base graph vertex to ✦; the right vertex label sends each main base vertex to and every other base graph vertex to .✦ For a helper triple , the helper vertex label sends each helper base vertex to and every other base graph vertex to .
Parity tags
A parity bit is an element of the integers modulo , denoted .✦
When , every template vertex has positive degree, so imposing a parity sum on its incident coordinates leaves a predictable number of tags per vertex in the parity lifts.
Given a parity assignment and a template graph vertex , write for the set of neighbors of in . A parity tag at is a function satisfying the parity condition (1): (1)✦ Let denote the finite set of all parity tags at under .
The claim
Definition 3.1. Let be a natural number, let be a choice system on , and let be adjacent vertices in the base graph . For any ordered index pair with and , (2)✦ For any helper triple with , if and , then (3)✦ and if and , then (4)✦
Let be a natural number and let be a parity assignment on the template graph . For every main vertex , (5)✦ For every helper triple , (6)✦
What is checked
In the Lean library, Definition 3.1 states the label-matching identities (2), (3), and (4) over the base graph , its base vertex projection , and the vertex label maps for an arbitrary choice system on , together with the tag cardinality bounds (5) and (6) over the template graph and the finite parity tag sets for any parity assignment with .