
A 50-Year Computing Barrier Falls: How MIT Mathematician Ryan Williams Shrunk Algorithm Memory
One afternoon in July 2024, theoretical computer scientist Ryan Williams sat at his desk at the Massachusetts Institute of Technology trying to tear apart his own work. Two months earlier, he had sketched an algebraic argument that seemed to defy half a century of mathematical consensus. The conclusion looked absurd: an algorithm running for a trillion steps could theoretically be simulated using only a few million slots of memory.
Convinced he had made an elementary blunder, Williams combed through each step. He found no flaws. When he finally uploaded the thirty-page proof to the arXiv preprint server in February 2025, Avi Wigderson—a Turing Award and Abel Prize laureate at the Institute for Advanced Study—fired back an email with a three-word subject line: “You blew my mind.”
The Long Shadow of 1977
At issue was the deepest physical asymmetry in computer science: the relationship between time and space. In computational complexity theory, 'time' measures the discrete sequential steps a machine executes, while 'space' measures the memory required along the way.
Intuitively, space is far more versatile than time. Once a microsecond passes, it is gone forever; a memory register, by contrast, can be cleared and rewritten endlessly. Yet since 1977, researchers had been confined to a meager theoretical baseline established by John Hopcroft, Wolfgang Paul, and Leslie Valiant. They proved that any computation taking time t on a multitape Turing machine could be simulated in space proportional to O(t / log t).
For five decades, that modest logarithmic reduction stood as an immovable ceiling. If a program ran for a billion steps, Hopcroft, Paul, and Valiant’s theorem guaranteed you could shrink its memory footprint to roughly 33 million slots—noticeable, but strictly within the same linear neighborhood. Many theorists assumed that non-trivial computations simply generated too many uncompressible dependencies to permit deeper compression.
The Catalytic Computing Leap
The breakthrough emerged from catalytic computing, an unorthodox paradigm introduced in 2014 by Harry Buhrman, Michal Koucký, and their collaborators. In classical complexity, memory registers must be wiped clean before use. Catalytic computing takes inspiration from chemistry: what if an algorithm could borrow registers already filled with arbitrary, dirty data, perform calculations on top of that noise using reversible operations, and then restore the borrowed memory to its original state?
In 2024, James Cook and Ian Mertz used catalytic mechanics to conquer the long-standing 'tree evaluation problem' at the ACM Symposium on Theory of Computing (STOC). Theorists viewed Cook and Mertz's algorithm as an isolated triumph, but Williams recognized a universal engine. In spring 2024, listening to MIT students present the Cook-Mertz paper in class, Williams realized tree evaluation could serve as a global compression framework.
Quadratic Compression and Beyond
Williams devised a mathematical method to map the execution history of any time-bounded multitape Turing machine directly into an implicitly defined tree evaluation graph. Rather than treating intermediate memory values as rigid markers that each require a dedicated hardware address, he treated computational states as mathematical polynomials. Intermediate data could overlap, combine, and unscramble within shared registers without destroying information.
Williams’ result, which earned the Best Paper Award at STOC 2025, proves that any multitape computation requiring time t can be simulated within space bounded by O(√(t log t)):
- Radical memory reduction: A trillion-step computation that once required nearly a trillion memory units under the 1977 bound can now theoretically be simulated in roughly three million cells.
- Fundamental separation: It formally proves that there exist problems solvable in linear space O(n) that strictly require almost quadratic time—at least n2 - ε steps—for any ε > 0.
- Widening the gap: The proof carves out clear mathematical separation between the fundamental complexity classes P and PSPACE.
“The proof establishes an immutable rule of computational physics: memory is inherently more potent than execution time. Space does not merely store the past; wielded reversibly, it can swallow time whole.”
While running Williams' simulation directly on silicon would be impractical due to exponential time trade-offs, its significance lies in redefining the theoretical horizon. For verification algorithms, compiler design, and cryptographic systems, it provides a foundational shift in how computer scientists understand the limits of computation.
Source: Quanta Magazine

