OctoInform Beta

OpenAI preprint, September 2026 ยท ยง3. Encoding comparisons by locally reconstructible graphs

ยง3 (setting): Uncolored graphs G(D,ฮฒ)G(D, \beta) built from local ๐”ฝ2\mathbb{F}_2-linear constraints, bounded block pieces for ring layouts, and degree recovery of vertex colors

Affine block systems, ring layouts, and leaf-tagged graphs.

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 systems of linear comparison constraints over ๐”ฝ2\mathbb{F}_2 to uncolored finite simple graphs for kk-dimensional Weisfeiler-Leman refinement, one represents each local constraint by a bipartite incidence gadget between coordinate-bit pairs and locally legal assignments, and then encodes vertex colors as uncolored graph structure by attaching calibrated numbers of pendant leaves. The construction separates into three layers: leaf-tagged uncolored graphs, general affine block systems over ๐”ฝ2\mathbb{F}_2, and ring layouts whose horizontal and square blocks have bounded local incidence pieces.

Pendant leaves and leaf-tagged graphs

A finite simple graph GG of order nโˆˆโ„•n \in \mathbb{N} has vertex set {1,โ€ฆ,n}\{1, \dots, n\} and a symmetric, irreflexive adjacency relation.โœฆ Given a simple graph GG on an arbitrary finite vertex set VV, its indexed graph representation is the finite simple graph obtained by transporting the adjacency relation of GG along an enumeration of VV.โœฆ Write xโˆผGyx \sim_G y when x,yโˆˆVx, y \in V are adjacent in GG, and write deg⁡G(v)\deg_G(v) for the degree of vv in GG.

For a simple graph GG on a vertex set VV and a leaf-count function โ„“:Vโ†’โ„•\ell : V \to \mathbb{N}, the leaf-augmented vertex set Vโ„“V_{\ell} is the disjoint union of VV with โ„“(v)\ell(v) distinct pendant leaves (v,k)(v, k), 0โ‰คk<โ„“(v)0 \le k < \ell(v), attached to each vโˆˆVv \in V. The pendant leaf parent parent(u)โˆˆV\mathrm{parent}(u) \in V sends a base vertex vโˆˆVv \in V to vv and a pendant leaf (v,k)(v, k) to vv.โœฆ The pendant leaf index idx(u)\mathrm{idx}(u) is empty (written idx(u)=โŒ€\mathrm{idx}(u) = \varnothing) when uโˆˆVu \in V is a base vertex, and equals kk when u=(v,k)u = (v, k) is a pendant leaf.โœฆ The graph with pendant leaves Gโ„“G_{\ell} is the simple graph on Vโ„“V_{\ell} in which two base vertices are adjacent if and only if they are adjacent in GG, each pendant leaf is adjacent only to its parent, and no two pendant leaves are adjacent.โœฆ

When VV is finite and c:Vโ†’โ„•c : V \to \mathbb{N} is a vertex coloring, the leaf-tag size โ„“c(v)\ell_c(v) of vโˆˆVv \in V is defined by (1): โ„“c(v)=c(v)(|V|+1).\ell_c(v) = c(v)(|V| + 1).(1)โœฆ The leaf-tagged graph Tag(G,c)\mathrm{Tag}(G, c) is the indexed graph representation of Gโ„“cG_{\ell_c}.โœฆ

Affine block systems

Let ๐”ฝ2\mathbb{F}_2 denote the binary field.โœฆ An affine block system D=(ฮน,(Cb)bโˆˆB,(ฯ†b)bโˆˆB,ฮบ)D = (\iota, (C_b)_{b \in B}, (\varphi_b)_{b \in B}, \kappa) on a finite coordinate set CC and a block index set BB consists of an injective map ฮน:CโŠ”Bโ†ชโ„•\iota : C \sqcup B \hookrightarrow \mathbb{N}, a finite coordinate subset CbโІCC_b \subseteq C for each 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 for each bโˆˆBb \in B, and a constraint flag ฮบ:Bโ†’{false,true}\kappa : B \to \{\mathrm{false}, \mathrm{true}\} such that ฯ†bโ‰ 0\varphi_b \neq 0 whenever ฮบ(b)=true\kappa(b) = \mathrm{true}.

