Separating Nondeterministic Time from Deterministic Space

A mix of human-written and AI-generated textHuman understanding: all partscs.CC — Computational Complexitycs.DM — Discrete Mathematics

Contributed by Charlie Cruz ↗

Version 1 / Dec 02, 2026 / CC BY 4.0

Abstract

We show that every nondeterministic multitape Turing machine running in time t(n)≥nt(n)\ge n can be simulated deterministically in space O(t/log⁡t)O(t/\sqrt{\log t}). By the space hierarchy theorem, NTIME[n]⊊DSPACE[n]\mathsf{NTIME}[n]\subsetneq\mathsf{DSPACE}[n]. Hopcroft, Paul and Valiant simulated deterministic time tt in space O(t/log⁡t)O(t/\log t) 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 PP-TIME[n]⊊DSPACE[n]\mathsf{PP}\text{-}\mathsf{TIME}[n]\subsetneq\mathsf{DSPACE}[n]. Pushing our counting method to space t/log⁡tt/\log t would count the satisfying assignments of 33-CNF formulas faster than any known algorithm. All proofs are formally verified in Lean.

Author comments: 32 pages, 2 figures. The proofs are formally verified in Lean 4 with Mathlib, CSLib and CSLib Frontier: https://github.com/SeniorMars/ntime.dspace

Provenance statement

This work began on October 26, 2026, after OpenAI's paper refuting the Exponential Time Hypothesis appeared, with my observation that such counting recursions can be evaluated in small deterministic space. The subsequent development was carried out jointly with Anthropic's Claude and OpenAI's ChatGPT: the models first helped me work through Anthropic's paper (hexagon:2610.00577); I proposed simplifications that made the recursion and proof structure coherent; and the models contributed to exploring proof strategies (including the routing pieces of Section 5), checking proofs, drafting exposition and writing the Lean formalization. I am responsible for all claims. The proofs are formally verified in Lean 4.

Tools used

Anthropic
Claude OpusVersion 5.5
Lean
LeanVersion 4
OpenAI
ChatGPTVersion 6.1

References

  1. S. Arora and B. Barak. Computational Complexity: A Modern Approach . Cambridge University Press, 2009.
  2. Anthropic (Claude). A 2o(n)2^{o(n)} 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
  3. R. Beigel and J. Gill. Counting classes: thresholds, parity, mods, and fewness. Theoret.\ Comput.\ Sci. , 103(1):3--23, 1992.
  4. T. Baker, J. Gill, and R. Solovay. Relativizations of the P=? NP\mathsf P=?\,\mathsf{NP} question. SIAM J.\ Comput. , 4(4):431--442, 1975.
  5. A. Borodin. On relating time and space to size and depth. SIAM J.\ Comput. , 6(4):733--744, 1977.
  6. A. Chiu, G. Davida, and B. Litow. Division in logspace-uniform NC1\mathsf{NC}^1. RAIRO Theor.\ Inform.\ Appl. , 35(3):259--275, 2001.
  7. J.-Y. Cai, P. Lu, and M. Xia. Holant problems and counting CSP . In Proc.\ 41st ACM STOC , pages 715--724, 2009.
  8. J. Cook and I. Mertz. Tree evaluation is in space O(log⁡n⋅log⁡log⁡n){O}(\log n\cdot\log\log n). In Proc.\ 56th ACM STOC , pages 1268--1278, 2024.
  9. 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
  10. S. A. Cook. Short propositional formulas represent nondeterministic computations. Inform.\ Process.\ Lett. , 26(5):269--270, 1988.
