English

Diagonalization of Polynomial-Time Deterministic Turing Machines via Nondeterministic Turing Machines

Computational Complexity 2025-06-03 v34 Formal Languages and Automata Theory

Abstract

The {\em diagonalization technique} was invented by Georg Cantor to show that there are more real numbers than algebraic numbers and is very crucial in {\em theoretical computer science}. In this work, we enumerate all of the polynomial-time deterministic Turing machines and diagonalize against all of them by a universal nondeterministic Turing machine. As a result, we obtain that there is a language LdL_d not accepted by any polynomial-time deterministic Turing machines but accepted by a nondeterministic Turing machine running within time O(nk)O(n^k) for any kN1k\in\mathbb{N}_1. Based on these, we further show that LdNPL_d\in\mathcal{NP}. That is, in this work, we present a proof that P\mathcal{P} and NP\mathcal{NP} differ. Meanwhile, we show that there exists a language LsL_s in P\mathcal{P}, but the machine accepting it also runs within time O(nk)O(n^k) for all kN1k\in\mathbb{N}_1. Lastly, we show that if PO=NPO\mathcal{P}^O=\mathcal{NP}^O and on some rational base assumptions, then the set POP^O of all polynomial-time deterministic oracle Turing machines with oracle OO is not enumerable, thus demonstrating that the diagonalization technique ({\em via a universal nondeterministic oracle Turing machine}) will generally {\em not} apply to the relativized versions of the P\mathcal{P} versus NP\mathcal{NP} problem.

Cite

@article{arxiv.2110.06211,
  title  = {Diagonalization of Polynomial-Time Deterministic Turing Machines via Nondeterministic Turing Machines},
  author = {Tianrong Lin},
  journal= {arXiv preprint arXiv:2110.06211},
  year   = {2025}
}

Comments

[v34] grammatical mistakes corrected; arXiv admin note: text overlap with arXiv:2110.05942, arXiv:2112.03677

R2 v1 2026-06-24T06:50:08.697Z