OctoInform Beta

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

Proposition 3.2: One-head simulation, cellular circuit evaluation, edge schema count |L|3(2d2+3d+2)|L|^3(2d^2+3d+2), acceptance preservation, and numeric catalog validity

Uniform compilation of Turing machines into product cellular circuits.

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 decision problems for deterministic Turing machines to structural graph problems, a computation of exponential length 2p(m)2^{p(m)} on an input word of length mm is compiled into a succinct description of a finite acyclic Boolean circuit over binary addresses of length r=2dr = 2d. The circuit has one gate per gate type at each address (t,j)∈{0,1}d×{0,1}d(t, j) \in \{0,1\}^d \times \{0,1\}^d, where tt indexes time and jj indexes tape position modulo 2d2^d. Rather than listing all 2r2^r addressed gates, the description specifies connection schemas and seed or test requests through per-coordinate domains and injective bit maps.

In the Lean library, this compilation is factored into five layers: translating a multitape Turing machine to a one-head machine with frozen halting, simulating the one-head machine by a one-dimensional cellular automaton, unrolling a cellular automaton into a layered acyclic circuit system whose terminal tests detect acceptance, counting the edge schemas of the product description, and validating the flat numeric catalog induced from a cellular catalog.

One-head machines and cellular evolution

A head motion direction is an element of {left,stay,right}\{\mathrm{left}, \mathrm{stay}, \mathrm{right}\}, and a binary word ww is a finite list of bits in {0,1}\{0,1\}.✦ A one-head machine program P=(q0,δ,α)P = (q_0, \delta, \alpha) over a control state set QQ and a tape alphabet Γ\Gamma consists of an initial state q0∈Qq_0 \in Q, a partial transition function δ:Q×Γ⇀Q×Γ×{left,stay,right}\delta : Q \times \Gamma \rightharpoonup Q \times \Gamma \times \{\mathrm{left}, \mathrm{stay}, \mathrm{right}\}, and a Boolean accepting predicate α:Q×Γ→{0,1}\alpha : Q \times \Gamma \to \{0,1\}. Its total transition action δ‾:Q×Γ→Q×Γ×{left,stay,right}\bar{\delta} : Q \times \Gamma \to Q \times \Gamma \times \{\mathrm{left}, \mathrm{stay}, \mathrm{right}\} agrees with δ\delta where δ\delta is defined and returns (q,γ,stay)(q, \gamma, \mathrm{stay}) otherwise, freezing halting configurations.

