Sparse Complete Sets for Conp: Solution of the P Versus NP Problem

Total Page:16

File Type:pdf, Size:1020Kb

Sparse Complete Sets for Conp: Solution of the P Versus NP Problem 1 Sparse complete sets for coNP: Solution of the P versus NP problem Frank Vega Abstract—P versus NP is considered as one of the most important open problems in computer science. This consists in knowing the answer of the following question: Is P equal to NP? A precise statement of the P versus NP problem was introduced independently in 1971 by Stephen Cook and Leonid Levin. Since that date, all efforts to find a proof for this problem have failed. Another major complexity class is coNP. Whether NP = coNP is another fundamental question that it is as important as it is unresolved. In 1979, Fortune showed that if any sparse language is coNP-complete, then P = NP. We prove there is a possible sparse language in coNP-complete. In this way, we demonstrate the complexity class P is equal to NP. Keywords—Complexity Classes, Sparse, Complement Language, Completeness, Polynomial Time. F 1 INTRODUCTION The P versus NP problem is a major unsolved problem possible positive constant k [5]. Whether P = NP or not in computer science [1]. This is considered by many to be is still a controversial and unsolved problem [2]. In this the most important open problem in the field [1]. It is one work, we proved the complexity class P is equal to NP . of the seven Millennium Prize Problems selected by the Hence, we solved one of the most important open problems Clay Mathematics Institute to carry a US$1,000,000 prize for in computer science. the first correct solution [1]. It was essentially mentioned in 1955 from a letter written by John Nash to the United States National Security Agency [2]. However, the precise 2 MOTIVATION statement of the P = NP problem was introduced in 1971 The biggest open question in theoretical computer science by Stephen Cook in a seminal paper [1]. concerns the relationship between these classes: Is P equal In 1936, Turing developed his theoretical computational to NP ? In 2012, a poll of 151 researchers showed that model [3]. The deterministic and nondeterministic Turing 126 (83%) believed the answer to be no, 12 (9%) believed machines have become in two of the most important defi- the answer is yes, 5 (3%) believed the question may be nitions related to this theoretical model for computation [3]. independent of the currently accepted axioms and therefore A deterministic Turing machine has only one next action for impossible to prove or disprove, 8 (5%) said either do not each step defined in its program or transition function [3]. A know or do not care or don’t want the answer to be yes nondeterministic Turing machine could contain more than nor the problem to be resolved [6]. It is fully expected that one action defined for each step of its program, where this P 6= NP [5]. Indeed, if P = NP then there are stunning one is no longer a function, but a relation [3]. practical consequences [5]. For that reason, P = NP is Another relevant advance in the last century has been considered as a very unlikely event [5]. Certainly, P versus the definition of a complexity class. A language over an NP is one of the greatest open problems in science and a alphabet is any set of strings made up of symbols from that correct solution for this incognita will have a great impact alphabet [4]. A complexity class is a set of problems, which not only for computer science, but for many other fields as are represented as a language, grouped by measures such as well [2]. the running time, memory, etc [4]. The set of languages decided by deterministic Turing 3 SUMMARY machines within time f is an important complexity class denoted TIME(f(n)) [5]. In addition, the complexity class In computational complexity theory, a sparse language is a NTIME(f(n)) consists in those languages that can be formal language (a set of strings) such that the complexity decided within time f by nondeterministic Turing machines function, counting the number of strings of length n in the [5]. The most important complexity classes are P and NP . language, is bounded by a polynomial function of n. The The class P is the union of all languages in TIME(nk) for complexity class of all sparse languages is called SP ARSE. every possible positive constant k [5]. At the same time, SP ARSE contains T ALLY , the class of unary languages, NP consists in all languages in NTIME(nk) for every since these have at most one string of any one length. Fortune showed in 1979 that if any sparse language is coNP–complete, then P = NP (this is Fortune’s theorem) • F. Vega, Joysonic, Uzun Mirkova 5, Belgrade, RS, 11000. E-mail: [email protected] [7]. Mahaney used this to show in 1982 that if any sparse language is NP–complete, then P = NP [8]. A simpler This article may appear completely or partially in: Academia.edu, figshare, Zenodo and HAL preprint servers. proof of this based on left-sets was given by Ogihara and This is not a plagiarism, since I am the author of those manuscripts. Watanabe in 1991 [9]. Mahaney’s argument does not actually 2 require the sparse language to be in NP , so there is a sparse a string w is a member of L. This information is called NP–hard set if and only if P = NP [8]. certificate. NP is also the complexity class of languages We create a class with the opposite definition, that is a defined by polynomial time verifiers [5]. If NP is the class of class of languages that are dense instead of sparse. We show problems that have succinct certificates, then the complexity there is a sequence of languages that are in NP–complete, class coNP must contain those problems that have succinct but their density grows as much as we go forward into disqualifications [5]. That is, a \no" instance of a problem in the iteration of the sequence. The first element of the se- coNP possesses a short proof of its being a \no" instance quence is a variation of the NP–complete problem known [5]. as HAM–CYCLE [10]. The next element in the sequence is A function f :Σ∗ ! Σ∗ is a polynomial time com- constructed from this new version of HAM–CYCLE. Indeed, putable function if some deterministic Turing machine M, each language is created from its previous language in the on every input w, halts in polynomial time with just f(w) sequence. on its tape [3]. Let f0; 1g∗ be the infinite set of binary ∗ Since the density grows according we move forward into strings, we say that a language L1 ⊆ f0; 1g is polyno- ∗ the sequence, then there must be a language so much dense mial time reducible to a language L2 ⊆ f0; 1g , written such that its complement is sparse. Fortunately, we find this L1 ≤p L2, if there is a polynomial time computable function property from a language created with the languages of this f : f0; 1g∗ ! f0; 1g∗ such that for all x 2 f0; 1g∗, sequence. Moreover, we show this too dense language is x 2 L if and only if f(x) 2 L : still NP–complete. Thus, the complement of this language 1 2 remains in coNP–complete, because the complement of every An important complexity class is NP–complete [11]. A lan- NP–complete language is complete for coNP [11]. guage L ⊆ f0; 1g∗ is NP–complete if In this way, we find a sparse language in coNP–complete. • L 2 NP , and As a consequence of Fortune’s theorem, we demonstrate 0 0 • L ≤ L for every L 2 NP . that P is equal to NP . To sum up, we proved there is a p 0 0 sparse complete set for coNP and therefore, we just solved If L is a language such that L ≤p L for some L 2 the P versus NP problem. NP–complete, then L is NP–hard [11]. Moreover, if L 2 NP , then L 2 NP–complete [11]. A principal NP–complete problem is HAM–CYCLE [4]. 4 BASIC DEFINITIONS An instance of the language HAM–CYCLE is a simple Let Σ be a finite alphabet with at least two elements, and let graph G = (V; E) where V is the set of vertices and E ∗ Σ be the set of finite strings over Σ [12]. A Turing machine is the set of edges, each edge being an unordered pair of M has an associated input alphabet Σ [12]. For each string w vertices [4]. We say (u; v) 2 E is an edge in a simple graph ∗ in Σ there is a computation associated with M on input w G = (V; E) where u and v are vertices. A simple graph is an [12]. We say that M accepts w if this computation terminates undirected graph without multiple edges or loops [4]. For a in the accepting state, that is M(w) = \yes" [12]. Note that simple graph G = (V; E) a simple cycle in G is a sequence M w fails to accept either if this computation ends in the of distinct vertices hv0; v1; v2; :::; vki such that (vk; v0) 2 E M(w) = \no" rejecting state, that is , or if the computation and (vi−1; vi) 2 E for i = 1; 2; :::; k [4]. A Hamiltonian fails to terminate [12]. cycle is a simple cycle of the simple graph which contains The language accepted by a Turing machine M, denoted all the vertices of the graph.
Recommended publications
  • Lecture Notes in Computer Science 2929 Edited by G
    Lecture Notes in Computer Science 2929 Edited by G. Goos, J. Hartmanis, and J. van Leeuwen 3 Berlin Heidelberg New York Hong Kong London Milan Paris Tokyo Harrie de Swart Ewa Orłowska Gunther Schmidt Marc Roubens (Eds.) Theory and Applications of Relational Structures as Knowledge Instruments COST Action 274, TARSKI Revised Papers 13 Series Editors Gerhard Goos, Karlsruhe University, Germany Juris Hartmanis, Cornell University, NY, USA Jan van Leeuwen, Utrecht University, The Netherlands Volume Editors Harrie de Swart Tilburg University, Faculty of Philosophy P.O. Box 90153, 5000 LE Tilburg, The Netherlands E-mail: [email protected] Ewa Orłowska National Institute of Telecommunications ul. Szachowa 1, 04-894 Warsaw, Poland E-mail: [email protected] Gunther Schmidt Universit¨atder Bundeswehr M¨unchen Fakult¨atf¨urInformatik, Institut f¨urSoftwaretechnologie 85577 Neubiberg, Germany E-mail: [email protected] Marc Roubens University of Li`ege,Department of Mathematics Sart Tilman Building, 14 Grande Traverse, B37, 4000 Li`ege1, Belgium E-mail: [email protected] Cataloging-in-Publication Data applied for A catalog record for this book is available from the Library of Congress. Bibliographic information published by Die Deutsche Bibliothek Die Deutsche Bibliothek lists this publication in the Deutsche Nationalbibliografie; detailed bibliographic data is available in the Internet at <http://dnb.ddb.de>. CR Subject Classification (1998): I.1, I.2, F.4, H.2.8 ISSN 0302-9743 ISBN 3-540-20780-5 Springer-Verlag Berlin Heidelberg New York This work is subject to copyright. All rights are reserved, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, re-use of illustrations, recitation, broadcasting, reproduction on microfilms or in any other way, and storage in data banks.
    [Show full text]
  • Sparse Complete Sets for Conp: Solution of the P Versus NP Problem
    Sparse complete sets for coNP: Solution of the P versus NP problem Frank Vega Joysonic, Uzun Mirkova 5, Belgrade, 11000, Serbia [email protected] https://orcid.org/0000-0001-8210-4126 Abstract P versus NP is considered as one of the most important open problems in computer science. This consists in knowing the answer of the following question: Is P equal to NP? A precise statement of the P versus NP problem was introduced independently in 1971 by Stephen Cook and Leonid Levin. Since that date, all efforts to find a proof for this problem have failed. Another major complexity class is coNP. Whether NP = coNP is another fundamental question that it is as important as it is unresolved. In 1979, Fortune showed that if any sparse language is coNP- complete, then P = NP. We prove there is a possible sparse language in coNP-complete. In this way, we demonstrate the complexity class P is equal to NP. 2012 ACM Subject Classification Theory of computation → Complexity classes, Theory of computation → Problems, reductions and completeness Keywords and phrases Complexity Classes, Sparse, Complement Language, Completeness, Poly- nomial Time 1 Issues The P versus NP problem is a major unsolved problem in computer science [6]. This is considered by many to be the most important open problem in the field [6]. It is one of the seven Millennium Prize Problems selected by the Clay Mathematics Institute to carry a US$1,000,000 prize for the first correct solution [6]. It was essentially mentioned in 1955 from a letter written by John Nash to the United States National Security Agency [1].
    [Show full text]
  • Sparse Complete Sets for Conp: Solution of the P Versus NP Problem
    FRANK VEGA Computational Complextiy Sparse complete sets for coNP: Solution of the P versus NP problem Frank Vega March 4, 2019 Abstract: P versus NP is considered as one of the most important open problems in computer science. This consists in knowing the answer of the following question: Is P equal to NP? A precise statement of the P versus NP problem was introduced independently by Stephen Cook and Leonid Levin. Since that date, all efforts to find a proof for this problem have failed. Another major complexity class is coNP. Whether NP = coNP is another fundamental question that it is as important as it is unresolved. In 1979, Fortune showed that if any sparse language is coNP-complete, then P = NP. We prove there is a possible sparse language in coNP-complete. In this way, we demonstrate the complexity class P is equal to NP. 1 Introduction The P versus NP problem is a major unsolved problem in computer science [6]. This is considered by many to be the most important open problem in the field [6]. It is one of the seven Millennium Prize Problems selected by the Clay Mathematics Institute to carry a US$1,000,000 prize for the first correct solution [6]. It was essentially mentioned in 1955 from a letter written by John Nash to the United States National Security Agency [1]. However, the precise statement of the P = NP problem was introduced in 1971 by Stephen Cook in a seminal paper [6]. ACM Classification: F.1.3.3, F.1.3.2 AMS Classification: 68Q15, 68Q17 Key words and phrases: complexity classes, complement language, sparse, completeness, polynomial time FRANK VEGA In 1936, Turing developed his theoretical computational model [19].
    [Show full text]
  • Computational Complexity: a Modern Approach
    i Computational Complexity: A Modern Approach Draft of a book: Dated January 2007 Comments welcome! Sanjeev Arora and Boaz Barak Princeton University [email protected] Not to be reproduced or distributed without the authors' permission This is an Internet draft. Some chapters are more finished than others. References and attributions are very preliminary and we apologize in advance for any omissions (but hope you will nevertheless point them out to us). Please send us bugs, typos, missing references or general comments to [email protected] | Thank You!! ii Chapter 6 Boolean Circuits \One might imagine that P 6= NP, but SAT is tractable in the following sense: for every ` there is a very short program that runs in time `2 and correctly treats all instances of size `." Karp and Lipton, 1982 This chapter investigates a model of computation called the Boolean circuit, that is a general- ization of Boolean formulae and a formalization of the silicon chips used by electronic computers. It is a natural model for non-uniform computation, which means a computational model that allows a different algorithm to be used for each input size, in contrast to the standard (or uniform) TM model where the same TM is used on all the infinitely many input sizes. Non-uniform computation crops up often in complexity theory (e.g., see chapters 18 and 19). Another motivation for studying Boolean circuits is that they seem mathematically simpler than Turing machines, and hence it might be easier to prove upper bounds on their computational power. Furthermore, as we shall see in Section 6.1, sufficiently strong results of this type for circuits will resolve some important questions about Turing machines such as P versus NP.
    [Show full text]
  • Ladner's Theorem, Sparse and Dense Languages
    Ladner's theorem Density Ladner's Theorem, Sparse and Dense Languages Vasiliki Velona µ Q λ8 November 2014 Ladner's theorem Density Ladner's theorem Part 1, Ladner's Theorem Ladner's theorem Density Ladner's theorem Part 1: Ladner's theorem (Ladner, 1975): If P 6= NP, then there is a language in P which is neither in P or is NP complete The second scenario is impossible. Ladner's theorem Density Ladner's theorem Ladner's theorem proof Preliminaries We can compute an enumeration of all polynomialy bounded TMs (M1; M2; M3; :::) and all logarithmic space reductions (R1; R2; R3; :::) Why? One way is to use a polynomial "clock" on every Mi that will allow it to run for no more than jxji steps for input x. Similarly, we can do this for logarithmic space reductions. Ladner's theorem Density Ladner's theorem Ladner's theorem proof The wanted language is described in terms of the machine K that decides it: L(K) = fxjx 2 SAT and f (jxj) is eveng f (n) will be described later. The demands for this language are the following: 1 8iL(K) 6= L(Mi ) (out of P) 2 8i9w : K(Ri (w)) 6= S(w) (out of NP-complete) and we'll prove that they're met. Ladner's theorem Density Ladner's theorem Ladner's theorem proof We want to check our conditions one after the other: M1; R1; M2; R2; ::: Let F be the turing machine that computes f. For n = 1 F makes two steps and outputs 2.
    [Show full text]
  • Signature Redacted
    Connections between Circuit Analysis Problems and Circuit Lower Bounds by Cody Murray Submitted to the Department of Electrical Engineering and Computer Science in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Computer Science and Engineering at the MASSACHUSETTS INSTITUTE OF TECHNOLOGY September 2018 Massachusetts Institute of Technology 2018. All rights reserved. Signature redacted- Author .... ......................... Department of Ele ngineering and Computer Science June 22, 2018 redacted. Certified by. Signature Ryan Williams Associate Professor of Electrical Engineering and Computer Science Thesis Supervisor Signature redacted Accepted by.......... Leslie A. Kolodziejski Professor of Electrical Engineering and Computer Science Chair, Department Committee on Graduate Students MASSACHUSMlS INSTITUTE c Of TECHNOLOGY- OCT 10 2018 L_BRARIES 2 Connections between Circuit Analysis Problems and Circuit Lower Bounds by Cody Murray Submitted to the Department of Electrical Engineering and Computer Science on June 22, 2018, in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Computer Science and Engineering Abstract A circuit analysis problem takes a Boolean function f as input (where f is repre- sented either as a logical circuit, or as a truth table) and determines some interesting property of f. Examples of circuit analysis problems include Circuit Satisfiability, Circuit Composition, and the Minimum Size Circuit Problem (MCSP). A circuit lower bound presents an interesting function f and shows that no "easy" family of logical circuits can compute f correctly on all inputs, for some definition of "easy". Lower bounds are infamously hard to prove, but are of significant interest for under- standing computation. In this thesis, we derive new connections between circuit analysis problems and cir- cuit lower bounds, to prove new lower bounds for various well-studied circuit classes.
    [Show full text]
  • Computational Complexity of Synchronization Under Sparse Regular Constraints
    Computational Complexity of Synchronization under Sparse Regular Constraints Stefan Hoffmannr0000´0002´7866´075Xs Informatikwissenschaften, FB IV, Universit¨atTrier, Germany, [email protected] Abstract. The constrained synchronization problem (CSP) asks for a synchronizing word of a given input automaton contained in a regular set of constraints. It could be viewed as a special case of synchronization of a discrete event system under supervisory control. Here, we study the computational complexity of this problem for the class of sparse regular constraint languages. We give a new characterization of sparse regular sets, which equal the bounded regular sets, and derive a full classification of the computational complexity of CSP for letter-bounded regular constraint languages, which properly contain the strictly bounded regular languages. Then, we introduce strongly self-synchronizing codes and investigate CSP for bounded languages induced by these codes. With our previous result, we deduce a full classification for these languages as well. In both cases, depending on the constraint language, our problem becomes NP-complete or polynomial time solvable. Keywords: automata theory · constrained synchronization · compu- tational complexity · sparse languages · bounded languages · strongly self-synchronizing codes 1 Introduction A deterministic semi-automaton is synchronizing if it admits a reset word, i.e., a word which leads to a definite state, regardless of the starting state. This notion has a wide range of applications, from software testing, circuit synthe- sis, communication engineering and the like, see [13,45,47]. The famous Cern´yˇ conjecture [11] states that a minimal synchronizing word, for an n state automa- ton, has length at most pn ´ 1q2.
    [Show full text]
  • Sparse Complete Sets for Conp: Solution of the P Versus NP Problem Frank Vega
    Sparse complete sets for coNP: Solution of the P versus NP problem Frank Vega To cite this version: Frank Vega. Sparse complete sets for coNP: Solution of the P versus NP problem. 2021. hal-03320440 HAL Id: hal-03320440 https://hal.archives-ouvertes.fr/hal-03320440 Preprint submitted on 16 Aug 2021 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. FRANK VEGA Computational Complextiy Sparse complete sets for coNP: Solution of the P versus NP problem Frank Vega March 4, 2019 Abstract: P versus NP is considered as one of the most important open problems in computer science. This consists in knowing the answer of the following question: Is P equal to NP? A precise statement of the P versus NP problem was introduced independently by Stephen Cook and Leonid Levin. Since that date, all efforts to find a proof for this problem have failed. Another major complexity class is coNP. Whether NP = coNP is another fundamental question that it is as important as it is unresolved. In 1979, Fortune showed that if any sparse language is coNP-complete, then P = NP. We prove there is a possible sparse language in coNP-complete.
    [Show full text]