OctoInform Beta

OpenAI preprint, September 2026 · §3. Encoding comparisons by locally reconstructible graphs

Proposition 3.1: For r≥32r \ge 32, every graph rr-WL equivalent to the zero-bit ring layout graph is isomorphic to one with some block bits

Reconstructing an arbitrary mate of a ring layout graph.

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 encode systems of 𝔽2\mathbb{F}_2-linear comparison schemas into uncolored finite simple graphs, one constructs a family of graphs G(β)G(\beta) parameterized by a vector β\beta of right-hand-side bits in 𝔽2\mathbb{F}_2. A central structural step is local reconstruction: for address dimension r≥32r \ge 32, any graph that cannot be distinguished from the homogeneous graph G(0)G(0) by rr-dimensional Weisfeiler-Leman (rr-WL) refinement must be isomorphic to G(β)G(\beta) for some choice of bits β\beta.

A finite simple graph GG consists of a natural number nn (its order), giving the vertex set V(G)={1,…,n}V(G) = \{1, \dots, n\}, together with a symmetric, irreflexive adjacency relation on V(G)V(G).✦ Two finite simple graphs GG and HH are isomorphic, written G≅HG \cong H, if there is a bijection e:V(G)→V(H)e : V(G) \to V(H) such that uu and vv are adjacent in GG if and only if e(u)e(u) and e(v)e(v) are adjacent in HH.✦

For 11-WL refinement, the 11-WL color space at round s∈ℕs \in \mathbb{N} is a singleton at s=0s = 0 and the product of the round-ss color space with the space of multisets of round-ss colors at s+1s + 1.✦ The 11-WL vertex coloring assigns every vertex the unique initial color at round 00, and at round s+1s + 1 pairs the round-ss color of a vertex vv with the multiset of round-ss colors of all neighbors of vv.✦ The 11-WL color histogram of GG at round ss is the multiset of round-ss colors over all vertices of GG.✦

For any k∈ℕk \in \mathbb{N}, the kk-WL color space at round s∈ℕs \in \mathbb{N} consists at s=0s = 0 of pairs of k×kk \times k Boolean matrices, and at s+1s + 1 of pairs of a round-ss color and a multiset of kk-tuples of round-ss colors.✦ The kk-WL tuple coloring assigns each kk-tuple v=(v1,…,vk)∈V(G)kv = (v_1, \dots, v_k) \in V(G)^k at round 00 the pair of k×kk \times k matrices recording coordinate equalities and adjacencies; at round s+1s + 1, it pairs the round-ss color of vv with the multiset, over all z∈V(G)z \in V(G), of the kk-tuple whose ii-th entry is the round-ss color of the tuple obtained from vv by replacing viv_i with zz.✦ The kk-WL color histogram of GG at round ss is the multiset of round-ss colors over all kk-tuples in V(G)kV(G)^k.✦ Two graphs GG and HH are kk-WL equivalent, written G≡kHG \equiv_k H, if for every round s∈ℕs \in \mathbb{N} their 11-WL color histograms agree when k=1k = 1, and their kk-WL color histograms agree when k≠1k \neq 1.✦

Vertex colors are erased by attaching pendant leaves. Given a simple graph GG on a finite vertex set VV and a leaf-count function ℓ:V→ℕ\ell : V \to \mathbb{N}, the leaf-augmented vertex set is the disjoint union of VV with ℓ(v)\ell(v) distinct pendant leaves for each v∈Vv \in V.✦ The graph with pendant leaves retains the edges of GG between base vertices, joins each pendant leaf solely to its own base vertex, and places no edges between leaves.✦ For a vertex coloring c:V→ℕc : V \to \mathbb{N}, the leaf-tag size of v∈Vv \in V is ℓc(v)=c(v)(|V|+1).\ell_c(v) = c(v)(|V| + 1).(1)✦ The leaf-tagged graph of GG under cc is the indexed graph representation of the graph with pendant leaves obtained from GG using the leaf counts in (1), transporting its adjacency relation along an enumeration of the leaf-augmented vertex set to form an uncolored finite simple graph.✦

Affine block systems

Let 𝔽2\mathbb{F}_2 denote the two-element field.✦ An affine block system DD on a finite coordinate set CC and a block set BB consists of an injective color index ι:C⊔B↪ℕ\iota : C \sqcup B \hookrightarrow \mathbb{N}, a finite subset of coordinates Cb⊆CC_b \subseteq C for each b∈Bb \in B, an 𝔽2\mathbb{F}_2-linear form fb:𝔽2Cb→𝔽2f_b : \mathbb{F}_2^{C_b} \to \mathbb{F}_2 for each b∈Bb \in B, and a Boolean flag designating each block b∈Bb \in B as constrained or unconstrained, such that fb≠0f_b \neq 0 whenever bb is constrained.✦

