OctoInform Beta

OpenAI preprint, September 2026 Β· Β§4. Wire comparisons and global offsets

Proposition 4.1: Tag-stable square responses along a cyclic link ring yield the link parity shift over 𝔽2\mathbb{F}_2

Winning ring responses sum to the link parity shift.

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

In the complexity of Weisfeiler-Leman (WL) graph identification, systems of linear constraints over 𝔽2\mathbb{F}_2 are encoded into pairs of finite simple graphs whose rr-dimensional WL indistinguishability forces algebraic consistency among local solutions. When a cyclic ring of length rβ‰₯2r \ge 2 of parity constraints links pairs of low-dimensional 𝔽2\mathbb{F}_2-vector types, a target parity assignment on the blocks yields a twisted incidence graph alongside the zero-target incidence graph. If an rr-tuple of legal local assignments on the cyclic ring of squares along a link is indistinguishable from the corresponding zero-assignment tuple under rr-WL refinement on the vertex-colored incidence graphs, then evaluating the two endpoint linear forms of the link on the summed horizontal vectors recovers the link’s total parity shift over 𝔽2\mathbb{F}_2.

Weisfeiler-Leman stability

A finite simple graph GG consists of a finite vertex set V(G)V(G) of order nβˆˆβ„•n \in \mathbb{N} together with a symmetric, irreflexive adjacency relation on V(G)V(G).✦ For a natural number kβˆˆβ„•k \in \mathbb{N}, the kk-WL tuple coloring assigns to each round Ο„βˆˆβ„•\tau \in \mathbb{N} and each kk-tuple 𝒖=(u0,…,ukβˆ’1)∈V(G)k\mathbf{u} = (u_0, \dots, u_{k-1}) \in V(G)^k a color cG,k(Ο„)(𝒖)c_{G,k}^{(\tau)}(\mathbf{u}) defined recursively by (1): cG,k(0)(𝒖)=((𝟏ui=uj)i,j,(𝟏ui∼Guj)i,j),cG,k(Ο„+1)(𝒖)=(cG,k(Ο„)(𝒖),{{(cG,k(Ο„)(𝒖[i↦z]))i=0kβˆ’1:z∈V(G)}}).\begin{aligned} c_{G,k}^{(0)}(\mathbf{u}) &= \bigl((\mathbf{1}_{u_i = u_j})_{i,j}, (\mathbf{1}_{u_i \sim_G u_j})_{i,j}\bigr), \\ c_{G,k}^{(\tau+1)}(\mathbf{u}) &= \Bigl(c_{G,k}^{(\tau)}(\mathbf{u}), \bigl\{\!\bigl\{\bigl(c_{G,k}^{(\tau)}(\mathbf{u}[i \mapsto z])\bigr)_{i=0}^{k-1} : z \in V(G)\bigr\}\!\bigr\}\Bigr). \end{aligned}(1)✦ At round 00, the color records the kΓ—kk \times k Boolean equality and adjacency matrices of 𝒖\mathbf{u} indexed by i,j∈{0,…,kβˆ’1}i, j \in \{0, \dots, k-1\}; at round Ο„+1\tau + 1, it pairs the round-Ο„\tau color with the multiset over all z∈V(G)z \in V(G) of the kk-tuples of round-Ο„\tau colors obtained by replacing coordinate ii of 𝒖\mathbf{u} with zz, written 𝒖[i↦z]\mathbf{u}[i \mapsto z]. Given finite simple graphs GG on VV and HH on WW, a pair of kk-tuples π’–βˆˆVk\mathbf{u} \in V^k and π’˜βˆˆWk\mathbf{w} \in W^k is a stable kk-WL tuple pair if cG,k(Ο„)(𝒖)=cH,k(Ο„)(π’˜)c_{G,k}^{(\tau)}(\mathbf{u}) = c_{H,k}^{(\tau)}(\mathbf{w}) for every Ο„βˆˆβ„•\tau \in \mathbb{N}.✦

