OctoInform Beta

OpenAI preprint, September 2026 · §3. Uniform computation and scalar-image constraints

§3 (setting): product description: One-coordinate connection schemas and requests over {0,1}2d\{0,1\}^{2d} expanding to a circuit system for a one-dimensional cellular automaton

Product description of a cellular automaton circuit.

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 uniform circuit reductions for Weisfeiler-Leman equivalence, the evolution of a one-dimensional cellular automaton for 2d2^d steps on a ring of 2d2^d cells is represented as a finite Boolean circuit whose gates are indexed by binary space-time addresses in {0,1}r\{0,1\}^r with r=2dr = 2d. Each scalar gate computes the disjunction of its incoming wires together with an optional seed flag, each AND gate computes the conjunction of two disjunctive input ports, and designated test gates record accepting states at the final step.

A product description encodes such an addressed circuit compactly through a finite set of gate types, one-coordinate connection schemas, and one-coordinate seed and test requests. Expanding a product description yields a concrete circuit system whose wires act coordinatewise on binary addresses. For a cellular automaton instance, these coordinate tables implement binary time increments, cyclic position shifts modulo 2d2^d, and initial tape configurations.

Binary addresses and carry tables

For any r∈ℕr \in \mathbb{N}, a binary address of length rr is a bit string 𝒂=(a0,…,ar−1)∈{0,1}r\mathbf{a} = (a_0, \dots, a_{r-1}) \in \{0,1\}^r, where 00 denotes false and 11 denotes true, and u¯=1−u\overline{u} = 1 - u denotes bit negation for u∈{0,1}u \in \{0,1\}.✦ For d∈ℕd \in \mathbb{N}, the binary value val⁡d(x)∈ℕ\operatorname{val}_d(x) \in \mathbb{N} of a bit string x=(x0,…,xd−1)∈{0,1}dx = (x_0, \dots, x_{d-1}) \in \{0,1\}^d is defined recursively by val⁡0(x)=0\operatorname{val}_0(x) = 0 and val⁡d+1(x)=x0+2val⁡d(x1,…,xd).\operatorname{val}_{d+1}(x) = x_0 + 2\,\operatorname{val}_d(x_1, \dots, x_d).(1)✦ Because val⁡d(x)<2d\operatorname{val}_d(x) < 2^d for every x∈{0,1}dx \in \{0,1\}^d, the map x↦val⁡d(x)x \mapsto \operatorname{val}_d(x) is a bijection βd:{0,1}d→{0,…,2d−1}\beta_d \colon \{0,1\}^d \to \{0, \dots, 2^d - 1\}, called the binary encoding bijection.✦