A local block assignment at b∈Bb \in B is a map v:Cb→𝔽2v : C_b \to \mathbb{F}_2.✦ Given a bit assignment β:B→𝔽2\beta : B \to \mathbb{F}_2, a local block assignment vv at bb is legal if fb(v)=β(b)f_b(v) = \beta(b)(2)✦ whenever bb is constrained; when bb is unconstrained, every local block assignment at bb is legal. The affine block vertex set VD(β)V_D(\beta) is the disjoint union VD(β)=(C×𝔽2)⊔{(b,v):b∈B,v legal at b for β}.V_D(\beta) = (C \times \mathbb{F}_2) \sqcup \{(b, v) : b \in B,\ v \text{ legal at } b \text{ for } \beta\}.(3)✦ The affine block incidence graph on VD(β)V_D(\beta) is the bipartite simple graph in which a coordinate-bit vertex (c,x)∈C×𝔽2(c, x) \in C \times \mathbb{F}_2 is adjacent to a block-assignment vertex (b,v)(b, v) if and only if c∈Cbc \in C_b and v(c)=xv(c) = x, with no edges within either part.✦

Each vertex w∈VD(β)w \in V_D(\beta) receives a vertex color name in C⊔BC \sqcup B, namely cc for (c,x)(c, x) and bb for (b,v)(b, v)✦, and a positive integer vertex color code cD(w)=ι(name(w))+1.c_D(w) = \iota(\text{name}(w)) + 1.(4)✦ When BB is finite, the affine block graph GD(β)G_D(\beta) is the leaf-tagged graph of the affine block incidence graph with vertex coloring cDc_D from (4).✦

Ring layouts

A ring layout abstracts the type layout obtained in the paper by subdividing each comparison schema into a wire of internal types of dimension one.

For a natural number address dimension rr and sets of types TT and links LL, a ring layout RR consists of the following data, where coordinate indices i∈{1,…,r}i \in \{1, \dots, r\} are taken cyclically so that the successor i+1i + 1 of rr is 11:

  • injective encodings ιT:T↪ℕ\iota_T : T \hookrightarrow \mathbb{N} and ιL:L↪ℕ\iota_L : L \hookrightarrow \mathbb{N};

  • a dimension d(t)∈{1,2}d(t) \in \{1, 2\} for each type t∈Tt \in T;

  • for each type t∈Tt \in T and index i∈{1,…,r}i \in \{1, \dots, r\}, a nonempty set of type slot labels At,i⊆{0,1}A_{t,i} \subseteq \{0, 1\};

  • for each link e∈Le \in L, two distinct endpoint types t0(e),t1(e)∈Tt_0(e), t_1(e) \in T such that at least one of d(t0(e))d(t_0(e)) and d(t1(e))d(t_1(e)) equals 11;

  • for each link e∈Le \in L and index i∈{1,…,r}i \in \{1, \dots, r\}, a nonempty set of link slot matches Me,i⊆{0,1}M_{e,i} \subseteq \{0, 1\} together with injective maps ϕe,i,0:Me,i↪At0(e),i\phi_{e,i,0} : M_{e,i} \hookrightarrow A_{t_0(e),i} and ϕe,i,1:Me,i↪At1(e),i\phi_{e,i,1} : M_{e,i} \hookrightarrow A_{t_1(e),i};

  • for each link e∈Le \in L, two 𝔽2\mathbb{F}_2-linear forms λe,0:𝔽2d(t0(e))→𝔽2\lambda_{e,0} : \mathbb{F}_2^{d(t_0(e))} \to \mathbb{F}_2 and λe,1:𝔽2d(t1(e))→𝔽2\lambda_{e,1} : \mathbb{F}_2^{d(t_1(e))} \to \mathbb{F}_2.

