OctoInform Beta

OpenAI preprint, September 2026 · §3. A compressed graph representation of arc consistency

Theorem 3.2: Padded nn-vertex diameter-two graphs whose joint (r+1)(r+1)-Weisfeiler-Leman and separate (r+2)(r+2)-Weisfeiler-Leman equivalence characterizes arc consistency

Compressed diameter-two graph reduction for arc consistency.

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 Weisfeiler-Leman (WL) lower bounds, one reduces a constraint satisfaction problem over high-dimensional coordinate addresses to graph equivalence on small uncolored graphs. An arc-consistency instance assigns finite-dimensional binary vector spaces to node types and imposes affine parity constraints along directed edge schemas that act coordinatewise on addresses in {0,…,m−1}r+1\{0, \dots, m - 1\}^{r + 1}. Enumerating all mr+1m^{r + 1} full addresses would blow up the graph size exponentially in rr. Instead, a compressed block representation subdivides each edge schema and groups local linear readouts by pairs of adjacent coordinate labels, keeping the vertex count polynomial in mm while preserving characterization by WL equivalence. Adding a hub, multiplicity marks, and an arbitrary equal number of pad vertices turns the paired valuation graphs into uncolored diameter-two graphs of any common order above the compressed threshold.

Graphs and Weisfeiler-Leman equivalence

For a natural number nn, a graph on nn vertices GG is a symmetric, irreflexive Boolean function aG:{0,…,n−1}2→{0,1}a_G : \{0, \dots, n - 1\}^2 \to \{0, 1\}, called its adjacency matrix, satisfying aG(x,y)=aG(y,x)a_G(x, y) = a_G(y, x) and aG(x,x)=0a_G(x, x) = 0 for all x,yx, y.✦ Such a graph GG is a diameter-two graph if n>0n > 0 and for every x,y∈{0,…,n−1}x, y \in \{0, \dots, n - 1\}, either x=yx = y, aG(x,y)=1a_G(x, y) = 1, or there exists z∈{0,…,n−1}z \in \{0, \dots, n - 1\} with aG(x,z)=1a_G(x, z) = 1 and aG(z,y)=1a_G(z, y) = 1.

A WL refinement convention cc is either the joint convention or the separate convention.✦ For a convention cc, a dimension k∈ℕk \in \mathbb{N}, and a round t∈ℕt \in \mathbb{N}, the set 𝒞c,k,t\mathcal{C}_{c, k, t} of WL colors at round tt is defined recursively: at round 00, a color is an atomic color of a kk-tuple, given by a pair of k×kk \times k Boolean matrices; at round t+1t + 1, a color pairs a round-tt color with either a multiset of kk-tuples in 𝒞c,k,tk\mathcal{C}_{c, k, t}^k under the joint convention, or a kk-tuple of multisets over 𝒞c,k,t\mathcal{C}_{c, k, t} under the separate convention.✦

