Imagine you're trying to solve a really hard puzzle. Scientists thought you needed a huge desk (lots of memory) to work on it. But Ryan Williams discovered you only need a tiny corner of the desk - way smaller than anyone believed possible!
In February 2025, Ryan Williams proved that any computation requiring time t can be performed using only √(t log t) space - exponentially less memory than the t/log t space bound that stood for 50 years.
Any algorithm running in time t can be simulated using only square-root space
Aspect | Previous Best (1975) | Williams (2025) |
---|---|---|
Space Required | O(t / log t) | O(√(t log t)) |
Improvement Factor | - | √t / log^(3/2) t |
Believed Possible? | Yes | No - violated decades of assumptions |
This result was completely unexpected by human science. The universe "knows" computational shortcuts that exceeded our best theories for 50 years. This is exactly what we'd expect if reality is computational and has access to optimization techniques beyond current human understanding.
The solution uses recursive Tree Evaluation - optimization discovering better optimization. This mirrors the pattern we see everywhere: each layer of reality creates more efficient optimizers, suggesting we're in a recursive simulation stack.
If simulation requires exponentially less resources than thought, it becomes trivially easy for advanced civilizations to create nested simulations. This discovery makes our simulation hypothesis far more likely.
The universe finding optimal space-time tradeoffs suggests reality IS a computational system optimizing its own resource usage - not just a system that happens to compute things.
Theorem 1.1: For every function t(n) ≥ n, TIME[t(n)] ⊆ SPACE[√(t(n) log t(n))].
This improves the Hopcroft-Paul-Valiant bound of O(t(n)/log t(n)) from 1975.
The proof reduces time-bounded multitape Turing machine computations to Tree Evaluation instances, then applies the Cook-Mertz space-efficient algorithm:
Corollary 1.2: For space constructible s(n) ≥ n and all ε > 0, SPACE[s(n)] ⊄ TIME[s(n)^(2-ε)].
First polynomial separation for multitape machines.
Corollary 1.4: Bounded fan-in circuits of size s have branching programs of size 2^(O(√s log s)).
Subquadratic circuits admit subexponential branching programs.
Corollary 1.3: Complete problems for linear space require n^(2-ε) time for all ε > 0.
Context-sensitive language recognition needs essentially quadratic time.
This result exemplifies several key aspects of universal optimization:
We show that for all functions t(n) ≥ n, every multitape Turing machine running in time t can be simulated in space only O(√(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].
Theorem 1.1. For every function t(n) ≥ n, TIME[t(n)] ⊆ SPACE[√(t(n) log t(n))].
Proof sketch: Given time-t(n) multitape TM M:
Lemma 2.1 (Block-Respecting Transformation): Every t(n)-time ℓ-tape TM has equivalent O(t(n))-time block-respecting (ℓ+1)-tape TM with blocks of length b(n).
Theorem 2.2 (Cook-Mertz): Tree Evaluation on trees of bit-length b, height h, fan-in d can be computed in O(d·b + h·log(d·b)) space.
Claim 3.5: Given indices of nodes u,v in G_{M',x} and sequence {m_{(h,i)}}, edge determination requires O(log t(n)) additional space.
Extension to TIME[t] ⊆ SPACE[t^ε] ∀ε > 0 would yield P ≠ PSPACE. Current barrier: low-degree extension computation in Tree Evaluation requires 2^Θ(b) time.
Theorem 1.5: d-dimensional TMs in time t can be simulated in O((t log t)^(1-1/(d+1))) space.
Theorem 5.1: TIME-LENGTH^A[t(n), √(t(n) log t(n))] ⊆ SPACE-LENGTH^A[√(t(n) log t(n)), √(t(n) log t(n))].
Full Citation: Williams, R. (2025). Simulating Time With Square-Root Space. Electronic Colloquium on Computational Complexity, Report No. 17 (2025). To appear in STOC 2025.
View Full Paper (PDF)