From RR we form three index sets: the set HRH_R of horizontal block names h=(t,i,a,a′)h = (t, i, a, a') with t∈Tt \in T, i∈{1,…,r}i \in \{1, \dots, r\}, a∈At,ia \in A_{t,i}, and a′∈At,i+1a' \in A_{t,i+1}✦; the set VRV_R of vertical coordinate names (e,i,m)(e, i, m) with e∈Le \in L, i∈{1,…,r}i \in \{1, \dots, r\}, and m∈Me,im \in M_{e,i}✦; and the set QRQ_R of ring layout squares q=(e,i,m,m′)q = (e, i, m, m') with e∈Le \in L, i∈{1,…,r}i \in \{1, \dots, r\}, m∈Me,im \in M_{e,i}, and m′∈Me,i+1m' \in M_{e,i+1}✦. The block set of RR is BR=HR⊔QRB_R = H_R \sqcup Q_R✦, and its coordinate set is CR={(h,j):h=(t,i,a,a′)∈HR,1≤j≤d(t)}⊔VR.C_R = \{(h, j) : h = (t, i, a, a') \in H_R,\ 1 \le j \le d(t)\} \sqcup V_R.(5)✦

Each square q=(e,i,m,m′)∈QRq = (e, i, m, m') \in Q_R determines a left horizontal block, a right horizontal block, a top vertical coordinate, and a bottom vertical coordinate by left⁡(q)=(t0(e),i,ϕe,i,0(m),ϕe,i+1,0(m′))∈HR,right⁡(q)=(t1(e),i,ϕe,i,1(m),ϕe,i+1,1(m′))∈HR,top⁡(q)=(e,i,m)∈VR,bottom⁡(q)=(e,i+1,m′)∈VR.\begin{aligned} \operatorname{left}(q) &= \bigl(t_0(e),\, i,\, \phi_{e,i,0}(m),\, \phi_{e,i+1,0}(m')\bigr) \in H_R,\\ \operatorname{right}(q) &= \bigl(t_1(e),\, i,\, \phi_{e,i,1}(m),\, \phi_{e,i+1,1}(m')\bigr) \in H_R,\\ \operatorname{top}(q) &= (e, i, m) \in V_R,\\ \operatorname{bottom}(q) &= (e, i + 1, m') \in V_R. \end{aligned}(6) Each horizontal block h=(t,i,a,a′)∈HRh = (t, i, a, a') \in H_R is assigned a finite horizontal coordinate set Ch⊆CRC_h \subseteq C_R consisting of the d(t)d(t) pairs (h,j)(h, j) with 1≤j≤d(t)1 \le j \le d(t).✦ Each square q∈QRq \in Q_R is assigned the coordinate set Cq=Cleft⁡(q)∪Cright⁡(q)∪{top⁡(q),bottom⁡(q)}.C_q = C_{\operatorname{left}(q)} \cup C_{\operatorname{right}(q)} \cup \{\operatorname{top}(q), \operatorname{bottom}(q)\}.(7)✦ Using the local coordinate projections v↦v(c)v \mapsto v(c) for c∈Cqc \in C_q, the square linear form fq:𝔽2Cq→𝔽2f_q : \mathbb{F}_2^{C_q} \to \mathbb{F}_2 at q=(e,i,m,m′)q = (e, i, m, m') is fq(v)=λe,0((v(left⁡(q),j))j=1d(t0(e)))+λe,1((v(right⁡(q),j))j=1d(t1(e)))+v(top⁡(q))+v(bottom⁡(q)).\begin{aligned} f_q(v) &= \lambda_{e,0}\bigl((v(\operatorname{left}(q), j))_{j=1}^{d(t_0(e))}\bigr) \\ &\quad + \lambda_{e,1}\bigl((v(\operatorname{right}(q), j))_{j=1}^{d(t_1(e))}\bigr) \\ &\quad + v(\operatorname{top}(q)) + v(\operatorname{bottom}(q)). \end{aligned}(8)✦

Combining ιT\iota_T and ιL\iota_L with standard natural-number encodings of Booleans, finite indices, products, indexed sums, subsets, and disjoint unions yields injective encodings of HRH_R, VRV_R, and QRQ_R into ℕ\mathbb{N}, and hence an injective color index ι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 is the affine block system on CRC_R and BRB_R with color index ιR\iota_R and coordinate sets CbC_b from (7), in which every horizontal block h∈HRh \in H_R is unconstrained with zero linear form and every square q∈QRq \in Q_R is constrained with the nonzero linear form fqf_q from (8).✦ Write GR(β)G_R(\beta) for the affine block graph GDR(β)G_{D_R}(\beta) at a bit assignment β:BR→𝔽2\beta : B_R \to \mathbb{F}_2, and GR(0)G_R(0) for the graph at the all-zero assignment.

The claim

Proposition 3.1. Let r≥32r \ge 32, let RR be a ring layout of address dimension rr on finite sets of types TT and links LL, and let HH be a finite simple graph. If GR(0)≡rHG_R(0) \equiv_r H, then there exists a bit assignment β:BR→𝔽2\beta : B_R \to \mathbb{F}_2 satisfying H≅GR(β).H \cong G_R(\beta).(9)✦

In the paper, the result reads: for any comparison data with r≥32r \ge 32, every finite simple graph HH satisfying H≡rG(0)H \equiv_r G(0) is isomorphic to G(β)G(\beta) for some choice of one bit βB∈𝔽2\beta_B \in \mathbb{F}_2 per square block, where G(β)G(\beta) corresponds to GR(β)G_R(\beta). The Lean library formulates Proposition 3.1 directly for a ring layout RR and indexes β\beta over all blocks BRB_R, with horizontal blocks left unconstrained so that only the values of β\beta on square blocks affect GR(β)G_R(\beta).

What is checked

In the Lean library, Proposition 3.1 is stated for an address dimension r≥32r \ge 32, a ring layout RR on finite sets of types TT and links LL, and a finite simple graph HH satisfying GR(0)≡rHG_R(0) \equiv_r H, where GR(β)G_R(\beta) is the leaf-tagged affine block graph of the ring affine block system DRD_R. For every square qq of a ring layout RR, the Lean library also proves that each coordinate of left⁡(q)\operatorname{left}(q) and right⁡(q)\operatorname{right}(q), together with top⁡(q)\operatorname{top}(q) and bottom⁡(q)\operatorname{bottom}(q), belongs to the square’s coordinate set CqC_q.