The setting
Given a system of linear comparisons over the binary field indexed by binary addresses of length , one can build a family of uncolored finite simple graphs parameterized by a wire subdivision parameter and a twist assignment on the system’s constraint blocks. When every local constraint is homogeneous; when is a special twist supported only on the final link of each subdivided wire in the last coordinate slot, each wire carries a constant shift . Theorem 5.1 gives a local image criterion guaranteeing that the untwisted graph and the twisted graph are indistinguishable by -dimensional Weisfeiler-Leman refinement.
All graphs on this page are finite, simple, undirected, and uncolored. A finite simple graph of order has a vertex set of size equipped with a symmetric, irreflexive adjacency relation.✦ For , the 1-WL vertex coloring assigns every vertex a single trivial color at round , and at round pairs the round- color of each vertex with the multiset of round- colors of all neighbors of ✦; the 1-WL color histogram of at round is the multiset of round- colors over all vertices of .✦ For with , the -WL tuple coloring assigns each -tuple of vertices at round the pair of Boolean matrices recording coordinate equalities and adjacencies between and , and at round pairs its round- color with the multiset, over all vertices of , of the -tuple of round- colors obtained by replacing each entry with ✦; the -WL color histogram of at round is the multiset of round- colors over all -tuples of vertices of .✦ Two finite simple graphs and are -WL equivalent, written , if their 1-WL color histograms agree at every round when , and their -WL color histograms agree at every round when .✦
To encode vertex colors in an uncolored graph, let be a simple graph on a finite vertex set and let be a vertex coloring. The leaf-tag size of a vertex is .✦ Attaching distinct pendant leaves to each vertex , with each leaf adjacent only to its base vertex and no edges between leaves, produces the graph with pendant leaves on the leaf-augmented vertex set.✦ Indexing this finite vertex set yields an uncolored finite simple graph, the leaf-tagged graph of .✦
Affine block systems
Let be the binary field.✦ An affine block system on a finite coordinate set and a block set consists of an injective color encoding , a finite coordinate set for each block , an -linear form for each block , and a Boolean constraint indicator on such that whenever is constrained.✦
A local block assignment on is a function .✦ Given a target assignment , a local block assignment on is legal if whenever is constrained.✦ The set of affine block vertices is the disjoint union of the bit vertices and the valuation vertices .✦ The affine block incidence graph of at is the bipartite simple graph on in which a bit vertex is adjacent to a valuation vertex if and only if and , with no edges between two vertices of the same kind.✦
The vertex color name maps each bit vertex to and each valuation vertex to inside ✦, and the vertex color code assigns to each vertex the natural number .✦ When is finite, the affine block graph is the uncolored leaf-tagged graph of the affine block incidence graph with this vertex color code.✦
Ring layouts
Fix a ring length and write for the cyclic successor of a slot . A ring layout of length on a set of types and a set of links consists of injective encodings of and into , a dimension for each type , a nonempty label set for each and slot , distinct first and second endpoint types for each link with at least one of dimension , a nonempty match label set for each and slot , injective endpoint label maps (1) and -linear forms and .
From a ring layout , define three families of combinatorial objects:
a horizontal block name consists of a type , a slot , and type slot labels and ;✦
a vertical coordinate name is a tuple with , slot , and link slot match ;✦
a ring layout square consists of a link , slot , and link slot matches and .✦
The set of ring layout blocks is the disjoint union of horizontal block names and ring layout squares.✦ The set of ring layout coordinates is the disjoint union of horizontal coordinates (for each horizontal block name of type and index ) and vertical coordinate names.✦
For a horizontal block name of type , its horizontal block coordinate set is .✦ Each ring layout square determines a left horizontal block, a right horizontal block, a top vertical coordinate, and a bottom vertical coordinate: (2) The block coordinate set of is .✦ Using the local coordinate projections onto the coordinates in , the square linear form is defined by (3) where and denote the tuples of values of on the left and right horizontal block coordinates.
Combining the encodings of and into via standard pairing and disjoint-union encodings produces an injective color encoding of the disjoint union of ring layout coordinates and ring layout blocks into . When and the coordinate set is finite, these data form the ring affine block system of , in which every horizontal block is unconstrained with the zero form and every square is constrained with the nonzero linear form from (3).✦
Comparison schemas
A comparison schema specifies a family of linear constraints over linking binary addresses across a set of point types. A comparison schema of address dimension on a point set and a wire set consists of injective encodings of and into , a dimension for each point , source and target points for each wire , a nonempty coordinate domain and an injective coordinate map for each and , and left and right -linear forms (4)✦ A domain address for a wire is a tuple .✦ The endpoint address map associates to the address on the source side and the image address on the target side.✦
For a subdivision parameter , the set of internal layout types of is , assigning dimension and label set at every slot to each real point , and dimension and label set at slot to each internal subdivision node . The set of subdivided wire links consists, for each wire , of an initial link with endpoints , middle links with endpoints for , and a final link with endpoints . Every link in originating from has underlying wire and match label set at slot . Writing , , for the coordinate projection, for each link originating from wire and each slot , the endpoint label maps and endpoint linear forms are defined casewise as follows:
if is the initial link of , then is the inclusion map (), is the identity map, , and ;
if is a middle link of (), then both and are the identity map on , and ;
if is the final link of , then is the identity map, , , and .
Equipped with these injective endpoint label maps, endpoint linear forms, and the encodings of and built from those of and , these data define the comparison ring layout of length .✦ For and finite and , write for the affine block graph of the ring affine block system of at a target assignment on the blocks of .
Define the last-coordinate indicator by if and otherwise.✦ Given a constant assignment , the link constant assignment on takes the value if is the final link of wire and if is an initial or middle link.✦ The special twist assignment on the blocks of is on every horizontal block and, on every ring layout square in slot on link , satisfies (5)✦
Given , a special-twist image family for is a collection of subsets , indexed by and , such that every is nonempty and for every wire and every domain address , (6)✦ where denotes translation in .
The claim
Theorem 5.1. Let satisfy and . Let be a comparison schema of address dimension on a finite point set and a finite wire set , and let be a constant assignment. If there exists a special-twist image family for satisfying (6), then the untwisted affine block graph and the special-twist affine block graph defined from (5) are -WL equivalent: (7)✦
What is checked
Theorem 5.1 is stated over a comparison schema of address dimension on a finite point set and a finite wire set , a subdivision parameter , a constant assignment admitting a special-twist image family, the resulting comparison ring layout and its ring affine block system, and the uncolored leaf-tagged affine block graphs and compared under -WL equivalence. For the ring layout construction, the Lean library also establishes that the left and right horizontal block coordinates and the top and bottom vertical coordinates of every ring layout square belong to the square’s block coordinate set.