More Polynomial Reduction

All NPpCircuitSATp3SATISVCAll~{}NP\leq_p Circuit-SAT\leq_p 3SAT\leq IS\leq VC ISpCliqueIS\leq_p Clique 3SATpDirected HCpHamiltonian Cycle(HC)pTSP3SAT\leq_p Directed~{}HC\leq_p Hamiltonian~{}Cycle(HC)\leq_p TSP HCpHamiltonian PathHC\leq_p Hamiltonian~{}Path

Circuit

Gates

  • We can construct circuits from gates
e.g.

Theorm: A polynomial time alg. can be simlulated with a series of circuits C1,C2,,Cn,,C_1, C_2, \cdots, C_n, \cdots,, where CnC_n correspondds to the alg. running on isntances of size nn

Proof:

In total P(n)P(n) bits get involved in the computation

  • We can convert any algorithm to a circuit consisted of gates given a certain input bits

Circuit-SAT Example

  • Is the circuit satisfiable by some truth assignments of the unkown inputs?

Consider:

Let xx be an instance of XX. x=ni|x|=n_i. let the maximum size of the proof instances be n2n_2, n2n_2 is a polynomial of nn. Thus, VV is simulated by a circuit.

Therefore we can say that

Theorem: Let XNPX\in NP. Then XpCircuitSATX\leq_p Circuit-SAT Corollary: Circuit-SAT is NPC

Theorem: Circuit-SAT p\leq_p 3SAT

Proof:

Cook-Levin Theorem: 3-SAT \in NPC

Set-Cover Problem

S={1,,n}S=\{1, \cdots, n\} SiS,i=1,mS_i \subset S, i=1,\cdots m to find min numbe of subset to cover SS Can we find kk subsets to cover SS?

Set-Packing

Find max number of subsets that do not overlap

results matching ""

    No results matching ""