A tape cell of PP is a pair (γ,o)∈Γ×(Q∪{⊥})(\gamma, o) \in \Gamma \times (Q \cup \{\bot\}), where o=⊥o = \bot indicates that the head is absent.✦ A cell (γ,o)(\gamma, o) is an accepting cell of PP if o=q∈Qo = q \in Q and α(q,γ)=1\alpha(q, \gamma) = 1.✦ Over an additive abelian group AA, a configuration s=(q,h,τ)s = (q, h, \tau) of PP consists of a control state q∈Qq \in Q, a head position h∈Ah \in A, and a tape assignment τ:A→Γ\tau : A \to \Gamma.✦ Given a head step u∈Au \in A, the tt-step run runP,u(s,t)\mathrm{run}_{P,u}(s, t) starts at ss for t=0t = 0 and iterates the single-step transition of PP at step uu.✦ The cell encoding enc(s):A→Γ×(Q∪{⊥})\mathrm{enc}(s) : A \to \Gamma \times (Q \cup \{\bot\}) places the control state at the head position: enc(s)(i)={(τ(i),q)if i=h,(τ(i),⊥)if i≠h.\mathrm{enc}(s)(i) = \begin{cases} (\tau(i), q) & \text{if } i = h, \\ (\tau(i), \bot) & \text{if } i \neq h. \end{cases}(1)✦

For a direction μ∈{left,stay,right}\mu \in \{\mathrm{left}, \mathrm{stay}, \mathrm{right}\} and a cell a=(γ,o)a = (\gamma, o), the incoming head state inP(μ,a)∈Q∪{⊥}\mathrm{in}_P(\mu, a) \in Q \cup \{\bot\} equals q′q' if o=q∈Qo = q \in Q and δ‾(q,γ)=(q′,γ′,μ)\bar{\delta}(q, \gamma) = (q', \gamma', \mu), and equals ⊥\bot otherwise.✦ The local transition rule ρP\rho_P of PP maps a triple of cells (a,b,c)(a, b, c) with b=(γ,o)b = (\gamma, o) to the cell (γ′,o′)(\gamma', o'), where γ′=γ\gamma' = \gamma if o=⊥o = \bot, γ′\gamma' is the symbol written by δ‾(q,γ)\bar{\delta}(q, \gamma) if o=qo = q, and o′o' is the first non-⊥\bot entry among inP(right,a)\mathrm{in}_P(\mathrm{right}, a), inP(stay,b)\mathrm{in}_P(\mathrm{stay}, b), and inP(left,c)\mathrm{in}_P(\mathrm{left}, c), or ⊥\bot if all three are ⊥\bot.✦ For any local rule ρ\rho on Γ×(Q∪{⊥})\Gamma \times (Q \cup \{\bot\}) and initial cell configuration x0:A→Γ×(Q∪{⊥})x_0 : A \to \Gamma \times (Q \cup \{\bot\}), the cellular evolution evolu,ρ(x0,t):A→Γ×(Q∪{⊥})\mathrm{evol}_{u,\rho}(x_0, t) : A \to \Gamma \times (Q \cup \{\bot\}) is defined recursively by evolu,ρ(x0,0)=x0\mathrm{evol}_{u,\rho}(x_0, 0) = x_0 and evolu,ρ(x0,t+1)(i)=ρ(evolu,ρ(x0,t)(i−u),evolu,ρ(x0,t)(i),evolu,ρ(x0,t)(i+u)).\begin{aligned} \mathrm{evol}_{u,\rho}(x_0, t + 1)(i) = \rho\bigl( &\mathrm{evol}_{u,\rho}(x_0, t)(i - u), \\ &\mathrm{evol}_{u,\rho}(x_0, t)(i), \\ &\mathrm{evol}_{u,\rho}(x_0, t)(i + u)\bigr). \end{aligned}(2)✦

A multitape Turing machine MM is specified by a number of non-initial states qq, a number of work symbols aa, a number of extra tapes kk, and a partial transition function on {0,…,q}×{0,…,a+2}k+1\{0, \dots, q\} \times \{0, \dots, a + 2\}^{k+1}.✦ To compile MM into a one-head machine program PMP_M, the Lean library first represents each tape of MM by two stacks indexed by {0,…,k}×{0,1}\{0, \dots, k\} \times \{0,1\} with alphabet {0,…,a+2}\{0, \dots, a + 2\}, encoding input bits 00 and 11 as symbols 11 and 22. The resulting multi-stack program reads all tape heads, applies the transition of MM, writes all updated tape heads, and upon halting drains the two stacks of tape 00 to record in a Boolean register answer\mathrm{answer} whether symbol 22 appears. Translating this multi-stack program to a one-tape program and then to a basic one-head program yields a finite set of reachable control labels supporting all transitions. Adapting head moves and symbol writes to {left,stay,right}\{\mathrm{left}, \mathrm{stay}, \mathrm{right}\} and defining acceptance by ¬answer\neg \mathrm{answer} produces the one-head program PMP_M, with cellular alphabet ΛM=ΓM×(QM∪{⊥})\Lambda_M = \Gamma_M \times (Q_M \cup \{\bot\}) and encoded input list wMw_M for each binary word ww.

Given polynomial-time parameters c,d∈ℕc, d \in \mathbb{N} and a word ww of length mm, the input time exponent is ein(c,d,m)=(c+1)(m+1)d+1e_{\mathrm{in}}(c, d, m) = (c + 1)(m + 1)^{d + 1}.✦ From the maximum stack operation count sMs_M of the multi-stack program and the maximum instruction count ℓM\ell_M of the one-tape program, the linear constant is c1(M)=2sM+5c_1(M) = 2 s_M + 5✦ and the quadratic constant is c2(M)=c1(M)(1+sM(2(1+c1(M)sM+sM)+2))ℓM.c_2(M) = c_1(M)\bigl(1 + s_M(2(1 + c_1(M) s_M + s_M) + 2)\bigr)\ell_M.(3)✦ The simulation address bit length is b(M,c,d,w)=c2(M)+5+2ein(c,d,m)b(M, c, d, w) = c_2(M) + 5 + 2 e_{\mathrm{in}}(c, d, m), which satisfies |wM|<2b(M,c,d,w)|w_M| < 2^{b(M, c, d, w)}.

Cellular circuits and product descriptions

Over a scalar gate set SS and a conjunction gate set AA, the set of gates is the disjoint union S⊔AS \sqcup A and the set of ports is S⊔(A×{0,1})S \sqcup (A \times \{0,1\}). Each port has an underlying target gate in S⊔AS \sqcup A, each gate has input dimension 11 on SS and 22 on AA, and each port carries an input linear form over 𝔽2\mathbb{F}_2: the coordinate projection π0:𝔽2→𝔽2\pi_0 : \mathbb{F}_2 \to \mathbb{F}_2 on SS, and the projections π0,π1:𝔽22→𝔽2\pi_0, \pi_1 : \mathbb{F}_2^2 \to \mathbb{F}_2 on A×{0}A \times \{0\} and A×{1}A \times \{1\}, respectively. A circuit system over (S,A,E)(S, A, E) consists of a source map src:E→S⊔A\mathrm{src} : E \to S \sqcup A, a destination map dst:E→S⊔(A×{0,1})\mathrm{dst} : E \to S \sqcup (A \times \{0,1\}), a seed set S0⊆SS_0 \subseteq S, and a test set T⊆ST \subseteq S satisfying the terminality condition that no edge e∈Ee \in E has src(e)∈T\mathrm{src}(e) \in T.✦ Truth of gates is the least predicate True\mathrm{True} on S⊔AS \sqcup A such that every seed in S0S_0 is true, a scalar gate s∈Ss \in S is true if some edge ee with dst(e)=s\mathrm{dst}(e) = s has true source, and a conjunction gate a∈Aa \in A is true if there exist edges e,fe, f with dst(e)=(a,0)\mathrm{dst}(e) = (a, 0), dst(f)=(a,1)\mathrm{dst}(f) = (a, 1), and both src(e)\mathrm{src}(e) and src(f)\mathrm{src}(f) true.✦

Cellular automaton data D=(ρ,prev,next,ι,F)D = (\rho, \mathrm{prev}, \mathrm{next}, \iota, F) over an alphabet LL and a spatial index set JJ consists of a local rule ρ:L3→L\rho : L^3 \to L, predecessor and successor maps prev,next:J→J\mathrm{prev}, \mathrm{next} : J \to J, an initial configuration ι:J→L\iota : J \to L, and an accepting subset F⊆LF \subseteq L.✦ Its state at time t∈ℕt \in \mathbb{N} is defined by σ0=ι\sigma_0 = \iota and σt+1(j)=ρ(σt(prev(j)),σt(j),σt(next(j))).\sigma_{t+1}(j) = \rho\bigl(\sigma_t(\mathrm{prev}(j)),\, \sigma_t(j),\, \sigma_t(\mathrm{next}(j))\bigr).(4)✦ For a horizon N∈ℕN \in \mathbb{N}, the cellular circuit system of DD has scalar gates L×{0,…,N}×JL \times \{0, \dots, N\} \times J and conjunction gates (L3×{0,1})×{0,…,N}×J(L^3 \times \{0,1\}) \times \{0, \dots, N\} \times J. For each 0≤t<N0 \le t < N, j∈Jj \in J, and triple (a,b,c)∈L3(a, b, c) \in L^3, three neighbor edges connect (a,t,prev(j))(a, t, \mathrm{prev}(j)) to port 00 of ((a,b,c),0,t+1,j)((a, b, c), 0, t + 1, j), (b,t,j)(b, t, j) to port 11 of ((a,b,c),0,t+1,j)((a, b, c), 0, t + 1, j), and (c,t,next(j))(c, t, \mathrm{next}(j)) to port 11 of ((a,b,c),1,t+1,j)((a, b, c), 1, t + 1, j). For each 0≤t≤N0 \le t \le N, j∈Jj \in J, and (a,b,c)∈L3(a, b, c) \in L^3, two internal edges connect ((a,b,c),0,t,j)((a, b, c), 0, t, j) to port 00 of ((a,b,c),1,t,j)((a, b, c), 1, t, j) and ((a,b,c),1,t,j)((a, b, c), 1, t, j) to the scalar gate (ρ(a,b,c),t,j)(\rho(a, b, c), t, j). The seeds are {(f,0,j):f=ι(j)}\{(f, 0, j) : f = \iota(j)\}, and the terminal tests are TN={(f,N,j):f∈F}T_N = \{(f, N, j) : f \in F\}.

Binary addresses of length dd are strings x∈{0,1}dx \in \{0,1\}^d, whose binary value ∑i=0d−1xi2i<2d\sum_{i=0}^{d-1} x_i 2^i < 2^d defines a bijection {0,1}d≃{0,…,2d−1}\{0,1\}^d \simeq \{0, \dots, 2^d - 1\}. To increment or decrement dd-bit addresses coordinate by coordinate, the carry domain for a bit b∈{0,1}b \in \{0,1\} and carry index h∈{0,…,d−1}h \in \{0, \dots, d - 1\} assigns to bit position ii the set {b}\{b\} for i<hi < h, {1−b}\{1 - b\} for i=hi = h, and {0,1}\{0,1\} for i>hi > h, while the increment bit map flips bit ii when i≤hi \le h and leaves it unchanged when i>hi > h. Extending hh to {⊥}∪{0,…,d−1}\{\bot\} \cup \{0, \dots, d - 1\} gives the cyclic carry domain (equal to {b}\{b\} when h=⊥h = \bot) and the cyclic increment bit map (flipping all bits when h=⊥h = \bot). For a threshold string μ∈{0,1}d\mu \in \{0,1\}^d and an index h∈{⊥}∪{h′<d:μh′=0}h \in \{\bot\} \cup \{h' < d : \mu_{h'} = 0\}, the threshold bit domain assigns {μi}\{\mu_i\} when h=⊥h = \bot or h<ih < i, {1}\{1\} when i=hi = h, and {0,1}\{0,1\} when i<hi < h.✦

