The setting
In the analysis of -dimensional Weisfeiler-Leman equivalence through the bijective pebble game with pair slots, graph realizations of affine constraint systems are connected to Duplicator’s winning strategies through an abstract block interface. Rather than reasoning directly on a specific graph construction, one separates the game-theoretic transfer of decoded -tuples of valuations across blocks from the algebraic propagation of attained vertex and scalar values across subdivided edges of an underlying product image instance.
The Lean library formalizes these two components independently. On the game side, it establishes that decoded valuation lists extracted from winning -slot positions satisfy a coordinatewise transfer property across arbitrary -tuples of block indices. On the block side, it defines an abstract block ring system capturing that transfer interface and establishes that the resulting sets of attained vertex values are nonempty and propagate the left affine edge form across every subdivided edge to the right affine edge form.
The bijective pebble game and decoded ring lists
A finite simple graph consists of a natural number (its order) and a simple graph structure on the vertex set .✦ For finite simple graphs and a natural number , a -slot pebble game position assigns to each slot either nothing or a vertex pair .✦ A position is a partial isomorphism if whenever slots hold and , we have if and only if , and are adjacent in if and only if are adjacent in .✦ A position is a pebble subposition of if every slot occupied by a vertex pair in is occupied by the same pair in .✦
A winning position family of -slot positions on is a set of positions such that every is a partial isomorphism, every pebble subposition of a position in lies in , and for every and every unoccupied slot , there exists a bijection such that replacing slot of with yields a position in for every .✦ A -slot position is winning if it belongs to some winning position family.✦
Fix a natural number and set . Let be an index set, let and be families of sets, and let and be query and response maps. An -tuple with and is a winning game ring if there exist a winning -slot position on and an injection such that (1)✦ Given a family of decoding maps (), the dependent valuation decoder sends to .✦ For any -tuple , the set of decoded ring valuation lists is the subset of defined by (2)✦
Product image instances and affine blocks
Let denote the field of bits (integers modulo ).✦ For a natural number , a binary vector in is a function .✦ For natural numbers , a square value tuple is an element . Given -linear maps and , the affine boundary map sends a square value tuple to (3)✦
A binary address of length is a function .✦ A product image instance over a set of primary vertices , a set of edges , and address length consists of: a dimension for each ; source and target vertices for each ; a nonempty subset and a map injective on for each and ; -linear maps and ; and constants . An address of length is allowed for if for every .✦ The mapped edge address along is defined by ✦, and the left and right affine edge forms are given by (4)
Fix a subdivision parameter . A subdivision vertex is an element of , either a primary vertex or an interior vertex with and .✦ A subdivision link is a pair .✦ The left endpoint is when and when ✦; the right endpoint is when and when .✦ The allowed vertex label set at a subdivision vertex and coordinate is if and if .✦ The vertex vector dimension is if and if ✦, and the vertex value vector space is .✦
Write for the cyclic successor on . A horizontal block is a tuple with row , subdivision vertex , and Boolean labels .✦ A vertical readout is a triple with row , subdivision link , and Boolean label .✦ A square block is a tuple with row , link , and Boolean labels .✦ A raw block is either a horizontal block or a square block✦, and a block readout is either a horizontal block or a vertical readout.✦ A horizontal block is valid if and ✦; a square block is valid if and .✦ A valid block is a raw block that is valid, and denotes the set of all valid blocks.✦
For a link , row , and Boolean label , the matched link output bit equals when and otherwise.✦ A square block has four readouts: its left horizontal readout ✦, its right horizontal readout ✦, its bottom vertical readout ✦, and its top vertical readout .✦ A raw block contains a readout if either it is a horizontal block and , or it is a square block and is one of its four readouts.✦
The raw block value space is for a horizontal block , and the space of square value tuples of dimensions and for a square block .✦ The single readout value space is for a horizontal readout and for a vertical readout.✦ A raw block with value carries a value on a readout if is horizontal with and , or is a square block with and matches the left readout with , the right readout with , the bottom readout with , or the top readout with .✦ Whenever contains , every carries a value on ✦, defining a block readout value .
Fix a marked row . The marked row indicator is if and otherwise.✦ For a link , the left link constant is if and otherwise✦, the right link constant is if and otherwise✦, and the total link constant is .✦ The block inhomogeneity bit is for a horizontal block and for a square block .✦ Each link carries left and right -linear forms from and to , and each raw block carries an additive block boundary map . For a parity bit , a value is a legal block value at parity if (5)✦ For a valid block , the affine fiber is the set of legal block valuations of at parity (giving and ).✦ 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 .✦
Block ring systems and attained value sets
A block ring system abstracts the collections of -tuples of affine-fiber valuations that a winning -slot strategy can realize simultaneously and transfer across arbitrary -tuples of blocks while preserving shared readouts.
A block ring system for assigns to each -tuple of valid blocks a set satisfying three properties:
for every ;
for every , every , and all , the base vertices and satisfy readout agreement;
for every and every , there exists such that and satisfy readout agreement for every .
A vertex type address for a subdivision vertex is a binary address of length satisfying for every .✦ In particular, every binary address of length is a real vertex type address for any primary vertex ✦, and every address allowed for an edge is an internal vertex type address for each interior vertex with .✦ Given a subdivision vertex and a vertex type address for , the site block ring is the -tuple whose -th entry is the valid horizontal block .✦ For any , its ring sum is .✦
For a block ring system , the set of attained vertex values at is (6)✦ For a primary vertex and an address of length , the set of attained real vertex values is .✦ For an edge , an index , and an address allowed for , the set of attained scalar vertex values is (7)✦
The claim
Proposition 6.1. Let be finite simple graphs, let be a natural number with pebble-game slots, let be an index set with families and , query map , response map , decoding maps , and a binary relation on such that in every winning -slot position on , any slot holding has for some , and any two slots holding and satisfy . Then for all and every , (8)✦
Now let be a product image instance over primary vertices , edges , and address length , let be a subdivision parameter, let be a marked row, and let be a block ring system for . For every subdivision vertex and every vertex type address for , (9)✦ If moreover and , then for every edge and every binary address of length allowed for in , (10)✦ (11)✦ and for every natural number with , (12)✦
In the paper, the result reads: given a product scalar-image instance at address length , , and finite simple graphs of the same positive order partitioned by blocks satisfying local offset bijections indexed by and decoding sets whose responses agree on shared readouts even when all slots are occupied, consistency of the instance is equivalent to Duplicator winning the -slot game on and equivalent to . The Lean library isolates the transfer property of decoded ring lists in (8) and the nonemptiness and edge-propagation identities for attained value sets in (9), (10), (11), and (12).
What is checked
In the Lean library, Proposition 6.1 is stated over finite simple graphs with pebble-game slots, an abstract index set with query, response, and decoding maps and a binary relation on decoded pairs, and over a product image instance with subdivision parameter , marked row , and a block ring system (requiring and for the edge-propagation identities). The Lean library also proves that whenever a raw block contains a readout, every raw block value carries a value on that readout.✦