arXiv:2611.02840cs.LGNov 2026

Manuscript Offprint

arXiv:2611.02840

Iterated Narrow Networks: Turing Completeness at Width 4 on Convex Input Spaces and the Complexity of Verification

Olivier Bournez, Johanne Cohen, Adrian Wurm

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study the iterates of a fixed ReLU network NN of width 4, that is, the discrete-time system xk+1=N(xk)x_{k+1} = N(x_k) on [0,1]4[0,1]^4. Equivalently, xkx_k is the output of a weighted network made of kk copies of NN, or of a recurrent network with no external input, started at x0x_0. We prove that every deterministic Turing machine MM admits such a network NMN_M. The network can be constructed in polynomial time from MM. Each iteration has depth poly(|M|). The iterates of NMN_M simulate MM exactly on every encoded tape. The number of iterations is proportional to the running time of MM. Moreover, the fourth coordinate irreversibly flags every point of the convex cube [0,1]4[0,1]^4 whose simulation reads an invalid digit. This flag is the certificate that makes hardness reductions sound on convex input regions, the regime of practical verifiers. Convex regions were previously inaccessible because of a continuity obstruction inherent to ReLU networks. The correspondence has three consequences. First, reachability for iterated width-4 ReLU networks spans the full complexity hierarchy along the single axis of the time bound: it is NP-complete for a unary bound, NEXP-complete for a binary bound and RE-complete (undecidable) with no bound. Second, two extra neurons of width suffice to extend the hardness to every common smooth activation: at width 6, the robust verification problem (a promise problem with δ/2δ\delta/2\delta gap) is NP-complete for tanh, sigmoid, GELU, Swish, ELU, and any polynomial-time-computable continuous non-polynomial activation with a polynomial-time-computable Lipschitz constant. Third, the whole spectrum transfers to discretized Neural ODEs in dimension 5.

1 Introduction

We study the iterates of a fixed ReLU network of constant width: the discrete-time system

xk+1=N(xk),x0∈[0,1]4,x_{k+1} = N(x_k), \qquad x_0 \in [0,1]^4,

where N:[0,1]4→[0,1]4N: [0,1]^4 \to [0,1]^4 is a feedforward ReLU network of width 4. In other words, the object of study is a recurrent network that takes no per-step input: its input is its initial state x0x_0, and its outputs are its states xkx_k. Iterating one fixed block is the pattern behind deep equilibrium models [Bai et al., 2019] and discretized Neural ODEs [Chen et al., 2018, Kidger, 2022]. Residual and highway

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

networks [He et al., 2016, Srivastava et al., 2015] follow the same pattern with untied weights. We ask what the iterates of a width-4 block can compute, and what it costs to verify their behavior.

The correspondence. We prove that iterated width-4 ReLU networks are Turing complete on convex input regions, with iteration count playing the role of time. For every Turing machine (TM) MM, we construct in polynomial time a single network NM:[0,1]4→[0,1]4N_M: [0,1]^4 \to [0,1]^4 of width 4 and depth poly(|M|) per iteration. Its iterates simulate MM exactly on encoded tapes, and irreversibly flag every point of [0,1]4[0,1]^4 whose simulation reads an invalid digit (Theorem 3). Instantiated on a universal TM UU, the construction yields a single fixed block NUN_U that simulates every machine on every input. The consequence is a hardness ladder along the single axis of the time bound (Theorem 7). At fixed width 4, bounded-time reachability is NP-complete for a unary bound, NEXP-complete for a binary bound and undecidable with no bound. NP-hardness of ReLU verification has been known since Katz et al. [2017]; the ladder shows that restricting the width does not restore tractability, since width 4 already suffices (Section 2.2). The hardness extends at width 6 to every common smooth activation (Theorem 10) and, through the correspondence of Duan et al. [2024], to discretized Neural ODEs at dimension 5 (Theorem 50).

The obstruction, in plain terms. A TM tape is an infinite binary string, and to feed it to a network we must store it in a single real number. Writing the tape in base 2 fails twice over: 0.01‾2=0.120.0\overline{1}_2 = 0.1_2, so two different tapes can be the same number, and reading off the first bit is a discontinuous operation. Writing it in base 4 using only the digits 1 and 3, a device going back to Siegelmann and Sontag [1991], repairs both defects. The encoding becomes injective, and the two possible leading digits are separated by a fixed gap, so a continuous piecewise-affine gadget can read the first digit. The price is that the valid encodings form a Cantor-like set DD1,3\mathbb{D}\mathbb{D}_{1,3} of measure zero, whereas verification asks a question about a full-dimensional convex region. The two domains cannot be reconciled by any continuous preprocessing: any continuous map from a convex set into DD1,3\mathbb{D}\mathbb{D}_{1,3} is constant (Proposition 11), and ReLU networks compute only continuous piecewise-affine maps. Since continuous encoding is impossible, our network detects: a fourth coordinate accumulates, one base-4 digit per iteration, a continuous certificate that irreversibly flags every input whose simulation reads an invalid digit. This online certificate is the ingredient that is new at the level of network construction. It is what makes every verification reduction below sound on convex regions.