For each bโˆˆBb \in B, a local block assignment is a function v:Cbโ†’๐”ฝ2v : C_b \to \mathbb{F}_2.โœฆ Given a right-hand side ฮฒ:Bโ†’๐”ฝ2\beta : B \to \mathbb{F}_2, a local block assignment vโˆˆ๐”ฝ2Cbv \in \mathbb{F}_2^{C_b} is legal for bb under ฮฒ\beta if ฯ†b(v)=ฮฒ(b)\varphi_b(v) = \beta(b) whenever ฮบ(b)=true\kappa(b) = \mathrm{true}. Write โ„’D(ฮฒ,b)\mathcal{L}_D(\beta, b) for the set of legal local assignments for bb under ฮฒ\beta. The affine block vertex set V(D,ฮฒ)V(D, \beta) and, for each bโˆˆBb \in B, the bounded incidence piece PD(ฮฒ,b)P_D(\beta, b) are given by (2): V(D,ฮฒ)=(Cร—๐”ฝ2)โŠ”โจ†bโˆˆB({b}ร—โ„’D(ฮฒ,b)),PD(ฮฒ,b)=(Cbร—๐”ฝ2)โŠ”โ„’D(ฮฒ,b).\begin{aligned} V(D, \beta) &= (C \times \mathbb{F}_2) \sqcup \bigsqcup_{b \in B} \bigl(\{b\} \times \mathcal{L}_D(\beta, b)\bigr), \\ P_D(\beta, b) &= (C_b \times \mathbb{F}_2) \sqcup \mathcal{L}_D(\beta, b). \end{aligned}(2) The affine block incidence graph Gbase(D,ฮฒ)G_{\mathrm{base}}(D, \beta) is the bipartite simple graph on V(D,ฮฒ)V(D, \beta) in which a coordinate-bit vertex (c,x)โˆˆCร—๐”ฝ2(c, x) \in C \times \mathbb{F}_2 and a block-assignment vertex (b,v)(b, v) are adjacent if and only if cโˆˆCbc \in C_b and v(c)=xv(c) = x, with no edges between two coordinate-bit vertices or between two block-assignment vertices. The vertex color name nameD:V(D,ฮฒ)โ†’CโŠ”B\mathrm{name}_D : V(D, \beta) \to C \sqcup B maps (c,x)(c, x) to cc and (b,v)(b, v) to bb, and the vertex color code cD:V(D,ฮฒ)โ†’โ„•c_D : V(D, \beta) \to \mathbb{N} is defined by (3): cD(u)=ฮน(nameD(u))+1.c_D(u) = \iota\bigl(\mathrm{name}_D(u)\bigr) + 1.(3)

Ring layouts

Subdividing each comparison schema into a wire of private internal types of dimension one ensures that every link has at least one endpoint of dimension one.

Fix a natural number rr and index the cyclic address slots by Ir={0,โ€ฆ,rโˆ’1}I_r = \{0, \dots, r - 1\}, writing i+=(i+1)mod⁡ri^+ = (i + 1) \bmod r for the cyclic successor of iโˆˆIri \in I_r. A ring layout RR of length rr on a type set TT and a link set LL consists of injective natural-number indices on TT and LL, a dimension dtโˆˆ{1,2}d_t \in \{1, 2\} and nonempty allowed label sets At,iโІ{0,1}A_{t,i} \subseteq \{0, 1\} for all tโˆˆTt \in T and iโˆˆIri \in I_r, distinct endpoint types t1(e)โ‰ t2(e)t_1(e) \neq t_2(e) in TT for each link eโˆˆLe \in L satisfying dt1(e)=1d_{t_1(e)} = 1 or dt2(e)=1d_{t_2(e)} = 1, nonempty match label sets Me,iโІ{0,1}M_{e,i} \subseteq \{0, 1\} with injective maps ฯƒe,i(1):Me,iโ†’At1(e),i\sigma_{e,i}^{(1)} : M_{e,i} \to A_{t_1(e), i} and ฯƒe,i(2):Me,iโ†’At2(e),i\sigma_{e,i}^{(2)} : M_{e,i} \to A_{t_2(e), i}, and ๐”ฝ2\mathbb{F}_2-linear forms ฮปe,1:๐”ฝ2dt1(e)โ†’๐”ฝ2\lambda_{e,1} : \mathbb{F}_2^{d_{t_1(e)}} \to \mathbb{F}_2 and ฮปe,2:๐”ฝ2dt2(e)โ†’๐”ฝ2\lambda_{e,2} : \mathbb{F}_2^{d_{t_2(e)}} \to \mathbb{F}_2.

