1
NP-Completeness : Proofs
- Proof Methods
NP-Completeness : Proofs Proof Methods A method to show a - - PDF document
NP-Completeness : Proofs Proof Methods A method to show a decision problem NP-complete is as follows. (1) Show NP. (2) Choose an NP-complete problem . (3) Show
1
2
3
4
m i
− =
1
, (
m j i i
=
1
1
5
1 2 3 4
6
+ 51 + 52 + … + 56,
+ 52 + 54 + 56
+ 51 + 55
+ 53 + 55
+ 53 + 55 + 56
7
i
i
b B'
∈ ∈ ∈ ∈
=
j
j
b B B'
−
∈ ∈ ∈ ∈
?
8
i
i
a A
∈ ∈ ∈ ∈
i
i
a A
∈ ∈ ∈ ∈
i
i
a Α'
∈ ∈ ∈ ∈
i
i
a Α'
∈ ∈ ∈ ∈
i
i
a Α Α'
−
∈ ∈ ∈ ∈
9
i
i
a Α'
∈ ∈ ∈ ∈
i
i
a Α'
∈ ∈ ∈ ∈
= (1 −
i
i
a A
∈ ∈ ∈ ∈
i
i
a Α'
∈ ∈ ∈ ∈
i
i
a Α
∈ ∈ ∈ ∈
i
i
a Α Α'
−
∈ ∈ ∈ ∈
i
i
a Α Α'
−
∈ ∈ ∈ ∈
i
i
a Α
∈ ∈ ∈ ∈
i
i
a Α'
∈ ∈ ∈ ∈
i
i
a Α Α'
−
∈ ∈ ∈ ∈
i
i
a A
∈ ∈ ∈ ∈
i
i
a Α'
∈ ∈ ∈ ∈
i
i
a Α Α'
−
∈ ∈ ∈ ∈
i
i
a Α'
∈ ∈ ∈ ∈
10
11
12
13
14
15
i.e., an ordering (v1, v2, …, v|V|) of
E and (vi, vi+1) ∈
16
17
18
u v u v x y
19
and
for each u ∈
u U'
∈ ∈ ∈ ∈
≤
u U'
∈ ∈ ∈ ∈
≥
20
21
1 2 3 4 5 6 7 8 9
22
ai[3] ai[1] ai[2] ai[4] ai[5] ai[6] ai[7] ai[8] ai[9]
xi yi zi
1 4 6 2 3 5
23
24
25
i i n
≤ ≤
1
26
2 m 1 2 m + 1 m + t
m 2 m
Time
27
28
29
∨
∨
∨
∨
i
i
30
n i
i
=1
m j
j
=1
n i
i
=1
m j
j
=1
m j
j
=1
3
∨
4 , u 1
∨
4 }, then the following
31
i
32
3
←
4
←
3 , u 4 in V’
1, a1[2]))
33
i
1, u2, u 3 , u4, a1[1], a3[1], a1[2], a3[2]} is a
1
←
3
←
1, u2, u 3 , u4 ∈
i
(e.g., u
3 ) that is
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
, i
, i
, i i n
,
i
n i r r=
1
49
50
,
i
n i r i r=
1
,
i
n i r i i r=
1
51
52
53
, i
, i
, i i n
,
i
n i r i r=
1
,
i
n i r i i r=
1
,
i
n i r r=
1
,
i
n i r r=
1
≤