0% found this document useful (0 votes)
14 views3 pages

12-Hardness Reductions

The lesson focuses on methods for hardness reductions in graph theory, specifically addressing NP-hard problems like Independent Set and 3-colouring. It discusses the implications of reductions on various classes of graphs, including H-free graphs and planar graphs, and presents theorems related to the complexity of these problems. Additionally, it touches on conditional complexity and polynomial time lower bounds due to the exponential time hypothesis (ETH).

Uploaded by

saeb2saeb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

12-Hardness Reductions

The lesson focuses on methods for hardness reductions in graph theory, specifically addressing NP-hard problems like Independent Set and 3-colouring. It discusses the implications of reductions on various classes of graphs, including H-free graphs and planar graphs, and presents theorems related to the complexity of these problems. Additionally, it touches on conditional complexity and polynomial time lower bounds due to the exponential time hypothesis (ETH).

Uploaded by

saeb2saeb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Master Informatique Advanced Graph Theory

Université de Bordeaux Notes of Lesson 12

Hardness reductions
In this lesson there is not much new to know by heart, the aim is to show you methods to do hardness reducitons.
"You must be able to reproduce these methods to do other hardness reducitons.

Recalls to the complexity of colouring on graphs

See Lesson 6 on colouring algoritms for more details.


We saw a reduction showing that 3-colouring is NP-hard. That reduction implies, under ETH (exponential time hy-
pothesis), that there is no sub-exponential algorithm to solve 3-colouring on general graphs. This is due to the fact
that this reduction preserves some specific conditions on the sizes of instances and parameters, that will not be pre-
sented
p
in this course (but feel free to read more about this if you are interested). However, we also saw that there is a
n
O(2 ) algorithm to solve 3-colouring on planar graphs, although 3-colouring is also NP-hard on planar graphs. This
is due to the fact that the reduction from 3-SAT to 3-colouring on planar graphs does not respect the same restrictions
as the one to 3-colouring on general graphs.

Independent Set

I NDEPENDENT S ET: input: a graph G and an integer k.


output: does the graph G admit an Independent Set of size at most k.

Theorem. "I NDEPENDENT S ET is NP-hard on general graphs.

Since the problem is NP-hard on general graphs, one can look at smaller classes of graphs. For instance, for a fixed
graph H , we can look at H -free graphs. (Recall: "H -free graphs are graphs that do not have a copy of H as an induced
subgraph.)
However:

Theorem. "If H has a cycle, then I NDEPENDENT S ET is NP-hard on H -free graphs.

Proof. We do a reduction from I NDEPENDENT S ET on general graphs. Let I = (G, k) be an instance of I NDEPENDENT
S ET on general graphs. Let us build the graph G 0 from G by subdividing every edge twice. Let m be the number of
edges of G.
Consider an Independent Set S of G 0 . If there is an edge uv ∈ E (G) such that both u and v are in S. Since S is an
Independent Set in G 0 , we know that the two vertices that were added on the edge uv cannot be in S. We can remove
either u or v from S, say v, and replace it by one of the vertices added on uv. By doing this repeatedly, we can obtain
an Independent Set S 0 of G 0 with the same size as S, and such that S 0 does not countain two adjacent vertices of G.
Now we can assume for every edge uv or G, one of the two vertices added to uv is in S 0 , otherwise we can add them to
S 0 . Then if S had k + m vertices, the vertices of S 0 ∩ V (G) form an Independent Set of size at least k in G.
Reciprocally, if G has an Independent Set of size k, we can add one of the vertices added to each edge. This leads to an
Independent Set of G 0 of size k + m.
Therefore G has an Independent Set of size k if and only if G 0 has an Independent Set of size k + m. But any cycle of
G 0 is at least three times as long as a smallest cycle in G. Let g be the size of a cycle in H . By applying the previous
construction repeatedly, one may ensure that we obtain an instance I 0 equivalent to I where the smallest cycle in
the graph has size more than g . Hence the graph cannot contain H as an induced subgraph, and I 0 is an instance of
I NDEPENDENT S ET on H -free graphs.

1
Conditional complexity

In this section, we will consider problems where we do not actually know if the answer is always true on the considered
classes of graphs. However, we can still prove that, under the condition that the answer is not always true (that is, there
exists a counter-example), the problem is N P -hard. This method can also be applied for problems where we know
actual counter-examples.
We know that triangle-free planar graphs are 3-colorable. One may wonder, however, if forbidding other cycles can
also force graphs to be 3-colorable. The following was open for 30 years:
(∗)Is every {C 4 ,C 5 }-free planar graph 3-colorable ? The answer is no (a counter-example was found recently).
However, we have the following:
Theorem. (∗)Every {C 4 ,C 5 ,C 6 ,C 7 }-free planar graph is 3-colourable.

