\documentclass[11pt]{article} \usepackage[margin=1.1in]{geometry} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{microtype} \usepackage{enumitem} \usepackage{tikz} \usepackage{aliascnt} \addtolength{\skip\footins}{8pt} \usepackage[colorlinks=true]{hyperref} \definecolor{linkred}{rgb}{0.75,0,0.25} \definecolor{refgreen}{cmyk}{0.64,0,0.95,0.4} \hypersetup{linkcolor=refgreen,citecolor=linkred,urlcolor=linkred,pdftitle={Separating Nondeterministic Time from Deterministic Space},pdfauthor={Charlie Cruz},pdfsubject={Computational Complexity},pdfkeywords={nondeterministic time, deterministic space, time-space tradeoffs, simulating time by space, multitape Turing machine, counting complexity, Exponential Time Hypothesis, formal verification}} \usepackage[capitalise,nameinlink]{cleveref} \theoremstyle{definition} \newtheorem{theorem}{Theorem}[section] \newaliascnt{lemma}{theorem}\newtheorem{lemma}[lemma]{Lemma}\aliascntresetthe{lemma} \newaliascnt{proposition}{theorem}\newtheorem{proposition}[proposition]{Proposition}\aliascntresetthe{proposition} \newaliascnt{corollary}{theorem}\newtheorem{corollary}[corollary]{Corollary}\aliascntresetthe{corollary} \newaliascnt{definition}{theorem}\newtheorem{definition}[definition]{Definition}\aliascntresetthe{definition} \theoremstyle{remark} \newaliascnt{remark}{theorem}\newtheorem{remark}[remark]{Remark}\aliascntresetthe{remark} \crefname{lemma}{Lemma}{Lemmas} \crefname{proposition}{Proposition}{Propositions} \crefname{corollary}{Corollary}{Corollaries} \crefname{definition}{Definition}{Definitions} \crefname{remark}{Remark}{Remarks} \crefname{appendix}{Appendix}{Appendices} \newcommand{\NTIME}{\mathsf{NTIME}} \newcommand{\TIME}{\mathsf{TIME}} \newcommand{\DSPACE}{\mathsf{DSPACE}} \newcommand{\NSPACE}{\mathsf{NSPACE}} \newcommand{\ATIME}{\mathsf{ATIME}} \newcommand{\BPTIME}{\mathsf{BPTIME}} \newcommand{\PPTIME}{\mathsf{PPTIME}} \newcommand{\ParTIME}{\oplus\mathsf{TIME}} \newcommand{\ModTIME}{\mathsf{Mod}_r\mathsf{TIME}} \newcommand{\CeqTIME}{\mathsf{C}_{=}\mathsf{TIME}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\N}{\mathbb{N}} \newcommand{\poly}{\operatorname{poly}} \newcommand{\polylog}{\operatorname{polylog}} \newcommand{\acc}{\mathrm{acc}} \newcommand{\run}{\mathrm{run}} \newcommand{\row}{\mathrm{row}} \newcommand{\col}{\mathrm{col}} \newcommand{\wt}{\operatorname{wt}} \newcommand{\out}{\mathrm{out}} \newcommand{\inn}{\mathrm{in}} \newcommand{\norm}[1]{\lVert #1\rVert} \newcommand{\ip}[2]{\langle #1,#2\rangle} \newcommand{\Nup}{N^{\uparrow}} \newcommand{\Ndown}{N^{\downarrow}} \crefname{equation}{}{} \makeatletter\@beginparpenalty=0 \@endparpenalty=0 \makeatother \title{Separating Nondeterministic Time\\ from Deterministic Space} \author{Charlie Cruz\thanks{Rice University: \texttt{cjh16@rice.edu}.}} \date{\vspace{-2em}} \begin{document} \maketitle \begin{abstract} We show that every nondeterministic multitape Turing machine running in time $t(n)\ge n$ can be simulated deterministically in space $O(t/\sqrt{\log t})$. By the space hierarchy theorem, $\NTIME[n]\subsetneq\DSPACE[n]$. Hopcroft, Paul and Valiant simulated deterministic time $t$ in space $O(t/\log t)$ by recomputing intermediate configurations when needed. For nondeterministic machines this fails, because a second run may make different choices. Instead, we recompute counts of computations as values of sparse networks. From the grid recursion behind Anthropic's refutation of the Exponential Time Hypothesis and new signed decompositions based on walks on the Boolean cube, we build an integer formula for each value and evaluate it depth first, one bit at a time. Because every bit of the count is available, the same space bound holds for unbounded-error probabilistic time, giving $\PPTIME[n]\subsetneq\DSPACE[n]$. Pushing our counting method to space $t/\log t$ would count the satisfying assignments of $3$-CNF formulas faster than any known algorithm. All proofs are formally verified in Lean. \end{abstract} \section{Introduction} How much memory does a computation really need? A central goal of complexity theory is to understand how time and space relate to each other. A nondeterministic machine running in time $t$ can be simulated deterministically in space $t$ by trying its choice sequences one after another and reusing the space. For deterministic machines one can do much better. Hopcroft, Paul and Valiant simulated time $t$ in space $O(t/\log t)$~\cite{HPV77}, and Williams, using the tree evaluation algorithm of Cook and Mertz~\cite{CM24}, improved this to $O(\sqrt{t\log t}\,)$~\cite{Wil25}. Both simulations save space the same way, by recomputing intermediate results instead of storing them. For nondeterministic machines, recomputation raises a consistency problem. As Hopcroft, Paul and Valiant observed, a computation that is run again may make different choices, and then the two runs need not fit together~\cite[\S2]{HPV75}. They asked whether $\NTIME[t\log t]\subseteq\NSPACE[t]$, and Santhanam later studied whether $\NTIME[t]=\NSPACE[t]$ for constructible $t$~\cite{San01}. Paterson simulated nondeterministic time $t\ge n^2$ in deterministic space $O(\sqrt t)$ for single-tape machines~\cite{Pat72}. For multitape machines, we know of no $o(t)$-space simulation of nondeterministic time $t$ predating the recent refutations of the Exponential Time Hypothesis. We show that the algebraic decompositions behind those refutations give deterministic space $O(t/\sqrt{\log t})$. \begin{theorem}\label{thm:main} \postdisplaypenalty=10000 For every function $t(n)\ge n$, \[ \NTIME[t]\subseteq\DSPACE\bigl[t/\sqrt{\log t}\,\bigr]. \] The simulating machine runs in time $2^{O(t/\sqrt{\log t})}$, and $t$ need not be constructible. \end{theorem} Although $\mathsf{PSPACE}$ is widely believed to contain problems outside $\mathsf P$, and even outside $\mathsf{NP}$, neither separation is known. Finer separations follow from space-efficient simulations: Hopcroft, Paul and Valiant's simulation yields linear-space problems that deterministic multitape machines cannot solve in time $o(n\log n)$, and Williams's simulation improves this lower bound to $n^{2-\varepsilon}$ for every $\varepsilon>0$. By contrast, earlier separations relating nondeterministic time and small space restricted time and space simultaneously, as in $\NTIME[n]\not\subseteq\mathsf{DTISP}[n^c,n^{o(1)}]$ for some $c>1$~\cite{vM06}; to our knowledge, no linear-space problem was previously known to require superlinear nondeterministic time. Combined with the space hierarchy theorem, \cref{thm:main} gives one. \begin{corollary}\label{cor:sep}\leavevmode \begin{enumerate}[label=(\roman*)] \item $\NTIME[n]\subsetneq\DSPACE[n]$. More generally, $\NTIME[t]\subsetneq\DSPACE[t]\subseteq\NSPACE[t]$ for every space-constructible $t(n)\ge n$. \item $\NTIME[t\sqrt{\log t}\,]\subseteq\DSPACE[t]$ for every $t(n)\ge n$. \item There is a language $\mathcal L\in\DSPACE[n]$ such that every nondeterministic machine deciding $\mathcal L$ or its complement takes, for some $c>0$, at least $c\,n\sqrt{\log n}$ steps on some input of every large length $n$. \item The same holds for unbounded-error probabilistic time: $\PPTIME[t]\subsetneq\DSPACE[t]$ for every space-constructible $t(n)\ge n$, so $\PPTIME[n]\subsetneq\DSPACE[n]$ and $\BPTIME[n]\subsetneq\DSPACE[n]$, and (iii) holds for probabilistic machines that decide $\mathcal L$ or its complement with unbounded error. \end{enumerate} \end{corollary} Part~(i) settles the question Santhanam studied in the negative. Combined with the theorem of Paul, Pippenger, Szemer\'edi and Trotter that $\TIME[n]\subsetneq\NTIME[n]$~\cite{PPST83}, it makes both inclusions in $\TIME[n]\subseteq\NTIME[n]\subseteq\DSPACE[n]$ strict. Part~(ii) makes partial progress on the question of Hopcroft, Paul and Valiant, obtaining their inclusion with $\sqrt{\log t}$ in place of $\log t$ and with deterministic space in place of nondeterministic space. Part~(iii) is a lower bound proved by an algorithm, much as Hopcroft, Paul and Valiant's simulation separated deterministic time from space~\cite{HPV77}. To prove \cref{thm:main}, we count the accepting choice strings. Suppose two groups of time intervals share some boundary data $\theta$ (the states, head positions and tape contents that pass between them). If $A(\theta)$ and $B(\theta)$ count the local choice strings on the two sides that are consistent with $\theta$, then \[ \sum_\theta A(\theta)\,B(\theta) \] counts the compatible pairs. Each factor depends on $\theta$ alone, so it can be recomputed whenever it is needed, and the two sides always fit together. Because $\theta$ can be as long as the computation, storing the index of such a sum takes linear space. To shorten these indices, we use the counting algorithms behind two recent refutations~\cite{Ope26,Ant26} of the Exponential Time Hypothesis, the conjecture that $3$-SAT on $n$ variables needs time $2^{\Omega(n)}$~\cite{IP01}. These algorithms count the satisfying assignments of a $3$-CNF formula with $m$ clauses in time $2^{O(m/\sqrt{\log m})}$~\cite[App.~D.2]{Ope26} and~\cite[Main Theorem]{Ant26}; before them, no $2^{o(m)}$ algorithm was known. To apply these algorithms to a computation, one must first encode it. Standard reductions encode a computation of length $t$ as a formula of size $O(t\log t)$~\cite{PF79,Coo88}, at which size the bound $2^{O(t\sqrt{\log t})}$ is worse than trying all $2^t$ choice strings. The blocking of Hopcroft, Paul and Valiant uses only $O(t)$ variables, but its constraints have arity $\Theta(\log t)$, and the resulting network is too large to store in space $o(t)$. We therefore need a counting algorithm that reads the network through local queries and computes each bit of its value in space $O(t/\sqrt{\log t})$; \cref{thm:transfer} reduces \cref{thm:main} to this task. We build such an algorithm from the grid recursion of Anthropic~\cite{Ant26}, replacing its algebraic decompositions with new signed decompositions and tracking progress with a quadratic potential also studied by Zhuang~\cite{Zhu26}. Evaluating the resulting integer formula depth first gives the space bound. The $\sqrt{\log t}$ saving comes from roughly $\log\log t$ merges, each of which halves the potential. Because the simulator can compute any bit of the exact count, it handles unbounded-error probabilistic computation as well, which places $\PPTIME[t]$ and $\BPTIME[t]$ in $\DSPACE[t/\sqrt{\log t}\,]$ (\cref{thm:counting-classes}) and gives part~(iv) of \cref{cor:sep}. \subsection{Overview of the proof}\label{sec:overview} Using the tape blocking of Hopcroft, Paul and Valiant, we first turn a nondeterministic computation of length $t$ into a sparse counting problem. We split the $t$ steps into intervals of roughly $\log t$ steps and each tape into blocks of the same length. Each head moves by at most one block per interval, so a head schedule recording these moves takes $O(t/\log t)$ bits and determines which blocks each interval visits. For a fixed schedule, we introduce a Boolean variable for every bit of state, head offset and tape content an interval leaves behind, and place on each interval a constraint counting the consistent local choice strings (with the last interval requiring acceptance). Since a tape block stays unchanged between visits, each variable meets at most two constraints; taking constraints as vertices and variables as edges yields a network $G$ of size $s=O(t)$. Its value $Z(G)$, the sum over edge assignments of the product of constraints, counts the accepting choice strings following the schedule; the simulator loops over all schedules and accepts when some $Z(G)>0$. It remains to compute any bit of $Z(G)$ in space $O(s/\sqrt{\log s})$. We write $Z(G)$ as an integer formula of sums and products indexed by bit strings. By the depth-first evaluation principle of Borodin~\cite{Bor77} and Lokshtanov and Nederlof~\cite{LN10}, any bit of such a formula can be computed column by column in space proportional to the cost of a root-to-leaf path (\cref{def:formula,lem:formula}). Summing over all $O(s)$ edge bits directly uses linear space, so we want root-to-leaf path cost $O(s/\sqrt{\log s})$. We shorten the indices by repeatedly merging nodes in a grid. As in Williams's $2$-CSP algorithm~\cite{Wil05}, we group the vertices of $G$ into $q$ nodes ($s^{1/6}0$ such that, for all sufficiently large $n$, the machine visits more than $c\,S(n)$ work cells on some input of length $n$. \end{lemma} \begin{proof}[Proof of \cref{cor:sep}] (i) Let $\mathcal L_t$ be the language of \cref{lem:hierarchy} for $S=t$. By \cref{thm:main}, every language in $\NTIME[t]$ is decided in space $O(t/\sqrt{\log t})$, which is less than $c\,t(n)$ for every $c>0$ and all large $n$. Thus $\mathcal L_t\notin\NTIME[t]$, while $\NTIME[t]\subseteq\DSPACE[t]$. Since $\NTIME[t]\subseteq\NSPACE[t]$ and $\mathcal L_t\in\DSPACE[t]\subseteq\NSPACE[t]$, we also have $\NTIME[t]\subsetneq\NSPACE[t]$. (ii) If $T=t\sqrt{\log t}$, then $\log T\ge\log t$, so $T/\sqrt{\log T}\le t$. (iii) The argument of~(i), applied to a single nondeterministic machine, is in \cref{app:proofs}. (iv) The same arguments apply with \cref{thm:counting-classes} in place of \cref{thm:main}, since it holds for every $t(n)\ge n$ as well. \end{proof} \section{Bitwise evaluation of integer formulas}\label{sec:formulas} To compute a given bit of a sum, the evaluator sweeps from bit $0$ up to the target position, reading one bit from each summand at each column and maintaining a carry. This works even for sums with exponentially many terms, as in Valiant's exponential sums~\cite{Val79}. For a product of many factors it first forms a balanced tree of binary products. At a sum with $2^w$ children the evaluator keeps one $w$-bit index. At a product it can have $w$ binary multiplications open, each with its own bit position and carry. The evaluator also needs a way to recover the next operation from its address in the formula. \begin{definition}\label{def:formula} A \emph{formula} is a finite rooted tree in which every inner node is a sum node or a product node with an index length $w\ge0$; such a node has fan-in $2^w$, one child for each index in $\{0,1\}^w$, and its value is the sum or product, respectively, of the values of its children. Each leaf is labeled by an integer, its value. A node is named by its \emph{address}, the sequence of indices on the path from the root to it, each written in binary and preceded by its length in a self-delimiting code (such as the Elias gamma code~\cite{Eli75} of the length plus $1$), so that indices of length $0$ are visible. For $\ell\ge1$, charge each sum node of index length $w$ the amount $w+\ell$ and each product node of index length $w$ the amount $\ell(w+1)$; the \emph{$\ell$-cost} of a formula is the largest total charge of the inner nodes on a path from the root to a leaf. A formula given by an input is \emph{$S$-explicit} if some always-halting deterministic machine (an \emph{address machine}), reading the input and an address, computes in space $S$ the kind and index length of the node there and, at a leaf, its value in binary; this is a uniformity condition in the spirit of Ruzzo's direct connection language~\cite{Ruz81}. \end{definition} The charges match what the evaluator of \cref{lem:formula} keeps, with $\ell$ standing for the length of a bit position. A sum node keeps its index, current column and carry, and a product node, unfolded into $w$ levels of binary products, keeps a bit position and a carry at each level. The address machine starts every query afresh, so the evaluator can reuse its $S$ cells. Brute force is already a formula of this kind. For a network $G$ with $M$ edges, take a sum node of index length $M$, with one child for each edge assignment $x\in\{0,1\}^M$. Each child is a product node of index length $\lceil\log|V(G)|\rceil$, with the leaf $f_v(x|_{\delta(v)})$ at the index for vertex $v$ and the leaf $1$ at indices that name no vertex. This formula has value $Z(G)$. Its $\ell$-cost is $M+O(\ell\log s)$, and with logspace access it is $O(\log s)$-explicit. The evaluation computes bits, and values may be negative. Bit $j$ of an integer $V$ means bit $j$ of the least nonnegative residue of $V$ modulo $2^{j+1}$, so that a negative integer has its bits in two's complement. \begin{proposition}\label{lem:formula} Let $\ell\ge1$, and let a formula of $\ell$-cost $D$, with index lengths below $2^\ell$, be $S$-explicit for an input of length $n$, where $S\ge\log(n+2)$ and every leaf value has absolute value below $2^S$. Given $j<2^\ell$, bit $j$ of its value can be computed in space $O(D+S+\ell)$ and time $2^{O(D+S+\ell)}$. \end{proposition} \begin{proof} First replace every product node of index length $w$ by a balanced binary tree of depth $w$, whose left and right choices are the bits of the old index. For a binary string $z$ of length at most $w$, let $P_z$ be the product of the children whose index begins with $z$, so that $P_z=P_{z0}P_{z1}$ for $|z|2^{\bar T-1}$ by scanning the bits of $N_{\mathrm{ch}}$ from the top. For $\ParTIME$, it reads bit~$0$ of $N_{\acc}$. For $\ModTIME$, it tests $N_{\acc}\not\equiv0\pmod r$ by accumulating the residue from the highest of the $2T$ bits down in $O(\log r)$ bits of state. For $\CeqTIME$, it compares $N_{\acc}$ and $N_{\mathrm{rej}}$ bit by bit. Together with the schedule loop and the carry, each decision runs in space $O(T/\sqrt{\log T})$ and time $2^{O(T/\sqrt{\log T})}$, where $T=O(t(|x|))$. \end{proof} \Cref{thm:counting} also gives a small-space version of the counting algorithms of~\cite{Ope26,Ant26}. \begin{corollary}\label{cor:3sat} Given a $3$-CNF formula with $m\ge2$ clauses over variables $1,\dots,n$, each occurring in at least one clause, the number of its satisfying assignments can be computed in space $O(m/\sqrt{\log m})$ and time $2^{O(m/\sqrt{\log m})}$. \end{corollary} \begin{proof} Put a vertex at every clause and a vertex at every occurrence of a variable. Join each occurrence to its clause, and join the occurrences of each variable in a path, in the order of the formula. An occurrence vertex requires the bits on all its edges to agree, and a clause vertex tests its clause, reading each literal, with its sign, from the edge to its occurrence. On each path a single truth value then fixes all the bits, so the satisfying assignments correspond one-to-one to the contributing edge assignments, because every variable occurs. There are at most $3m$ edges to clauses and at most $3m$ edges on paths, every degree is at most $3$, and every function is $0/1$. Since $n\le3m$, the formula has a description of length $O(m\log m)$, and the incidences and functions are found by scans with counters of $O(\log m)$ bits. These networks therefore have logspace access at size $s=6m$, and \cref{thm:counting} computes every bit of the count. \end{proof} \section{Limits and open problems}\label{sec:discussion} Our simulation computes exact counts, so a stronger space bound would count faster. By \cref{cor:3sat}, evaluating networks with logspace access in space $D(s)\ge\log s$ counts the satisfying assignments of $3$-CNF formulas with $m$ clauses in time $2^{O(D(O(m)))}$. Improving the space bound to $D(s)=s/\log s$ or $s^{1-\varepsilon}$ would therefore improve the known $2^{O(m/\sqrt{\log m})}$ bound~\cite{Ope26,Ant26}. Williams's simulation of deterministic time follows a single computation and saves a polynomial factor in space~\cite{Wil25}. A nondeterministic machine has many computations, and we follow them all by counting. This ties our space bound to the speed of counting and also places $\PPTIME[t]$ in the same space as $\NTIME[t]$ (\cref{thm:counting-classes}). Without signed cancellation, decomposing crossings into polynomially many pieces gives no saving at leading order. As in~\cite{Ant26}, a function $f$ factors through $e$ bits if $f(z,z')=\sum_{\theta\in\{0,1\}^e}g(z,\theta)h(z',\theta)$ for integer-valued functions $g,h$, and over OR and AND if the same holds with $\bigvee$ and $\wedge$ for Boolean-valued ones. Write $r_i$ and $c_i$ for the numbers of bits through which a piece $\Pi_i$ of the crossing of two strings factors row-wise and column-wise. \begin{proposition}\label{prop:boolean} Let $\Pi_1,\dots,\Pi_N\colon(\{0,1\}^b)^4\to\{0,1\}$ satisfy $\bigvee_i\Pi_i=[x=v][y=u]$, and let each $\Pi_i$ factor over OR and AND through $r_i$ bits row-wise and $c_i$ bits column-wise. Then $r_i+c_i\ge4b-2\log N$ for some $i$. \end{proposition} \begin{proof} Each $\Pi_i$ is at most the crossing, so in both directions it is a partial permutation matrix, and some $\Pi_i$ has at least $2^{2b}/N$ ones. A factorization through $e$ bits covers the ones of $\Pi_i$ by $2^e$ rectangles of ones of $\Pi_i$, and by the standard fooling-set argument~\cite{KN97} such a rectangle contains at most one nonzero entry of a partial permutation matrix. Hence $2^{r_i}$ and $2^{c_i}$ are at least $2^{2b}/N$. \end{proof} Because our encoding represents a $b$-bit string with weight $b(b+1)/2=\Theta(b^2)$ and codes a label of weight $W$ in $O(\sqrt W)$ bits (\cref{lem:codes}), weight budgets scale as squared bit widths. For two $b$-bit diagonals, the crossing has total squared bit width $2b^2$, whereas for $\log N=o(b)$ some Boolean piece has $r_i^2+c_i^2\ge\frac12(r_i+c_i)^2\ge8b^2-o(b^2)$, four times as much. By contrast, the row- and column-cut budgets of our signed pieces sum to $2H$, twice the weight of the crossing. Over the integers, the corresponding factor~$2$ on squared bit widths is optimal even when one diagonal is empty, since both cuts then separate the remaining corners $x$ and $v$. \begin{proposition}\label{prop:barrier} Let $\Pi_1,\dots,\Pi_N\colon\{0,1\}^a\times\{0,1\}^a\to\Z$ satisfy $\sum_i\Pi_i(x,v)=[x=v]$, and let each $\Pi_i$ factor across the cut separating $x$ from $v$ through $r_i$ bits (row-wise) and through $c_i$ bits (column-wise). Then $\min(r_i,c_i)\ge a-\log N$ for some $i$. \end{proposition} \begin{proof} Both cuts separate $x$ from $v$, and any function that factors through $e$ bits has rank at most $2^e$ over $\mathbb Q$. The ranks of the $\Pi_i$ sum to at least the rank $2^a$ of the equality matrix, so some $\Pi_i$ has rank at least $2^a/N$, whence $2^{r_i}\ge2^a/N$ and $2^{c_i}\ge2^a/N$. \end{proof} For $\log N=o(a)$, some piece passes nearly all $a$ bits through each cut, so its squared widths sum to at least $2a^2-o(a^2)$, twice that of the crossing to leading order. Thus polynomially many pieces cannot keep their squared widths within a factor below $2$ of the crossing's for every rectangle shape. The barrier concerns pieces that are narrow for every shape of rectangle. In Anthropic's equal-width recursion~\cite{Ant26} the condition is $r_i+c_i\le4\alpha b+O(\log b)$. Restricting $y=u=0^b$ and applying \cref{prop:barrier} gives only $\alpha\ge1/2$, while Anthropic's pieces have $\alpha=1/\sqrt2$. The barrier therefore leaves room for better equal-width pieces and different recursions, as well as for methods tailored to blocked computations or methods that follow single computations. Anthropic relates the question of better equal-width pieces to compositions of quadratic forms~\cite{Hur98,Sha00} and partition rank~\cite{Nas20}. In our proof the square root has one source: a label of weight $W$ takes $O(\sqrt W)$ bits because $W$ has $\exp(\Theta(\sqrt W))$ partitions, and each merge gains the $\sqrt2$ factor that this square root gives when two codes become one. The same count appears in OpenAI's contraction, where recursive children are indexed by weighted multisets of modes~\cite[(D.15)]{Ope26}. Beating $\sqrt{\log t}$ by this route would need the recursion to stay within labels with shorter codes, or merges saving more than a factor of $\sqrt2$. \begin{remark}[Relativization]\label{rem:relativize} In the sense of Baker, Gill and Solovay~\cite{BGS75}, \cref{thm:main} and the separation of \cref{cor:sep}(i) do not relativize. Conventions for space-bounded oracle machines differ~\cite{LL76,RST84}; ours have a query tape that counts toward space. Let $\mathsf{BSA}$ be the set of strings $\langle\mathcal M\rangle\#x\#1^b$ such that $2^{|\langle\mathcal M\rangle|}\le b$ and the deterministic multitape machine $\mathcal M$ accepts $x$ in space $b$: each of its configurations on $x$ before it accepts (state, input head position in binary, visited work cells) has a description of at most $b$ bits. The padding lets $\langle\mathcal M\rangle$ be decoded in space $O(b)$. A machine with this oracle running in space $O(s(n))$, for $s(n)\ge\log n$, asks queries of length $O(s(n))$ and can answer each in space $O(s(n))$ without the oracle, so $\DSPACE^{\mathsf{BSA}}[s]=\DSPACE[s]$. One query decides any language in $\DSPACE[n]$ in linear time, and trying the choice strings one at a time gives $\NTIME^A[n]\subseteq\DSPACE^A[n]$ for every oracle $A$. Together, $\TIME^{\mathsf{BSA}}[n]=\NTIME^{\mathsf{BSA}}[n]=\DSPACE^{\mathsf{BSA}}[n]=\DSPACE[n]$. If \cref{thm:main} held relative to $\mathsf{BSA}$, then \[\DSPACE[n]\subseteq\NTIME^{\mathsf{BSA}}[n]\subseteq\DSPACE^{\mathsf{BSA}}[n/\sqrt{\log n}]=\DSPACE[n/\sqrt{\log n}],\] contradicting the space hierarchy theorem. The same argument with $\TIME^{\mathsf{BSA}}[n]$ shows that Hopcroft, Paul and Valiant's simulation does not relativize either: both proofs rely on the locality of multitape blocking, whereas an oracle answer depends on an entire query string at once. \end{remark} The most direct open problem is whether $\NTIME[t]\subseteq\DSPACE[t/\log t]$, matching Hopcroft, Paul and Valiant; even $t/(\log t)^{1/2+\delta}$ ($\delta>0$) would be new. Another is whether $\Sigma_2\TIME[t]\subseteq\DSPACE[o(t)]$. \Cref{lem:formula} bounds only space; an alternating-time evaluation of our formula would give $\NTIME[t]\subseteq\ATIME[t/\sqrt{\log t}]$ for random-access alternating machines, analogous to $\TIME[t]\subseteq\ATIME[t/\log t]$~\cite{DT85}, and we return to it in a later version. \section*{Acknowledgments} I thank my undergraduate advisor, Moshe Vardi, for introducing me to \#SAT and for his help along the way. I also thank the organizers of the ETH Repository, a community archive of preprints and notes on refuting the Exponential Time Hypothesis, for collecting this work. \section*{AI methodology statement}\phantomsection\label{sec:ai} This work began on October 26, 2026, after OpenAI's paper~\cite{Ope26} appeared, with my observation that such counting recursions can be evaluated in small deterministic space. The subsequent development was carried out jointly with Anthropic's Claude and OpenAI's ChatGPT: the models first helped me work through Anthropic's paper~\cite{Ant26}; I proposed simplifications that made the recursion and proof structure coherent; and the models contributed to exploring proof strategies (including the routing pieces of \cref{sec:pieces}), checking proofs, drafting exposition and writing the Lean formalization. I am responsible for all claims. \begin{thebibliography}{PPST83}\small\setlength{\itemsep}{1.5pt} \bibitem[AB09]{AB09} S.~Arora and B.~Barak. \newblock {\em Computational Complexity: A Modern Approach}. \newblock Cambridge University Press, 2009. \bibitem[Ant26]{Ant26} Anthropic (Claude). \newblock A $2^{o(n)}$ time algorithm for 3-SAT. \newblock Manuscript, version of October 26, 2026, \url{https://hexagonmath.org/pdf/2610.00577v1}; Lean development at \url{https://github.com/anthropics/formal-math/tree/main/eth}. \bibitem[BG92]{BG92} R.~Beigel and J.~Gill. \newblock Counting classes: thresholds, parity, mods, and fewness. \newblock {\em Theoret.\ Comput.\ Sci.}, 103(1):3--23, 1992. \bibitem[BGS75]{BGS75} T.~Baker, J.~Gill, and R.~Solovay. \newblock Relativizations of the $\mathsf P=?\,\mathsf{NP}$ question. \newblock {\em SIAM J.\ Comput.}, 4(4):431--442, 1975. \bibitem[Bor77]{Bor77} A.~Borodin. \newblock On relating time and space to size and depth. \newblock {\em SIAM J.\ Comput.}, 6(4):733--744, 1977. \bibitem[CDL01]{CDL01} A.~Chiu, G.~Davida, and B.~Litow. \newblock Division in logspace-uniform $\mathsf{NC}^1$. \newblock {\em RAIRO Theor.\ Inform.\ Appl.}, 35(3):259--275, 2001. \bibitem[CLX09]{CLX09} J.-Y. Cai, P.~Lu, and M.~Xia. \newblock Holant problems and counting {CSP}. \newblock In {\em Proc.\ 41st ACM STOC}, pages 715--724, 2009. \bibitem[CM24]{CM24} J.~Cook and I.~Mertz. \newblock Tree evaluation is in space ${O}(\log n\cdot\log\log n)$. \newblock In {\em Proc.\ 56th ACM STOC}, pages 1268--1278, 2024. \bibitem[Cmp]{Cmp} \newblock {\em Comparator}: checking {L}ean proofs against reference statements. \newblock Software, \url{https://github.com/leanprover/comparator}; merged into Lean core as \texttt{lake comparator} in v4.35.0. \bibitem[Coo88]{Coo88} S.~A. Cook. \newblock Short propositional formulas represent nondeterministic computations. \newblock {\em Inform.\ Process.\ Lett.}, 26(5):269--270, 1988. \bibitem[CSF]{CSF} \newblock {\em CSLib Frontier}: the frontier formalization library for {CSLib}. \newblock Software, revision \href{https://github.com/cslib-community/cslib-frontier/tree/628ad018a74a0d8743a1a628125137197d7d8065}{\texttt{628ad018}}. \bibitem[CSL]{CSL} \newblock {\em CSLib}: a {L}ean library for computer science. \newblock Software, revision \href{https://github.com/leanprover/cslib/tree/98f9a62ac1fafa0d5091bbd78bc24091c5923aab}{\texttt{98f9a62}}. \bibitem[dMU21]{dMU21} L.~de~Moura and S.~Ullrich. \newblock The {L}ean~4 theorem prover and programming language. \newblock In {\em Proc.\ 28th CADE}, volume 12699 of {\em LNCS}, pages 625--635, 2021. \bibitem[DT85]{DT85} P.~W. Dymond and M.~Tompa. \newblock Speedups of deterministic machines by synchronous parallel machines. \newblock {\em J.\ Comput.\ System Sci.}, 30(2):149--161, 1985. \bibitem[Eli75]{Eli75} P.~Elias. \newblock Universal codeword sets and representations of the integers. \newblock {\em IEEE Trans.\ Inform.\ Theory}, 21(2):194--203, 1975. \bibitem[Gil77]{Gil77} J.~Gill. \newblock Computational complexity of probabilistic {T}uring machines. \newblock {\em SIAM J.\ Comput.}, 6(4):675--695, 1977. \bibitem[GW83]{GW83} H.~Galperin and A.~Wigderson. \newblock Succinct representations of graphs. \newblock {\em Inform.\ and Control}, 56(3):183--198, 1983. \bibitem[HPV75]{HPV75} J.~Hopcroft, W.~Paul, and L.~Valiant. \newblock On time versus space and related problems. \newblock In {\em Proc.\ 16th IEEE FOCS}, pages 57--64, 1975. \bibitem[HPV77]{HPV77} J.~Hopcroft, W.~Paul, and L.~Valiant. \newblock On time versus space. \newblock {\em J.\ ACM}, 24(2):332--337, 1977. \bibitem[HR18]{HR18} G.~H. Hardy and S.~Ramanujan. \newblock Asymptotic formulae in combinatory analysis. \newblock {\em Proc.\ London Math.\ Soc.\ (2)}, 17:75--115, 1918. \bibitem[Hur98]{Hur98} A.~Hurwitz. \newblock Ueber die {C}omposition der quadratischen {F}ormen von beliebig vielen {V}ariabeln. \newblock {\em Nachr.\ Ges.\ Wiss.\ G\"ottingen, Math.-Phys.\ Kl.}, pages 309--316, 1898. \bibitem[IP01]{IP01} R.~Impagliazzo and R.~Paturi. \newblock On the complexity of $k$-{SAT}. \newblock {\em J.\ Comput.\ System Sci.}, 62(2):367--375, 2001. \bibitem[KN97]{KN97} E.~Kushilevitz and N.~Nisan. \newblock {\em Communication Complexity}. \newblock Cambridge University Press, 1997. \bibitem[LL76]{LL76} R.~E. Ladner and N.~A. Lynch. \newblock Relativization of questions about log space computability. \newblock {\em Math.\ Systems Theory}, 10:19--32, 1976. \bibitem[LN10]{LN10} D.~Lokshtanov and J.~Nederlof. \newblock Saving space by algebraization. \newblock In {\em Proc.\ 42nd ACM STOC}, pages 321--330, 2010. \bibitem[Mat20]{Mat20} The mathlib Community. \newblock The {L}ean mathematical library. \newblock In {\em Proc.\ 9th ACM SIGPLAN CPP}, pages 367--381, 2020. Revision \href{https://github.com/leanprover-community/mathlib4/tree/bbff2954fe5ee3b7a4b33cc26ef873a1c3277d91}{\texttt{bbff295}}. \bibitem[McG26]{McG26a} S.~McGuire. \newblock Non-trivial simulation of {BPTIME}. \newblock Note, October 30, 2026. \href{https://drive.google.com/file/d/1baDrwOwTmXhucsBidIVig4VnKNj0TSMl/view}{ETH Repository}. \bibitem[Nas20]{Nas20} E.~Naslund. \newblock The partition rank of a tensor and $k$-right corners in $\mathbb F_q^n$. \newblock {\em J.\ Combin.\ Theory Ser.\ A}, 174:105190, 2020. \bibitem[Ope26]{Ope26} OpenAI. \newblock The {E}xponential {T}ime {H}ypothesis is false. \newblock Manuscript, October 17, 2026; revised October 25, 2026. \href{https://github.com/openai/math/blob/main/preprints/The-Exponential-Time-Hypothesis-is-False-October-25-2026/paper.pdf}{OpenAI Math Release}. \bibitem[Pat72]{Pat72} M.~S. Paterson. \newblock Tape bounds for time-bounded {T}uring machines. \newblock {\em J.\ Comput.\ System Sci.}, 6(2):116--124, 1972. \bibitem[PF79]{PF79} N.~Pippenger and M.~J. Fischer. \newblock Relations among complexity measures. \newblock {\em J.\ ACM}, 26(2):361--381, 1979. \bibitem[PPST83]{PPST83} W.~J. Paul, N.~Pippenger, E.~Szemer{\'e}di, and W.~T. Trotter. \newblock On determinism versus non-determinism and related problems. \newblock In {\em Proc.\ 24th IEEE FOCS}, pages 429--438, 1983. \bibitem[PZ83]{PZ83} C.~H. Papadimitriou and S.~Zachos. \newblock Two remarks on the power of counting. \newblock In {\em Proc.\ 6th GI Conference on Theoretical Computer Science}, volume 145 of {\em LNCS}, pages 269--275, 1983. \bibitem[RST84]{RST84} W.~L. Ruzzo, J.~Simon, and M.~Tompa. \newblock Space-bounded hierarchies and probabilistic computations. \newblock {\em J.\ Comput.\ System Sci.}, 28(2):216--230, 1984. \bibitem[Ruz81]{Ruz81} W.~L. Ruzzo. \newblock On uniform circuit complexity. \newblock {\em J.\ Comput.\ System Sci.}, 22(3):365--383, 1981. \bibitem[San01]{San01} R.~Santhanam. \newblock On separators, segregators and time versus space. \newblock In {\em Proc.\ 16th IEEE Conference on Computational Complexity}, pages 286--294, 2001. \bibitem[Sha00]{Sha00} D.~B. Shapiro. \newblock {\em Compositions of Quadratic Forms}. \newblock de Gruyter, Berlin, 2000. \bibitem[SHL65]{SHL65} R.~E. Stearns, J.~Hartmanis, and P.~M. Lewis~II. \newblock Hierarchies of memory limited computations. \newblock In {\em Proc.\ 6th Annual Symposium on Switching Circuit Theory and Logical Design}, pages 179--190, 1965. \bibitem[SS26]{SS26} C.~Strassle and B.~Subercaseaux. \newblock Simulating nondeterministic {T}uring machines in subexponential deterministic time. \newblock Preprint, November 2026, \href{https://arxiv.org/abs/2611.11832}{arXiv:2611.11832}. \bibitem[SWS90]{SWS90} F.~Schipp, W.~R. Wade, and P.~Simon. \newblock {\em Walsh Series: An Introduction to Dyadic Harmonic Analysis}. \newblock With the collaboration of J.~P\'al. Adam Hilger, Bristol, 1990. \bibitem[Val79]{Val79} L.~G. Valiant. \newblock Completeness classes in algebra. \newblock In {\em Proc.\ 11th ACM STOC}, pages 249--261, 1979. \bibitem[vM06]{vM06} D.~van Melkebeek. \newblock A survey of lower bounds for satisfiability and related problems. \newblock {\em Found.\ Trends Theor.\ Comput.\ Sci.}, 2(3):197--303, 2006. \bibitem[Wag86]{Wag86} K.~W. Wagner. \newblock The complexity of combinatorial problems with succinct input representation. \newblock {\em Acta Inform.}, 23(3):325--356, 1986. \bibitem[Wil05]{Wil05} R.~Williams. \newblock A new algorithm for optimal 2-constraint satisfaction and its implications. \newblock {\em Theoret.\ Comput.\ Sci.}, 348(2--3):357--365, 2005. \bibitem[Wil25]{Wil25} R.~Williams. \newblock Simulating time with square-root space. \newblock In {\em Proc.\ 57th ACM STOC}, pages 13--23, 2025. \bibitem[Zhu26]{Zhu26} S.~Zhuang. \newblock Uncrossing wires for 3-{SAT}: a potential that closes the recursion. \newblock Manuscript, October 31, 2026. \url{https://github.com/suquark/NotETHSimplified}. \end{thebibliography} \appendix \section{Deferred proofs}\label[appendix]{app:proofs} \begin{proof}[Proof of \cref{lem:top}] Set $K=q_*/2$ and split the nodes $\{0,1\}^{h_*}$ by their first bit into $K$ vertex groups and $K$ test groups. Listing the vertices of $G$ by name, let $\mathrm{pre}(v)$ be the number of ports of the vertices before $v$, set $D_0=\max\{1,\lceil2M/K\rceil\}$, and assign each vertex $v$ (isolated or not) to vertex group $\min\{K-1,\lfloor \mathrm{pre}(v)/D_0\rfloor\}$. A group $iW'$ go to leaf $0$, and $I=\emptyset$ gives $[\mathcal T=\emptyset][c=0]$. The sum index takes $O(\log(W+2))$ bits for $p,p',c_1,c_0$ and $\mathrm{len}(W')$ bits per target kind in $\mathcal T_1$ (\cref{lem:codes}), totaling $O(\sqrt{W'}+\log(W+2))$ bits. Since the weight at least halves at each level and every nonempty subproblem has weight at least $1$, the depth is at most $\log(W+1)+2$, and the $\ell$-cost is at most \[ \sum_{d=0}^{\lfloor\log(W+1)\rfloor+1}O\bigl(\sqrt{W/2^d}+\log(W+2)+\ell\bigr)=O\bigl(\sqrt W+(\ell+\log(W+2))\log(W+2)\bigr). \] An address machine follows the address from the root, keeping $I$ and a buffer with the code of $\mathcal T$ (encoded at the root from the sorted target lists of $x$, $y$ and $m$). At each step it streams $\mathcal T$ and $\mathcal T_1$ in parallel to check $\mathcal T_1+p'\le\mathcal T$ and~$(*)$. For the first subproblem it copies $\mathcal T_1$ into the buffer; for the second it writes $\mathcal T_2=\mathcal T-\mathcal T_1-p'$ into a second buffer in two synchronized passes (counting distinct types, then emitting gaps and multiplicities) and swaps them. Scanning the sorted lists of $x$, $y$ and $m$ with the buffers gives sources, weights and leaves, using $O(1)$ buffers of $O(\sqrt W+1)$ bits, $O(\log(W+2))$-bit counters and a reused $Q$-bit query workspace. \end{proof} \begin{proof}[Proof of \cref{lem:explicit}] Following the address from the root, the machine keeps the budget array of every clique on the path (at most $q_*^2$ entries of $O(\log s)$ bits per clique, or $O(q_*^2\log s\log h_*)$ bits in all), reused by table entries, with $\mathcal C_0$'s budgets from \cref{lem:top}(c). At a choice sum node, it reads each rectangle's grade and split, checks parity and range, forms $a^\row$ and $a^\col$, and switches to the array of smaller potential; every sum-node index length then follows with $O(\log s)$-bit counters. Along the upward chain of table entries, the machine stores no label copies, keeping only the current node name, the $O(\log s)$-bit offset of its incident labels, and the $O(\log h_*)$ offsets of downward choice blocks (for on-demand grades and splits). At the bottom clique this offset points to the final label; stepping to a parent advances it to that node's slice via prefix sums of $\mathrm{len}(a)$. Validity of a packed label $\tilde\lambda$ is checked by scanning its code (increasing distinct weights with multiplicities). To stream entry $j$'s sorted type-multiplicity list in either direction, it scans $\tilde\lambda$'s code, filters packed types congruent to $j\bmod L$ and inverts the order-preserving map $i\mapsto Li+j$ of~\eqref{eq:pack}, in space $O(\log s)$. Using these streams, an equality test compares two lists entry by entry, a weight test sums $\mu(i)(i+1)$ along the stream, and a leaf of $\mathcal C_0$ is evaluated in space $O(\log s)$ by \cref{lem:top}(c). Inside the recursion for a signed count $\Nup_c$ or $\Ndown_c$, the machine runs the address machine of \cref{lem:transport} with query space $Q=O(\log s)$, supplying its sorted type-multiplicity lists from the views (via \cref{lem:codes}) and the unpacked message stream, in space $O(\sqrt W+\log^2s)=O(F)$ by the bound on $W$ in the proof of \cref{lem:paths}. By \cref{lem:paths} every label budget is at most $\Phi/(q-1)^2\le\Phi_*/h_*$, so every code scanned has $O(F)$ bits and every address offset fits in $O(\log s)$ bits. Because $q_*^2\le s^{2/3}$, the budget arrays take $o(F)$ bits, so the total workspace is $O(F)$ and all subroutines halt. \end{proof} \begin{proof}[Proof of \cref{cor:sep}(iii)] Let $\mathcal L=\mathcal L_S$ for $S(n)=n$, let $\mathcal M$ be a nondeterministic machine deciding $\mathcal L$ or its complement, with running time $T_{\mathcal M}(n)$, and put $T^*(n)=\max(T_{\mathcal M}(n),n)$. Combining \cref{thm:transfer,thm:counting} (and negating the output if $\mathcal M$ decides the complement) gives a deterministic machine deciding $\mathcal L$ in at most $a_1T^*(n)/\sqrt{\log T^*(n)}$ work cells on inputs of length $n$, for a constant $a_1$ and all large $n$. By \cref{lem:hierarchy} there is $a_2>0$ with $a_1T^*(n)/\sqrt{\log T^*(n)}>a_2n$ for all large $n$. Since $T^*(n)\ge n$, this gives $T^*(n)>(a_2/a_1)\,n\sqrt{\log n}$, which exceeds $n$ for large $n$, so $T^*(n)=T_{\mathcal M}(n)$. \end{proof} \section{The almost-everywhere space hierarchy theorem}\label[appendix]{app:hierarchy} Encode deterministic machines as binary strings $\langle\mathcal M\rangle$ listing their states, so $\mathcal M$ has at most $|\langle\mathcal M\rangle|$ states. On input $w$ of length $n$, $\mathcal D$ rejects unless $w=\langle\mathcal M\rangle10^j$ for a machine $\mathcal M$ and $j\ge0$. It marks $S(n)$ cells per work tape and $C_0S(n)$ cells on a counter tape, where $C_0=3+\lceil\log|\Sigma|\rceil$ for $\mathcal D$'s work alphabet $\Sigma$, rejects if $|\langle\mathcal M\rangle|>S(n)$, and otherwise simulates $\mathcal M$ on $w$. It keeps $\mathcal M$'s state and $\langle\mathcal M\rangle$ on work tapes and simulates $\mathcal M$'s work tapes (with head marks) on tracks of one work tape using $c_{\mathcal M}$ cells per cell of $\mathcal M$, where $c_{\mathcal M}$ depends only on $\mathcal M$'s tapes and alphabet. Using its own input head for $\mathcal M$, $\mathcal D$ rejects if the simulated tapes leave the marked cells or the counter overflows; if $\mathcal M$ halts, $\mathcal D$ accepts if and only if $\mathcal M$ rejects, so $\mathcal L_S=\mathcal L(\mathcal D)\in\DSPACE[S]$. While the simulated tapes fit, a configuration of $\mathcal M$ on $w$ is determined by its state, input head position and marked cells (with head marks). Since $|\langle\mathcal M\rangle|\le S(n)$ and $\log n\le S(n)$, for $n>4$ there are at most $|\langle\mathcal M\rangle|(n+2)|\Sigma|^{S(n)}\le2^{S(n)}\cdot2^{S(n)+2}\cdot|\Sigma|^{S(n)}<2^{C_0S(n)}$ configurations. Now let $\mathcal M$ decide $\mathcal L_S$, let $n>\max(|\langle\mathcal M\rangle|,4)$, and suppose $\mathcal M$ visits at most $S(n)/c_{\mathcal M}$ work cells on all inputs of length $n$. On $w=\langle\mathcal M\rangle10^{n-|\langle\mathcal M\rangle|-1}$ the simulated tapes fit, and the simulation finishes before the counter overflows because a halting deterministic computation never repeats a configuration. Then $\mathcal D$ answers opposite to $\mathcal M$ on $w$, a contradiction; hence $c=1/c_{\mathcal M}$ works. \end{document}