The setting
Reducing general Weisfeiler-Leman equivalence problems to connected subcubic graphs requires realizing a family of affine constraints over as a pair of uncolored graphs of maximum degree at most three. Starting from a product image instance over a finite base graph with binary address length and subdivision parameter , one forms affine blocks whose legal valuations are the affine fibers and , and whose overlap constraints are recorded by shared readouts.
The realization replaces each block by a subcubic prefix gadget whose vertices are sorted by structural role, wires matching shared-readout roots and an anchor chain across blocks, and eliminates vertex colors by expanding each vertex into a triangle with port connectors and color-encoding paths. The resulting finite simple graphs and are connected, uncolored, and subcubic, and any winning strategy in the -slot bijective pebble game with forces every zero query vertex of to pair with a response vertex of in the same block such that simultaneous responses agree on all shared readouts.
Affine blocks and readouts
Let denote the field of two elements, and for let denote the space of length- binary vectors. For -linear forms and , the affine boundary map on square value tuples is defined by (1)
Fix finite sets of primary vertices and of edges, a binary address length , and a subdivision parameter . A product image instance over assigns to each a dimension , to each source and target endpoints , to each and row a nonempty Boolean domain together with a map injective on , and to each linear forms and with constants .โฆ
Subdividing each edge times gives the set of subdivision vertices and the set of subdivision links . For a link , the left endpoint is if and otherwiseโฆ; the right endpoint is if and otherwise.โฆ The allowed label set at a subdivision vertex and row is when , and when is an interior vertex.โฆ
Let be the cyclic successor on . A horizontal block consists of a row , a subdivision vertex , and labels โฆ; it is valid if and .โฆ A square block consists of a row , a subdivision link , and labels โฆ; it is valid if and .โฆ A raw block is either a horizontal block or a square blockโฆ, and denotes the set of valid blocks.โฆ
A vertical readout is a triple with row , link , and label โฆ, and a block readout is either a horizontal block or a vertical readout.โฆ For a link , row , and label , the matched link output bit equals if , and otherwise.โฆ A horizontal block contains only the readout itself, whereas a square block contains four readouts: its left horizontal readout , its right horizontal readout , its bottom vertical readout , and its top vertical readout .โฆ
Each subdivision vertex has vector dimension equal to for and for an interior vertex, with vertex value space . The raw block value space is for a horizontal block , and the square value space for a square block . The readout value space is for a horizontal readout and for a vertical readout.โฆ A raw value carries a readout value at a readout contained in when for horizontal, or when equals the corresponding component (left vector, right vector, bottom bit, or top bit) of for squareโฆ; this readout value exists for every and contained in and is denoted .
Fix a marked row , and let equal if and otherwise.โฆ For a link , the left link constant equals if and otherwiseโฆ, the right link constant equals if and otherwiseโฆ, and the total link constant is .โฆ The block inhomogeneity bit is for a horizontal block and for a square block .โฆ For a link , the -linear form is if and the coordinate projection otherwiseโฆ, while is if and the coordinate projection otherwise.โฆ The additive block boundary map is for a horizontal block , and from (1) for a square block .โฆ For , a raw value is legal if (2)โฆ For , the affine fiber is the set of legal valuations satisfying (2).โฆ A base vertex at parity is a pair with and .โฆ Two base vertices and satisfy readout agreement if for every readout contained in both and .โฆ
Prefix gadgets and port wiring
A prefix gadget datum consists of a bit dimension , a positive channel count , root depths for each channel with , a permutation of for each channel , and nonempty legal subsets such that for every and , (3)โฆ The coset condition (3) implies that the zero vector lies in .โฆ
For each valid block , numbering the bit coordinates of yields an additive isomorphism sending bijectively onto . A proper shared readout of is a pair with , , and contained in both and .โฆ Enumerating the proper shared readouts of as the nonzero channels gives channels in total. A readout has bit dimension equal to if horizontal and if verticalโฆ, and its value space is additively isomorphic to .โฆ Whenever contains , the readout lifts via an injective embedding into the coordinates of .โฆ Setting with the identity, and setting with placing the embedded coordinates of in the first positions for the channel of , defines the prefix gadget datum .โฆ
For any prefix gadget datum and , let keep all coordinates below and zero all coordinates at least .โฆ At parity , a legal prefix tree node is a triple with and for some .โฆ The vertex set of the prefix gadget for at parity is the disjoint union of one anchor vertex, spine vertices for each channel and , and all legal prefix tree nodes.โฆ Its simple graph has undirected edges given by four forward relations: the anchor to the channel- root ; consecutive spine vertices to ; tree steps to satisfying ; and leaves to spine vertices .
A subcubic port graph on a vertex set is a symmetric relation on in which each port is adjacent to at most one port with .โฆ On the prefix gadget for , assigning port at the anchor, ports and along the spine for smaller and larger channels and port toward the leaf, and at a tree node port toward its parent or anchor, port toward its spine neighbor, and port toward a child extending by bit maps neighbors of each vertex injectively into , forming the internal port graph of . Each gadget vertex also receives a sort tag recording whether it is the anchor, a spine vertex at channel , or a tree node at channel and height .โฆ
A wiring on the family is a fixed-point-free involution on nonzero channels that pairs channels in distinct blocks with equal root depths.โฆ For the block family, swapping with across the bijection between proper shared readouts and nonzero channels defines the block wiring.โฆ On the disjoint union of gadget vertices over , three port-disjoint port graphs are combined: the disjoint union of the internal port graphs; the root-matching port graph connecting port of each nonzero-channel root to port of its mated root whenever their zero-padded bit sequences agree; and the anchor-chain port graph connecting port of the anchor of each block to port of the next block in a fixed finite enumeration of .โฆ Enumerating the pairs of a block and a gadget sort tag assigns each wired vertex a positive integer color .โฆ
Uncolored realization and query vertices
The uncoloring gadget replaces each colored vertex by a triangle whose three vertices carry connectors and private paths encoding the vertex color while keeping all degrees at most three.
Given a subcubic port graph on a vertex set and a coloring , the uncolored port realization graph has vertices with , , and .โฆ Its internal edges form a triangle on the level- vertices for each and a path across levels for each โฆ; its external edges join the level- vertices and whenever pairs with .โฆ
Applying this construction to the wired port graph and sort coloring at parity yields the uncolored simple graph .โฆ Numbering its finite vertex set by produces a finite simple graph, still denoted .โฆ A finite simple graph is subcubic if its maximum degree satisfies .โฆ
For each valid block and valuation , the query owner is the channel- spine vertex of block corresponding to .โฆ The zero query vertex is the numbered vertex of the port- triangle vertex of the query owner for .โฆ A subcubic block response for is a pair โฆ, and its valuation query vertex is the numbered vertex of the port- triangle vertex of the query owner for .โฆ
The pebble game
For finite simple graphs and and , a -slot pebble-game position assigns to each slot either nothing or a vertex pair .โฆ A position is a partial isomorphism if, whenever slots and hold and , both and hold.โฆ A position is a subposition of if every slot occupied in carries the same pair in .โฆ
A set of -slot positions is a winning position family if every position in is a partial isomorphism, is downward closed under subpositions, and for every and every unoccupied slot , there exists a bijection such that updating slot of to lies in for every .โฆ A position is winning if it belongs to some winning position family.โฆ
The claim
Proposition 7.1. Let be a product image instance over finite sets and with binary address length , subdivision parameter , and marked row , and let and be its numbered subcubic realization graphs.
If is nonempty, then both and are connected finite simple graphs satisfying (4)โฆ
For any , any winning -slot pebble-game position on , any slot , any valid block , and any vertex with , there exists a response such that (5)โฆ
For any , any winning -slot pebble-game position on , any slots , any valid blocks , and any responses and with and , every readout contained in both and satisfies (6)โฆ
What is checked
Proposition 7.1 is stated over any product image instance on finite sets and with binary address length , subdivision parameter , and marked row (with nonempty for (4)), together with its numbered uncolored subcubic realizations and and any winning -slot pebble-game position with for (5) and (6). Beyond the headline claims, the Lean library establishes that every raw block value carries a readout value at each readout of its blockโฆ, that every readout lifts injectively into the block coordinate representationโฆ, that the zero vector is legally valid at parity for any prefix gadget datumโฆ, that the prefix gadget port slot assignment is injective on neighborsโฆ, and that root-matching ports and anchor-chain ports are disjoint.โฆ