For i ≥ 4, let C i be the class of {C 4 , . . . ,C i }-free planar graphs. We will prove the following:
Theorem. (∗)For all i ≥ 4, either every graph in C i is 3-colourable, or it is NP-hard to decide if a gaph in C i is 3-
colourable.

Note that, for i = 6, it is still not known wether the problem is trivial or NP-hard, but we know that it is either trivial or
NP-hard.

Proof. "The method must be known.


Assume that for a given i ≥ 4, not every graph in C i is 3-colourable. Then there exists a graph in C i that is not 3-
colourable. Consider such a graph H with minimum number of edges. That is, H is a minimum counter-exemple to
the property that we want to prove.
Let uv ∈ E (H ), and G 0 = G \ {uv} be the graph H with the edge uv removed. We have the following properties on H 0 :

1. Since H 0 is a subgraph of H , H 0 is in C i , and in particular has no cycle of length from 4 to i .

2. Since H 0 has fewer edges than H , that is a smallest counter-exemple, H 0 has a 3-colouring h.

3. For every 3-colouring of H 0 , the vertices u and v have the same colour. If not, the 3-colouring of H 0 would also
be proper in H , and H is a counter-example and thus does not admit a proper 3-colouring.

Let us now do a NP-hardness reduction from 3-colouring on planar graphs. Consider and instance G of 3-colouring
on planar graphs. We will do the following construction on G:

• Take a vertex w of G with a neighbour w 0 .

• Replace w with a copy of H 0 , where u has all of the neighbours of w except w 0 , and v is adjacent to w 0 .

Let G 0 be the resulting graph. Let us show that G 0 has a 3-colouring if and only if G has a 3-colouring.
Let c be a 3-colouring of G. Consider the 3-colouring h of H , that exists by property 2. Note that by property 3,
h(u) = h(v). Up to renaming colours in h, we can also assume that h(u) = c(w). Now let c 0 (x) = c(x) if x ∈ G, and
c 0 (x) = h(x) if x ∈ H 0 . It is easy to check that c 0 is a proper 3-colouring of G 0 .
Let c 0 be a 3-colouring of G 0 . Note that the restriction of c 0 to H 0 is a proper 3-colouring of H 0 , and thus by property 3,
c 0 (u) = c 0 (v). Consider the restriction c of c 0 to G, where we add that c(w) = c 0 (v). It is easy to check that c is a proper
3-colouring of G.
Note now that G 0 is planar, since G and H 0 are planar, and we branched both graphs on two vertices in the same face
of H 0 and on a vertex of G. Moreover, since uv ∉ E (H 0 ), u and v have distance at least two in H 0 . Therefore every cycle
of G passing through the edge w w 0 is increased by at least 2 in G 0 . Applying this construction repeatedly on every edge
w w 0 of G, we can make sure that every cycle that uses edges of G have length more than i . Therefore the only small
cycle that remain in the graph are cycles of H 0 . By property 1, we know that those small cycles do not have length
between 4 and i .
Therefore we built an instance of 3-colouring equivalent to G that is planar and has no cycle with length between 4
and i . So the reduction is done, and 3-colouring is hard on C i .

Note that this kind of proof can be applied in many settings. If the property that we want to prove is not as symmet-
rical as the one considered there, for instance if we are trying to prove some partition property, we may have some
complications. Namely, there may be several possibilities for the colourings/partitions of the graph H 0 . In that case,
we must consider the different possibilities and do reductions for each of them (possibly nearly the same, possibly
different).

2
Polynomial time lower bounds due to ETH

(∗)For some problems, for instance k-Independent Set, we know that the problem is probably not FPT parametrised
by k. We say that such instances are W [1]-hard. If ETH is true, then the classes FPT and W [1]-hard are disjoint. From
this, and using some specific reductions that we will not see in this course, one can actually pove polynomial lower
bounds on the complexity of k-Independent Set. Namely, k-Independent Set cannot be solved in time n o(k) .
To prove that, the idea is to take some small (sublinear) function of n as a value of k, and use the W [1]-hard result that
would imply (under ETH) that the problem cannot be solved in time f (k)n O(1) .

You might also like