A ring layout RR defines the sets of horizontal block names HRH_R, vertical coordinate names VRV_R, and squares QRQ_R in (4): HR={(t,i,a,aโ€ฒ):tโˆˆT,iโˆˆIr,aโˆˆAt,i,aโ€ฒโˆˆAt,i+},VR={(e,i,m):eโˆˆL,iโˆˆIr,mโˆˆMe,i},QR={(e,i,m,mโ€ฒ):eโˆˆL,iโˆˆIr,mโˆˆMe,i,mโ€ฒโˆˆMe,i+}.\begin{aligned} H_R &= \{(t, i, a, a') : t \in T,\; i \in I_r,\; a \in A_{t,i},\; a' \in A_{t,i^+}\}, \\ V_R &= \{(e, i, m) : e \in L,\; i \in I_r,\; m \in M_{e,i}\}, \\ Q_R &= \{(e, i, m, m') : e \in L,\; i \in I_r,\; m \in M_{e,i},\; m' \in M_{e,i^+}\}. \end{aligned}(4) The ring layout block set is BR=HRโŠ”QRB_R = H_R \sqcup Q_Rโœฆ, and the ring layout coordinate set CRC_R is given by (5): CR={(h,j):h=(t,i,a,aโ€ฒ)โˆˆHR,jโˆˆ{1,โ€ฆ,dt}}โŠ”VR.C_R = \bigl\{(h, j) : h = (t, i, a, a') \in H_R,\; j \in \{1, \dots, d_t\}\bigr\} \sqcup V_R.(5)โœฆ Each square q=(e,i,m,mโ€ฒ)โˆˆQRq = (e, i, m, m') \in Q_R determines its left and right horizontal blocks and its top and bottom vertical coordinates by (6): left(q)=(t1(e),i,ฯƒe,i(1)(m),ฯƒe,i+(1)(mโ€ฒ)),right(q)=(t2(e),i,ฯƒe,i(2)(m),ฯƒe,i+(2)(mโ€ฒ)),top(q)=(e,i,m),bottom(q)=(e,i+,mโ€ฒ).\begin{aligned} \mathrm{left}(q) &= \bigl(t_1(e),\, i,\, \sigma_{e,i}^{(1)}(m),\, \sigma_{e,i^+}^{(1)}(m')\bigr), \\ \mathrm{right}(q) &= \bigl(t_2(e),\, i,\, \sigma_{e,i}^{(2)}(m),\, \sigma_{e,i^+}^{(2)}(m')\bigr), \\ \mathrm{top}(q) &= (e, i, m), \\ \mathrm{bottom}(q) &= (e, i^+, m'). \end{aligned}(6) The horizontal block coordinates of h=(t,i,a,aโ€ฒ)โˆˆHRh = (t, i, a, a') \in H_R form the set Ch={(h,j):1โ‰คjโ‰คdt}โІCRC_h = \{(h, j) : 1 \le j \le d_t\} \subseteq C_R. The block coordinate set of hโˆˆHRh \in H_R is ChC_h, and the block coordinate set of a square qโˆˆQRq \in Q_R is defined by (7): Cq=Cleft(q)โˆชCright(q)โˆช{top(q),bottom(q)}.C_q = C_{\mathrm{left}(q)} \cup C_{\mathrm{right}(q)} \cup \{\mathrm{top}(q), \mathrm{bottom}(q)\}.(7)โœฆ For q=(e,i,m,mโ€ฒ)โˆˆQRq = (e, i, m, m') \in Q_R, the square linear form ฯ†q:๐”ฝ2Cqโ†’๐”ฝ2\varphi_q : \mathbb{F}_2^{C_q} \to \mathbb{F}_2 acts on vโˆˆ๐”ฝ2Cqv \in \mathbb{F}_2^{C_q} by evaluating the endpoint forms on the projected left and right horizontal coordinates and adding the top and bottom vertical coordinates, as in (8): ฯ†q(v)=ฮปe,1(v(left(q),1),โ€ฆ,v(left(q),dt1(e)))+ฮปe,2(v(right(q),1),โ€ฆ,v(right(q),dt2(e)))+v(top(q))+v(bottom(q)).\begin{aligned} \varphi_q(v) &= \lambda_{e,1}\bigl(v(\mathrm{left}(q), 1), \dots, v(\mathrm{left}(q), d_{t_1(e)})\bigr) \\ &\quad + \lambda_{e,2}\bigl(v(\mathrm{right}(q), 1), \dots, v(\mathrm{right}(q), d_{t_2(e)})\bigr) \\ &\quad + v(\mathrm{top}(q)) + v(\mathrm{bottom}(q)). \end{aligned}(8) Pairing and parity encodings of tuples and disjoint unions lift the injective indices on TT and LL to an injective color map ฮนR:CRโŠ”BRโ†ชโ„•\iota_R : C_R \sqcup B_R \hookrightarrow \mathbb{N}. For rโ‰ฅ2r \ge 2 and finite sets TT and LL, the ring affine block system DRD_R on CRC_R and BRB_R equips each horizontal block hโˆˆHRh \in H_R with the zero linear form and ฮบ(h)=false\kappa(h) = \mathrm{false}, and each square qโˆˆQRq \in Q_R with the nonzero linear form ฯ†q\varphi_q and ฮบ(q)=true\kappa(q) = \mathrm{true}.โœฆ

The claim

Definition. For an affine block system DD on a finite coordinate set CC and a finite block index set BB, and a right-hand side ฮฒ:Bโ†’๐”ฝ2\beta : B \to \mathbb{F}_2, the affine block graph G(D,ฮฒ)G(D, \beta) is the uncolored finite simple graph given by (9): G(D,ฮฒ)=Tag(Gbase(D,ฮฒ),cD).G(D, \beta) = \mathrm{Tag}\bigl(G_{\mathrm{base}}(D, \beta),\, c_D\bigr).(9)โœฆ For every ring layout RR of length rโ‰ฅ2r \ge 2 on finite sets TT and LL, every ฮฒ:BRโ†’๐”ฝ2\beta : B_R \to \mathbb{F}_2, and every block bโˆˆBRb \in B_R, the bounded incidence piece of bb in the ring affine block system DRD_R satisfies (10): |PDR(ฮฒ,b)|โ‰ค26.|P_{D_R}(\beta, b)| \le 26.(10)โœฆ For every finite simple graph GG on a finite vertex set VV, every vertex coloring c:Vโ†’โ„•c : V \to \mathbb{N}, and every base vertex vโˆˆVv \in V, the degree of vv in Gโ„“cG_{\ell_c} recovers its color via (11): โŒŠdeg⁡Gโ„“c(v)|V|+1โŒ‹=c(v).\left\lfloor \frac{\deg_{G_{\ell_c}}(v)}{|V| + 1} \right\rfloor = c(v).(11)โœฆ For every simple graph GG on a vertex set VV, every leaf-count function โ„“:Vโ†’โ„•\ell : V \to \mathbb{N}, and all vertices u,wโˆˆVโ„“u, w \in V_{\ell}, adjacency in Gโ„“G_{\ell} satisfies (12): uโˆผGโ„“wโ‡”(idx(u)=โŒ€โˆงidx(w)=โŒ€โˆงparent(u)โˆผGparent(w))โˆจ(idx(u)=โŒ€โˆงidx(w)โ‰ โŒ€โˆงparent(u)=parent(w))โˆจ(idx(u)โ‰ โŒ€โˆงidx(w)=โŒ€โˆงparent(u)=parent(w)).\begin{aligned} u \sim_{G_{\ell}} w \iff &\bigl(\mathrm{idx}(u) = \varnothing \land \mathrm{idx}(w) = \varnothing \land \mathrm{parent}(u) \sim_G \mathrm{parent}(w)\bigr) \\ &\lor \bigl(\mathrm{idx}(u) = \varnothing \land \mathrm{idx}(w) \neq \varnothing \land \mathrm{parent}(u) = \mathrm{parent}(w)\bigr) \\ &\lor \bigl(\mathrm{idx}(u) \neq \varnothing \land \mathrm{idx}(w) = \varnothing \land \mathrm{parent}(u) = \mathrm{parent}(w)\bigr). \end{aligned}(12)โœฆ

In the paper, the result reads: over ๐”ฝ2\mathbb{F}_2 with rโ‰ฅ32r \ge 32 and K=r+1K = r + 1, real types have dimension 11 or 22, each comparison schema e:Pโ†’Re : P \to R with nonempty product domain DeD_e, coordinate injections ฯƒe,i\sigma_{e,i}, and scalar linear forms ฮปe,0,ฮปe,1\lambda_{e,0}, \lambda_{e,1} is subdivided into a wire of 4K4K private internal types and 4K+14K + 1 links, horizontal and vertical readouts form site and square blocks, choosing one bit ฮฒB\beta_B per square defines the legal valuations, and attaching j(N+1)j(N + 1) private leaves to base vertices of color jj (where N=|V|N = |V|) produces the uncolored graph G(ฮฒ)G(\beta).

The Lean library formulates these constructions for an arbitrary affine block system DD and an abstract ring layout RR of any length rโ‰ฅ2r \ge 2, so that G(DR,ฮฒ)G(D_R, \beta) applies to any subdivided wire layout.

What is checked

In the Lean library, the definition (9) and the properties (10), (11), and (12) are stated over simple graphs with pendant leaves, affine block systems over ๐”ฝ2\mathbb{F}_2, and ring layouts of length rโ‰ฅ2r \ge 2 whose types have dimension 11 or 22 and whose links join distinct types with at least one endpoint of dimension 11. For every square of a ring layout, the Lean library establishes that its left and right horizontal coordinates and its top and bottom vertical coordinates belong to the squareโ€™s coordinate set, and that for rโ‰ฅ2r \ge 2 the square linear form is nonzero so that the ring layout induces an affine block system.