A succinct circuit description at address length rr over (S,A,E,R)(S, A, E, R) specifies for each edge template e∈Ee \in E a source gate in S⊔AS \sqcup A, a destination port in S⊔(A×{0,1})S \sqcup (A \times \{0,1\}), nonempty coordinate domains dom(e,i)⊆{0,1}\mathrm{dom}(e, i) \subseteq \{0,1\}, and bit maps map(e,i):{0,1}→{0,1}\mathrm{map}(e, i) : \{0,1\} \to \{0,1\} injective on dom(e,i)\mathrm{dom}(e, i) for 0≤i<r0 \le i < r, together with for each request b∈Rb \in R a scalar gate in SS, a test flag in {0,1}\{0,1\}, and nonempty coordinate domains rdom(b,i)⊆{0,1}\mathrm{rdom}(b, i) \subseteq \{0,1\}.

A cellular automaton instance C=(ρ,in,blank,F)C = (\rho, \mathrm{in}, \mathrm{blank}, F) over an alphabet LL with parameters d,m∈ℕd, m \in \mathbb{N} consists of a local rule ρ:L3→L\rho : L^3 \to L, an input sequence in:{0,…,m−1}→L\mathrm{in} : \{0, \dots, m - 1\} \to L, a blank symbol blank∈L\mathrm{blank} \in L, an accepting subset F⊆LF \subseteq L, and the bound m<2dm < 2^d.✦ For any one-head program PP, blank symbol γ0∈Γ\gamma_0 \in \Gamma, and input w∈Γmw \in \Gamma^m with m<2dm < 2^d, the induced one-head product automaton has alphabet Γ×(Q∪{⊥})\Gamma \times (Q \cup \{\bot\}), local rule ρP\rho_P, marked initial tape placing (w0,q0)(w_0, q_0) at index 00 and (wj,⊥)(w_j, \bot) at j>0j > 0, blank cell (γ0,⊥)(\gamma_0, \bot), and accepting set equal to the accepting cells of PP.✦ Applying this construction to PMP_M, its default blank symbol, and wMw_M at bit length b(M,c,d,w)b(M, c, d, w) yields the reduction cellular automaton for (M,c,d,w)(M, c, d, w), whose accepting set is denoted FM,c,d,wF_{M, c, d, w}.✦

