OctoInform Beta

OpenAI preprint, September 2026 ยท ยง3. A compressed graph representation of arc consistency

Lemma 3.5: Walk parity weights, cyclic label agreement for wrapping sets, and anchor connectivity in block sets of size at most r+2r + 2

Wrapping block sets match labels and connect anchors.

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 compressed graph representation of individual-edge arc consistency, variables indexed by coordinate addresses are represented by local blocks arranged across cyclic layers. A finite subcollection of blocks wraps around these layers when its corner graph contains a closed walk crossing the seam between the final layer and the first layer an odd number of times. Recovering a consistent coordinate address from such local blocks relies on tracking edge-traversal parities along walks, matching labels across adjacent layer boundaries, and showing that distinct wrapping subcollections inside a small ambient block set anchor in the same connected component of the subdivided type support graph.

Block drawings

Let ๐”ฝ2=โ„ค/2โ„ค\mathbb{F}_2 = \mathbb{Z}/2\mathbb{Z} denote the binary field.โœฆ For a simple graph GG on a vertex set VV, write xโˆผGyx \sim_G y when vertices x,yโˆˆVx, y \in V are connected by a walk in GG. Given an edge marking ฮผ:Vร—Vโ†’๐”ฝ2\mu : V \times V \to \mathbb{F}_2, the walk parity weight wฮผ(ฮณ)โˆˆ๐”ฝ2w_\mu(\gamma) \in \mathbb{F}_2 of a walk ฮณ\gamma in GG is the sum in ๐”ฝ2\mathbb{F}_2 of ฮผ(u,v)\mu(u, v) over all consecutive steps (u,v)(u, v) traversed by ฮณ\gamma.โœฆ We write ฯตv\epsilon_v for the empty walk at a vertex vโˆˆVv \in V, and (u,v)โ‹…ฮณ(u, v) \cdot \gamma for the walk obtained by prepending an adjacent step (u,v)(u, v) in GG to a walk ฮณ\gamma starting at vv.

For a natural number rr, define the cyclic shift rotr+1\mathrm{rot}_{r+1} on {0,โ€ฆ,r}\{0, \dots, r\} by rotr+1(i)=(i+1)mod⁡(r+1)\mathrm{rot}_{r+1}(i) = (i + 1) \bmod (r + 1). A block drawing DD of parameter rr for a block set BB on a vertex set VV consists of a boundary index bdD:Vโ†’{0,โ€ฆ,r}\mathrm{bd}_D : V \to \{0, \dots, r\}, a row index rowD:Bโ†’{0,โ€ฆ,r}\mathrm{row}_D : B \to \{0, \dots, r\}, and lower and upper endpoint maps lowD,highD:Bร—{false,true}โ†’V\mathrm{low}_D, \mathrm{high}_D : B \times \{\mathrm{false}, \mathrm{true}\} \to V satisfying, for every block bโˆˆBb \in B and every Boolean side sโˆˆ{false,true}s \in \{\mathrm{false}, \mathrm{true}\}, bdD(lowD(b,s))=rowD(b),bdD(highD(b,s))=rotr+1(rowD(b)).\begin{aligned} \mathrm{bd}_D(\mathrm{low}_D(b, s)) &= \mathrm{row}_D(b), \\ \mathrm{bd}_D(\mathrm{high}_D(b, s)) &= \mathrm{rot}_{r+1}(\mathrm{row}_D(b)). \end{aligned}(1)โœฆ In a block drawing DD, the block edge relation ED(b,x,y)E_D(b, x, y) holds for a block bโˆˆBb \in B and vertices x,yโˆˆVx, y \in V if either x=lowD(b,s)x = \mathrm{low}_D(b, s) and y=highD(b,s)y = \mathrm{high}_D(b, s) for some side sโˆˆ{false,true}s \in \{\mathrm{false}, \mathrm{true}\}, or x=lowD(b,false)x = \mathrm{low}_D(b, \mathrm{false}) and y=lowD(b,true)y = \mathrm{low}_D(b, \mathrm{true}), or x=highD(b,false)x = \mathrm{high}_D(b, \mathrm{false}) and y=highD(b,true)y = \mathrm{high}_D(b, \mathrm{true}).โœฆ For a finite set UโІBU \subseteq B, the graph of a block set GD(U)G_D(U) is the simple graph on VV in which distinct vertices x,yโˆˆVx, y \in V are adjacent if and only if some block bโˆˆUb \in U satisfies ED(b,x,y)E_D(b, x, y) or ED(b,y,x)E_D(b, y, x).โœฆ

