coNP in Computational Complexity Theory

Download Presenatation
slide1 n.w
1 / 18
Embed
Share

Explore the concept of coNP in computational complexity theory, including definitions, examples, and relationships with NP. Learn about coNP-complete languages, the complexity of TAUTOLOGY and UNSAT problems, and the interplay between NP and coNP classes.

  • Computational Complexity
  • coNP
  • NP
  • Complexity Theory

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. coNP CS 154, Omer Reingold

  2. Definition: coNP = { L | L NP } What does a coNP computation look like? In NP algorithms, we can use a guess instruction in pseudocode: Guess string y of |x|klength and the machine accepts if some y leads to an accept state In coNP algorithms, we can use a try all instruction: Try all strings y of |x|klength and the machine accepts if every y leads to an accept state

  3. TAUTOLOGY = { | is a Boolean formula and every variable assignment satisfies } Theorem: TAUTOLOGY is in coNP How would we write pseudocode for a coNP machine that decides TAUTOLOGY? How would we write TAUTOLOGY as the complement of some NP language?

  4. Is P coNP? Yes! L P implies that L P (hence L NP) In general, deterministic complexity classes are closed under complement

  5. Is NP = coNP? It is believed that NP coNP

  6. coNP NP P

  7. Definition: A language B is coNP-complete if 1. B coNP 2. For every A in coNP, there is a polynomial-time reduction from A to B (B is coNP-hard)

  8. UNSAT = { | is a Boolean formula and no variable assignment satisfies } Theorem: UNSAT is coNP-complete Proof: UNSAT coNP because UNSAT = SAT (2) UNSAT is coNP-hard: Let A coNP. We show A P UNSAT On input w, transform w into a formula using the Cook- Levin Theorem and an NP machine N for A w A SAT w A SAT w A UNSAT w A UNSAT

  9. UNSAT = { | is a Boolean formula and no variable assignment satisfies } Theorem: UNSAT is coNP-complete TAUTOLOGY = { | is a Boolean formula and every variable assignment satisfies } = { | UNSAT} Theorem: TAUTOLOGY is coNP-complete 1. TAUTOLOGY coNP (already shown) 2. TAUTOLOGY is coNP-hard: UNSAT P TAUTOLOGY: Given formula , output

  10. Every NP-complete problem has a coNP-complete counterpart NP-complete problems: SAT, 3SAT, CLIQUE, VC, SUBSET-SUM, coNP-complete problems: UNSAT, TAUTOLOGY, NOCLIQUE,

  11. coNP ??? NP P

  12. Is P = NP coNP?

  13. An Interesting Problem in NP coNP FACTORING = { (m, n) | m > n > 1 are integers, there is a prime factor p of m where n p < m } If FACTORING P, then we could break most public-key cryptography currently in use! Theorem: FACTORING NP coNP

  14. To show that FACTORING NP coNP, well use PRIMES = {n| n is a prime integer}

  15. FACTORING = { (m, n) | m, n > 1 are integers, there is a prime factor p of m where n p < m } Theorem: FACTORING NP coNP Proof: The prime factorization p1e1 pkek of m can be used to efficiently prove that either (m,n) is in FACTORING or (m,n) is not in FACTORING: First verify each pi is prime and p1e1 pkek = m If there is a pi n then (m,n) is in FACTORING If for all i, pi < n then (m,n) is not in FACTORING

  16. coNP TAUTOLOGY FACTORING NP P SAT

  17. NP-complete problems: SAT, 3SAT, CLIQUE, VC, SUBSET-SUM, coNP-complete problems: UNSAT, TAUTOLOGY, NOHAMPATH, (NP coNP)-complete problems: Nobody knows if they exist P, NP, coNP can be defined in terms of specific machine models, and for every possible machine we can give an encoding of it. NP coNP is not known to have a corresponding machine model

  18. Parting thoughts: NP has short proofs, how about coNP? What is there beyond NP and coNP?

Related


More Related Content