For a cellular automaton instance CC over LL with parameters d,md, m, an edge kind in Kind(d)\mathrm{Kind}(d) is one of four types: a left-neighbor wire indexed by (h,j)∈{0,…,d−1}×({⊥}∪{0,…,d−1})(h, j) \in \{0, \dots, d - 1\} \times (\{\bot\} \cup \{0, \dots, d - 1\}), a center-neighbor wire indexed by h∈{0,…,d−1}h \in \{0, \dots, d - 1\}, a right-neighbor wire indexed by (h,j)(h, j) as for left-neighbor wires, or an internal wire indexed by v∈{0,1}v \in \{0,1\}.✦ The edge template set is ℰ(L,d)=L3×Kind(d)\mathcal{E}(L, d) = L^3 \times \mathrm{Kind}(d).✦ Writing μ∈{0,1}d\mu \in \{0,1\}^d for the binary encoding of mm, the request set ℛ(C)\mathcal{R}(C) is the disjoint union of {0,…,m−1}\{0, \dots, m - 1\} (input seeds), {⊥}∪{h<d:μh=0}\{\bot\} \cup \{h < d : \mu_h = 0\} (blank-cell seeds), and FF (accepting-state tests).✦ Joining dd time coordinates and dd position coordinates produces the automaton circuit description 𝒟(C)\mathcal{D}(C) at address length r=2dr = 2d over (L,L3×{0,1},ℰ(L,d),ℛ(C))(L, L^3 \times \{0,1\}, \mathcal{E}(L, d), \mathcal{R}(C)): neighbor edges advance time via the carry domain and increment map with bit 11 and shift position via the cyclic carry domain and cyclic increment map (bit 11 for left, full domain and identity for center, bit 00 for right); internal edges use full domains and identity maps; seed requests fix time bits to 00 and constrain position bits to the encoding of jj or the threshold domain of μ\mu; test requests fix time bits to 11 and leave all position bits unconstrained.✦

