That classic result was a way to transform any algorithm with a given time budget into a new algorithm with a slightly smaller space budget. Williams saw that a simulation based on squishy pebbles would make the new algorithmâs space usage much smallerâroughly equal to the square root of the original algorithmâs time budget. That new space-efficient algorithm would also be much slower, so the simulation was not likely to have practical applications. But from a theoretical point of view, it was nothing short of revolutionary.
For 50 years, researchers had assumed it was impossible to improve Hopcroft, Paul and Valiantâs universal simulation. Williamsâ ideaâif it workedâwouldnât just beat their recordâit would demolish it.
âI thought about it, and I was like, âWell, that just simply canât be true,ââ Williams said. He set it aside and didnât come back to it until that fateful day in July, when he tried to find the flaw in the argument and failed. After he realized that there was no flaw, he spent months writing and rewriting the proof to make it as clear as possible.
At the end of February, Williams finally put the finished paper online. Cook and Mertz were as surprised as everyone else. âI had to go take a long walk before doing anything else,â Mertz said.
Valiant got a sneak preview of Williamsâ improvement on his decades-old result during his morning commute. For years, heâs taught at Harvard University, just down the road from Williamsâ office at MIT. Theyâd met before, but they didnât know they lived in the same neighborhood until they bumped into each other on the bus on a snowy February day, a few weeks before the result was public. Williams described his proof to the startled Valiant and promised to send along his paper.
âI was very, very impressed,â Valiant said. âIf you get any mathematical result which is the best thing in 50 years, you must be doing something right.â
PSPACE: The Final Frontier
With his new simulation, Williams had proved a positive result about the computational power of space: Algorithms that use relatively little space can solve all problems that require a somewhat larger amount of time. Then, using just a few lines of math, he flipped that around and proved a negative result about the computational power of time: At least a few problems canât be solved unless you use more time than space. That second, narrower result is in line with what researchers expected. The weird part is how Williams got there, by first proving a result that applies to all algorithms, no matter what problems they solve.
âI still have a hard time believing it,â Williams said. âIt just seems too good to be true.â
Williams used Cook and Mertzâs technique to establish a stronger link between space and timeâthe first progress on that problem in 50 years.Photograph: Katherine Taylor for Quanta Magazine
Phrased in qualitative terms, Williamsâ second result may sound like the long-sought solution to the P versus PSPACE problem. The difference is a matter of scale. P and PSPACE are very broad complexity classes, while Williamsâ results work at a finer level. He established a quantitative gap between the power of space and the power of time, and to prove that PSPACE is larger than P, researchers will have to make that gap much, much wider.
Thatâs a daunting challenge, akin to prying apart a sidewalk crack with a crowbar until itâs as wide as the Grand Canyon. But it might be possible to get there by using a modified version of Williamsâ simulation procedure that repeats the key step many times, saving a bit of space each time. Itâs like a way to repeatedly ratchet up the length of your crowbarâmake it big enough, and you can pry open anything. That repeated improvement doesnât work with the current version of the algorithm, but researchers donât know whether thatâs a fundamental limitation.
âIt could be an ultimate bottleneck, or it could be a 50-year bottleneck,â Valiant said. âOr it could be something which maybe someone can solve next week.â
If the problem is solved next week, Williams will be kicking himself. Before he wrote the paper, he spent months trying and failing to extend his result. But even if such an extension is not possible, Williams is confident that more space exploration is bound to lead somewhere interestingâperhaps progress on an entirely different problem.
âI can never prove precisely the things that I want to prove,â he said. âBut often, the thing I prove is way better than what I wanted.â
Editorâs note: Scott Aaronson is a member of Quanta Magazineâs advisory board.
Original story reprinted with permission from Quanta Magazine, an editorially independent publication of the Simons Foundation whose mission is to enhance public understanding of science by covering research developments and trends in mathematics and the physical and life sciences.