Four theorems. Formal statements are in Section 2, proofs in the appendices.

(Th.3) Turing completeness of iterated width-4 networks on convex input spaces. For every TM MM, a single polynomial-time-constructible width-4 ReLU network simulates MM when iterated, exactly on encoded inputs, and irreversibly flags every point of the convex cube [0,1]4[0,1]^4 whose simulation reads an invalid digit.

(Th.7) Verification spectrum. Bounded-time reachability for iterated width-4 ReLU networks is NP-complete with unary time bound, NEXP-complete with binary time bound and RE-complete (undecidable) with no bound.

(Th.10) Robust verification at width 6 for smooth activations. For every continuous, non-polynomial, C1C^1-at-a-point, polynomial-time-computable activation ρ\rho, the δ\delta-robust verification problem (a promise problem with δ/2δ\delta/2\delta gap) for width-6 ρ\rho-networks is NP-complete.

(Th.50) Neural ODE consequences at dimension 5 (App.H). Through the correspondence of Duan et al. [2024] between vanilla feedforward networks and splitting-method discretizations, the whole spectrum transfers to the discretized reachability of Neural ODEs at dimension 5.

Positioning. Table 1 situates the results; its mode column records whether a statement concerns a feedforward network or the iterates of one (a recurrent network). Siegelmann–Sontag Siegelmann [1999], Siegelmann and Sontag [1991, 1994] established TM universality for recurrent networks; in the variant relevant here, where the input is placed in the initial state, their construction requires fractal-encoded inputs and does not optimize width. (Their results with per-step input sequences carry no such restriction, but answer a different question.) Bounded-width approximation by feedforward networks was developed by Hanin and Sellke [2017], Park et al. [2020], Telgarsky [2016]. Bournez et al. [2025] contains two distinct results: a width-3 network simulating one TM step exactly on the fractal encoding set, and a separate width-12 uniform approximation theorem for arbitrary continuous piecewise-affine maps on convex domains. Theorem 3 improves neither width. It establishes a different property: a single width-4 network whose iterates are exact on encoded inputs and certify non-encoded inputs, uniformly over the whole convex cube [0,1]4[0,1]^4 (Section 3.1 explains why neither prior result yields this). Verification of ReLU networks was previously known to be NP-hard via SMT-style encodings Katz et al. [2017]; (Th.7) lifts this to the full NP / NEXP / RE spectrum along the time bound, and (Th.10) extends it to smooth activations at width 6. Training hardness is known up to ∃R\exists \mathbb{R}-completeness Blum and Rivest [1988], Abrahamsen et al. [2021], Froese et al. [2022]. The question we study is also the narrow-network analogue of a line of work on how expressive power grows with the number of sequential steps: Merrill and Sabharwal [2024] show that transformers gain expressive power as the number of chain-of-thought steps grows, and ours is the same trade-off in a different architecture class, pushed to its limit. Finally, the Neural ODE consequence (Th.50) uses the discrete-to-continuous correspondence Chen et al. [2018], Duan et al. [2024]. 1^1

modeinput domainguaranteewidthactivation
Siegelmann-Sontag [1991, 1994, 1999]recurrentfractal DD1,3\mathbb{DD}_{1,3}exact TM simulationnot optimizedsaturated linear
Hanin and Sellke [2017] Park et al. [2020]feedforwardcompact Rd\mathbb{R}^{d}uniform approx.d+1d+1 to d+4d+4ReLU
Bournez et al. [2025], main thm.feedforwardconvex [0,1]d[0,1]^{d}uniform approx. of CPAMs12ReLU
Bournez et al. [2025], Thm. 23iteratedfractal DD1,3\mathbb{DD}_{1,3}exact TM step; no claim off fractal3ReLU
Bournez et al. [2026]iteratedfractal + convexNP-hardness via 3-SAT3, 4ReLU
this paper, Th.3iteratedconvex [0,1]4[0,1]^{4}exact TM simulation + certificate4ReLU
this paper, Th.10bothconvex [0,1]d[0,1]^{d}robust verif. NP-c.6smooth ρ\rho

Table 1: Positioning. The mode column distinguishes feedforward statements from statements about the iterates of a fixed block. (Th.3) improves neither width of Bournez et al. [2025]: it is the first exact TM simulation whose soundness extends to a full-dimensional convex input region, which is what the NEXP and undecidability statements require.