Show all 46 referencesShow fewer references
  1. CSLib Frontier : the frontier formalization library for CSLib . Software, revision 628ad018 (https://github.com/cslib-community/cslib-frontier/tree/628ad018a74a0d8743a1a628125137197d7d8065).link
  2. CSLib : a L ean library for computer science. Software, revision 98f9a62 (https://github.com/leanprover/cslib/tree/98f9a62ac1fafa0d5091bbd78bc24091c5923aab).link
  3. 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.
  4. P. W. Dymond and M. Tompa. Speedups of deterministic machines by synchronous parallel machines. J.\ Comput.\ System Sci. , 30(2):149--161, 1985.
  5. P. Elias. Universal codeword sets and representations of the integers. IEEE Trans.\ Inform.\ Theory , 21(2):194--203, 1975.
  6. J. Gill. Computational complexity of probabilistic T uring machines. SIAM J.\ Comput. , 6(4):675--695, 1977.
  7. H. Galperin and A. Wigderson. Succinct representations of graphs. Inform.\ and Control , 56(3):183--198, 1983.
  8. J. Hopcroft, W. Paul, and L. Valiant. On time versus space and related problems. In Proc.\ 16th IEEE FOCS , pages 57--64, 1975.
  9. J. Hopcroft, W. Paul, and L. Valiant. On time versus space. J.\ ACM , 24(2):332--337, 1977.
  10. G. H. Hardy and S. Ramanujan. Asymptotic formulae in combinatory analysis. Proc.\ London Math.\ Soc.\ (2) , 17:75--115, 1918.
  11. 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.
  12. R. Impagliazzo and R. Paturi. On the complexity of kk- SAT . J.\ Comput.\ System Sci. , 62(2):367--375, 2001.
  13. E. Kushilevitz and N. Nisan. Communication Complexity . Cambridge University Press, 1997.
  14. R. E. Ladner and N. A. Lynch. Relativization of questions about log space computability. Math.\ Systems Theory , 10:19--32, 1976.
  15. D. Lokshtanov and J. Nederlof. Saving space by algebraization. In Proc.\ 42nd ACM STOC , pages 321--330, 2010.
  16. 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
  17. S. McGuire. Non-trivial simulation of BPTIME . Note, October 30, 2026. ETH Repository (https://drive.google.com/file/d/1baDrwOwTmXhucsBidIVig4VnKNj0TSMl/view).link
  18. E. Naslund. The partition rank of a tensor and kk-right corners in Fqn\mathbb F_q^n. J.\ Combin.\ Theory Ser.\ A , 174:105190, 2020.
  19. 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
  20. M. S. Paterson. Tape bounds for time-bounded T uring machines. J.\ Comput.\ System Sci. , 6(2):116--124, 1972.
  21. N. Pippenger and M. J. Fischer. Relations among complexity measures. J.\ ACM , 26(2):361--381, 1979.
  22. 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.
  23. 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.
  24. W. L. Ruzzo, J. Simon, and M. Tompa. Space-bounded hierarchies and probabilistic computations. J.\ Comput.\ System Sci. , 28(2):216--230, 1984.
  25. W. L. Ruzzo. On uniform circuit complexity. J.\ Comput.\ System Sci. , 22(3):365--383, 1981.
  26. R. Santhanam. On separators, segregators and time versus space. In Proc.\ 16th IEEE Conference on Computational Complexity , pages 286--294, 2001.
  27. D. B. Shapiro. Compositions of Quadratic Forms . de Gruyter, Berlin, 2000.
  28. 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.
  29. 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
  30. 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.
  31. L. G. Valiant. Completeness classes in algebra. In Proc.\ 11th ACM STOC , pages 249--261, 1979.
  32. D. van Melkebeek. A survey of lower bounds for satisfiability and related problems. Found.\ Trends Theor.\ Comput.\ Sci. , 2(3):197--303, 2006.
  33. K. W. Wagner. The complexity of combinatorial problems with succinct input representation. Acta Inform. , 23(3):325--356, 1986.
  34. R. Williams. A new algorithm for optimal 2-constraint satisfaction and its implications. Theoret.\ Comput.\ Sci. , 348(2--3):357--365, 2005.
  35. R. Williams. Simulating time with square-root space. In Proc.\ 57th ACM STOC , pages 13--23, 2025.
  36. 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

  1. 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