Computer Science > Computational Complexity
[Submitted on 12 Oct 2021 (v1), last revised 24 Mar 2025 (this version, v32)]
Title:Diagonalization of Polynomial-Time Deterministic Turing Machines via Nondeterministic Turing Machines
View PDFAbstract:The diagonalization technique was invented by Georg Cantor to show that there are more real numbers than algebraic numbers and is very important in 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 $L_d$ not accepted by any polynomial-time deterministic Turing machines but accepted by a nondeterministic Turing machine running within time $O(n^k)$ for any $k\in\mathbb{N}_1$. Based on these, we further show that $L_d\in\mathcal{NP}$ . That is, we present a proof that $\mathcal{P}$ and $\mathcal{NP}$ differ. Meanwhile, we show that there exists a language $L_s$ in $\mathcal{P}$ but the machine accepting it also runs within time $O(n^k)$ for all $k\in\mathbb{N}_1$. Lastly, we show that if $\mathcal{P}^O=\mathcal{NP}^O$ and on some rational base assumptions then the set $P^O$ of all polynomial-time deterministic oracle Turing machines with oracle $O$ is not enumerable, thus demonstrating that diagonalization technique (via a universal nondeterministic oracle Turing machine) will generally not apply to the relativized versions of the $\mathcal{P}$ versus $\mathcal{NP}$ problem.
Submission history
From: Tianrong Lin [view email][v1] Tue, 12 Oct 2021 10:46:10 UTC (39 KB)
[v2] Thu, 14 Oct 2021 01:29:12 UTC (97 KB)
[v3] Thu, 21 Oct 2021 15:05:18 UTC (73 KB)
[v4] Sun, 24 Oct 2021 14:56:37 UTC (74 KB)
[v5] Wed, 27 Oct 2021 17:51:51 UTC (75 KB)
[v6] Thu, 28 Oct 2021 17:15:43 UTC (76 KB)
[v7] Sun, 31 Oct 2021 07:27:35 UTC (77 KB)
[v8] Wed, 8 Dec 2021 15:16:36 UTC (75 KB)
[v9] Thu, 23 Dec 2021 16:27:33 UTC (76 KB)
[v10] Mon, 27 Dec 2021 07:06:03 UTC (76 KB)
[v11] Tue, 1 Feb 2022 17:20:09 UTC (81 KB)
[v12] Fri, 27 May 2022 02:04:24 UTC (255 KB)
[v13] Tue, 21 Jun 2022 01:56:15 UTC (256 KB)
[v14] Tue, 5 Jul 2022 17:21:05 UTC (256 KB)
[v15] Mon, 25 Jul 2022 02:11:51 UTC (257 KB)
[v16] Wed, 14 Sep 2022 14:48:01 UTC (455 KB)
[v17] Mon, 19 Dec 2022 17:32:11 UTC (455 KB)
[v18] Thu, 19 Jan 2023 01:47:16 UTC (84 KB)
[v19] Tue, 21 Feb 2023 22:32:04 UTC (84 KB)
[v20] Thu, 30 Mar 2023 14:53:04 UTC (86 KB)
[v21] Mon, 22 May 2023 15:46:05 UTC (611 KB)
[v22] Mon, 3 Jul 2023 07:40:26 UTC (612 KB)
[v23] Wed, 12 Jul 2023 14:05:35 UTC (612 KB)
[v24] Mon, 7 Aug 2023 14:28:21 UTC (613 KB)
[v25] Mon, 1 Jan 2024 05:06:39 UTC (616 KB)
[v26] Sat, 10 Feb 2024 05:08:59 UTC (616 KB)
[v27] Fri, 1 Mar 2024 17:46:00 UTC (616 KB)
[v28] Thu, 23 May 2024 12:12:29 UTC (617 KB)
[v29] Mon, 17 Jun 2024 15:51:25 UTC (617 KB)
[v30] Sun, 27 Oct 2024 10:53:21 UTC (618 KB)
[v31] Tue, 4 Mar 2025 16:58:37 UTC (610 KB)
[v32] Mon, 24 Mar 2025 04:41:11 UTC (618 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.