Presentations and numeric circuit catalogs

A finite type presentation P=(B,v,e)P = (B, v, e) for a set XX consists of a natural-number bound BB, a Boolean validity predicate v:ℕ→{0,1}v : \mathbb{N} \to \{0,1\}, and a bijection ee from {i<B:v(i)=1}\{i < B : v(i) = 1\} to XX, defining an encoding encP(x)=e−1(x)<B\mathrm{enc}_P(x) = e^{-1}(x) < B. Standard presentations exist for the unit set, {0,1}\{0,1\}, and {0,…,n−1}\{0, \dots, n - 1\}, and presentations are closed under disjoint unions, Cartesian products, adjoining a basepoint, filtering by a decidable predicate, and transport along bijections. The finite set of linear forms ⨆d∈{0,1,2}Hom𝔽2(𝔽2d,𝔽2)\bigsqcup_{d \in \{0,1,2\}} \mathrm{Hom}_{\mathbb{F}_2}(\mathbb{F}_2^d, \mathbb{F}_2) is enumerated by a fixed bijection with an initial segment of ℕ\mathbb{N}, assigning a natural-number code to each input linear form of a circuit port.

A circuit catalog stores numeric counts for rows, internal wires, scalars, conjunctions, edges, and requests, Boolean validity predicates for each, numeric tables for edge sources, target gates, destination linear form codes, coordinate domains, coordinate maps, request gates, request test bits, and request domains, together with a marked coordinate and a bit ε∈{0,1}\varepsilon \in \{0,1\}.✦ A circuit catalog is valid for a succinct circuit description 𝒟\mathcal{D} at address length rr with respect to presentations (PS,PA,PE,PR)(P_S, P_A, P_E, P_R), an internal parameter n∈ℕn \in \mathbb{N}, a marked coordinate μrow∈{0,…,r−1}\mu_{\mathrm{row}} \in \{0, \dots, r - 1\}, and a bit ε∈𝔽2\varepsilon \in \mathbb{F}_2 if every count, validity predicate, edge table, request table, marked coordinate, and bit matches 𝒟\mathcal{D} under the encodings of PSP_S, PAP_A, PEP_E, PRP_R, and the linear form enumeration.✦

A cellular catalog DD stores natural numbers for the bit length dd, input length mm, letter count, and internal parameter nn, numeric tables for the local rule, input sequence, blank code, and accepting predicate, and values for the marked coordinate and ε\varepsilon.✦ Given a cellular automaton instance CC over LL and a presentation PP of LL, DD is a valid cellular catalog for CC (with respect to PP, nn, μrow\mu_{\mathrm{row}}, and ε\varepsilon) if the validity predicate of PP is identically true, the stored parameters match dd, mm, the bound of PP, nn, μrow\mu_{\mathrm{row}}, and ε\varepsilon, and the numeric rule, input, blank, and accepting tables agree with CC under encP\mathrm{enc}_P.✦ From DD, arithmetic indexing produces an induced circuit catalog DcatD^{\mathrm{cat}} with 2d2d rows, |L||L| scalars, 2|L|32|L|^3 conjunctions, |L|3(2d2+3d+2)|L|^3(2d^2 + 3d + 2) edges, and m+(1+d)+|L|m + (1 + d) + |L| requests, while combining PP with the standard presentation operations yields derived presentations for L3×{0,1}L^3 \times \{0,1\}, ℰ(L,d)\mathcal{E}(L, d), and ℛ(C)\mathcal{R}(C).

The claim

