OctoInform Beta

OpenAI preprint, September 2026 Β· Β§7. A subcubic realization of the affine blocks

Lemma 7.6: Winning positions on uncolored wired subcubic graphs map zero queries to valid parity-11 responses with matching truncated channel readouts

Decoding pebble-game responses and mated channel readouts.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

To reduce variable-dimension Weisfeiler-Leman equivalence on affine block systems to the connected subcubic decision problem SubWL\mathrm{SubWL}, a family of affine blocks is realized as a pair of uncolored subcubic graphs X0X^0 and X1X^1 built from prefix trees, valuation copies, and color-encoding port gadgets. In the bijective pebble game on X0X^0 and X1X^1, a winning position must preserve enough local structure to decode marked query vertices into legal block valuations of the opposite parity and to enforce equality of shared readout prefixes across mated channels in distinct blocks.

Prefix gadgets and port graphs

A bit is an element of 𝔽2=β„€/2β„€\mathbb{F}_2 = \mathbb{Z}/2\mathbb{Z}✦, and for dβˆˆβ„•d \in \mathbb{N} a binary vector is a function u:{0,…,dβˆ’1}→𝔽2u : \{0, \dots, d - 1\} \to \mathbb{F}_2, written uβˆˆπ”½2du \in \mathbb{F}_2^d.✦ For hβˆˆβ„•h \in \mathbb{N}, the prefix bit truncation trunch(u)βˆˆπ”½2d\mathrm{trunc}_h(u) \in \mathbb{F}_2^d is given at each a∈{0,…,dβˆ’1}a \in \{0, \dots, d - 1\} by (1): trunch(u)(a)={u(a)if a<h,0if aβ‰₯h.\mathrm{trunc}_h(u)(a) = \begin{cases} u(a) & \text{if } a < h, \\ 0 & \text{if } a \ge h. \end{cases}(1)✦ The zero-padded bit sequence pad(u):ℕ→𝔽2\mathrm{pad}(u) : \mathbb{N} \to \mathbb{F}_2 maps each n<dn < d to u(n)u(n) and each nβ‰₯dn \ge d to 00.✦

A prefix gadget data DD consists of a dimension dβˆˆβ„•d \in \mathbb{N}, a positive channel count m>0m > 0, a root depth function root:{0,…,mβˆ’1}β†’β„•\mathrm{root} : \{0, \dots, m - 1\} \to \mathbb{N} satisfying root(k)≀d\mathrm{root}(k) \le d for all kk and root(0)=0\mathrm{root}(0) = 0, a coordinate permutation Ο€k\pi_k of {0,…,dβˆ’1}\{0, \dots, d - 1\} for each channel k∈{0,…,mβˆ’1}k \in \{0, \dots, m - 1\}, and for each parity Ξ΅βˆˆπ”½2\varepsilon \in \mathbb{F}_2 a nonempty set LΞ΅βŠ†π”½2dL^\varepsilon \subseteq \mathbb{F}_2^d of legal valuations such that for every ξ∈L1\xi \in L^1 and every zβˆˆπ”½2dz \in \mathbb{F}_2^d, z∈L0z \in L^0 if and only if z+ξ∈L1z + \xi \in L^1.✦ The zero vector 0βˆˆπ”½2d0 \in \mathbb{F}_2^d belongs to L0L^0✦ and is called the zero valuation of DD.

A raw prefix tree node of DD is a triple (k,h,u)(k, h, u) with channel k∈{0,…,mβˆ’1}k \in \{0, \dots, m - 1\}, height h∈{0,…,d}h \in \{0, \dots, d\}, and bit vector uβˆˆπ”½2du \in \mathbb{F}_2^d.✦ It is legal for parity Ξ΅βˆˆπ”½2\varepsilon \in \mathbb{F}_2 if root(k)≀h\mathrm{root}(k) \le h and there exists z∈LΞ΅z \in L^\varepsilon such that trunch(zβˆ˜Ο€k)=u\mathrm{trunc}_h(z \circ \pi_k) = u.✦ A prefix gadget vertex of DD at parity Ξ΅\varepsilon is either the distinguished anchor vertex, a valuation copy (k,z)(k, z) with k∈{0,…,mβˆ’1}k \in \{0, \dots, m - 1\} and z∈LΞ΅z \in L^\varepsilon, or a legal prefix tree node tt of parity Ξ΅\varepsilon.✦ A prefix tree step edge holds from a legal prefix tree node t=(k,h,u)t = (k, h, u) to tβ€²=(kβ€²,hβ€²,uβ€²)t' = (k', h', u') when k=kβ€²k = k', hβ€²=h+1h' = h + 1, and trunch(uβ€²)=u\mathrm{trunc}_h(u') = u.✦ A prefix gadget forward edge holds in four cases: from the anchor vertex to a legal tree node of channel 00 and height 00; from (k,z)(k, z) to (k+1,z)(k + 1, z) when k+1<mk + 1 < m; from a tree node tt to a tree node tβ€²t' along a prefix tree step edge; and from a tree node (k,d,u)(k, d, u) to (k,z)(k, z) when u=zβˆ˜Ο€ku = z \circ \pi_k.✦ Two prefix gadget vertices are adjacent in the prefix gadget graph of DD at parity Ξ΅\varepsilon if either ordered pair is a forward edge.✦

A subcubic port graph on a vertex set VV is a symmetric relation on vertex-port pairs in VΓ—{0,1,2}V \times \{0, 1, 2\} such that each pair is adjacent to at most one other pair and adjacent pairs have distinct vertices.✦ Given a simple graph GG on VV and a slot assignment slot:VΓ—Vβ†’{0,1,2}\mathrm{slot} : V \times V \to \{0, 1, 2\} that is injective on the neighbors of each vertex x∈Vx \in V, the port graph from slots connects (x,j)(x, j) to (y,jβ€²)(y, j') whenever xx and yy are adjacent in GG, j=slot(x,y)j = \mathrm{slot}(x, y), and jβ€²=slot(y,x)j' = \mathrm{slot}(y, x).✦ For a bit bβˆˆπ”½2b \in \mathbb{F}_2, its bit port index is val(b)+1∈{1,2}\mathrm{val}(b) + 1 \in \{1, 2\}, where val(b)∈{0,1}\mathrm{val}(b) \in \{0, 1\} is the integer representative of bb.✦ In the prefix gadget of DD at parity Ξ΅\varepsilon, the port slot slot(x,y)∈{0,1,2}\mathrm{slot}(x, y) \in \{0, 1, 2\} is defined as follows: the anchor vertex uses port 00; a valuation copy (k,z)(k, z) uses port 00 toward a valuation copy (kβ€²,zβ€²)(k', z') with kβ€²<kk' < k, port 11 toward one with kβ€²β‰₯kk' \ge k, and port 22 toward any other vertex; a tree node (k,h,u)(k, h, u) uses port 00 toward the anchor vertex or a tree node of height strictly less than hh, port 11 toward a valuation copy, and toward a tree node (kβ€²,hβ€²,uβ€²)(k', h', u') with hβ€²β‰₯hh' \ge h uses the bit port index of uβ€²(h)u'(h) when h<dh < d and port 11 when h=dh = d.✦ This assignment is injective on the neighborhood of every vertex in the prefix gadget graph✦ and defines the prefix gadget port graph of DD at parity Ξ΅\varepsilon.

A prefix gadget sort tag of DD is either the anchor tag, a valuation-copy tag k∈{0,…,mβˆ’1}k \in \{0, \dots, m - 1\}, or a tree-node tag (k,h)(k, h) with k∈{0,…,mβˆ’1}k \in \{0, \dots, m - 1\} and root(k)≀h≀d\mathrm{root}(k) \le h \le d.✦ The prefix gadget vertex sort sort\mathrm{sort} maps the anchor vertex to the anchor tag, each valuation copy (k,z)(k, z) to kk, and each legal prefix tree node (k,h,u)(k, h, u) to (k,h)(k, h).✦

Wired blocks and uncolored subcubic realization

A finite set numbering on a finite set AA is a chosen bijection enumA:Aβ†’{0,…,|A|βˆ’1}\mathrm{enum}_A : A \to \{0, \dots, |A| - 1\}.✦ Fix a finite index set BB with a finite set numbering and a family D=(Db)b∈BD = (D_b)_{b \in B} of prefix gadget data, writing dbd_b, mbm_b, rootb\mathrm{root}_b, Ο€b,k\pi_{b,k}, and LbΞ΅L_b^\varepsilon for the components of DbD_b. A nonzero gadget channel is a pair c=(b,k)c = (b, k) with b∈Bb \in B and k∈{1,…,mbβˆ’1}k \in \{1, \dots, m_b - 1\}.✦ A prefix gadget wiring WW on DD is an involution ΞΌ\mu on the nonzero gadget channels such that for every nonzero channel c=(b,k)c = (b, k), its mate ΞΌ(c)=(bβ€²,kβ€²)\mu(c) = (b', k') satisfies bβ€²β‰ bb' \ne b and rootbβ€²(kβ€²)=rootb(k)\mathrm{root}_{b'}(k') = \mathrm{root}_b(k).✦

For Ξ΅βˆˆπ”½2\varepsilon \in \mathbb{F}_2, the set of wired gadget vertices UΞ΅U^\varepsilon is the disjoint union over b∈Bb \in B of the prefix gadget vertices of DbD_b at parity Ξ΅\varepsilon.✦ The wired block anchor vertex of b∈Bb \in B is the anchor vertex of DbD_b inside UΞ΅U^\varepsilon.✦ For a nonzero channel c=(b,k)c = (b, k), a channel root tree node at parity Ξ΅\varepsilon is a legal prefix tree node tt of DbD_b at parity Ξ΅\varepsilon with channel kk and height rootb(k)\mathrm{root}_b(k).✦ A wired channel root label pairs a nonzero channel c=(b,k)c = (b, k) with a channel root tree node tt for cc✦, and its wired root vertex is (b,t)∈UΞ΅(b, t) \in U^\varepsilon.✦ A wired gadget sort tag pairs a block b∈Bb \in B with a prefix gadget sort tag of DbD_b✦, and the wired vertex sort sends (b,x)∈UΞ΅(b, x) \in U^\varepsilon to (b,sort(x))(b, \mathrm{sort}(x)).✦ Fix a finite set numbering on the set of wired gadget sort tags; the wired vertex color col(v)βˆˆβ„•\mathrm{col}(v) \in \mathbb{N} of v∈UΞ΅v \in U^\varepsilon is the enumeration index of its wired vertex sort plus 11.✦

Given a family of subcubic port graphs indexed by BB, its disjoint union port graph connects two vertex-port pairs in the disjoint union if they belong to the same index and their local pairs are adjacent.✦ Given two port-disjoint subcubic port graphs on the same vertex set (so no vertex-port pair is incident to an edge in both), their edge union port graph takes the union of their edge sets.✦ On UΞ΅U^\varepsilon, the wired gadget port graph YΞ΅Y^\varepsilon is the edge union of three pairwise port-disjoint subcubic port graphs✦: the internal wired port graph, which is the disjoint union over b∈Bb \in B of the prefix gadget port graphs of DbD_b at parity Ξ΅\varepsilon✦; the root matching port graph, which connects port 00 of the wired root vertex of a root label (c,t)(c, t) to port 00 of the wired root vertex of (cβ€²,tβ€²)(c', t') whenever ΞΌ(c)=cβ€²\mu(c) = c' and the zero-padded bit sequences of the bit vectors of tt and tβ€²t' coincide✦; and the anchor chain port graph, which connects port 22 of the wired block anchor vertex of bb to port 11 of the wired block anchor vertex of bβ€²b' whenever enumB(bβ€²)=enumB(b)+1\mathrm{enum}_B(b') = \mathrm{enum}_B(b) + 1.✦

For a subcubic port graph YY on a vertex set VV and a coloring col:Vβ†’β„•\mathrm{col} : V \to \mathbb{N}, a subcubic realization vertex is a triple (v,j,β„“)(v, j, \ell) with owner v∈Vv \in V, port j∈{0,1,2}j \in \{0, 1, 2\}, and level β„“βˆˆβ„•\ell \in \mathbb{N} satisfying β„“<col(v)+2\ell < \mathrm{col}(v) + 2.✦ For v∈Vv \in V and j∈{0,1,2}j \in \{0, 1, 2\}, the realization triangle vertex is (v,j,0)(v, j, 0).✦ In the uncolored port realization graph on these vertices, two vertices (v,j,β„“)(v, j, \ell) and (vβ€²,jβ€²,β„“β€²)(v', j', \ell') are adjacent if they form either an internal port gadget edge (meaning v=vβ€²v = v', and either β„“=β„“β€²=0\ell = \ell' = 0 with jβ‰ jβ€²j \ne j', or j=jβ€²j = j' with |β„“βˆ’β„“β€²|=1|\ell - \ell'| = 1) or an external port gadget edge (meaning β„“=β„“β€²=1\ell = \ell' = 1 and ((v,j),(vβ€²,jβ€²))((v, j), (v', j')) is an edge of YY).✦ Applying this construction to YΞ΅Y^\varepsilon and col\mathrm{col} defines the uncolored wired vertex set VΞ΅V^\varepsilon and the uncolored wired graph XΞ΅X^\varepsilon for each Ξ΅βˆˆπ”½2\varepsilon \in \mathbb{F}_2.

For a block b∈Bb \in B, a parity Ξ΅βˆˆπ”½2\varepsilon \in \mathbb{F}_2, and a legal valuation z∈LbΞ΅z \in L_b^\varepsilon, the wired query owner vertex ownerbΞ΅(z)∈UΞ΅\mathrm{owner}_b^\varepsilon(z) \in U^\varepsilon is the valuation copy (0,z)(0, z) in block bb.✦ The wired zero query vertex qryb∈V0\mathrm{qry}_b \in V^0 of bb is the realization triangle vertex given in (2): qryb=(ownerb0(0),0,0).\mathrm{qry}_b = (\mathrm{owner}_b^0(0), 0, 0).(2)✦ A wired gadget response at bb is a pair (z,j)∈Lb1Γ—{0,1,2}(z, j) \in L_b^1 \times \{0, 1, 2\}✦, and its wired response vertex respb(z,j)∈V1\mathrm{resp}_b(z, j) \in V^1 is the realization triangle vertex given in (3): respb(z,j)=(ownerb1(z),j,0).\mathrm{resp}_b(z, j) = (\mathrm{owner}_b^1(z), j, 0).(3)✦

The bijective pebble game

For finite simple graphs GG and HH and a natural number qq of pebble slots, a pebble game position pp assigns to each slot i∈{0,…,qβˆ’1}i \in \{0, \dots, q - 1\} either nothing or a vertex pair (u,v)∈V(G)Γ—V(H)(u, v) \in V(G) \times V(H).✦ A position pp is a partial isomorphism if, whenever slots i1i_1 and i2i_2 carry pairs (u1,v1)(u_1, v_1) and (u2,v2)(u_2, v_2), u1=u2u_1 = u_2 if and only if v1=v2v_1 = v_2, and u1u_1 is adjacent to u2u_2 in GG if and only if v1v_1 is adjacent to v2v_2 in HH.✦ A position pβ€²p' is a subposition of pp if every occupied slot of pβ€²p' carries the same pair in pp.✦ A set SS of positions is a winning position family if every position in SS is a partial isomorphism, SS is downward closed under subpositions, and for every p∈Sp \in S and every unoccupied slot i∈{0,…,qβˆ’1}i \in \{0, \dots, q - 1\}, there exists a bijection e:V(G)β†’V(H)e : V(G) \to V(H) such that updating slot ii of pp to (u,e(u))(u, e(u)) yields a position in SS for every u∈V(G)u \in V(G).✦ A position pp is a winning position on GG and HH if it belongs to some winning position family.✦

The claim

Lemma 7.6. Let BB be a finite set with a finite set numbering, let D=(Db)b∈BD = (D_b)_{b \in B} be a family of prefix gadget data, let the set of wired gadget sort tags carry a finite set numbering, and let WW be a prefix gadget wiring on DD with mate involution ΞΌ\mu. Let qβ‰₯3q \ge 3 be a natural number, and let pp be a winning pebble game position with qq slots on the uncolored wired graphs X0X^0 and X1X^1.

  1. For every slot i∈{0,…,qβˆ’1}i \in \{0, \dots, q - 1\}, every block b∈Bb \in B, and every vertex w∈V1w \in V^1 such that p(i)=(qryb,w)p(i) = (\mathrm{qry}_b, w), there exists a wired gadget response (z,j)∈Lb1Γ—{0,1,2}(z, j) \in L_b^1 \times \{0, 1, 2\} such that w=respb(z,j).w = \mathrm{resp}_b(z, j).(4)✦

  2. For every nonzero gadget channel c=(b,k)c = (b, k) with mate ΞΌ(c)=(bβ€²,kβ€²)\mu(c) = (b', k'), all wired gadget responses (z,j)∈Lb1Γ—{0,1,2}(z, j) \in L_b^1 \times \{0, 1, 2\} and (zβ€²,jβ€²)∈Lbβ€²1Γ—{0,1,2}(z', j') \in L_{b'}^1 \times \{0, 1, 2\}, and all slots i1,i2∈{0,…,qβˆ’1}i_1, i_2 \in \{0, \dots, q - 1\} such that p(i1)=(qryb,respb(z,j))p(i_1) = (\mathrm{qry}_b, \mathrm{resp}_b(z, j)) and p(i2)=(qrybβ€²,respbβ€²(zβ€²,jβ€²))p(i_2) = (\mathrm{qry}_{b'}, \mathrm{resp}_{b'}(z', j')), pad(truncrootb(k)(zβˆ˜Ο€b,k))=pad(truncrootbβ€²(kβ€²)(zβ€²βˆ˜Ο€bβ€²,kβ€²)).\begin{aligned} &\mathrm{pad}\bigl(\mathrm{trunc}_{\mathrm{root}_b(k)}(z \circ \pi_{b,k})\bigr) \\ &\qquad = \mathrm{pad}\bigl(\mathrm{trunc}_{\mathrm{root}_{b'}(k')}(z' \circ \pi_{b',k'})\bigr). \end{aligned}(5)✦

What is checked

Lemma 7.6 states (4) and (5) over a finite numbered family of prefix gadget data equipped with a prefix gadget wiring, a finite numbering of the wired gadget sort tags, the resulting uncolored wired graphs X0X^0 and X1X^1, and a winning pebble game position with at least three slots. The Lean library also proves that the zero vector of each prefix gadget data is a parity-00 legal valuation✦, that the prefix gadget port slot assignment is injective on every vertex neighborhood✦, and that the root matching and anchor chain port graphs are port-disjoint.✦