Separating Nondeterministic Time from Deterministic Space
Version 1 / Dec 02, 2026 / CC BY 4.0
Abstract
We show that every nondeterministic multitape Turing machine running in time can be simulated deterministically in space . By the space hierarchy theorem, .
Hopcroft, Paul and Valiant simulated deterministic time in space 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 . Pushing our counting method to space would count the satisfying assignments of -CNF formulas faster than any known algorithm. All proofs are formally verified in Lean.
Provenance statement
Tools used
- Anthropic
- Claude OpusVersion 5.5
- Lean
- LeanVersion 4
- OpenAI
- ChatGPTVersion 6.1
References
- S. Arora and B. Barak. Computational Complexity: A Modern Approach . Cambridge University Press, 2009.
- Anthropic (Claude). A time algorithm for 3-SAT. Manuscript, version of October 26, 2026, https://hexagonmath.org/pdf/2610.00577v1; Lean development at https://github.com/anthropics/formal-math/tree/main/eth.link
- R. Beigel and J. Gill. Counting classes: thresholds, parity, mods, and fewness. Theoret.\ Comput.\ Sci. , 103(1):3--23, 1992.
- T. Baker, J. Gill, and R. Solovay. Relativizations of the question. SIAM J.\ Comput. , 4(4):431--442, 1975.
- A. Borodin. On relating time and space to size and depth. SIAM J.\ Comput. , 6(4):733--744, 1977.
- A. Chiu, G. Davida, and B. Litow. Division in logspace-uniform . RAIRO Theor.\ Inform.\ Appl. , 35(3):259--275, 2001.
- J.-Y. Cai, P. Lu, and M. Xia. Holant problems and counting CSP . In Proc.\ 41st ACM STOC , pages 715--724, 2009.
- J. Cook and I. Mertz. Tree evaluation is in space . In Proc.\ 56th ACM STOC , pages 1268--1278, 2024.
- Comparator : checking L ean proofs against reference statements. Software, https://github.com/leanprover/comparator; merged into Lean core as lake comparator in v4.35.0.link
- S. A. Cook. Short propositional formulas represent nondeterministic computations. Inform.\ Process.\ Lett. , 26(5):269--270, 1988.
Show all 46 referencesShow fewer references
- CSLib Frontier : the frontier formalization library for CSLib . Software, revision 628ad018 (https://github.com/cslib-community/cslib-frontier/tree/628ad018a74a0d8743a1a628125137197d7d8065).link
- CSLib : a L ean library for computer science. Software, revision 98f9a62 (https://github.com/leanprover/cslib/tree/98f9a62ac1fafa0d5091bbd78bc24091c5923aab).link
- L. de Moura and S. Ullrich. The L ean 4 theorem prover and programming language. In Proc.\ 28th CADE , volume 12699 of LNCS , pages 625--635, 2021.
- P. W. Dymond and M. Tompa. Speedups of deterministic machines by synchronous parallel machines. J.\ Comput.\ System Sci. , 30(2):149--161, 1985.
- P. Elias. Universal codeword sets and representations of the integers. IEEE Trans.\ Inform.\ Theory , 21(2):194--203, 1975.
- J. Gill. Computational complexity of probabilistic T uring machines. SIAM J.\ Comput. , 6(4):675--695, 1977.
- H. Galperin and A. Wigderson. Succinct representations of graphs. Inform.\ and Control , 56(3):183--198, 1983.
- J. Hopcroft, W. Paul, and L. Valiant. On time versus space and related problems. In Proc.\ 16th IEEE FOCS , pages 57--64, 1975.
- J. Hopcroft, W. Paul, and L. Valiant. On time versus space. J.\ ACM , 24(2):332--337, 1977.
- G. H. Hardy and S. Ramanujan. Asymptotic formulae in combinatory analysis. Proc.\ London Math.\ Soc.\ (2) , 17:75--115, 1918.
- A. Hurwitz. Ueber die C omposition der quadratischen F ormen von beliebig vielen V ariabeln. Nachr.\ Ges.\ Wiss.\ Göttingen, Math.-Phys.\ Kl. , pages 309--316, 1898.
- R. Impagliazzo and R. Paturi. On the complexity of - SAT . J.\ Comput.\ System Sci. , 62(2):367--375, 2001.
- E. Kushilevitz and N. Nisan. Communication Complexity . Cambridge University Press, 1997.
- R. E. Ladner and N. A. Lynch. Relativization of questions about log space computability. Math.\ Systems Theory , 10:19--32, 1976.
- D. Lokshtanov and J. Nederlof. Saving space by algebraization. In Proc.\ 42nd ACM STOC , pages 321--330, 2010.
- The mathlib Community. The L ean mathematical library. In Proc.\ 9th ACM SIGPLAN CPP , pages 367--381, 2020. Revision bbff295 (https://github.com/leanprover-community/mathlib4/tree/bbff2954fe5ee3b7a4b33cc26ef873a1c3277d91).link
- S. McGuire. Non-trivial simulation of BPTIME . Note, October 30, 2026. ETH Repository (https://drive.google.com/file/d/1baDrwOwTmXhucsBidIVig4VnKNj0TSMl/view).link
- E. Naslund. The partition rank of a tensor and -right corners in . J.\ Combin.\ Theory Ser.\ A , 174:105190, 2020.
- OpenAI. The E xponential T ime H ypothesis is false. Manuscript, October 17, 2026; revised October 25, 2026. OpenAI Math Release (https://github.com/openai/math/blob/main/preprints/The-Exponential-Time-Hypothesis-is-False-October-25-2026/paper.pdf).link
- M. S. Paterson. Tape bounds for time-bounded T uring machines. J.\ Comput.\ System Sci. , 6(2):116--124, 1972.
- N. Pippenger and M. J. Fischer. Relations among complexity measures. J.\ ACM , 26(2):361--381, 1979.
- W. J. Paul, N. Pippenger, E. Szemer é di, and W. T. Trotter. On determinism versus non-determinism and related problems. In Proc.\ 24th IEEE FOCS , pages 429--438, 1983.
- C. H. Papadimitriou and S. Zachos. Two remarks on the power of counting. In Proc.\ 6th GI Conference on Theoretical Computer Science , volume 145 of LNCS , pages 269--275, 1983.
- W. L. Ruzzo, J. Simon, and M. Tompa. Space-bounded hierarchies and probabilistic computations. J.\ Comput.\ System Sci. , 28(2):216--230, 1984.
- W. L. Ruzzo. On uniform circuit complexity. J.\ Comput.\ System Sci. , 22(3):365--383, 1981.
- R. Santhanam. On separators, segregators and time versus space. In Proc.\ 16th IEEE Conference on Computational Complexity , pages 286--294, 2001.
- D. B. Shapiro. Compositions of Quadratic Forms . de Gruyter, Berlin, 2000.
- R. E. Stearns, J. Hartmanis, and P. M. Lewis II. Hierarchies of memory limited computations. In Proc.\ 6th Annual Symposium on Switching Circuit Theory and Logical Design , pages 179--190, 1965.
- C. Strassle and B. Subercaseaux. Simulating nondeterministic T uring machines in subexponential deterministic time. Preprint, November 2026, arXiv:2611.11832 (https://arxiv.org/abs/2611.11832).arXiv
- F. Schipp, W. R. Wade, and P. Simon. Walsh Series: An Introduction to Dyadic Harmonic Analysis . With the collaboration of J. Pál. Adam Hilger, Bristol, 1990.
- L. G. Valiant. Completeness classes in algebra. In Proc.\ 11th ACM STOC , pages 249--261, 1979.
- D. van Melkebeek. A survey of lower bounds for satisfiability and related problems. Found.\ Trends Theor.\ Comput.\ Sci. , 2(3):197--303, 2006.
- K. W. Wagner. The complexity of combinatorial problems with succinct input representation. Acta Inform. , 23(3):325--356, 1986.
- R. Williams. A new algorithm for optimal 2-constraint satisfaction and its implications. Theoret.\ Comput.\ Sci. , 348(2--3):357--365, 2005.
- R. Williams. Simulating time with square-root space. In Proc.\ 57th ACM STOC , pages 13--23, 2025.
- S. Zhuang. Uncrossing wires for 3- SAT : a potential that closes the recursion. Manuscript, October 31, 2026. https://github.com/suquark/NotETHSimplified.link
Version history
- v1 · 32 pagesSubmitted by Charlie Cruz32 pages, 2 figures. The proofs are formally verified in Lean 4 with Mathlib, CSLib and CSLib Frontier: https://github.com/SeniorMars/ntime.dspaceCurrentDec 02, 2026