For each layer iโˆˆ{0,โ€ฆ,r}i \in \{0, \dots, r\}, the row boundary indicator ฮผD,i:Vร—Vโ†’๐”ฝ2\mu_{D, i} : V \times V \to \mathbb{F}_2 assigns 11 to a pair (x,y)(x, y) if either bdD(x)=i\mathrm{bd}_D(x) = i and bdD(y)=rotr+1(i)\mathrm{bd}_D(y) = \mathrm{rot}_{r+1}(i), or bdD(y)=i\mathrm{bd}_D(y) = i and bdD(x)=rotr+1(i)\mathrm{bd}_D(x) = \mathrm{rot}_{r+1}(i), and assigns 00 otherwise.โœฆ The wrapping condition detects closed walks in the block graph that cross the cyclic seam between layer rr and layer 00 an odd number of times. A finite block set UโІBU \subseteq B is a wrapping block set in DD if there exist a vertex vโˆˆVv \in V and a closed walk ฮณ\gamma from vv to vv in GD(U)G_D(U) such that wฮผD,r(ฮณ)โ‰ 0.w_{\mu_{D, r}}(\gamma) \neq 0.(2)โœฆ

Subdivided type graphs

Fix a natural number rr, a set TT of site types, a set LL of link identifiers, and a set ฮ›\Lambda of boundary labels. A block corner is a triple (i,t,ฮฑ)(i, t, \alpha) with boundary index iโˆˆ{0,โ€ฆ,r}i \in \{0, \dots, r\}, type tโˆˆTt \in T, and label ฮฑโˆˆฮ›\alpha \in \Lambda.โœฆ A block name is either a site block site(i,t,ฮฑ,ฮฒ)\mathrm{site}(i, t, \alpha, \beta) or a square block square(i,l,ฮฑ,ฮฒ)\mathrm{square}(i, l, \alpha, \beta), where iโˆˆ{0,โ€ฆ,r}i \in \{0, \dots, r\}, tโˆˆTt \in T, lโˆˆLl \in L, and ฮฑ,ฮฒโˆˆฮ›\alpha, \beta \in \Lambda are the lower and upper labels.โœฆ The block row index of either block name is ii.โœฆ The links of a block links(b)\mathrm{links}(b) are โˆ…\emptyset when bb is a site block and {l}\{l\} when bb is a square block with link llโœฆ; for a finite set UU of block names, the links of a block set are links(U)=โ‹ƒbโˆˆUlinks(b)\mathrm{links}(U) = \bigcup_{b \in U} \mathrm{links}(b).โœฆ