To encode vertex colorings into uncolored graphs, let GG be a finite simple graph on VV and let β„“:Vβ†’β„•\ell : V \to \mathbb{N} be a leaf-count function. The leaf-augmented vertex set is the disjoint union of VV with β„“(u)\ell(u) distinct pendant leaves attached to each u∈Vu \in V.✦ The graph with pendant leaves Gβ„“G^\ell is the finite simple graph on the leaf-augmented vertex set in which two base vertices are adjacent if and only if they are adjacent in GG, each pendant leaf is adjacent only to its own base vertex, and no two pendant leaves are adjacent.✦ For a vertex coloring c:Vβ†’β„•c : V \to \mathbb{N}, the leaf-tag size of u∈Vu \in V is β„“c(u)=c(u)β‹…(|V|+1).\ell_c(u) = c(u) \cdot (|V| + 1).(2)✦ Given finite simple graphs GG on VV and HH on WW with vertex colorings c:Vβ†’β„•c : V \to \mathbb{N} and cβ€²:Wβ†’β„•c' : W \to \mathbb{N}, a pair of kk-tuples π’–βˆˆVk\mathbf{u} \in V^k and π’˜βˆˆWk\mathbf{w} \in W^k is tag-stable if 𝒖\mathbf{u} and π’˜\mathbf{w}, viewed as tuples of base vertices in Gβ„“cG^{\ell_c} and Hβ„“cβ€²H^{\ell_{c'}}, form a stable kk-WL tuple pair.✦

Affine block systems

Let 𝔽2\mathbb{F}_2 denote the binary field of integers modulo 22.✦ An affine block system DD on a finite set of coordinates CC and a set of blocks BB consists of an injective color encoding ΞΊ:CβŠ”Bβ†ͺβ„•\kappa : C \sqcup B \hookrightarrow \mathbb{N}, a finite block coordinate set CbβŠ†CC_b \subseteq C for each block b∈Bb \in B, an 𝔽2\mathbb{F}_2-linear form Ο†b:𝔽2Cb→𝔽2\varphi_b : \mathbb{F}_2^{C_b} \to \mathbb{F}_2, and a subset BconβŠ†BB_{\mathrm{con}} \subseteq B of constrained blocks such that Ο†bβ‰ 0\varphi_b \neq 0 for every b∈Bconb \in B_{\mathrm{con}}.✦

