OctoInform Beta

OpenAI preprint, September 2026 · §6. A computation described by product schemas

Proposition 6.1: Four properties of cellular connections, cyclic tape runs, product circuit edges, and polynomial initial tape letter evaluation

Connection counts, ring runs, edge propagation, and letter evaluation.

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 an exponential-time decision problem to Weisfeiler-Leman equivalence, a fixed deterministic single-tape Turing machine running for T=2p(m)T = 2^{p(m)} steps on a binary input of length mm is compiled into a uniform acyclic monotone circuit. Gate addresses consist of binary tuples encoding time and tape position on a cyclic tape of length 2d=4T2^d = 4T, and connections between gates are specified by coordinate-wise injections on product domains. Establishing this compilation rests on four concrete primitives: counting the cellular connection schemas, initializing the cyclic tape run at step zero, propagating truth along product-circuit edges, and computing the initial tape letter encoding in polynomial time.

Cyclic Turing machine runs

A binary word is a finite list w∈{0,1}*w \in \{0, 1\}^* of bits, with length |w||w|, empty word ε\varepsilon, and ii-th bit wiw_i for 0≤i<|w|0 \le i < |w|.✦ A head move is a direction μ∈{left,stay,right}\mu \in \{\text{left}, \text{stay}, \text{right}\}.✦ A Turing machine MM is specified by a number σM∈ℕ\sigma_M \in \mathbb{N} of additional tape symbols beyond the three reserved symbols, a number sM∈ℕs_M \in \mathbb{N} of additional control states beyond the three reserved states, and a transition function δM:QM×ΣM→QM×ΣM×{left,stay,right},\delta_M : Q_M \times \Sigma_M \to Q_M \times \Sigma_M \times \{\text{left}, \text{stay}, \text{right}\},(1)✦ where QM={0,…,sM+2}Q_M = \{0, \dots, s_M + 2\} is the set of machine control states and ΣM={0,…,σM+2}\Sigma_M = \{0, \dots, \sigma_M + 2\} is the set of machine tape symbols. The input tape symbol ιM:{0,1}→ΣM\iota_M : \{0, 1\} \to \Sigma_M maps 00 to 11 and 11 to 22.✦ A machine tape letter is a pair in ΛM=ΣM×({⊥}∪QM)\Lambda_M = \Sigma_M \times (\{\bot\} \cup Q_M), recording a tape symbol together with an optional control state.✦ The machine transition action αM:QM×ΣM→QM×ΣM×{left,stay,right}\alpha_M : Q_M \times \Sigma_M \to Q_M \times \Sigma_M \times \{\text{left}, \text{stay}, \text{right}\} freezes in halting states 11 and 22: αM(q,a)={(q,a,stay)if q∈{1,2},δM(q,a)otherwise.\alpha_M(q, a) = \begin{cases} (q, a, \text{stay}) & \text{if } q \in \{1, 2\}, \\ \delta_M(q, a) & \text{otherwise}. \end{cases}(2)

For d∈ℕd \in \mathbb{N}, a dd-bit binary address is a tuple v=(v0,…,vd−1)∈{0,1}dv = (v_0, \dots, v_{d-1}) \in \{0, 1\}^d. Its binary address value is the least-significant-bit-first integer val⁡d(v)=∑i=0d−1vi2i,\operatorname{val}_d(v) = \sum_{i=0}^{d-1} v_i 2^i,(3)✦ which equals 00 when d=0d = 0 and satisfies val⁡d(v)<2d\operatorname{val}_d(v) < 2^d. This defines the binary address bijection βd:{0,1}d→{0,…,2d−1}\beta_d : \{0, 1\}^d \to \{0, \dots, 2^d - 1\} given by βd(v)=val⁡d(v)\beta_d(v) = \operatorname{val}_d(v).✦ The binary address rotation ρd:{0,1}d→{0,1}d\rho_d : \{0, 1\}^d \to \{0, 1\}^d is the bijection ρd(v)=βd−1((βd(v)+1)mod⁡2d).\rho_d(v) = \beta_d^{-1}\bigl((\beta_d(v) + 1) \bmod 2^d\bigr).(4)✦

A cyclic tape configuration of MM on a cell set XX is a triple c=(q,h,τ)c = (q, h, \tau) consisting of a control state q∈QMq \in Q_M, a head position h∈Xh \in X, and a tape function τ:X→ΣM\tau : X \to \Sigma_M.✦ Given a bijection e:X→Xe : X \to X, the one-step tape transition adv⁡M,e(c)\operatorname{adv}_{M, e}(c) sets (q′,a′,μ)=αM(q,τ(h))(q', a', \mu) = \alpha_M(q, \tau(h)) and returns the configuration (q′,h′,τ′)(q', h', \tau'), where τ′(h)=a′\tau'(h) = a' and τ′(x)=τ(x)\tau'(x) = \tau(x) for x≠hx \ne h, and the updated head position is h′=e−1(h)h' = e^{-1}(h) if μ=left\mu = \text{left}, h′=hh' = h if μ=stay\mu = \text{stay}, and h′=e(h)h' = e(h) if μ=right\mu = \text{right}.✦ For d∈ℕd \in \mathbb{N} and a binary word w∈{0,1}*w \in \{0, 1\}^*, the initial ring configuration cM,dinit(w)c^{\text{init}}_{M, d}(w) on {0,1}d\{0, 1\}^d has control state 00, head at 0d0^d, and tape function τw(j)={ιM(wval⁡d(j))if val⁡d(j)<|w|,0otherwise.\tau_w(j) = \begin{cases} \iota_M(w_{\operatorname{val}_d(j)}) & \text{if } \operatorname{val}_d(j) < |w|, \\ 0 & \text{otherwise}. \end{cases}(5) The tt-step ring machine run RM,d(w,t)R_{M, d}(w, t) is obtained by iterating the one-step tape transition along ρd\rho_d for t∈ℕt \in \mathbb{N} steps from the initial ring configuration: RM,d(w,t)=adv⁡M,ρdt(cM,dinit(w)).R_{M, d}(w, t) = \operatorname{adv}_{M, \rho_d}^t\bigl(c^{\text{init}}_{M, d}(w)\bigr).(6)✦

Cellular connections and product circuits

For d∈ℕd \in \mathbb{N} and a set AA, the set 𝒞(d,A)\mathcal{C}(d, A) of cellular circuit connections is the disjoint union of five families indexed by triples (a,b,c)∈A3(a, b, c) \in A^3: left connections parameterized by (a,b,c)(a, b, c), an index h∈{0,…,d−1}h \in \{0, \dots, d - 1\}, and an optional index j∈{⊥}∪{0,…,d−1}j \in \{\bot\} \cup \{0, \dots, d - 1\}; center connections parameterized by (a,b,c)(a, b, c) and h∈{0,…,d−1}h \in \{0, \dots, d - 1\}; right connections parameterized by (a,b,c)(a, b, c), h∈{0,…,d−1}h \in \{0, \dots, d - 1\}, and j∈{⊥}∪{0,…,d−1}j \in \{\bot\} \cup \{0, \dots, d - 1\}; join connections parameterized by (a,b,c)(a, b, c); and output connections parameterized by (a,b,c)(a, b, c).✦

The paper compiles a Turing machine computation into monotone circuits whose gates are either scalar OR gates with seeds or two-port AND gates, placed at every binary address and linked by coordinate-wise product maps.

For an address dimension r∈ℕr \in \mathbb{N}, a Boolean product map DD consists of a nonempty subset Ωi(D)⊆{0,1}\Omega_i(D) \subseteq \{0, 1\} and a map ϕi:{0,1}→{0,1}\phi_i : \{0, 1\} \to \{0, 1\} that is injective on Ωi(D)\Omega_i(D) for each coordinate i∈{0,…,r−1}i \in \{0, \dots, r - 1\}.✦ A domain point of DD is a tuple a∈∏i=0r−1Ωi(D)a \in \prod_{i=0}^{r-1} \Omega_i(D), with source tuple src⁡D(a)=(a0,…,ar−1)∈{0,1}r\operatorname{src}_D(a) = (a_0, \dots, a_{r-1}) \in \{0, 1\}^r and target tuple tgt⁡D(a)=(ϕ0(a0),…,ϕr−1(ar−1))∈{0,1}r\operatorname{tgt}_D(a) = (\phi_0(a_0), \dots, \phi_{r-1}(a_{r-1})) \in \{0, 1\}^r. The graph relation Rel⁡D(x,y)\operatorname{Rel}_D(x, y) holds for x,y∈{0,1}rx, y \in \{0, 1\}^r when xi∈Ωi(D)x_i \in \Omega_i(D) and ϕi(xi)=yi\phi_i(x_i) = y_i for every i∈{0,…,r−1}i \in \{0, \dots, r - 1\}.✦

A product circuit CC of address dimension r∈ℕr \in \mathbb{N} over index sets PP of gate types, EE of edges, ZZ of seeds, and UU of tests consists of injective indexings of PP, EE, ZZ, and UU into ℕ\mathbb{N}; a port arity dim⁡C:P→ℕ\dim_C : P \to \mathbb{N} with dim⁡C(p)∈{1,2}\dim_C(p) \in \{1, 2\} for every p∈Pp \in P; for each edge e∈Ee \in E, a source gate type src⁡C(e)∈P\operatorname{src}_C(e) \in P, a target gate type tgt⁡C(e)∈P\operatorname{tgt}_C(e) \in P, a target port port⁡C(e)∈{0,…,dim⁡C(tgt⁡C(e))−1}\operatorname{port}_C(e) \in \{0, \dots, \dim_C(\operatorname{tgt}_C(e)) - 1\}, and a Boolean product map DeD_e of dimension rr; for each seed z∈Zz \in Z, a gate type pzseed∈Pp^{\text{seed}}_z \in P with dim⁡C(pzseed)=1\dim_C(p^{\text{seed}}_z) = 1 and a Boolean product map DzseedD^{\text{seed}}_z of dimension rr; and for each test u∈Uu \in U, a gate type putest∈Pp^{\text{test}}_u \in P with dim⁡C(putest)=1\dim_C(p^{\text{test}}_u) = 1 and a Boolean product map DutestD^{\text{test}}_u of dimension rr.

Port truth tr⁡Cport(p,x,j)\operatorname{tr}^{\text{port}}_C(p, x, j) for p∈Pp \in P, x∈{0,1}rx \in \{0, 1\}^r, and j∈{0,…,dim⁡C(p)−1}j \in \{0, \dots, \dim_C(p) - 1\} is inductively generated by two rules: first, for every z∈Zz \in Z, domain point aa of DzseedD^{\text{seed}}_z, and port j<dim⁡C(pzseed)j < \dim_C(p^{\text{seed}}_z), the relation tr⁡Cport(pzseed,src⁡Dzseed(a),j)\operatorname{tr}^{\text{port}}_C(p^{\text{seed}}_z, \operatorname{src}_{D^{\text{seed}}_z}(a), j) holds; second, for every e∈Ee \in E and domain point aa of DeD_e, if tr⁡Cport(src⁡C(e),src⁡De(a),j)\operatorname{tr}^{\text{port}}_C(\operatorname{src}_C(e), \operatorname{src}_{D_e}(a), j) holds for every j<dim⁡C(src⁡C(e))j < \dim_C(\operatorname{src}_C(e)), then tr⁡Cport(tgt⁡C(e),tgt⁡De(a),port⁡C(e))\operatorname{tr}^{\text{port}}_C(\operatorname{tgt}_C(e), \operatorname{tgt}_{D_e}(a), \operatorname{port}_C(e)) holds. A node (p,x)(p, x) is true, written tr⁡C(p,x)\operatorname{tr}_C(p, x), when tr⁡Cport(p,x,j)\operatorname{tr}^{\text{port}}_C(p, x, j) holds for every port j<dim⁡C(p)j < \dim_C(p).✦

Polynomial word expressions

A function B:ℕ→ℕB : \mathbb{N} \to \mathbb{N} is polynomially bounded if there exist c0,k∈ℕc_0, k \in \mathbb{N} such that B(N)≤c0(N+1)kB(N) \le c_0 (N + 1)^k for all N∈ℕN \in \mathbb{N}.✦ The unary word encoding of n∈ℕn \in \mathbb{N} is the binary word 0n0^n of length nn.✦ For n∈ℕn \in \mathbb{N}, a word expression of arity nn is built inductively from seven constructors: a variable var⁡i\operatorname{var}_i (0≤i<n0 \le i < n), the empty word nil\operatorname{nil}, appending a bit snoc⁡(φ,b)\operatorname{snoc}(\varphi, b) (b∈{0,1}b \in \{0, 1\}), dropping the last bit drop⁡(φ)\operatorname{drop}(\varphi), branching on the last bit cases⁡(φ,φ0,φ1,φ2)\operatorname{cases}(\varphi, \varphi_0, \varphi_1, \varphi_2), local binding bind⁡(φ,ψ)\operatorname{bind}(\varphi, \psi) with ψ\psi of arity n+1n + 1, and iteration loop⁡(φc,φa,ψ)\operatorname{loop}(\varphi_c, \varphi_a, \psi) with φc,φa\varphi_c, \varphi_a of arity nn and ψ\psi of arity n+2n + 2.✦

On a tuple s→=(s0,…,sn−1)∈({0,1}*)n\vec{s} = (s_0, \dots, s_{n-1}) \in (\{0, 1\}^*)^n, the evaluation eval⁡(φ,s→)∈{0,1}*\operatorname{eval}(\varphi, \vec{s}) \in \{0, 1\}^* is defined structurally: var⁡i\operatorname{var}_i returns sis_i; nil\operatorname{nil} returns ε\varepsilon; snoc⁡(φ,b)\operatorname{snoc}(\varphi, b) appends bb to eval⁡(φ,s→)\operatorname{eval}(\varphi, \vec{s}); drop⁡(φ)\operatorname{drop}(\varphi) deletes the last bit of eval⁡(φ,s→)\operatorname{eval}(\varphi, \vec{s}) (leaving ε\varepsilon unchanged); cases⁡(φ,φ0,φ1,φ2)\operatorname{cases}(\varphi, \varphi_0, \varphi_1, \varphi_2) evaluates φ0\varphi_0, φ1\varphi_1, or φ2\varphi_2 according as eval⁡(φ,s→)\operatorname{eval}(\varphi, \vec{s}) is empty, ends in 00, or ends in 11; bind⁡(φ,ψ)\operatorname{bind}(\varphi, \psi) evaluates ψ\psi on (s→,eval⁡(φ,s→))(\vec{s}, \operatorname{eval}(\varphi, \vec{s})); and loop⁡(φc,φa,ψ)\operatorname{loop}(\varphi_c, \varphi_a, \psi) returns the stage word u|eval⁡(φc,s→)|u_{|\operatorname{eval}(\varphi_c, \vec{s})|}, where u0=eval⁡(φa,s→)u_0 = \operatorname{eval}(\varphi_a, \vec{s}) and ui+1=eval⁡(ψ,(s→,0i,ui))u_{i+1} = \operatorname{eval}(\psi, (\vec{s}, 0^i, u_i)) for each i∈ℕi \in \mathbb{N}.

A word expression φ\varphi of arity nn is bounded by B∈ℕB \in \mathbb{N} on s→\vec{s} when: for var⁡i\operatorname{var}_i, |si|≤B|s_i| \le B; for nil\operatorname{nil}, unconditionally; for snoc⁡(φ,b)\operatorname{snoc}(\varphi, b), φ\varphi is bounded by BB on s→\vec{s} and |eval⁡(φ,s→)|+1≤B|\operatorname{eval}(\varphi, \vec{s})| + 1 \le B; for drop⁡(φ)\operatorname{drop}(\varphi), φ\varphi is bounded by BB on s→\vec{s}; for cases⁡(φ,φ0,φ1,φ2)\operatorname{cases}(\varphi, \varphi_0, \varphi_1, \varphi_2), φ\varphi and the selected branch among φ0,φ1,φ2\varphi_0, \varphi_1, \varphi_2 are bounded by BB on s→\vec{s}; for bind⁡(φ,ψ)\operatorname{bind}(\varphi, \psi), φ\varphi is bounded by BB on s→\vec{s} and ψ\psi is bounded by BB on (s→,eval⁡(φ,s→))(\vec{s}, \operatorname{eval}(\varphi, \vec{s})); and for loop⁡(φc,φa,ψ)\operatorname{loop}(\varphi_c, \varphi_a, \psi), φc\varphi_c and φa\varphi_a are bounded by BB on s→\vec{s} and ψ\psi is bounded by BB on (s→,0i,ui)(\vec{s}, 0^i, u_i) for every i<|eval⁡(φc,s→)|i < |\operatorname{eval}(\varphi_c, \vec{s})|.✦ A function F:({0,1}*)n→{0,1}*F : (\{0, 1\}^*)^n \to \{0, 1\}^* is a polynomial word function if there exist a word expression φ\varphi of arity nn and a polynomially bounded function B:ℕ→ℕB : \mathbb{N} \to \mathbb{N} such that eval⁡(φ,s→)=F(s→)\operatorname{eval}(\varphi, \vec{s}) = F(\vec{s}) for all s→\vec{s}, and φ\varphi is bounded by B(N)B(N) on s→\vec{s} whenever |si|≤N|s_i| \le N for all i<ni < n. A function g:({0,1}*)n→ℕg : (\{0, 1\}^*)^n \to \mathbb{N} is a polynomial unary word function if s→↦0g(s→)\vec{s} \mapsto 0^{g(\vec{s})} is a polynomial word function.✦

For a Turing machine MM, a function f:ΛM→ℕf : \Lambda_M \to \mathbb{N}, a binary word w∈{0,1}*w \in \{0, 1\}^*, and an index i∈ℕi \in \mathbb{N}, the initial tape letter evaluation LM,f(w,i)∈ℕL_{M, f}(w, i) \in \mathbb{N} is defined by LM,f(w,i)={f(ιM(w0),0)if i=0<|w|,f(ιM(wi),⊥)if 0<i<|w|,f(0,0)if i=0≥|w|,f(0,⊥)if i>0 and i≥|w|.L_{M, f}(w, i) = \begin{cases} f(\iota_M(w_0), 0) & \text{if } i = 0 < |w|, \\ f(\iota_M(w_i), \bot) & \text{if } 0 < i < |w|, \\ f(0, 0) & \text{if } i = 0 \ge |w|, \\ f(0, \bot) & \text{if } i > 0 \text{ and } i \ge |w|. \end{cases}(7)✦

The claim

Proposition 6.1. First, for every d∈ℕd \in \mathbb{N} and every finite set AA, the number of cellular circuit connections is |𝒞(d,A)|=|A|3(2d2+3d+2).|\mathcal{C}(d, A)| = |A|^3 (2 d^2 + 3 d + 2).(8)✦

Second, for every Turing machine MM, every d∈ℕd \in \mathbb{N}, and every binary word w∈{0,1}*w \in \{0, 1\}^*, the zero-step ring machine run agrees with the initial ring configuration: RM,d(w,0)=cM,dinit(w).R_{M, d}(w, 0) = c^{\text{init}}_{M, d}(w).(9)✦

Third, for every address dimension r∈ℕr \in \mathbb{N}, every product circuit CC of dimension rr, every edge e∈Ee \in E, and all binary addresses x,y∈{0,1}rx, y \in \{0, 1\}^r, truth at the source node propagates across the edge relation to the target port: Rel⁡De(x,y)∧tr⁡C(src⁡C(e),x)⟹tr⁡Cport(tgt⁡C(e),y,port⁡C(e)).\begin{aligned} &\operatorname{Rel}_{D_e}(x, y) \land \operatorname{tr}_C(\operatorname{src}_C(e), x) \\ &\qquad \implies \operatorname{tr}^{\text{port}}_C(\operatorname{tgt}_C(e), y, \operatorname{port}_C(e)). \end{aligned}(10)✦

Fourth, for every Turing machine MM and every function f:ΛM→ℕf : \Lambda_M \to \mathbb{N}, the map on pairs of binary words given by (w,u)↦LM,f(w,|u|)(w, u) \mapsto L_{M, f}(w, |u|)(11)✦ is a polynomial unary word function.

In the paper, the result reads: for a fixed deterministic single-tape Turing machine MM running in time at most T=2p(m)T = 2^{p(m)} with p(m)≥m+32p(m) \ge m + 32 and each binary word ww of length mm, setting d=p(m)+2d = p(m) + 2, S=2d=4TS = 2^d = 4T, and r=2dr = 2d, one can construct in time polynomial in r+mr + m an acyclic monotone circuit description with OM(1)O_M(1) gate types and OM((r+1)2+m)O_M((r + 1)^2 + m) connection schemas, seed requests, and test requests such that MM accepts ww if and only if at least one designated test gate is true. The four statements in Proposition 6.1 formalize the underlying connection count (8), initial ring configuration identity (9), edge truth propagation (10), and polynomial-time initial tape encoding (11) in the Lean library.

What is checked

Proposition 6.1 is stated over arbitrary natural numbers dd and rr, finite alphabets AA for cellular circuit connections, Turing machines MM acting on dd-bit binary address rings, product circuits CC built from Boolean product maps of dimension rr, and polynomial word expressions computing the initial tape letter evaluation on pairs of binary words. For the binary address construction, the Lean library also establishes that the least-significant-bit-first address value is strictly less than 2d2^d, which yields the bijection between dd-bit binary addresses and {0,…,2d−1}\{0, \dots, 2^d - 1\}.✦