For an nn-vertex graph GG and a kk-tuple v=(v0,…,vk−1)∈{0,…,n−1}kv = (v_0, \dots, v_{k - 1}) \in \{0, \dots, n - 1\}^k, the round-tt tuple color χc,k,G(t)(v)∈𝒞c,k,t\chi^{(t)}_{c, k, G}(v) \in \mathcal{C}_{c, k, t} is defined recursively. At round 00, it records the equality and adjacency matrices (vi=vj)i,j(v_i = v_j)_{i, j} and (aG(vi,vj))i,j(a_G(v_i, v_j))_{i, j}. At round t+1t + 1, writing v[i↦z]v[i \mapsto z] for the tuple obtained from vv by replacing coordinate ii with zz, it is given by χjoint,k,G(t+1)(v)=(χjoint,k,G(t)(v),{{(χjoint,k,G(t)(v[i↦z]))i=0k−1:z∈Vn}}),χsep,k,G(t+1)(v)=(χsep,k,G(t)(v),({{χsep,k,G(t)(v[i↦z]):z∈Vn}})i=0k−1),\begin{aligned} &\chi^{(t + 1)}_{\mathrm{joint}, k, G}(v) = \bigl(\chi^{(t)}_{\mathrm{joint}, k, G}(v),\, \\ &\qquad \{\!\{ (\chi^{(t)}_{\mathrm{joint}, k, G}(v[i \mapsto z]))_{i=0}^{k-1} : z \in V_n \}\!\}\bigr), \\ &\chi^{(t + 1)}_{\mathrm{sep}, k, G}(v) = \bigl(\chi^{(t)}_{\mathrm{sep}, k, G}(v),\, \\ &\qquad (\{\!\{ \chi^{(t)}_{\mathrm{sep}, k, G}(v[i \mapsto z]) : z \in V_n \}\!\})_{i=0}^{k-1}\bigr), \end{aligned}(1)✦ where Vn={0,…,n−1}V_n = \{0, \dots, n - 1\} and {{⋅}}\{\!\{ \cdot \}\!\} denotes a multiset. The kk-WL color histogram Hc,k,t(G)H_{c, k, t}(G) at round tt is the multiset of colors χc,k,G(t)(v)\chi^{(t)}_{c, k, G}(v) over all v∈Vnkv \in V_n^k.✦ Two nn-vertex graphs GG and HH are kk-WL equivalent under convention cc, written G≡kcHG \equiv^{c}_k H, if Hc,k,t(G)=Hc,k,t(H)H_{c, k, t}(G) = H_{c, k, t}(H) for every round t∈ℕt \in \mathbb{N}.✦

Arc-consistency instances

Let 𝔽2=ℤ/2ℤ\mathbb{F}_2 = \mathbb{Z}/2\mathbb{Z} be the binary field.✦ An arc-consistency instance II with address dimension d∈ℕd \in \mathbb{N}, coordinate alphabet size m∈ℕm \in \mathbb{N}, node type set PP, and edge schema set EE consists of: a dimension dim⁡(p)∈ℕ\dim(p) \in \mathbb{N} for each p∈Pp \in P; source and destination types src(e),dst(e)∈P\mathrm{src}(e), \mathrm{dst}(e) \in P for each e∈Ee \in E; for each e∈Ee \in E and coordinate i∈{0,…,d−1}i \in \{0, \dots, d - 1\}, a finite domain De,i⊆{0,…,m−1}D_{e, i} \subseteq \{0, \dots, m - 1\} and an injective coordinate map fe,i:De,i→{0,…,m−1}f_{e, i} : D_{e, i} \to \{0, \dots, m - 1\}; and for each e∈Ee \in E, 𝔽2\mathbb{F}_2-linear functionals λesrc:𝔽2dim⁡(src(e))→𝔽2\lambda^{\mathrm{src}}_e : \mathbb{F}_2^{\dim(\mathrm{src}(e))} \to \mathbb{F}_2 and λedst:𝔽2dim⁡(dst(e))→𝔽2\lambda^{\mathrm{dst}}_e : \mathbb{F}_2^{\dim(\mathrm{dst}(e))} \to \mathbb{F}_2 together with parity biases βesrc,βedst∈𝔽2\beta^{\mathrm{src}}_e, \beta^{\mathrm{dst}}_e \in \mathbb{F}_2.

