NP-Completeness

NP-Completeness

NP-Completeness

The “First” NP-Complete problem

Theorem. CIRCUIT-SAT is NP-complete. [Cook 1971, Levin 1973]

Pf.(sketch)

  • Any algorithm that takes a fixed number of bits n as input and produces a yes/no answer can be represented by such a circuit. Moreover, if algorithm takes poly-time, then circuit if of poly-size.
    sketchy part of proof; fixing the number of bits is important, and reflects basic distinction between algorithm and circuits.
  • Consider some problem X in NP. It has a poly-time certifier C(s,t). To determine whether s is in X, need to know if there exists a certificate t of length p(|s|) such that C(s,t) = yes.
  • View C(s,t) as an algorithm on |s| + p(|s|) bits(input s, certificate t) and convert it into a poly-size circuit.
    • first |s| bits are hard-coded with s
    • remaining p(|s|) bits are represent bits of t.
  • Circuit K is satisfiable iff C(s,t) = yes

NP-Completeness

NP-Completeness

NP-Completeness

NP-Completeness

NP-Completeness

相关文章:

  • 2021-08-25
  • 2021-05-18
  • 2021-06-08
  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2021-05-06
  • 2021-12-28
猜你喜欢
  • 2021-05-22
  • 2022-02-25
  • 2021-10-30
  • 2022-01-06
  • 2021-05-19
  • 2021-08-19
  • 2021-09-01
相关资源
相似解决方案