For b∈{0,1}b \in \{0,1\} and a carry index h∈{0,…,d−1}h \in \{0, \dots, d-1\}, the carry domain Cd(b,h,i)⊆{0,1}C_d(b, h, i) \subseteq \{0,1\} and increment bit map τd(h,i):{0,1}→{0,1}\tau_d(h, i) \colon \{0,1\} \to \{0,1\} at coordinate i∈{0,…,d−1}i \in \{0, \dots, d-1\} are defined by Cd(b,h,i)={{b}if i<h,{b¯}if i=h,{0,1}if i>h,τd(h,i)(u)={u¯if i≤h,uif i>h.\begin{aligned} C_d(b, h, i) &= \begin{cases} \{b\} & \text{if } i < h, \\ \{\overline{b}\} & \text{if } i = h, \\ \{0,1\} & \text{if } i > h, \end{cases} \\ \tau_d(h, i)(u) &= \begin{cases} \overline{u} & \text{if } i \le h, \\ u & \text{if } i > h. \end{cases} \end{aligned}(2) For an optional carry index h̃∈{⊥}∪{0,…,d−1}\tilde{h} \in \{\bot\} \cup \{0, \dots, d-1\}, the cyclic carry domain C̃d(b,h̃,i)⊆{0,1}\widetilde{C}_d(b, \tilde{h}, i) \subseteq \{0,1\} and cyclic increment bit map τ̃d(h̃,i):{0,1}→{0,1}\widetilde{\tau}_d(\tilde{h}, i) \colon \{0,1\} \to \{0,1\} extend (2) to the wrap-around case h̃=⊥\tilde{h} = \bot: C̃d(b,h̃,i)={{b}if h̃=⊥,Cd(b,h,i)if h̃=h∈{0,…,d−1},τ̃d(h̃,i)(u)={u¯if h̃=⊥,τd(h,i)(u)if h̃=h∈{0,…,d−1}.\begin{aligned} \widetilde{C}_d(b, \tilde{h}, i) &= \begin{cases} \{b\} & \text{if } \tilde{h} = \bot, \\ C_d(b, h, i) & \text{if } \tilde{h} = h \in \{0, \dots, d-1\}, \end{cases} \\ \widetilde{\tau}_d(\tilde{h}, i)(u) &= \begin{cases} \overline{u} & \text{if } \tilde{h} = \bot, \\ \tau_d(h, i)(u) & \text{if } \tilde{h} = h \in \{0, \dots, d-1\}. \end{cases} \end{aligned}(3) Given μ∈{0,1}d\mu \in \{0,1\}^d, let Z(μ)={h∈{0,…,d−1}:μh=0}Z(\mu) = \{h \in \{0, \dots, d-1\} : \mu_h = 0\}. For h̃∈{⊥}∪Z(μ)\tilde{h} \in \{\bot\} \cup Z(\mu) and i∈{0,…,d−1}i \in \{0, \dots, d-1\}, the threshold bit domain Td(μ,h̃,i)⊆{0,1}T_d(\mu, \tilde{h}, i) \subseteq \{0,1\} is Td(μ,h̃,i)={{μi}if h̃=⊥ or (h̃=h and i>h),{1}if h̃=h and i=h,{0,1}if h̃=h and i<h.T_d(\mu, \tilde{h}, i) = \begin{cases} \{\mu_i\} & \text{if } \tilde{h} = \bot \text{ or } (\tilde{h} = h \text{ and } i > h), \\ \{1\} & \text{if } \tilde{h} = h \text{ and } i = h, \\ \{0,1\} & \text{if } \tilde{h} = h \text{ and } i < h. \end{cases}(4)✦

Circuit systems and product descriptions

Let SS and AA be sets of scalar gate types and AND gate types. The set of circuit gates is the disjoint union G(S,A)=S⊔AG(S, A) = S \sqcup A✦, and the set of circuit ports is P(S,A)=S⊔(A×{0,1})P(S, A) = S \sqcup (A \times \{0,1\}), where each AND gate α∈A\alpha \in A has two input ports (α,0)(\alpha, 0) and (α,1)(\alpha, 1).✦ A circuit system over SS, AA, and an edge set EE consists of a source map src:E→G(S,A)\mathrm{src} \colon E \to G(S, A), a destination map dst:E→P(S,A)\mathrm{dst} \colon E \to P(S, A), a set of seeds Seeds⊆S\mathrm{Seeds} \subseteq S, and a set of tests Tests⊆S\mathrm{Tests} \subseteq S, such that src(e)≠s\mathrm{src}(e) \neq s for every s∈Testss \in \mathrm{Tests} and every e∈Ee \in E (with ss viewed in the scalar summand of G(S,A)G(S, A)).✦

For any address set XX, pairing a gate or port with an address z∈Xz \in X yields the addressed gate gateAt(g,z)∈G(S×X,A×X)\mathrm{gateAt}(g, z) \in G(S \times X, A \times X) and addressed port portAt(p,z)∈P(S×X,A×X)\mathrm{portAt}(p, z) \in P(S \times X, A \times X): a scalar s∈Ss \in S maps to (s,z)(s, z) in both cases, an AND gate α∈A\alpha \in A maps to (α,z)(\alpha, z), and an AND port (α,b)∈A×{0,1}(\alpha, b) \in A \times \{0,1\} maps to ((α,z),b)((\alpha, z), b).

A product description specifies an exponentially large addressed circuit compactly through one-coordinate domain and transition tables. For an address length r∈ℕr \in \mathbb{N} and index sets SS, AA, EE (connection schemas), and RR (requests), a product description 𝒟\mathcal{D} consists of:

  • for each schema e∈Ee \in E, a source gate src𝒟(e)∈G(S,A)\mathrm{src}_{\mathcal{D}}(e) \in G(S, A), a destination port dst𝒟(e)∈P(S,A)\mathrm{dst}_{\mathcal{D}}(e) \in P(S, A), nonempty coordinate domains dom𝒟(e,i)⊆{0,1}\mathrm{dom}_{\mathcal{D}}(e, i) \subseteq \{0,1\}, and coordinate maps σ𝒟(e,i):{0,1}→{0,1}\sigma_{\mathcal{D}}(e, i) \colon \{0,1\} \to \{0,1\} that are injective on dom𝒟(e,i)\mathrm{dom}_{\mathcal{D}}(e, i) for every i∈{0,…,r−1}i \in \{0, \dots, r-1\};

  • for each request q∈Rq \in R, a scalar gate type gate𝒟(q)∈S\mathrm{gate}_{\mathcal{D}}(q) \in S, a test flag isTest𝒟(q)∈{0,1}\mathrm{isTest}_{\mathcal{D}}(q) \in \{0,1\} (00 for a seed, 11 for a test), and nonempty coordinate domains rdom𝒟(q,i)⊆{0,1}\mathrm{rdom}_{\mathcal{D}}(q, i) \subseteq \{0,1\} for every i∈{0,…,r−1}i \in \{0, \dots, r-1\}.

An address 𝒂∈{0,1}r\mathbf{a} \in \{0,1\}^r is allowed for a schema e∈Ee \in E if ai∈dom𝒟(e,i)a_i \in \mathrm{dom}_{\mathcal{D}}(e, i) for all i∈{0,…,r−1}i \in \{0, \dots, r-1\}✦, and allowed for a request q∈Rq \in R if ai∈rdom𝒟(q,i)a_i \in \mathrm{rdom}_{\mathcal{D}}(q, i) for all i∈{0,…,r−1}i \in \{0, \dots, r-1\}.✦ Each schema e∈Ee \in E induces the edge address map 𝝈𝒟(e):{0,1}r→{0,1}r\boldsymbol{\sigma}_{\mathcal{D}}(e) \colon \{0,1\}^r \to \{0,1\}^r defined coordinatewise by (𝝈𝒟(e)(𝒂))i=σ𝒟(e,i)(ai)(\boldsymbol{\sigma}_{\mathcal{D}}(e)(\mathbf{a}))_i = \sigma_{\mathcal{D}}(e, i)(a_i). For v∈{0,1}v \in \{0,1\}, the request set Req𝒟(v)⊆S×{0,1}r\mathrm{Req}_{\mathcal{D}}(v) \subseteq S \times \{0,1\}^r is Req𝒟(v)={(s,𝒂)∈S×{0,1}r:∃q∈R,gate𝒟(q)=s,isTest𝒟(q)=v,and ai∈rdom𝒟(q,i) for all i}.\begin{aligned} \mathrm{Req}_{\mathcal{D}}(v) = \bigl\{(s, \mathbf{a}) \in S \times \{0,1\}^r : {} &\exists q \in R,\; \mathrm{gate}_{\mathcal{D}}(q) = s,\; \mathrm{isTest}_{\mathcal{D}}(q) = v, \\ &\text{and } a_i \in \mathrm{rdom}_{\mathcal{D}}(q, i) \text{ for all } i\bigr\}. \end{aligned}(5)✦ The description 𝒟\mathcal{D} satisfies the terminal test condition if for every (s,𝒂)∈Req𝒟(1)(s, \mathbf{a}) \in \mathrm{Req}_{\mathcal{D}}(1), every e∈Ee \in E, and every address 𝒛∈{0,1}r\mathbf{z} \in \{0,1\}^r allowed for ee, the addressed gate gateAt(src𝒟(e),𝒛)\mathrm{gateAt}(\mathrm{src}_{\mathcal{D}}(e), \mathbf{z}) is distinct from the scalar gate (s,𝒂)(s, \mathbf{a}).✦

The set of expanded edges of 𝒟\mathcal{D} is E𝒟={(e,𝒂)∈E×{0,1}r:𝒂 is allowed for e}E_{\mathcal{D}} = \{(e, \mathbf{a}) \in E \times \{0,1\}^r : \mathbf{a} \text{ is allowed for } e\}. When 𝒟\mathcal{D} satisfies the terminal test condition, its expanded circuit system Exp⁡(𝒟)\operatorname{Exp}(\mathcal{D}) is the circuit system over scalar types S×{0,1}rS \times \{0,1\}^r, AND types A×{0,1}rA \times \{0,1\}^r, and edges E𝒟E_{\mathcal{D}} given by src(e,𝒂)=gateAt(src𝒟(e),𝒂),dst(e,𝒂)=portAt(dst𝒟(e),𝝈𝒟(e)(𝒂)),Seeds=Req𝒟(0),Tests=Req𝒟(1).\begin{aligned} \mathrm{src}(e, \mathbf{a}) &= \mathrm{gateAt}(\mathrm{src}_{\mathcal{D}}(e), \mathbf{a}), \\ \mathrm{dst}(e, \mathbf{a}) &= \mathrm{portAt}(\mathrm{dst}_{\mathcal{D}}(e), \boldsymbol{\sigma}_{\mathcal{D}}(e)(\mathbf{a})), \\ \mathrm{Seeds} &= \mathrm{Req}_{\mathcal{D}}(0), \\ \mathrm{Tests} &= \mathrm{Req}_{\mathcal{D}}(1). \end{aligned}(6)✦

Cellular automaton schemas and requests

Fix an alphabet LL and natural numbers d,m∈ℕd, m \in \mathbb{N}. A local neighborhood triple is an element t=(a,b,c)∈L3t = (a, b, c) \in L^3.✦ A cellular automaton instance D=(δ,w,⊔,F)D = (\delta, w, \sqcup, F) consists of a local transition rule δ:L3→L\delta \colon L^3 \to L, an input word w:{0,…,m−1}→Lw \colon \{0, \dots, m-1\} \to L, a blank symbol ⊔∈L\sqcup \in L, and a set of accepting symbols F⊆LF \subseteq L, subject to m<2dm < 2^d.✦ Using the binary encoding bijection βd\beta_d, the input length bits μ=βd−1(m)∈{0,1}d\mu = \beta_d^{-1}(m) \in \{0,1\}^d encode mm✦, and for each j∈{0,…,m−1}j \in \{0, \dots, m-1\}, the input index bits ι(j)=βd−1(j)∈{0,1}d\iota(j) = \beta_d^{-1}(j) \in \{0,1\}^d encode position jj.✦ For any set YY, the time and position join join(x,y):{0,…,2d−1}→Y\mathrm{join}(x, y) \colon \{0, \dots, 2d-1\} \to Y of two length-dd tuples x,y:{0,…,d−1}→Yx, y \colon \{0, \dots, d-1\} \to Y places xix_i at coordinate ii and yiy_i at coordinate d+id + i for 0≤i<d0 \le i < d.✦

Take scalar gate types LL and AND gate types L3×{0,1}L^3 \times \{0,1\}. An automaton edge kind κ∈𝒦d\kappa \in \mathcal{K}_d belongs to one of five disjoint families: left-neighbor transitions (h,j̃)(h, \tilde{j}), center-neighbor transitions hh, right-neighbor transitions (h,j̃)(h, \tilde{j}), internal AND links link0\mathrm{link}_0, and rule output links link1\mathrm{link}_1, where h∈{0,…,d−1}h \in \{0, \dots, d-1\} and j̃∈{⊥}∪{0,…,d−1}\tilde{j} \in \{\bot\} \cup \{0, \dots, d-1\}.✦ An automaton circuit edge is a pair e=(t,κ)∈L3×𝒦de = (t, \kappa) \in L^3 \times \mathcal{K}_d with t=(a,b,c)t = (a, b, c).✦ For each i∈{0,…,d−1}i \in \{0, \dots, d-1\}, its source gate src(e)\mathrm{src}(e), destination port dstδ(e)\mathrm{dst}_\delta(e), time domain Utime(κ,i)U_{\mathrm{time}}(\kappa, i), time map ftime(κ,i)f_{\mathrm{time}}(\kappa, i), position domain Upos(κ,i)U_{\mathrm{pos}}(\kappa, i), and position map fpos(κ,i)f_{\mathrm{pos}}(\kappa, i) are defined by the five cases:

  • left-neighbor (h,j̃)(h, \tilde{j}): src=a\mathrm{src} = a, dstδ=((t,0),0)\mathrm{dst}_\delta = ((t, 0), 0), Utime=Cd(1,h,i)U_{\mathrm{time}} = C_d(1, h, i), ftime=τd(h,i)f_{\mathrm{time}} = \tau_d(h, i), Upos=C̃d(1,j̃,i)U_{\mathrm{pos}} = \widetilde{C}_d(1, \tilde{j}, i), and fpos=τ̃d(j̃,i)f_{\mathrm{pos}} = \widetilde{\tau}_d(\tilde{j}, i);

  • center-neighbor hh: src=b\mathrm{src} = b, dstδ=((t,0),1)\mathrm{dst}_\delta = ((t, 0), 1), Utime=Cd(1,h,i)U_{\mathrm{time}} = C_d(1, h, i), ftime=τd(h,i)f_{\mathrm{time}} = \tau_d(h, i), Upos={0,1}U_{\mathrm{pos}} = \{0,1\}, and fpos=idf_{\mathrm{pos}} = \mathrm{id};

  • right-neighbor (h,j̃)(h, \tilde{j}): src=c\mathrm{src} = c, dstδ=((t,1),1)\mathrm{dst}_\delta = ((t, 1), 1), Utime=Cd(1,h,i)U_{\mathrm{time}} = C_d(1, h, i), ftime=τd(h,i)f_{\mathrm{time}} = \tau_d(h, i), Upos=C̃d(0,j̃,i)U_{\mathrm{pos}} = \widetilde{C}_d(0, \tilde{j}, i), and fpos=τ̃d(j̃,i)f_{\mathrm{pos}} = \widetilde{\tau}_d(\tilde{j}, i);

  • internal AND link link0\mathrm{link}_0: src=(t,0)\mathrm{src} = (t, 0), dstδ=((t,1),0)\mathrm{dst}_\delta = ((t, 1), 0), Utime=Upos={0,1}U_{\mathrm{time}} = U_{\mathrm{pos}} = \{0,1\}, and ftime=fpos=idf_{\mathrm{time}} = f_{\mathrm{pos}} = \mathrm{id};

  • rule output link link1\mathrm{link}_1: src=(t,1)\mathrm{src} = (t, 1), dstδ=δ(a,b,c)\mathrm{dst}_\delta = \delta(a, b, c), Utime=Upos={0,1}U_{\mathrm{time}} = U_{\mathrm{pos}} = \{0,1\}, and ftime=fpos=idf_{\mathrm{time}} = f_{\mathrm{pos}} = \mathrm{id}.

The automaton request index set is the disjoint union ℛ(D)={0,…,m−1}⊔({⊥}∪Z(μ))⊔F.\mathcal{R}(D) = \{0, \dots, m-1\} \sqcup \bigl(\{\bot\} \cup Z(\mu)\bigr) \sqcup F.(7)✦ For each request q∈ℛ(D)q \in \mathcal{R}(D) and each i∈{0,…,d−1}i \in \{0, \dots, d-1\}, its gate label gateD(q)∈L\mathrm{gate}_D(q) \in L, test flag isTestD(q)∈{0,1}\mathrm{isTest}_D(q) \in \{0,1\}, time domain Vtime(q,i)V_{\mathrm{time}}(q, i), and position domain Vpos(q,i)V_{\mathrm{pos}}(q, i) are:

  • input seed j∈{0,…,m−1}j \in \{0, \dots, m-1\}: gateD(j)=w(j)\mathrm{gate}_D(j) = w(j), isTestD(j)=0\mathrm{isTest}_D(j) = 0, Vtime(j,i)={0}V_{\mathrm{time}}(j, i) = \{0\}, and Vpos(j,i)={ι(j)i}V_{\mathrm{pos}}(j, i) = \{\iota(j)_i\};

  • blank seed h̃∈{⊥}∪Z(μ)\tilde{h} \in \{\bot\} \cup Z(\mu): gateD(h̃)=⊔\mathrm{gate}_D(\tilde{h}) = \sqcup, isTestD(h̃)=0\mathrm{isTest}_D(\tilde{h}) = 0, Vtime(h̃,i)={0}V_{\mathrm{time}}(\tilde{h}, i) = \{0\}, and Vpos(h̃,i)=Td(μ,h̃,i)V_{\mathrm{pos}}(\tilde{h}, i) = T_d(\mu, \tilde{h}, i);

  • accepting test f∈Ff \in F: gateD(f)=f\mathrm{gate}_D(f) = f, isTestD(f)=1\mathrm{isTest}_D(f) = 1, Vtime(f,i)={1}V_{\mathrm{time}}(f, i) = \{1\}, and Vpos(f,i)={0,1}V_{\mathrm{pos}}(f, i) = \{0,1\}.

The automaton circuit description 𝒫(D)\mathcal{P}(D) is the product description of address length r=2dr = 2d over scalar types LL, AND types L3×{0,1}L^3 \times \{0,1\}, connection schemas L3×𝒦dL^3 \times \mathcal{K}_d, and requests ℛ(D)\mathcal{R}(D) whose source and destination maps are src\mathrm{src} and dstδ\mathrm{dst}_\delta, whose schema domains and maps are join(Utime(κ),Upos(κ))\mathrm{join}(U_{\mathrm{time}}(\kappa), U_{\mathrm{pos}}(\kappa)) and join(ftime(κ),fpos(κ))\mathrm{join}(f_{\mathrm{time}}(\kappa), f_{\mathrm{pos}}(\kappa)), and whose request gate labels, test flags, and domains are gateD\mathrm{gate}_D, isTestD\mathrm{isTest}_D, and join(Vtime(q),Vpos(q))\mathrm{join}(V_{\mathrm{time}}(q), V_{\mathrm{pos}}(q)).✦

The definition

Definition. Let LL be an alphabet, let d,m∈ℕd, m \in \mathbb{N}, and let D=(δ,w,⊔,F)D = (\delta, w, \sqcup, F) be a cellular automaton instance with m<2dm < 2^d. Since the automaton circuit description 𝒫(D)\mathcal{P}(D) satisfies the terminal test condition, the automaton circuit system 𝒮(D)\mathcal{S}(D) is the expanded circuit system of 𝒫(D)\mathcal{P}(D), 𝒮(D)=Exp⁡(𝒫(D)),\mathcal{S}(D) = \operatorname{Exp}(\mathcal{P}(D)),(8)✦ over scalar gates L×{0,1}2dL \times \{0,1\}^{2d}, AND gates (L3×{0,1})×{0,1}2d(L^3 \times \{0,1\}) \times \{0,1\}^{2d}, and expanded edges consisting of all pairs (e,𝒂)∈(L3×𝒦d)×{0,1}2d(e, \mathbf{a}) \in (L^3 \times \mathcal{K}_d) \times \{0,1\}^{2d} with 𝒂\mathbf{a} allowed for ee.

What is checked

The definition is stated over an arbitrary alphabet LL, natural numbers dd and mm with m<2dm < 2^d, and a cellular automaton instance D=(δ,w,⊔,F)D = (\delta, w, \sqcup, F), assembled from binary address encodings, carry and threshold bit tables, product descriptions, and their expanded circuit systems. The Lean library proves that the binary value val⁡d(x)\operatorname{val}_d(x) of every bit string x∈{0,1}dx \in \{0,1\}^d is strictly less than 2d2^d✦ and that the automaton circuit description 𝒫(D)\mathcal{P}(D) satisfies the terminal test condition.✦