The node value space at p∈Pp \in P is 𝔽2dim⁡(p)\mathbb{F}_2^{\dim(p)}.✦ A coordinate address is a tuple a=(a0,…,ad−1)∈{0,…,m−1}da = (a_0, \dots, a_{d - 1}) \in \{0, \dots, m - 1\}^d.✦ An address aa is allowed for e∈Ee \in E if ai∈De,ia_i \in D_{e, i} for every i∈{0,…,d−1}i \in \{0, \dots, d - 1\}; its transmitted address τe(a)∈{0,…,m−1}d\tau_e(a) \in \{0, \dots, m - 1\}^d is given coordinatewise by (τe(a))i=fe,i(ai)(\tau_e(a))_i = f_{e, i}(a_i).✦ The source and destination affine functionals for e∈Ee \in E are αesrc(x)=λesrc(x)+βesrc,αedst(y)=λedst(y)+βedst,\begin{aligned} \alpha^{\mathrm{src}}_e(x) &= \lambda^{\mathrm{src}}_e(x) + \beta^{\mathrm{src}}_e, \\ \alpha^{\mathrm{dst}}_e(y) &= \lambda^{\mathrm{dst}}_e(y) + \beta^{\mathrm{dst}}_e, \end{aligned}(2) for x∈𝔽2dim⁡(src(e))x \in \mathbb{F}_2^{\dim(\mathrm{src}(e))} and y∈𝔽2dim⁡(dst(e))y \in \mathbb{F}_2^{\dim(\mathrm{dst}(e))}. The instance II is arc consistent if there exists a family of nonempty subsets Q(p,a)⊆𝔽2dim⁡(p)Q(p, a) \subseteq \mathbb{F}_2^{\dim(p)}, indexed by p∈Pp \in P and a∈{0,…,m−1}da \in \{0, \dots, m - 1\}^d, such that for every e∈Ee \in E and every address aa allowed for ee, αesrc(Q(src(e),a))=αedst(Q(dst(e),τe(a))).\alpha^{\mathrm{src}}_e\bigl(Q(\mathrm{src}(e), a)\bigr) = \alpha^{\mathrm{dst}}_e\bigl(Q(\mathrm{dst}(e), \tau_e(a))\bigr).(3)✦

Compressed blocks and readouts