Given endpoint maps left,right:Lโ†’T\mathrm{left}, \mathrm{right} : L \to T and a family of permutations ฯ€:Lร—{0,โ€ฆ,r}โ†’Sym(ฮ›)\pi : L \times \{0, \dots, r\} \to \mathrm{Sym}(\Lambda), the block lower corner low(b,s)\mathrm{low}(b, s) and block upper corner high(b,s)\mathrm{high}(b, s) are defined, with iโ€ฒ=rotr+1(i)i' = \mathrm{rot}_{r+1}(i), by assigning (i,t,ฮฑ)(i, t, \alpha) and (iโ€ฒ,t,ฮฒ)(i', t, \beta) to site(i,t,ฮฑ,ฮฒ)\mathrm{site}(i, t, \alpha, \beta) on both sides ss, while for square(i,l,ฮฑ,ฮฒ)\mathrm{square}(i, l, \alpha, \beta) they are given by low(square(i,l,ฮฑ,ฮฒ),false)=(i,left(l),ฮฑ),low(square(i,l,ฮฑ,ฮฒ),true)=(i,right(l),ฯ€(l,i)(ฮฑ)),high(square(i,l,ฮฑ,ฮฒ),false)=(iโ€ฒ,left(l),ฮฒ),high(square(i,l,ฮฑ,ฮฒ),true)=(iโ€ฒ,right(l),ฯ€(l,iโ€ฒ)(ฮฒ)).\begin{aligned} \mathrm{low}(\mathrm{square}(i, l, \alpha, \beta), \mathrm{false}) &= (i, \mathrm{left}(l), \alpha), \\ \mathrm{low}(\mathrm{square}(i, l, \alpha, \beta), \mathrm{true}) &= (i, \mathrm{right}(l), \pi(l, i)(\alpha)), \\ \mathrm{high}(\mathrm{square}(i, l, \alpha, \beta), \mathrm{false}) &= (i', \mathrm{left}(l), \beta), \\ \mathrm{high}(\mathrm{square}(i, l, \alpha, \beta), \mathrm{true}) &= (i', \mathrm{right}(l), \pi(l, i')(\beta)). \end{aligned}(3) The block name drawing is the block drawing of parameter rr on block names and block corners formed from the corner boundary projection, the block row index, and the lower and upper corner maps in (3), which satisfy (1) by construction.โœฆ

Now fix a natural number KK, a set PP of real types, a set EE of edge schemas, and endpoint maps src,dst:Eโ†’P\mathrm{src}, \mathrm{dst} : E \to P. A subdivided type node is an element of the disjoint union TK,P,E=PโŠ”(Eร—{0,โ€ฆ,4Kโˆ’1})T_{K, P, E} = P \sqcup (E \times \{0, \dots, 4K - 1\})โœฆ, and a subdivided edge link is a pair (e,j)โˆˆLK,E=Eร—{0,โ€ฆ,4K}(e, j) \in L_{K, E} = E \times \{0, \dots, 4K\}.โœฆ The left and right link endpoints linkLeftK,src(e,j)\mathrm{linkLeft}_{K, \mathrm{src}}(e, j) and linkRightK,dst(e,j)\mathrm{linkRight}_{K, \mathrm{dst}}(e, j) in TK,P,ET_{K, P, E} are defined by linkLeftK,src(e,j)={src(e)if j=0,(e,jโˆ’1)if j>0,linkRightK,dst(e,j)={dst(e)if j=4K,(e,j)if j<4K.\begin{aligned} \mathrm{linkLeft}_{K, \mathrm{src}}(e, j) &= \begin{cases} \mathrm{src}(e) & \text{if } j = 0, \\ (e, j - 1) & \text{if } j > 0, \end{cases} \\ \mathrm{linkRight}_{K, \mathrm{dst}}(e, j) &= \begin{cases} \mathrm{dst}(e) & \text{if } j = 4K, \\ (e, j) & \text{if } j < 4K. \end{cases} \end{aligned}(4) For a finite set SโІLK,ES \subseteq L_{K, E}, the type support graph HK,src,dst(S)H_{K, \mathrm{src}, \mathrm{dst}}(S) is the simple graph on TK,P,ET_{K, P, E} in which distinct nodes x,yx, y are adjacent if and only if some link lโˆˆSl \in S has either (x,y)(x, y) or (y,x)(y, x) equal to (linkLeftK,src(l),linkRightK,dst(l))(\mathrm{linkLeft}_{K, \mathrm{src}}(l), \mathrm{linkRight}_{K, \mathrm{dst}}(l)).โœฆ A subdivided type node tโˆˆTK,P,Et \in T_{K, P, E} is reachable from a real node in HK,src,dst(S)H_{K, \mathrm{src}, \mathrm{dst}}(S) if there exists pโˆˆPp \in P such that pโˆผHK,src,dst(S)tp \sim_{H_{K, \mathrm{src}, \mathrm{dst}}(S)} t.โœฆ

For a label set ฮ›\Lambda and a family of permutations ฯƒ:Eโ†’Sym(ฮ›)\sigma : E \to \mathrm{Sym}(\Lambda), the link coordinate matching linkMatchK,ฯƒ(e,j)โˆˆSym(ฮ›)\mathrm{linkMatch}_{K, \sigma}(e, j) \in \mathrm{Sym}(\Lambda) equals ฯƒ(e)\sigma(e) if j=4Kj = 4K and the identity permutation on ฮ›\Lambda otherwise.โœฆ The type coordinate frame typeFrameK,ฯƒ(t)โˆˆSym(ฮ›)\mathrm{typeFrame}_{K, \sigma}(t) \in \mathrm{Sym}(\Lambda) equals the identity permutation when tโˆˆPt \in P or t=(e,j)t = (e, j) with j<2Kj < 2K, and equals ฯƒ(e)\sigma(e) when t=(e,j)t = (e, j) with jโ‰ฅ2Kj \ge 2K.โœฆ Given KK, src\mathrm{src}, dst\mathrm{dst}, ฯƒ\sigma, and a finite link set SโІLK,ES \subseteq L_{K, E}, the support coordinate frame supportFrameK,src,dst,ฯƒ,S(t)โˆˆSym(ฮ›)\mathrm{supportFrame}_{K, \mathrm{src}, \mathrm{dst}, \sigma, S}(t) \in \mathrm{Sym}(\Lambda) equals typeFrameK,ฯƒ(t)\mathrm{typeFrame}_{K, \sigma}(t) if tโˆˆTK,P,Et \in T_{K, P, E} is reachable from a real node in HK,src,dst(S)H_{K, \mathrm{src}, \mathrm{dst}}(S) and the identity permutation on ฮ›\Lambda otherwise.

Wrapping witnesses

For a finite set ฮ›\Lambda, a subset AโІฮ›A \subseteq \Lambda, and an injective map f:Aโ†’ฮ›f : A \to \Lambda, the permutation extension of ff is a chosen permutation of ฮ›\Lambda agreeing with ff on AA.โœฆ Write [m]={0,โ€ฆ,mโˆ’1}[m] = \{0, \dots, m - 1\} for a natural number mm. For natural numbers dd and mm, a set PP of real types, and a set EE of edge schemas, an arc-consistency instance II consists of a dimension dim(p)โˆˆโ„•\mathrm{dim}(p) \in \mathbb{N} for each pโˆˆPp \in P, source and destination maps src,dst:Eโ†’P\mathrm{src}, \mathrm{dst} : E \to P, a domain Ae,iโІ[m]A_{e, i} \subseteq [m] and an injective map ฯ•e,i:Ae,iโ†’[m]\phi_{e, i} : A_{e, i} \to [m] for each eโˆˆEe \in E and iโˆˆ{0,โ€ฆ,dโˆ’1}i \in \{0, \dots, d - 1\}, ๐”ฝ2\mathbb{F}_2-linear maps ฮปe,0:๐”ฝ2dim(src(e))โ†’๐”ฝ2\lambda_{e, 0} : \mathbb{F}_2^{\mathrm{dim}(\mathrm{src}(e))} \to \mathbb{F}_2 and ฮปe,1:๐”ฝ2dim(dst(e))โ†’๐”ฝ2\lambda_{e, 1} : \mathbb{F}_2^{\mathrm{dim}(\mathrm{dst}(e))} \to \mathbb{F}_2, and biases ฮดe,0,ฮดe,1โˆˆ๐”ฝ2\delta_{e, 0}, \delta_{e, 1} \in \mathbb{F}_2 for each eโˆˆEe \in E.โœฆ A coordinate address of II is a tuple ๐’‚:{0,โ€ฆ,dโˆ’1}โ†’[m]\mathbf{a} : \{0, \dots, d - 1\} \to [m]โœฆ, and for each eโˆˆEe \in E and iโˆˆ{0,โ€ฆ,dโˆ’1}i \in \{0, \dots, d - 1\}, the coordinate permutation ฯƒI,e,iโˆˆSym([m])\sigma_{I, e, i} \in \mathrm{Sym}([m]) is the permutation extension of ฯ•e,i\phi_{e, i} on Ae,iA_{e, i}.โœฆ

Now let rr and KK be natural numbers, and let II be an arc-consistency instance with d=r+1d = r + 1 coordinates, alphabet size mm, real types PP, and edge schemas EE. A raw block name is a block name of parameter rr with site types TK,P,ET_{K, P, E}, link identifiers LK,EL_{K, E}, and labels [m][m]โœฆ; a raw block corner is a block corner with the same parameters.โœฆ The instance block drawing DI,KD_{I, K} is the block name drawing on raw block names and raw block corners defined by linkLeftK,src\mathrm{linkLeft}_{K, \mathrm{src}}, linkRightK,dst\mathrm{linkRight}_{K, \mathrm{dst}}, and the matching family (l,i)โ†ฆlinkMatchK,ฯƒI,โ‹…,i(l)(l, i) \mapsto \mathrm{linkMatch}_{K, \sigma_{I, \cdot, i}}(l).โœฆ For a finite set UU of raw block names and a raw block corner c=(i,t,ฮฑ)c = (i, t, \alpha), the aligned corner label alignI,K,U(c)โˆˆ[m]\mathrm{align}_{I, K, U}(c) \in [m] is defined by alignI,K,U(i,t,ฮฑ)=supportFrameK,src,dst,ฯƒI,โ‹…,i,links(U)(t)(ฮฑ).\mathrm{align}_{I, K, U}(i, t, \alpha) = \mathrm{supportFrame}_{K, \mathrm{src}, \mathrm{dst}, \sigma_{I, \cdot, i}, \mathrm{links}(U)}(t)(\alpha).(5)โœฆ

Wrapping witness data ฯ‰\omega for II, KK, and a finite set UU of raw block names consists of a subset WโІUW \subseteq U of size |W|=r+1|W| = r + 1 that wraps in DI,KD_{I, K} in the sense of (2), a coordinate address ๐’‚:{0,โ€ฆ,r}โ†’[m]\mathbf{a} : \{0, \dots, r\} \to [m] such that every block bโˆˆWb \in W and every Boolean side sโˆˆ{false,true}s \in \{\mathrm{false}, \mathrm{true}\} satisfy alignI,K,U(lowDI,K(b,s))=๐’‚(rowDI,K(b)),alignI,K,U(highDI,K(b,s))=๐’‚(rotr+1(rowDI,K(b))),\begin{aligned} \mathrm{align}_{I, K, U}(\mathrm{low}_{D_{I, K}}(b, s)) &= \mathbf{a}(\mathrm{row}_{D_{I, K}}(b)), \\ \mathrm{align}_{I, K, U}(\mathrm{high}_{D_{I, K}}(b, s)) &= \mathbf{a}(\mathrm{rot}_{r+1}(\mathrm{row}_{D_{I, K}}(b))), \end{aligned}(6)โœฆ and an anchor block b0โˆˆWb_0 \in W. The wrapping anchor type root(ฯ‰)โˆˆTK,P,E\mathrm{root}(\omega) \in T_{K, P, E} is the type component of the lower corner lowDI,K(b0,false)\mathrm{low}_{D_{I, K}}(b_0, \mathrm{false}).โœฆ

The claim

Lemma 3.5.

  1. Let rโ‰ฅ2r \ge 2 be a natural number, let DD be a block drawing of parameter rr for a block set BB on a vertex set VV, let UโІBU \subseteq B be a finite block set, and let ฮ›\Lambda be a label set. Suppose g:Vโ†’ฮ›g : V \to \Lambda and lo,hi:{0,โ€ฆ,r}โ†’ฮ›\mathrm{lo}, \mathrm{hi} : \{0, \dots, r\} \to \Lambda satisfy g(lowD(b,s))=lo(rowD(b))g(\mathrm{low}_D(b, s)) = \mathrm{lo}(\mathrm{row}_D(b)) and g(highD(b,s))=hi(rowD(b))g(\mathrm{high}_D(b, s)) = \mathrm{hi}(\mathrm{row}_D(b)) for every bโˆˆUb \in U and every Boolean side sโˆˆ{false,true}s \in \{\mathrm{false}, \mathrm{true}\}. If UU wraps in DD, then for every iโˆˆ{0,โ€ฆ,r}i \in \{0, \dots, r\}, hi(i)=lo(rotr+1(i)).\mathrm{hi}(i) = \mathrm{lo}(\mathrm{rot}_{r+1}(i)).(7)โœฆ

  2. Let rโ‰ฅ2r \ge 2, mm, and KK be natural numbers, let II be an arc-consistency instance with r+1r + 1 coordinates, alphabet size mm, real types PP, and edge schemas EE, and let UU be a finite set of raw block names with |U|โ‰คr+2|U| \le r + 2. Write H=HK,src,dst(links(U))H = H_{K, \mathrm{src}, \mathrm{dst}}(\mathrm{links}(U)). Then for any two wrapping witnesses ฯ‰1,ฯ‰2\omega_1, \omega_2 for II, KK, and UU, root(ฯ‰1)โˆผHroot(ฯ‰2).\mathrm{root}(\omega_1) \sim_{H} \mathrm{root}(\omega_2).(8)โœฆ

  3. Let GG be a simple graph on a vertex set VV and let ฮผ:Vร—Vโ†’๐”ฝ2\mu : V \times V \to \mathbb{F}_2 be an edge marking. For every vertex vโˆˆVv \in V, the empty walk ฯตv\epsilon_v satisfies wฮผ(ฯตv)=0.w_\mu(\epsilon_v) = 0.(9)โœฆ

  4. Under the same hypotheses on GG and ฮผ\mu, for every adjacent pair of vertices u,vโˆˆVu, v \in V in GG, every vertex wโˆˆVw \in V, and every walk ฮณ\gamma from vv to ww in GG, wฮผ((u,v)โ‹…ฮณ)=ฮผ(u,v)+wฮผ(ฮณ).w_\mu((u, v) \cdot \gamma) = \mu(u, v) + w_\mu(\gamma).(10)โœฆ

What is checked

In the Lean library, the cyclic label agreement (7) is stated over any block drawing of parameter rโ‰ฅ2r \ge 2 on arbitrary block, vertex, and label sets for any finite wrapping block set with row-dependent corner labels. The anchor connectivity (8) is stated over any arc-consistency instance with r+1r + 1 coordinates and rโ‰ฅ2r \ge 2, any subdivision parameter KK, any finite set UU of at most r+2r + 2 raw block names, and any two wrapping witnesses inside UU, with reachability taken in the type support graph of links(U)\mathrm{links}(U). The walk parity weight identities (9) and (10) are stated over any simple graph on an arbitrary vertex set and any edge marking into ๐”ฝ2\mathbb{F}_2.