HackerPapers

arXiv:2502.17779cs.CC

Simulating Time With Square-Root Space

R. Ryan Williams

Abstract

We show that for all functions $t(n) \geq n$, every multitape Turing machine running in time $t$ can be simulated in space only $O(\sqrt{t \log t})$. This is a substantial improvement over Hopcroft, Paul, and Valiant's simulation of time $t$ in $O(t/\log t)$ space from 50 years ago [FOCS 1975, JACM 1977]. Among other results, our simulation implies that bounded fan-in circuits of size $s$ can be evaluated on any input in only $\sqrt{s} \cdot poly(\log s)$ space, and that there are explicit problems solvable in $O(n)$ space which require $n^{2-\varepsilon}$ time on a multitape Turing machine for all $\varepsilon > 0$, thereby making a little progress on the $P$ versus $PSPACE$ problem. Our simulation reduces the problem of simulating time-bounded multitape Turing machines to a series of implicitly-defined Tree Evaluation instances with nice parameters, leveraging the remarkable space-efficient algorithm for Tree Evaluation recently found by Cook and Mertz [STOC 2024].

arXiv comments
To appear in ACM STOC 2025
Journal reference
DOI
Subjects
cs.CCComputational Complexity

On Hacker News

Linked by 4 identifiable commenters in 4 comments across 3 threads, from May 2025 to Mar 2026. Found in 6 HN submissions from Mar 2025 to Jul 2025. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments3 threads

    • https://arxiv.org/abs/2502.17779 Link to paper

      trueismyworkView on HNParent context

    • The author of the paper also notes how the result gives an upper bound for how well we can 'trade space for time' in the worst case: > In this paper, we make another step towards separating P from PSPACE, by showing that there are problems solvable in O(n) space that cannot be…

      LegionMammal978View on HNParent context

    • Minus the fuzz: A multitape Turing machine running in time t can be simulated using O(sqrt(t log t)) space (and typically more than t time). https://arxiv.org/abs/2502.17779

      cpercivaView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.