~ Office Supplies ~~ Buy Posters ~~ A-Z Products ~~ Website Advertising


Co-NP - Wikipedia

<<Up     Contents

Co-NP

In complexity theory, co-NP is the complexity class that contains the complements of decision problems in the complexity class NP. The complement of a decision problem is here defined as the problem with the yes and no answers reversed, or if we define decision problems as sets of finite strings as the complement of this set with respect to the given alphabet. From this definition it follows that the complement of every decision problem in NP is in co-NP and the complement of every decision problem in co-NP is in NP.

P is a subset of both NP and co-NP. That subset is thought to be strict in both cases. NP and co-NP are also thought to be unequal. 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. Assume that there is an NP-complete problem that is in co-NP. Since all problems in NP can be reduced to this problem it follows that for all problems in NP we can construct a non-deterministic Turing machine that decides the complement of the problem in polynomial time, i.e., NP is a subset of 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 is a subset of NP. Since we already knew that NP is a subset of co-NP it follows that they are the same. The proof for the fact that no co-NP-complete problem can be in 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. One example is integer factorization, the problem of finding the prime factors of a number. It is in both NP and co-NP, but is generally suspected to be outside P, outside NP-complete, and outside co-NP-complete.

wikipedia.org dumped 2003-03-17 with terodump




 
 
21 gr purple navy maroon blue TIFFANY patterned gem stone Cab rough gemstone PRETTY jewelry grade
 21 gr purple navy maroon blue TIFFANY patterned Cab PRETTY jewelry grade 
 
Tanzanite blue IOLITE gems jewels Loose natural 4mm square faceted cut jewelry gemstone pair 4 mm pr
 Tanzanite blue IOLITE jewels Loose 4mm square ed cut jewelry pair 4 mm pr 
 
23 gr unique gold CHIASTOLITE ANDALUSITE gem stone crystal Cab cabbing rough jewelry gemstone 117 ct
 23 gr unique gold CHIASTOLITE ANDALUSITE crystal Cab cabbing jewelry 117 ct 
 
Orange SUNSTONE Feldspar gem stone polished gems 8x6 mm jewelry gemstone 8x6mm pair cabs NICE D
 Orange SUNSTONE Feldspar polished 8x6 mm jewelry 8x6mm pair cabs NICE D 
 
35 carat grape STICHTITE gemstone Cabbing lapidary tumble polished rough gem stone jewelry 7 gram 2
 35 carat grape STICHTITE Cabbing lapidary tumble polished jewelry 7 gram 2