Fix r,m∈ℕr, m \in \mathbb{N} and an arc-consistency instance II of address dimension d=r+1d = r + 1 over finite sets PP and EE. For a pebble-pair parameter K∈ℕK \in \mathbb{N}, the set of subdivided type nodes is TK=P⊔(E×{0,…,4K−1})T_K = P \sqcup (E \times \{0, \dots, 4K - 1\})✦ and the set of subdivided edge links is LK=E×{0,…,4K}L_K = E \times \{0, \dots, 4K\}.✦ Each link ℓ=(e,j)∈LK\ell = (e, j) \in L_K has a left endpoint leftK(ℓ)∈TK\mathrm{left}_K(\ell) \in T_K and a right endpoint rightK(ℓ)∈TK\mathrm{right}_K(\ell) \in T_K defined by leftK(e,j)={src(e)if j=0,(e,j−1)if 1≤j≤4K,rightK(e,j)={dst(e)if j=4K,(e,j)if 0≤j<4K.\begin{aligned} \mathrm{left}_K(e, j) &= \begin{cases} \mathrm{src}(e) & \text{if } j = 0, \\ (e, j - 1) & \text{if } 1 \le j \le 4K, \end{cases} \\ \mathrm{right}_K(e, j) &= \begin{cases} \mathrm{dst}(e) & \text{if } j = 4K, \\ (e, j) & \text{if } 0 \le j < 4K. \end{cases} \end{aligned}(4) The type node value space VK(t)V_K(t) is 𝔽2dim⁡(p)\mathbb{F}_2^{\dim(p)} if t=p∈Pt = p \in P, and 𝔽2\mathbb{F}_2 if t=(e,j)∈E×{0,…,4K−1}t = (e, j) \in E \times \{0, \dots, 4K - 1\}.✦

For general site types TT, link identifiers LL, and boundary labels Λ\Lambda, a block name is either a site block site(i,t,a,b′)\mathrm{site}(i, t, a, b') with row i∈{0,…,r}i \in \{0, \dots, r\}, type t∈Tt \in T, and lower and upper labels a,b′∈Λa, b' \in \Lambda, or a square block square(i,ℓ,a,b′)\mathrm{square}(i, \ell, a, b') with row i∈{0,…,r}i \in \{0, \dots, r\}, link ℓ∈L\ell \in L, and labels a,b′∈Λa, b' \in \Lambda.✦ A raw block name for (I,K)(I, K) takes T=TKT = T_K, L=LKL = L_K, and Λ={0,…,m−1}\Lambda = \{0, \dots, m - 1\}.✦ A label a∈{0,…,m−1}a \in \{0, \dots, m - 1\} is allowed for (t,i)(t, i) unconditionally when t∈Pt \in P, and when a∈De,ia \in D_{e, i} if t=(e,j)t = (e, j).✦ Writing ρ(i)=(i+1)mod⁡(r+1)\rho(i) = (i + 1) \bmod (r + 1) for the cyclic successor on {0,…,r}\{0, \dots, r\}, a raw block name is a valid block if: for site(i,t,a,b′)\mathrm{site}(i, t, a, b'), aa is allowed for (t,i)(t, i) and b′b' is allowed for (t,ρ(i))(t, \rho(i)); for square(i,(e,j),a,b′)\mathrm{square}(i, (e, j), a, b'), a∈De,ia \in D_{e, i} and b′∈De,ρ(i)b' \in D_{e, \rho(i)}.✦ Let ℬK\mathcal{B}_K denote the set of valid blocks.✦

Any injective map f:A→Λf : A \to \Lambda on a subset AA of a finite set Λ\Lambda extends to a chosen permutation of Λ\Lambda✦; applying this to fe,if_{e, i} yields a coordinate permutation πe,i\pi_{e, i} of {0,…,m−1}\{0, \dots, m - 1\} for each e∈Ee \in E and i∈{0,…,r}i \in \{0, \dots, r\}.✦ For any family of permutations π=(πe)e∈E\pi = (\pi_e)_{e \in E} on Λ\Lambda and any link ℓ=(e,j)∈LK\ell = (e, j) \in L_K, the link coordinate matching μK(π,ℓ)\mu_K(\pi, \ell) is πe\pi_e if j=4Kj = 4K and the identity permutation on Λ\Lambda otherwise.✦ For each coordinate i∈{0,…,r}i \in \{0, \dots, r\}, set μK,i(ℓ)=μK((πe,i)e∈E,ℓ)\mu_{K, i}(\ell) = \mu_K((\pi_{e, i})_{e \in E}, \ell).

A readout variable name over (r,T,L,Λ)(r, T, L, \Lambda) is either a horizontal name horiz(i,t,a,b′)\mathrm{horiz}(i, t, a, b') with i∈{0,…,r}i \in \{0, \dots, r\}, t∈Tt \in T, and a,b′∈Λa, b' \in \Lambda, or a vertical name vert(i,ℓ,a)\mathrm{vert}(i, \ell, a) with boundary i∈{0,…,r}i \in \{0, \dots, r\}, ℓ∈L\ell \in L, and a∈Λa \in \Lambda.✦ A raw readout name uses T=TKT = T_K, L=LKL = L_K, and Λ={0,…,m−1}\Lambda = \{0, \dots, m - 1\}.✦ The readout value space of a raw readout name ν\nu is VK(t)V_K(t) if ν=horiz(i,t,a,b′)\nu = \mathrm{horiz}(i, t, a, b'), and 𝔽2\mathbb{F}_2 if ν=vert(i,ℓ,a)\nu = \mathrm{vert}(i, \ell, a).✦ A block readout assignment RR assigns to every raw readout name ν\nu an element R(ν)R(\nu) of its readout value space.✦ Each raw block bb has a finite block readout footprint FK(b)F_K(b) of raw readout names, and its block readout subspace WK(b)W_K(b) is the 𝔽2\mathbb{F}_2-subspace of block readout assignments RR satisfying R(ν)=0R(\nu) = 0 for all ν∉FK(b)\nu \notin F_K(b).✦

For a link ℓ=(e,j)∈LK\ell = (e, j) \in L_K, the left link linear functional λK,ℓL:VK(leftK(ℓ))→𝔽2\lambda^{\mathrm{L}}_{K, \ell} : V_K(\mathrm{left}_K(\ell)) \to \mathbb{F}_2 is λesrc\lambda^{\mathrm{src}}_e if j=0j = 0 and the identity on 𝔽2\mathbb{F}_2 otherwise✦; the right link linear functional λK,ℓR:VK(rightK(ℓ))→𝔽2\lambda^{\mathrm{R}}_{K, \ell} : V_K(\mathrm{right}_K(\ell)) \to \mathbb{F}_2 is λedst\lambda^{\mathrm{dst}}_e if j=4Kj = 4K and the identity on 𝔽2\mathbb{F}_2 otherwise.✦ The seam indicator on {0,…,r}\{0, \dots, r\} is σ(i)=1\sigma(i) = 1 if i=ri = r and σ(i)=0\sigma(i) = 0 otherwise.✦ The link parity bias βK(e,j)∈𝔽2\beta_K(e, j) \in \mathbb{F}_2 is βesrc\beta^{\mathrm{src}}_e if j=0j = 0, βedst\beta^{\mathrm{dst}}_e if j=4Kj = 4K and j≠0j \ne 0, and 00 otherwise.✦ The block parity bias βK(b)∈𝔽2\beta_K(b) \in \mathbb{F}_2 is 00 for a site block and σ(i)βK(ℓ)\sigma(i)\beta_K(\ell) for b=square(i,ℓ,a,b′)b = \mathrm{square}(i, \ell, a, b').✦ The block linear functional ΦK,b\Phi_{K, b} on block readout assignments is 00 for a site block, and for b=square(i,ℓ,a,b′)b = \mathrm{square}(i, \ell, a, b') is given by ΦK,b(R)=λK,ℓL(R(horiz(i,leftK(ℓ),a,b′)))+λK,ℓR(R(horiz(i,rightK(ℓ),μK,i(ℓ)(a),μK,ρ(i)(ℓ)(b′))))+R(vert(i,ℓ,a))+R(vert(ρ(i),ℓ,b′)).\begin{aligned} \Phi_{K, b}(R) &= \lambda^{\mathrm{L}}_{K, \ell}\bigl(R(\mathrm{horiz}(i, \mathrm{left}_K(\ell), a, b'))\bigr) \\ &\quad + \lambda^{\mathrm{R}}_{K, \ell}\bigl( R(\mathrm{horiz}(i, \mathrm{right}_K(\ell), \mu_{K, i}(\ell)(a), \mu_{K, \rho(i)}(\ell)(b')))\bigr) \\ &\quad + R(\mathrm{vert}(i, \ell, a)) + R(\mathrm{vert}(\rho(i), \ell, b')). \end{aligned}(5)✦ For ε∈𝔽2\varepsilon \in \mathbb{F}_2 and a raw block bb, a legal block readout is an element R∈WK(b)R \in W_K(b) satisfying ΦK,b(R)=ε⋅βK(b)\Phi_{K, b}(R) = \varepsilon \cdot \beta_K(b).✦ A compressed graph vertex for (K,ε)(K, \varepsilon) is a pair (b,R)(b, R) with b∈ℬKb \in \mathcal{B}_K and RR a legal block readout for (K,ε,b)(K, \varepsilon, b); let VK,εV_{K, \varepsilon} denote the set of compressed graph vertices.✦

Graph marking and rectangular counts

Given a vertex set VV, a multiplicity function c:V→ℕc : V \to \mathbb{N}, and a padding count q∈ℕq \in \mathbb{N}, the marked vertex set Vc,qmarkV^{\mathrm{mark}}_{c, q} is the disjoint union of base vertices base(v)\mathrm{base}(v) for v∈Vv \in V, mark vertices mark(v,j)\mathrm{mark}(v, j) for v∈Vv \in V and j∈{0,…,c(v)−1}j \in \{0, \dots, c(v) - 1\}, a single hub vertex hub\mathrm{hub}, and pad vertices pad(j)\mathrm{pad}(j) for j∈{0,…,q−1}j \in \{0, \dots, q - 1\}.✦ For a simple graph GG on VV with adjacency relation ∼G\sim_G, the marked simple graph Gc,qmarkG^{\mathrm{mark}}_{c, q} on Vc,qmarkV^{\mathrm{mark}}_{c, q} makes base(x)\mathrm{base}(x) adjacent to base(y)\mathrm{base}(y) when x∼Gyx \sim_G y, makes base(x)\mathrm{base}(x) adjacent to mark(y,j)\mathrm{mark}(y, j) when x=yx = y, makes hub\mathrm{hub} adjacent to every vertex other than hub\mathrm{hub}, and has no other edges.✦ Given a state set SS, a family of binary relations Ψs⊆V×W\Psi_s \subseteq V \times W indexed by s∈Ss \in S, and multiplicity functions c:V→ℕc : V \to \mathbb{N} and c′:W→ℕc' : W \to \mathbb{N}, the lifted vertex relation Ψˆs⊆Vc,qmark×Wc′,qmark\widehat{\Psi}_s \subseteq V^{\mathrm{mark}}_{c, q} \times W^{\mathrm{mark}}_{c', q} relates base(v)\mathrm{base}(v) to base(w)\mathrm{base}(w) when (v,w)∈Ψs(v, w) \in \Psi_s, relates mark(v,i)\mathrm{mark}(v, i) to mark(w,j)\mathrm{mark}(w, j) when (v,w)∈Ψs(v, w) \in \Psi_s and i=ji = j, relates hub\mathrm{hub} to hub\mathrm{hub}, relates pad(i)\mathrm{pad}(i) to pad(j)\mathrm{pad}(j) when i=ji = j, and relates no other pairs.✦

Fixing a bijection between ℬK\mathcal{B}_K and {0,…,|ℬK|−1}\{0, \dots, |\mathcal{B}_K| - 1\}, the positive block code codeK(b)∈{1,…,|ℬK|}\mathrm{code}_K(b) \in \{1, \dots, |\mathcal{B}_K|\} adds 11 to the index of b∈ℬKb \in \mathcal{B}_K✦, and the vertex mark multiplicity of bb is cK(b)=codeK(b)⋅(|VK,0|+1)c_K(b) = \mathrm{code}_K(b) \cdot (|V_{K, 0}| + 1).✦ The marked graph vertex set MK,ε,qM_{K, \varepsilon, q} is (VK,ε)cK∘π1,qmark(V_{K, \varepsilon})^{\mathrm{mark}}_{c_K \circ \pi_1, q}, where each compressed vertex (b,R)(b, R) receives multiplicity cK(b)c_K(b).✦

To bound the size of MK,ε,qM_{K, \varepsilon, q}, define a block tag as an element of 𝒯Kblk={0,…,r}×(TK⊔LK)\mathcal{T}^{\mathrm{blk}}_K = \{0, \dots, r\} \times (T_K \sqcup L_K)✦, and a readout name tag as either a horizontal tag (i,t)(i, t) with i∈{0,…,r}i \in \{0, \dots, r\} and t∈TKt \in T_K or a vertical tag (i,ℓ)(i, \ell) with i∈{0,…,r}i \in \{0, \dots, r\} and ℓ∈LK\ell \in L_K.✦ The tag value space is VK(t)V_K(t) at (i,t)(i, t) and 𝔽2\mathbb{F}_2 at (i,ℓ)(i, \ell)✦; let 𝒜K\mathcal{A}_K be the set of tag value assignments choosing one element of the tag value space for every readout name tag.✦ The rectangular block index set is ℛK=𝒯Kblk×𝒜K×{0,…,m−1}×{0,…,m−1}.\mathcal{R}_K = \mathcal{T}^{\mathrm{blk}}_K \times \mathcal{A}_K \times \{0, \dots, m - 1\} \times \{0, \dots, m - 1\}.(6)✦ The rectangular size coefficient is CK=|𝒯Kblk|⋅|𝒜K|C_K = |\mathcal{T}^{\mathrm{blk}}_K| \cdot |\mathcal{A}_K|✦, and the rectangular slot limit is LKslot=(CKm2+1)2+1L^{\mathrm{slot}}_K = (C_K m^2 + 1)^2 + 1.✦

The claim

Theorem 3.2. Let II be an arc-consistency instance of address dimension r+1r + 1 and coordinate alphabet size mm over finite sets PP and EE.

  1. If PP is nonempty, r≥2r \ge 2, and m≥2m \ge 2, then for every natural number nn satisfying |Mr+2,0,0|≤n|M_{r + 2, 0, 0}| \le n, there exist nn-vertex diameter-two graphs G0G^0 and G1G^1 such that (G0≡r+1jointG1)⇔I is arc consistent,(G0≡r+2sepG1)⇔I is arc consistent.\begin{aligned} \bigl(G^0 \equiv^{\mathrm{joint}}_{r + 1} G^1\bigr) &\iff \text{$I$ is arc consistent}, \\ \bigl(G^0 \equiv^{\mathrm{sep}}_{r + 2} G^1\bigr) &\iff \text{$I$ is arc consistent}. \end{aligned}(7)✦

  2. For every natural number KK, every natural number qq, and r≥1r \ge 1, the marked graph vertex sets for ε=0\varepsilon = 0 and ε=1\varepsilon = 1 have equal cardinality: |MK,0,q|=|MK,1,q|.|M_{K, 0, q}| = |M_{K, 1, q}|.(8)✦

  3. For every natural number KK and every natural number qq, adjoining one element ⋆\star to the disjoint union of ℛK×{0,…,LKslot−1}\mathcal{R}_K \times \{0, \dots, L^{\mathrm{slot}}_K - 1\} and {0,…,q−1}\{0, \dots, q - 1\} yields cardinality |{⋆}⊔((ℛK×{0,…,LKslot−1})⊔{0,…,q−1})|=1+CKm2((CKm2+1)2+1)+q.\begin{aligned} \bigl|\{\star\} \sqcup \bigl((\mathcal{R}_K \times \{0, \dots, L^{\mathrm{slot}}_K - 1\}) \sqcup \{0, \dots, q - 1\}\bigr)\bigr| \\ = 1 + C_K m^2\bigl((C_K m^2 + 1)^2 + 1\bigr) + q. \end{aligned}(9)✦

  4. Let GG and HH be simple graphs on vertex sets VV and WW, let c:V→ℕc : V \to \mathbb{N} and c′:W→ℕc' : W \to \mathbb{N} be multiplicity functions, let q∈ℕq \in \mathbb{N}, and let Ψs⊆V×W\Psi_s \subseteq V \times W be a relation indexed by s∈Ss \in S such that whenever (x,y),(u,v)∈Ψs(x, y), (u, v) \in \Psi_s, both x=u⇔y=vx = u \iff y = v and x∼Gu⇔y∼Hvx \sim_G u \iff y \sim_H v. Writing Gmark=Gc,qmarkG^{\mathrm{mark}} = G^{\mathrm{mark}}_{c, q} and Hmark=Hc′,qmarkH^{\mathrm{mark}} = H^{\mathrm{mark}}_{c', q}, for all x,u∈Vc,qmarkx, u \in V^{\mathrm{mark}}_{c, q} and y,v∈Wc′,qmarky, v \in W^{\mathrm{mark}}_{c', q} with (x,y),(u,v)∈Ψˆs(x, y), (u, v) \in \widehat{\Psi}_s, x=u⇔y=v,x∼Gmarku⇔y∼Hmarkv.\begin{aligned} x = u &\iff y = v, \\ x \sim_{G^{\mathrm{mark}}} u &\iff y \sim_{H^{\mathrm{mark}}} v. \end{aligned}(10)✦

In the paper, the result reads: for fixed rr and fixed description shape, an instance determines two equally large simple uncolored connected graphs G0,G1G^0, G^1 of diameter at most two and order Or,shape(m6)O_{r, \mathrm{shape}}(m^6), admitting arbitrary equal vertex padding, such that Duplicator wins the KK-pair bijective game on G0,G1G^0, G^1 if and only if the instance has individual-edge arc consistency.

What is checked

In the Lean library, Theorem 3.2 is stated over arc-consistency instances of address dimension r+1r + 1, their subdivided block readouts and marked graph vertex sets, rectangular block index sets with their slot limits, nn-vertex diameter-two graphs under both the joint and separate kk-WL conventions, and lifted vertex relations between marked simple graphs.