Co-NP: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Stephanwehner
Argument was a bit loose
 
Correctly define the co-[subset sum problem]
Line 1: Line 1:
The name of mcdougal is Mozell and she totally loves this designate. I am an invoicing officer but soon my wife and Let me start a lot of our business. My husband and I inhabit North Carolina. To lift weights is what she does every weeks.<br><br>my web page - [https://joinup.ec.europa.eu/people/34546/ Writing]
{{lowercase}}
{{unsolved|computer science|Is '''NP''' {{=}} '''co-NP''' ?}}
In [[computational complexity theory]], '''co-NP''' is a [[complexity class]]. A [[decision problem]] <math>{\mathcal{X}}</math> is a member of '''co-NP''' if and only if its  [[complement (complexity)|complement]] <math>\overline{\mathcal{X}}</math> is in the complexity class '''[[NP (complexity)|NP]]'''. In simple terms, '''co-NP''' is the class of problems for which efficiently verifiable proofs of ''no'' instances, sometimes called counterexamples, exist. Equivalently, '''co-NP''' is the set of decision problems where the "no" instances can be accepted in polynomial time by a [[non-deterministic Turing machine]].
 
An example of an [[NP-complete|'''NP'''-complete]]  problem is the [[subset sum problem]]: given a finite set of integers, is there a non-empty subset that sums to zero? To give a proof of a "yes" instance, one must specify a non-empty subset that does sum to zero. The complementary problem is in '''co-NP''' and asks: "given a finite set of integers, does every non-empty subset have a non-zero sum?" This problem is not obviously seen to be in '''NP'''.
 
==Relationship to other classes==
[[P (complexity)|'''P''']], the class of polynomial time solvable problems, is a subset of both '''NP''' and '''co-NP'''. '''P''' is thought to be a strict subset in both cases (and demonstrably cannot be strict in one case but not the other). '''NP''' and '''co-NP''' are also thought to be unequal.<ref>
{{cite book | first = John E. | last = Hopcroft | title = Introduction to Automata Theory, Languages, and Computation (2nd Edition) | publisher = Addison-Wesley | location = Boston | year = 2000 | isbn = 0-201-44124-1 }} Chap. 11.</ref> If so, then no '''NP'''-complete problem can be in '''co-NP''' and no [[co-NP-complete|'''co-NP'''-complete]] problem can be in '''NP'''.
 
This can be shown as follows. Suppose there exists an '''NP'''-complete problem <math>{\mathcal{X}}</math>  that is in '''co-NP'''. Since all problems in '''NP''' can be reduced to <math>{\mathcal{X}}</math>, it follows that for every problem in '''NP''' we can construct a [[non-deterministic Turing machine]] that decides its complement in polynomial time, i.e., '''NP''' &sube; '''co-NP'''. From this it follows that the set of complements of the problems in '''NP''' is a subset of the set of complements of the problems in '''co-NP''', i.e., '''co-NP''' &sube; '''NP'''. Thus '''co-NP''' = '''NP'''. The proof that no '''co-NP'''-complete problem can be in '''NP''', if '''NP''' &ne; '''co-NP''' is symmetrical.
 
If a problem can be shown to be in both '''NP''' and '''co-NP''', that is generally accepted as strong evidence that the problem is probably not '''NP'''-complete (since otherwise '''NP''' = '''co-NP''').
 
An example of a problem that is known to belong to both '''NP''' and in '''co-NP''' is [[integer factorization]]: given positive integers ''m'' and ''n'' determine if ''m'' has a factor less than ''n'' and greater than one. Membership in '''NP''' is clear; if ''m'' does have such a factor then the factor itself is a certificate.  Membership in '''co-NP''' is also straightforward: one can just list the prime factors of ''m'', which the verifier can confirm to be valid by multiplication and the [[AKS primality test]].
 
[[Integer factorization]] is closely related to the [[primality]] problem.  Both primality testing and factorization have long been known to be '''NP''' and '''co-NP''' problems.  The [[AKS primality test]], published in 2002, proves that primality testing also lies in '''P''', while factorization may or may not have a polynomial-time algorithm.<ref>
Manindra Agrawal, Neeraj Kayal, Nitin Saxena, "[http://www.cse.iitk.ac.in/users/manindra/algebra/primality_v6.pdf PRIMES is in P]", ''Annals of Mathematics'' 160 (2004), no. 2, pp. 781-793.</ref>
 
== References ==
{{Reflist}}
 
== External links ==
* {{CZoo|coNP|C#conp}}
 
{{ComplexityClasses}}
 
{{DEFAULTSORT:Co-Np}}
[[Category:Complexity classes]]

Revision as of 19:55, 2 January 2014

Template:Lowercase Endocrinologist Grippo from Capreol, likes to spend time backgammon, property developers in singapore and creating a house. Has lately finished a trip to China Danxia.

Here is my homepage ... new launch ec In computational complexity theory, co-NP is a complexity class. A decision problem 𝒳 is a member of co-NP if and only if its complement 𝒳 is in the complexity class NP. In simple terms, co-NP is the class of problems for which efficiently verifiable proofs of no instances, sometimes called counterexamples, exist. Equivalently, co-NP is the set of decision problems where the "no" instances can be accepted in polynomial time by a non-deterministic Turing machine.

An example of an NP-complete problem is the subset sum problem: given a finite set of integers, is there a non-empty subset that sums to zero? To give a proof of a "yes" instance, one must specify a non-empty subset that does sum to zero. The complementary problem is in co-NP and asks: "given a finite set of integers, does every non-empty subset have a non-zero sum?" This problem is not obviously seen to be in NP.

Relationship to other classes

P, the class of polynomial time solvable problems, is a subset of both NP and co-NP. P is thought to be a strict subset in both cases (and demonstrably cannot be strict in one case but not the other). NP and co-NP are also thought to be unequal.[1] If so, then no NP-complete problem can be in co-NP and no co-NP-complete problem can be in NP.

This can be shown as follows. Suppose there exists an NP-complete problem 𝒳 that is in co-NP. Since all problems in NP can be reduced to 𝒳, it follows that for every problem in NP we can construct a non-deterministic Turing machine that decides its complement in polynomial time, i.e., NPco-NP. From this it follows that the set of complements of the problems in NP is a subset of the set of complements of the problems in co-NP, i.e., co-NPNP. Thus co-NP = NP. The proof that no co-NP-complete problem can be in NP, if NPco-NP is symmetrical.

If a problem can be shown to be in both NP and co-NP, that is generally accepted as strong evidence that the problem is probably not NP-complete (since otherwise NP = co-NP).

An example of a problem that is known to belong to both NP and in co-NP is integer factorization: given positive integers m and n determine if m has a factor less than n and greater than one. Membership in NP is clear; if m does have such a factor then the factor itself is a certificate. Membership in co-NP is also straightforward: one can just list the prime factors of m, which the verifier can confirm to be valid by multiplication and the AKS primality test.

Integer factorization is closely related to the primality problem. Both primality testing and factorization have long been known to be NP and co-NP problems. The AKS primality test, published in 2002, proves that primality testing also lies in P, while factorization may or may not have a polynomial-time algorithm.[2]

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

External links

Hi generally. Let me start by introducing the author, his name is Benjamin Cassity and he totally digs that address. To climb is a thing that we're totally dependent on. California is where her house is but now she is considering additional. After being beyond his part of years he became a postal service worker. See what's new on my website here: http://devolro.com/diablo-gallery



Look at my web blog :: cars

  1. 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534 Chap. 11.
  2. Manindra Agrawal, Neeraj Kayal, Nitin Saxena, "PRIMES is in P", Annals of Mathematics 160 (2004), no. 2, pp. 781-793.