A local block assignment on a block b∈Bb \in B is a function v:Cb→𝔽2v : C_b \to \mathbb{F}_2.✦ Given a target assignment Ξ²:B→𝔽2\beta : B \to \mathbb{F}_2, a local block assignment vv on bb is legal if Ο†b(v)=Ξ²(b)\varphi_b(v) = \beta(b) whenever b∈Bconb \in B_{\mathrm{con}}.✦ A legal block response for Ξ²\beta is a pair p=(b,v)p = (b, v) consisting of a block b∈Bb \in B and a legal local assignment vv on bb.✦ Its response coordinate value is the function val⁡(p):C→𝔽2\operatorname{val}(p) : C \to \mathbb{F}_2 defined by val⁡(p)(c)={v(c)if c∈Cb,0otherwise.\operatorname{val}(p)(c) = \begin{cases} v(c) & \text{if } c \in C_b, \\ 0 & \text{otherwise.} \end{cases}(3)✦

For a target assignment Ξ²:B→𝔽2\beta : B \to \mathbb{F}_2, the affine block vertices are the elements of the disjoint union of the bit vertices C×𝔽2C \times \mathbb{F}_2 and the valuation vertices, which are the legal block responses for Ξ²\beta.✦ The affine block incidence graph GD(Ξ²)G_D(\beta) is the simple bipartite graph on the affine block vertices in which a bit vertex (c,x)(c, x) is adjacent to a valuation vertex (b,v)(b, v) if and only if c∈Cbc \in C_b and v(c)=xv(c) = x, with no edges between vertices of the same kind.✦ The vertex color name maps each bit vertex (c,x)(c, x) to c∈Cc \in C and each valuation vertex (b,v)(b, v) to b∈Bb \in B inside CβŠ”BC \sqcup B✦, and the vertex color code assigns to each vertex uu the positive integer ΞΊ(colorName⁡(u))+1\kappa(\operatorname{colorName}(u)) + 1.✦

For the zero target assignment Ξ²=0\beta = 0, the zero local assignment on any block b∈Bb \in B is legal✦, yielding the zero block vertex z0(b)=(b,0)z_0(b) = (b, 0) in GD(0)G_D(0).✦ When BB is finite, given kβˆˆβ„•k \in \mathbb{N} and Ξ²:B→𝔽2\beta : B \to \mathbb{F}_2, a kk-tuple q=(q0,…,qkβˆ’1)q = (q_0, \dots, q_{k-1}) of legal block responses for Ξ²\beta, where qiq_i lies on block bi∈Bb_i \in B, is a winning kk-tuple of block responses if the tuple (z0(b0),…,z0(bkβˆ’1))(z_0(b_0), \dots, z_0(b_{k-1})) in GD(0)G_D(0) and the tuple (q0,…,qkβˆ’1)(q_0, \dots, q_{k-1}) in GD(Ξ²)G_D(\beta) form a tag-stable kk-tuple with respect to the vertex color codes on GD(0)G_D(0) and GD(Ξ²)G_D(\beta).✦

Ring layouts

A ring layout encodes a system of cyclic parity gadgets linking pairs of low-dimensional 𝔽2\mathbb{F}_2-vector types around a ring of length rr.

A ring layout β„›\mathcal{R} of ring length rβˆˆβ„•r \in \mathbb{N} on a set of types TT and a set of links LL consists of injective encodings of TT and LL into β„•\mathbb{N}, a dimension dt∈{1,2}d_t \in \{1, 2\} for each type t∈Tt \in T, and a nonempty finite set At,iβŠ†{0,1}A_{t,i} \subseteq \{0, 1\} of type slot labels for each t∈Tt \in T and slot i∈{0,…,rβˆ’1}i \in \{0, \dots, r-1\}. In addition, each link e∈Le \in L is equipped with distinct endpoint types t0(e),t1(e)∈Tt_0(e), t_1(e) \in T such that at least one of dt0(e)d_{t_0(e)} and dt1(e)d_{t_1(e)} equals 11, a nonempty finite set Me,iβŠ†{0,1}M_{e,i} \subseteq \{0, 1\} of link slot matches for each slot ii, injective label maps Ο€e,i(0):Me,iβ†ͺAt0(e),i\pi_{e,i}^{(0)} : M_{e,i} \hookrightarrow A_{t_0(e),i} and Ο€e,i(1):Me,iβ†ͺAt1(e),i\pi_{e,i}^{(1)} : M_{e,i} \hookrightarrow A_{t_1(e),i}, and 𝔽2\mathbb{F}_2-linear forms Ξ»e,0:𝔽2dt0(e)→𝔽2\lambda_{e,0} : \mathbb{F}_2^{d_{t_0(e)}} \to \mathbb{F}_2 and Ξ»e,1:𝔽2dt1(e)→𝔽2\lambda_{e,1} : \mathbb{F}_2^{d_{t_1(e)}} \to \mathbb{F}_2.✦

Slot indices i∈{0,…,rβˆ’1}i \in \{0, \dots, r-1\} are read cyclically modulo rr, writing i+1i + 1 for the cyclic successor of ii. A horizontal block name is a tuple h=(t,i,Ξ±,Ξ³)h = (t, i, \alpha, \gamma) with t∈Tt \in T, slot ii, α∈At,i\alpha \in A_{t,i}, and γ∈At,i+1\gamma \in A_{t,i+1}✦; a vertical coordinate name is a tuple (e,i,m)(e, i, m) with e∈Le \in L, slot ii, and m∈Me,im \in M_{e,i}✦; and a ring layout square is a tuple s=(e,i,m,mβ€²)s = (e, i, m, m') with e∈Le \in L, slot ii, m∈Me,im \in M_{e,i}, and mβ€²βˆˆMe,i+1m' \in M_{e,i+1}.✦ The ring layout blocks form the disjoint union of the horizontal block names and the ring layout squares.✦ The ring layout coordinates form the disjoint union of the horizontal coordinates (h,j)(h, j), where hh is a horizontal block name on type tt and j∈{0,…,dtβˆ’1}j \in \{0, \dots, d_t - 1\}, and the vertical coordinate names.✦ A horizontal block assignment maps each horizontal block name hh on type tt to a vector in 𝔽2dt\mathbb{F}_2^{d_t}✦, and the horizontal coordinate restriction hor⁡(z)\operatorname{hor}(z) of a function zz on ring layout coordinates is given by hor⁡(z)(h)=(z(h,j))j=0dtβˆ’1\operatorname{hor}(z)(h) = (z(h, j))_{j=0}^{d_t - 1}.✦

Each ring layout square s=(e,i,m,mβ€²)s = (e, i, m, m') determines its square left horizontal block hL(s)=(t0(e),i,Ο€e,i(0)(m),Ο€e,i+1(0)(mβ€²))h_L(s) = (t_0(e), i, \pi_{e,i}^{(0)}(m), \pi_{e,i+1}^{(0)}(m')), its square right horizontal block hR(s)=(t1(e),i,Ο€e,i(1)(m),Ο€e,i+1(1)(mβ€²))h_R(s) = (t_1(e), i, \pi_{e,i}^{(1)}(m), \pi_{e,i+1}^{(1)}(m')), its square top coordinate vtop(s)=(e,i,m)v_{\mathrm{top}}(s) = (e, i, m), and its square bottom coordinate vbot(s)=(e,i+1,mβ€²)v_{\mathrm{bot}}(s) = (e, i+1, m'). The block coordinate set of a horizontal block hh on type tt is its set of horizontal block coordinates {(h,j):0≀j<dt}\{(h, j) : 0 \le j < d_t\}, and the block coordinate set of a square ss is the union of the horizontal block coordinates of hL(s)h_L(s) and hR(s)h_R(s) together with {vtop(s),vbot(s)}\{v_{\mathrm{top}}(s), v_{\mathrm{bot}}(s)\}.✦ For a block bb and a coordinate cc in its block coordinate set, the local coordinate projection evaluates a local block assignment on bb at cc.✦ The square linear form Ο†s\varphi_s on local block assignments vv on s=(e,i,m,mβ€²)s = (e, i, m, m') is defined over 𝔽2\mathbb{F}_2 by Ο†s(v)=Ξ»e,0(v|hL(s))+Ξ»e,1(v|hR(s))+v(vtop(s))+v(vbot(s)),\begin{aligned} \varphi_s(v) &= \lambda_{e,0}\bigl(v|_{h_L(s)}\bigr) + \lambda_{e,1}\bigl(v|_{h_R(s)}\bigr) \\ &\quad + v\bigl(v_{\mathrm{top}}(s)\bigr) + v\bigl(v_{\mathrm{bot}}(s)\bigr), \end{aligned}(4)✦ where v|hL(s)βˆˆπ”½2dt0(e)v|_{h_L(s)} \in \mathbb{F}_2^{d_{t_0(e)}} and v|hR(s)βˆˆπ”½2dt1(e)v|_{h_R(s)} \in \mathbb{F}_2^{d_{t_1(e)}} are the tuples of local coordinate projections of vv onto the horizontal block coordinates of hL(s)h_L(s) and hR(s)h_R(s). For rβ‰₯2r \ge 2 and finite sets TT and LL, the ring affine block system Dβ„›D_{\mathcal{R}} is the affine block system on the ring layout coordinates and ring layout blocks, equipped with the injective ring layout color encoding into β„•\mathbb{N} built from the type and link encodings and the block coordinate sets above, in which every horizontal block has linear form 00 and is unconstrained while every square ss has linear form Ο†s\varphi_s and is constrained.✦

For a link e∈Le \in L, a link match address is a tuple a=(a0,…,arβˆ’1)a = (a_0, \dots, a_{r-1}) with ai∈Me,ia_i \in M_{e,i} for every slot i∈{0,…,rβˆ’1}i \in \{0, \dots, r-1\}.✦ Its link square ring is the rr-tuple of squares s(e,a,i)=(e,i,ai,ai+1)(i∈{0,…,rβˆ’1}).s(e, a, i) = (e, i, a_i, a_{i+1}) \qquad (i \in \{0, \dots, r-1\}).(5)✦

The link parity shift measures the net 𝔽2\mathbb{F}_2 parity offset accumulated across the rr cyclic squares of a link.

Given a target assignment Ξ²\beta from the ring layout blocks of β„›\mathcal{R} to 𝔽2\mathbb{F}_2, the link parity shift of ee at aa is Δβ(e,a)=βˆ‘i=0rβˆ’1Ξ²(s(e,a,i))βˆˆπ”½2.\Delta_\beta(e, a) = \sum_{i=0}^{r-1} \beta\bigl(s(e, a, i)\bigr) \in \mathbb{F}_2.(6)✦

The claim

Proposition 4.1. Let β„›\mathcal{R} be a ring layout of length rβ‰₯2r \ge 2 on finite sets of types TT and links LL, let Ξ²\beta be a target assignment from the ring layout blocks of β„›\mathcal{R} to 𝔽2\mathbb{F}_2, let e∈Le \in L be a link, and let aa be a link match address for ee. Suppose q=(q0,…,qrβˆ’1)q = (q_0, \dots, q_{r-1}) is a winning rr-tuple of legal block responses for Ξ²\beta in the ring affine block system Dβ„›D_{\mathcal{R}} such that for every slot i∈{0,…,rβˆ’1}i \in \{0, \dots, r-1\}, the block of qiq_i is the square s(e,a,i)s(e, a, i). Then, in 𝔽2\mathbb{F}_2, Ξ»e,0(βˆ‘i=0rβˆ’1hor(val(qi))(hL(s(e,a,i))))+Ξ»e,1(βˆ‘i=0rβˆ’1hor(val(qi))(hR(s(e,a,i))))=Δβ(e,a).\begin{aligned} &\lambda_{e,0}\!\left(\sum_{i=0}^{r-1} \operatorname{hor}\bigl(\operatorname{val}(q_i)\bigr) \bigl(h_L(s(e, a, i))\bigr)\right) \\ &\quad + \lambda_{e,1}\!\left(\sum_{i=0}^{r-1} \operatorname{hor}\bigl(\operatorname{val}(q_i)\bigr) \bigl(h_R(s(e, a, i))\bigr)\right) \\ &\quad = \Delta_\beta(e, a). \end{aligned}(7)✦

In the paper, the result reads: for the construction of Section 3, if G(0)≑rG(Ξ²)G(0) \equiv_r G(\beta), then there are nonempty sets QP,aβŠ†π”½2dPQ_{P,a} \subseteq \mathbb{F}_2^{d_P} for every real type PP and every a∈{0,1}ra \in \{0, 1\}^r such that Ξ»e,0(QP,a)=Ξ”e(a)+Ξ»e,1(QR,Οƒe(a))\lambda_{e,0}(Q_{P,a}) = \Delta_e(a) + \lambda_{e,1}(Q_{R,\sigma_e(a)}) for every comparison e:Pβ†’Re : P \to R and every a∈Dea \in D_e, where Ξ»e,0\lambda_{e,0} and Ξ»e,1\lambda_{e,1} are the two endpoint linear forms and Ξ”e(a)\Delta_e(a) is the wire shift. The Lean library states Proposition 4.1 for a single link in a ring layout, relating the accumulated horizontal vectors of a winning rr-tuple of square responses directly to the link parity shift.

What is checked

Proposition 4.1 is stated over any ring layout β„›\mathcal{R} of length rβ‰₯2r \ge 2 on finite sets of types TT and links LL, any target assignment Ξ²\beta into 𝔽2\mathbb{F}_2, any link e∈Le \in L with link match address aa, and any winning rr-tuple of legal block responses in the ring affine block system Dβ„›D_{\mathcal{R}} supported on the link square ring of ee and aa, where winning means tag-stability of the corresponding tuples in the vertex-colored affine block incidence graphs GDβ„›(0)G_{D_{\mathcal{R}}}(0) and GDβ„›(Ξ²)G_{D_{\mathcal{R}}}(\beta). For these constructions, the Lean library also establishes that the zero local assignment is legal for the zero target assignment on every block of an affine block system✦, and that for every ring layout square, all horizontal coordinates of its left and right horizontal blocks as well as its top and bottom vertical coordinates lie in the square’s block coordinate set.