Proposition 3.2. Let AA be an additive abelian group, u∈Au \in A, PP a one-head machine program over (Q,Γ)(Q, \Gamma), ss a configuration of PP over AA, and t∈ℕt \in \mathbb{N}. Then the cellular evolution of enc(s)\mathrm{enc}(s) under ρP\rho_P tracks the run of PP: evolu,ρP(enc(s),t)=enc(runP,u(s,t)).\mathrm{evol}_{u, \rho_P}(\mathrm{enc}(s), t) = \mathrm{enc}(\mathrm{run}_{P, u}(s, t)).(5)✦

Let D=(ρ,prev,next,ι,F)D = (\rho, \mathrm{prev}, \mathrm{next}, \iota, F) be cellular automaton data over (L,J)(L, J) and N∈ℕN \in \mathbb{N}. In the cellular circuit system of DD at horizon NN, a terminal test gate is true if and only if some spatial cell lies in FF at time NN: (∃s∈TN,TrueN(s))⇔(∃j∈J,σN(j)∈F).\bigl(\exists s \in T_N,\; \mathrm{True}_N(s)\bigr) \iff \bigl(\exists j \in J,\; \sigma_N(j) \in F\bigr).(6)✦

For every finite alphabet LL and every d∈ℕd \in \mathbb{N}, the number of edge schemas in ℰ(L,d)\mathcal{E}(L, d) is |ℰ(L,d)|=|L|3(2d2+3d+2).|\mathcal{E}(L, d)| = |L|^3 (2d^2 + 3d + 2).(7)✦

For every multitape Turing machine MM, every c,d∈ℕc, d \in \mathbb{N}, every binary word ww, and every cell f∈ΛMf \in \Lambda_M, the accepting set FM,c,d,wF_{M, c, d, w} of the reduction cellular automaton coincides with the accepting cells of PMP_M: f∈FM,c,d,w⇔f is an accepting cell of PM.f \in F_{M, c, d, w} \iff f \text{ is an accepting cell of } P_M.(8)✦

Let CC be a cellular automaton instance over LL with parameters d,md, m, PP a presentation of LL, n∈ℕn \in \mathbb{N}, μrow∈{0,…,2d−1}\mu_{\mathrm{row}} \in \{0, \dots, 2d - 1\}, ε∈𝔽2\varepsilon \in \mathbb{F}_2, and DD a cellular catalog. Whenever DD is a valid cellular catalog for CC, its induced circuit catalog DcatD^{\mathrm{cat}} is a valid circuit catalog for 𝒟(C)\mathcal{D}(C) with respect to PP, the derived conjunction, edge, and request presentations, nn, μrow\mu_{\mathrm{row}}, and ε\varepsilon: D is a valid cellular catalog for C⟹Dcat is a valid circuit catalogfor 𝒟(C).\begin{aligned} D \text{ is a valid cellular catalog for } C \implies &D^{\mathrm{cat}} \text{ is a valid circuit catalog} \\ &\text{for } \mathcal{D}(C). \end{aligned}(9)✦

In the paper, the result reads: fix a deterministic one-tape machine MM with the initialization and frozen-halting convention, and an integer polynomial pp with p(m)≥m+2p(m) \ge m + 2 bounding its running time by 2p(m)2^{p(m)}; for every word ww of length mm, one can deterministically generate in time polynomial in r+mr + m a product description of a finite acyclic circuit at address length r=2(p(m)+2)r = 2(p(m) + 2) with scalar terminal tests, OM(1)O_M(1) gate types, OM((r+1)2+m)O_M((r + 1)^2 + m) schemas and requests, nonempty binary factor domains, and injective coordinate maps, such that at least one test is true if and only if MM accepts ww. The Lean library separates this compilation into the one-head cellular simulation (5), the layered circuit evaluation (6), the exact edge-schema count (7), the acceptance preservation (8) from a multitape machine, and the numeric catalog validity (9).

What is checked

Proposition 3.2 is stated in the Lean library over arbitrary additive abelian groups and one-head machine programs in (5), arbitrary cellular automaton data and horizons in (6), arbitrary finite alphabets and bit lengths in (7), arbitrary multitape Turing machines with polynomial-time parameters and binary words in (8), and cellular automaton instances equipped with an alphabet presentation of identically true validity and a matching cellular catalog in (9). Along the way, the Lean library also verifies that the binary value of every dd-bit string is strictly less than 2d2^d✦, that the compiled base one-head program of MM is supported on its finite set of reachable control labels✦, and that the length of the encoded one-head input wMw_M is strictly less than 2b(M,c,d,w)2^{b(M, c, d, w)}✦.