The setting
In the subcubic realization of the affine block construction, testing whether two distinct blocks agree on a shared readout relies on two ingredients. First, each readout of a raw block must align with a contiguous prefix of a permuted binary-vector encoding of the block’s raw value, so that shared readouts can be wired through prefix gadgets. Second, once a colored subcubic port graph is converted into an uncolored simple graph by replacing each vertex with a degree-at-most-three gadget, any winning strategy in the -slot bijective pebble game with must preserve level- vertices whose owners are joined by a walk following any fixed sequence of colors.
Product image instances and block coordinates
A bit is an element of , the ring of integers modulo .✦ For a natural number , a binary vector of length is a function in from to ✦, and for natural numbers and , a square value tuple is an element of .
Let be a set of primary vertices, a set of edges, and the binary address length. A product image instance over , , and consists of a dimension function satisfying for every , source and target maps , a nonempty subset and a map injective on for each and , -linear functionals and , and constants for each .
For a subdivision parameter , a subdivision vertex is an element of the disjoint union , consisting of primary vertices and interior wire vertices.✦ A subdivision link is a pair .✦ Its left endpoint and right endpoint in are defined by (1): (1) The vertex vector dimension extends to by setting for every interior wire vertex .✦ The vertex value vector space at is .✦
A horizontal block is a tuple with row , subdivision vertex , and first and last Boolean labels .✦ A vertical readout is a tuple with row , link , and Boolean label .✦ A square block is a tuple with row , link , and first and last 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.✦
For a link , a row , and a bit , the matched link output bit equals when , and equals otherwise.✦ For a square block with next cyclic row , the four readout sides of are 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 is a horizontal block and , or is a square block and is one of the four readout sides of .✦
The raw block value space is for a horizontal block , and is the square value space for a square block , where and .✦ The single readout value space is for a horizontal readout , and is for a vertical readout .✦ A raw value carries a readout value at if either is a horizontal block with and , or is a square block with and is the left, right, bottom, or top readout of with equal respectively to , , , or .✦ Whenever contains , every carries a readout value at ✦, and the block readout value is that carried value.✦
The block coordinate index set is for a horizontal block , and is for a square block , with cardinality .✦ The raw value coordinate isomorphism identifies raw values additively with bit-valued functions on ✦, and composing with the inverse of the canonical block coordinate numbering gives the additive raw value vector encoding defined by .✦ Similarly, each readout has readout bit dimension equal to for a horizontal readout and for a vertical readout, together with an additive readout value vector isomorphism .✦
When , , and contains , readout lifts to coordinates: there exists an injection such that for every and .✦ Composing the chosen injection with yields the readout coordinate embedding and the bound .✦ Consequently, there exists a permutation of satisfying for all .✦
For a natural number , a binary vector , and a height , the prefix bit truncation and the zero-padded bit sequence are defined by (2): (2)
Uncolored port realizations and pebble games
A subcubic port graph on a vertex set is a symmetric relation on such that each pair is related to at most one pair , and any related pairs and satisfy .✦ Its underlying simple graph on joins two vertices if and only if and are joined by a port edge of for some .✦
Given a vertex coloring , a subcubic realization vertex is a triple consisting of an owner , a port , and a level satisfying .✦ Two subcubic realization vertices and form an internal port gadget edge if and either with , or with or .✦ They form an external port gadget edge if and is joined to by a port edge of .✦ The uncolored port realization graph is the simple graph on the subcubic realization vertices whose edges are the internal and external port gadget edges.✦
In the subcubic reduction, equality of a shared readout between two affine blocks is tested by the existence of a walk following a fixed sequence of vertex colors.
For a simple graph on a set , a coloring , and a finite list of natural numbers, a color-prescribed walk (or -walk) from to in is defined recursively on : if is empty, no pair has a -walk; if , then has a -walk if and only if and ; and if with , then has a -walk if and only if and there exists adjacent to in such that has a -walk in .✦
A finite simple graph consists of an order and a simple graph on .✦ For finite simple graphs and and , a -slot pebble game position assigns to each slot either nothing or a vertex pair .✦ Such a position is a partial isomorphism if, whenever slots and hold and , we have and is adjacent to in if and only if is adjacent to in .✦ A position is a pebble subposition of if every occupied slot of holds the same pair in .✦ A winning position family is a set of -slot positions such that every is a partial isomorphism, is downward closed under pebble subpositions, and for every and every unoccupied slot , there is a bijection such that updating slot of to lies in for every .✦ A position is a winning game position if it belongs to some winning position family.✦
For simple graphs on a finite vertex set and on a finite vertex set , numbering and by and produces numbered finite graphs and encodes each typed -slot pebble game position on as a position between those numbered graphs; is a typed winning position if its encoded position is a winning game position.✦ Binary relations on and on are game-preserved in the -slot game between and if, for every typed winning -slot position and all slots holding and , implies .✦
The claim
Lemma 7.3. Let and be natural numbers, let be a product image instance over sets and with binary address length , let be a raw block containing a readout , and let be the chosen permutation of agreeing with on . Then for every raw block value , the identity (3) holds: (3)✦
Let and be finite vertex sets, let and be subcubic port graphs on and , and let and be vertex colorings satisfying for every and for every . Then for every natural number and every finite list of natural numbers, the relation of level- vertices whose owners are joined by a -walk is game-preserved in the -slot game between and : for every typed winning -slot position and all slots holding and , the implication (4) holds: (4)✦
What is checked
The Lean library states (3) over an arbitrary product image instance with and , a raw block containing a readout , and any raw value , and states (4) over finite subcubic port graphs and equipped with strictly positive vertex colorings and , any pebble-game slot count , and any finite list of colors. For the block coordinate constructions, the Lean library also establishes the existence of carried readout values, the coordinate-lifting injection from a readout into its containing block, the readout dimension bound , and the existence of a coordinate permutation extending the readout coordinate embedding.