W[1]-hardness. Dániel Marx 1. Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary

Similar documents
Parameterized Reductions

W[1]-hardness. Dániel Marx. Recent Advances in Parameterized Complexity Tel Aviv, Israel, December 3, 2017

Fixed Parameter Algorithms

Parameterized Complexity - an Overview

NP-Completeness. Algorithms

Important separators and parameterized algorithms

Exact Algorithms Lecture 7: FPT Hardness and the ETH

The Square Root Phenomenon in Planar Graphs

Introduction to Parameterized Complexity

Parameterized graph separation problems

8.1 Polynomial-Time Reductions

Recent Advances in FPT and Exact Algorithms for NP-Complete Problems

NP-Hardness. We start by defining types of problem, and then move on to defining the polynomial-time reductions.

Important separators and parameterized algorithms

1 Definition of Reduction

Fixed-Parameter Algorithm for 2-CNF Deletion Problem

Chapter 8. NP and Computational Intractability. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.

Best known solution time is Ω(V!) Check every permutation of vertices to see if there is a graph edge between adjacent vertices

Hardness of Subgraph and Supergraph Problems in c-tournaments

! Greed. O(n log n) interval scheduling. ! Divide-and-conquer. O(n log n) FFT. ! Dynamic programming. O(n 2 ) edit distance.

REU Problems of the Czech Group

! Greed. O(n log n) interval scheduling. ! Divide-and-conquer. O(n log n) FFT. ! Dynamic programming. O(n 2 ) edit distance.

NP and computational intractability. Kleinberg and Tardos, chapter 8

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2

P and NP (Millenium problem)

Complexity of clique coloring and related problems

Unit 8: Coping with NP-Completeness. Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems. Y.-W.

4.1 Review - the DPLL procedure

Minimizing Movement: Fixed-Parameter Tractability

The Dominating Set Problem in Intersection Graphs

Math 776 Graph Theory Lecture Note 1 Basic concepts

NP-complete Reductions

Reductions. Linear Time Reductions. Desiderata. Reduction. Desiderata. Classify problems according to their computational requirements.

Chordal deletion is fixed-parameter tractable

Chordal deletion is fixed-parameter tractable

FEDOR V. FOMIN. Lectures on treewidth. The Parameterized Complexity Summer School 1-3 September 2017 Vienna, Austria

An exact characterization of tractable demand patterns for maximum disjoint path problems

Complexity results for Minimum Sum Edge Coloring

Theory of Computations Spring 2016 Practice Final Exam Solutions

Fixed-Parameter Algorithms, IA166

8.1 Polynomial-Time Reductions

W4231: Analysis of Algorithms

Complexity Results on Graphs with Few Cliques

Lecture 24: More Reductions (1997) Steven Skiena. skiena

Parameterized Complexity of Independence and Domination on Geometric Graphs

Complexity of unique list colorability

Introduction to Graph Theory

arxiv: v1 [cs.ds] 8 Jan 2019

Copyright 2000, Kevin Wayne 1

(p 300) Theorem 7.27 SAT is in P iff P=NP

Decision Problems. Observation: Many polynomial algorithms. Questions: Can we solve all problems in polynomial time? Answer: No, absolutely not.

Hardness of r-dominating set on graphs of diameter (r + 1)

Computability Theory

A Minimizing Movement: Fixed-Parameter Tractability 1

Graph Theory. Connectivity, Coloring, Matching. Arjun Suresh 1. 1 GATE Overflow

Exercises Computational Complexity

Graphs. Pseudograph: multiple edges and loops allowed

Reductions and Satisfiability

Parameterized coloring problems on chordal graphs

Recursively Enumerable Languages, Turing Machines, and Decidability

Eulerian disjoint paths problem in grid graphs is NP-complete

Math 170- Graph Theory Notes

9. Parameter Treewidth

Paths, Flowers and Vertex Cover

Graphs: Introduction. Ali Shokoufandeh, Department of Computer Science, Drexel University

Let G 1 = (V 1, E 1 ) and G 2 = (V 2, E 2 ) be graphs. Introduction. Some facts about Graph Isomorphism. Proving Graph Isomorphism completeness

Common Induced Subgraph Isomorphism Structural Parameterizations and Exact Algorithms

Fixed-parameter tractable canonization and isomorphism test for graphs of bounded treewidth

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch]

arxiv: v1 [cs.ds] 7 Apr 2018

Fixed-Parameter Algorithms

Some Hardness Proofs

Variants of Turing Machines

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18

Example of a Demonstration that a Problem is NP-Complete by reduction from CNF-SAT

Multicut is FPT. Lyon Cedex 07, France

On Structural Parameterizations of the Matching Cut Problem

Parameterized Algorithm for Eternal Vertex Cover

Theory of Computations Spring 2016 Practice Final

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14

Minimizing Movement: Fixed-Parameter Tractability

Parameterized Complexity of Eulerian Deletion Problems

The Graph Motif problem parameterized by the structure of the input graph

Solving Dominating Set in Larger Classes of Graphs: FPT Algorithms and Polynomial Kernels

9.1 Cook-Levin Theorem

The Robust Set problem: parameterized complexity and approximation

Treewidth: Preprocessing and Kernelization

1 Introduction. 1. Prove the problem lies in the class NP. 2. Find an NP-complete problem that reduces to it.

The Parameterized Complexity of Finding Point Sets with Hereditary Properties

Parameterized Approximation Schemes Using Graph Widths. Michael Lampis Research Institute for Mathematical Sciences Kyoto University

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions

Crown Reductions and Decompositions: Theoretical Results and Practical Methods

Minimum sum multicoloring on the edges of trees

Key words. Parameterized complexity, clique-width, tree-width, chromatic number, edge domination,

Discrete mathematics , Fall Instructor: prof. János Pach

arxiv: v3 [cs.ds] 26 Sep 2013

The Satisfiability Problem [HMU06,Chp.10b] Satisfiability (SAT) Problem Cook s Theorem: An NP-Complete Problem Restricted SAT: CSAT, k-sat, 3SAT

Counting the Number of Eulerian Orientations

arxiv: v1 [cs.ds] 19 Feb 2014

COMP260 Spring 2014 Notes: February 4th

Transcription:

W[1]-hardness Dániel Marx 1 1 Institute for Computer Science and Control, Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary School on Parameterized Algorithms and Complexity Będlewo, Poland August 17, 2014 1

So far we have seen positive results: basic algorithmic techniques for fixed-parameter tractability. What kind of negative results we have? Can we show that a problem (e.g., Clique) is not FPT? This talk Can we show that a problem (e.g., Vertex Cover) has no algorithm with running time, say, 2 o(k) n O(1)? Exponential Time Hypothesis (Tuesday/Thursday) Lower bounds 2

So far we have seen positive results: basic algorithmic techniques for fixed-parameter tractability. What kind of negative results we have? Can we show that a problem (e.g., Clique) is not FPT? This talk Can we show that a problem (e.g., Vertex Cover) has no algorithm with running time, say, 2 o(k) n O(1)? Exponential Time Hypothesis (Tuesday/Thursday) This would require showing that P NP: if P = NP, then, e.g., k-clique is polynomial-time solvable, hence FPT. Can we give some evidence for negative results? Lower bounds 2

Two goals: 1 Explain the theory behind parameterized intractability. 2 Show examples of parameterized reductions. Goals of this talk 3

Nondeterministic Turing Machine (NTM): single tape, finite alphabet, finite state, head can move left/right only one cell. In each step, the machine can branch into an arbitrary number of directions. Run is successful if at least one branch is successful. NP: The class of all languages that can be recognized by a polynomial-time NTM. Polynomial-time reduction from problem P to problem Q: a function φ with the following properties: φ(x) can be computed in time x O(1), φ(x) is a yes-instance of Q if and only if x is a yes-instance of P. Definition: Problem Q is NP-hard if any problem in NP can be reduced to Q. If an NP-hard problem can be solved in polynomial time, then every problem in NP can be solved in polynomial time (i.e., P = NP). Classical complexity 4

To build a complexity theory for parameterized problems, we need two concepts: An appropriate notion of reduction. An appropriate hypothesis. Polynomial-time reductions are not good for our purposes. Parameterized complexity 5

To build a complexity theory for parameterized problems, we need two concepts: An appropriate notion of reduction. An appropriate hypothesis. Polynomial-time reductions are not good for our purposes. Example: Graph G has an independent set k if and only if it has a vertex cover of size n k. Transforming an Independent Set instance (G, k) into a Vertex Cover instance (G, n k) is a correct polynomial-time reduction. However, Vertex Cover is FPT, but Independent Set is not known to be FPT. Parameterized complexity 5

Definition Parameterized reduction from problem P to problem Q: a function φ with the following properties: φ(x) can be computed in time f (k) x O(1), where k is the parameter of x, φ(x) is a yes-instance of Q x is a yes-instance of P. If k is the parameter of x and k is the parameter of φ(x), then k g(k) for some function g. Fact: If there is a parameterized reduction from problem P to problem Q and Q is FPT, then P is also FPT. Parameterized reduction 6

Definition Parameterized reduction from problem P to problem Q: a function φ with the following properties: φ(x) can be computed in time f (k) x O(1), where k is the parameter of x, φ(x) is a yes-instance of Q x is a yes-instance of P. If k is the parameter of x and k is the parameter of φ(x), then k g(k) for some function g. Fact: If there is a parameterized reduction from problem P to problem Q and Q is FPT, then P is also FPT. Non-example: Transforming an Independent Set instance (G, k) into a Vertex Cover instance (G, n k) is not a parameterized reduction. Example: Transforming an Independent Set instance (G, k) into a Clique instance (G, k) is a parameterized reduction. Parameterized reduction 6

A useful variant of Clique: Multicolored Clique: The vertices of the input graph G are colored with k colors and we have to find a clique containing one vertex from each color. (or Partitioned Clique) V 1 V 2... V k Theorem There is a parameterized reduction from Clique to Multicolored Clique. ulticolored Clique 7

Theorem There is a parameterized reduction from Clique to Multicolored Clique. Create G by replacing each vertex v with k vertices, one in each color class. If u and v are adjacent in the original graph, connect all copies of u with all copies of v. V 1 V 2... V k u v u 1,..., u k v 1,..., v k G G k-clique in G multicolored k-clique in G. ulticolored Clique 7

Theorem There is a parameterized reduction from Clique to Multicolored Clique. Create G by replacing each vertex v with k vertices, one in each color class. If u and v are adjacent in the original graph, connect all copies of u with all copies of v. V 1 V 2... V k u v u 1,..., u k v 1,..., v k G G k-clique in G multicolored k-clique in G. Similarly: reduction to Multicolored Independent Set. ulticolored Clique 7

Theorem There is a parameterized reduction from Multicolored Independent Set to Dominating Set. Proof: Let G be a graph with color classes V 1,..., V k. We construct a graph H such that G has a multicolored k-clique iff H has a dominating set of size k. x 1 y 1 x 2 y 2 x k y k V 1 V 2 u v V k The dominating set has to contain one vertex from each of the k cliques V 1,..., V k to dominate every x i and y i. Dominating Set 8

Theorem There is a parameterized reduction from Multicolored Independent Set to Dominating Set. Proof: Let G be a graph with color classes V 1,..., V k. We construct a graph H such that G has a multicolored k-clique iff H has a dominating set of size k. x 1 y 1 x 2 y 2 x k y k V 1 V 2 u v V k The dominating set has to contain one vertex from each of the k cliques V 1,..., V k to dominate every x i and y i. For every edge e = uv, an additional vertex w e ensures that these selections describe an independent set. Dominating Set 8 w e

Dominating Set: Given a graph, find k vertices that dominate every vertex. Red-Blue Dominating Set: Given a bipartite graph, find k vertices on the red side that dominate the blue side. Set Cover: Given a set system, find k sets whose union covers the universe. Hitting Set: Given a set system, find k elements that intersect every set in the system. All of these problems are equivalent under parameterized reductions, hence at least as hard as Clique. ariants of Dominating Set 9

Theorem There is a parameterized reduction from Clique to Clique on regular graphs. Proof: Given a graph G and an integer k, let d be the maximum degree of G. Take d copies of G and for every v V (G), fully connect every copy of v with a set V v of d d(v) vertices. G 1 G 2... G d v 1 v 2 V v1 V v2 v n G G Observe the edges incident to V v do not appear in any triangle, hence every k-clique of G is a k-clique of G (assuming k 3). egular graphs 10 V vn

Theorem There is a parameterized reduction from Clique to Clique on regular graphs. Proof: Given a graph G and an integer k, let d be the maximum degree of G. Take d copies of G and for every v V (G), fully connect every copy of v with a set V v of d d(v) vertices. G 1 G 2... G d v 1 v 2 V v1 V v2 v n G G Observe the edges incident to V v do not appear in any triangle, hence every k-clique of G is a k-clique of G (assuming k 3). egular graphs 10 V vn

Partial Vertex Cover: Given a graph G, integers k and s, find k vertices that cover at least s edges. Theorem There is a parameterized reduction from Independent Set on regular graphs parameterized by k to Partial Vertex Cover parameterized by k. Partial Vertex Cover 11

Partial Vertex Cover: Given a graph G, integers k and s, find k vertices that cover at least s edges. Theorem There is a parameterized reduction from Independent Set on regular graphs parameterized by k to Partial Vertex Cover parameterized by k. Proof: If G is d-regular, then k vertices can cover s := kd edges if and only if there is a independent set of size k. d = 3, k = 4, s = 12 Partial Vertex Cover 11

Hundreds of parameterized problems are known to be at least as hard as Clique: Independent Set Set Cover Hitting Set Connected Dominating Set Independent Dominating Set Partial Vertex Cover parameterized by k Dominating Set in bipartite graphs... We believe that none of these problems are FPT. Hard problems 12

It seems that parameterized complexity theory cannot be built on assuming P NP we have to assume something stronger. Let us choose a basic hypothesis: Engineers Hypothesis k-clique cannot be solved in time f (k) n O(1). asic hypotheses 13

It seems that parameterized complexity theory cannot be built on assuming P NP we have to assume something stronger. Let us choose a basic hypothesis: Engineers Hypothesis k-clique cannot be solved in time f (k) n O(1). Theorists Hypothesis k-step Halting Problem (is there a path of the given NTM that stops in k steps?) cannot be solved in time f (k) n O(1). asic hypotheses 13

It seems that parameterized complexity theory cannot be built on assuming P NP we have to assume something stronger. Let us choose a basic hypothesis: Engineers Hypothesis k-clique cannot be solved in time f (k) n O(1). Theorists Hypothesis k-step Halting Problem (is there a path of the given NTM that stops in k steps?) cannot be solved in time f (k) n O(1). Exponential Time Hypothesis (ETH) n-variable 3SAT cannot be solved in time 2 o(n). Which hypothesis is the most plausible? asic hypotheses 13

It seems that parameterized complexity theory cannot be built on assuming P NP we have to assume something stronger. Let us choose a basic hypothesis: Engineers Hypothesis k-clique cannot be solved in time f (k) n O(1). Theorists Hypothesis k-step Halting Problem (is there a path of the given NTM that stops in k steps?) cannot be solved in time f (k) n O(1). Exponential Time Hypothesis (ETH) n-variable 3SAT cannot be solved in time 2 o(n). Which hypothesis is the most plausible? asic hypotheses 13

Theorem There is a parameterized reduction from Independent Set to the k-step Halting Problem. Proof: Given a graph G and an integer k, we construct a Turing machine M and an integer k = O(k 2 ) such that M halts in k steps if and only if G has an independent set of size k. Independent Set Turing machines 14

Theorem There is a parameterized reduction from Independent Set to the k-step Halting Problem. Proof: Given a graph G and an integer k, we construct a Turing machine M and an integer k = O(k 2 ) such that M halts in k steps if and only if G has an independent set of size k. The alphabet Σ of M is the set of vertices of G. In the first k steps, M nondeterministically writes k vertices to the first k cells. For every 1 i k, M moves to the i-th cell, stores the vertex in the internal state, and goes through the tape to check that every other vertex is nonadjacent with the i-th vertex (otherwise M loops). M does k checks and each check can be done in 2k steps k = O(k 2 ). Independent Set Turing machines 14

Theorem There is a parameterized reduction from the k-step Halting Problem to Independent Set. Proof: Given a Turing machine M and an integer k, we construct a graph G that has an independent set of size k := (k + 1) 2 if and only if M halts in k steps. before step 1 cell 0 cell 1 cell k before step k + 1 Turing machines Independent Set 15

Theorem There is a parameterized reduction from the k-step Halting Problem to Independent Set. Proof: Given a Turing machine M and an integer k, we construct a graph G that has an independent set of size k := (k + 1) 2 if and only if M halts in k steps. G consists of (k + 1) 2 cliques, thus a k -independent set has to contain one vertex from each. The selected vertex from clique K i,j describes the situation before step i at cell j: what is written there, is the head there, and if so, what the state is, and what the next transition is. We add edges between the cliques to rule out inconsistencies: head is at more than one location at the same time, wrong character is written, head moves in the wrong direction etc. Turing machines Independent Set 15

Independent Set and k-step Halting Problem can be reduced to each other Engineers Hypothesis and Theorists Hypothesis are equivalent! Independent Set and k-step Halting Problem can be reduced to Dominating Set. Summary 16

Independent Set and k-step Halting Problem can be reduced to each other Engineers Hypothesis and Theorists Hypothesis are equivalent! Independent Set and k-step Halting Problem can be reduced to Dominating Set. Is there a parameterized reduction from Dominating Set to Independent Set? Probably not. Unlike in NP-completeness, where most problems are equivalent, here we have a hierarchy of hard problems. Independent Set is W[1]-complete. Dominating Set is W[2]-complete. Does not matter if we only care about whether a problem is FPT or not! Summary 16

A Boolean circuit consists of input gates, negation gates, AND gates, OR gates, and a single output gate. x 1 x 2 x 3 x 4 x 6 x 7 Circuit Satisfiability: Given a Boolean circuit C, decide if there is an assignment on the inputs of C making the output true. Boolean circuit 17

A Boolean circuit consists of input gates, negation gates, AND gates, OR gates, and a single output gate. x 1 x 2 x 3 x 4 x 6 x 7 Circuit Satisfiability: Given a Boolean circuit C, decide if there is an assignment on the inputs of C making the output true. Weight of an assignment: number of true values. Weighted Circuit Satisfiability: Given a Boolean circuit C and an integer k, decide if there is an assignment of weight k making the output true. Boolean circuit 17

Independent Set can be reduced to Weighted Circuit Satisfiability: x 1 x 2 x 3 x 4 x 6 x 7 Dominating Set can be reduced to Weighted Circuit Satisfiability: x 1 x 2 x 3 x 4 x 6 x 7 Weighted Circuit Satisfiability 18

Independent Set can be reduced to Weighted Circuit Satisfiability: x 1 x 2 x 3 x 4 x 6 x 7 Dominating Set can be reduced to Weighted Circuit Satisfiability: x 1 x 2 x 3 x 4 x 6 x 7 To express Dominating Set, we need more complicated circuits. Weighted Circuit Satisfiability 18

The depth of a circuit is the maximum length of a path from an input to the output. A gate is large if it has more than 2 inputs. The weft of a circuit is the maximum number of large gates on a path from an input to the output. Independent Set: weft 1, depth 3 x 1 x 2 x 3 x 4 x 6 x 7 Dominating Set: weft 2, depth 2 x 1 x 2 x 3 x 4 x 6 x 7 epth and weft 19

Let C[t, d] be the set of all circuits having weft at most t and depth at most d. Definition A problem P is in the class W[t] if there is a constant d and a parameterized reduction from P to Weighted Circuit Satisfiability of C[t, d]. We have seen that Independent Set is in W[1] and Dominating Set is in W[2]. Fact: Independent Set is W[1]-complete. Fact: Dominating Set is W[2]-complete. The W-hierarchy 20

Let C[t, d] be the set of all circuits having weft at most t and depth at most d. Definition A problem P is in the class W[t] if there is a constant d and a parameterized reduction from P to Weighted Circuit Satisfiability of C[t, d]. We have seen that Independent Set is in W[1] and Dominating Set is in W[2]. Fact: Independent Set is W[1]-complete. Fact: Dominating Set is W[2]-complete. If any W[1]-complete problem is FPT, then FPT = W[1] and every problem in W[1] is FPT. If any W[2]-complete problem is in W[1], then W[1] = W[2]. If there is a parameterized reduction from Dominating Set to Independent Set, then W[1] = W[2]. The W-hierarchy 20

Weft is a term related to weaving cloth: it is the thread that runs from side to side in the fabric. Weft 21

Typical NP-hardness proofs: reduction from e.g., Clique or 3SAT, representing each vertex/edge/variable/clause with a gadget. v 1 v 2 v 3 v 4 v 5 v 6 C 1 C 2 C 3 C 4 Usually does not work for parameterized reductions: cannot afford the parameter increase. Parameterized reductions 22

Typical NP-hardness proofs: reduction from e.g., Clique or 3SAT, representing each vertex/edge/variable/clause with a gadget. v 1 v 2 v 3 v 4 v 5 v 6 C 1 C 2 C 3 C 4 Usually does not work for parameterized reductions: cannot afford the parameter increase. Types of parameterized reductions: Reductions keeping the structure of the graph. Clique Independent Set Independent Set on regular graphs Partial Vertex Cover Reductions with vertex representations. Multicolored Independent Set Dominating Set Reductions with vertex and edge representations. Parameterized reductions 22

Balanced Vertex Separator: Given a graph G and an integer k, find a set S of at most k vertices such that every component of G S has at most V (G) /2 vertices. Theorem Balanced Vertex Separator parameterized by k is W[1]-hard. Balanced Vertex Separator 23

Theorem Balanced Vertex Separator parameterized by k is W[1]-hard. Proof: By reduction from Clique. V (G) = 11, E(G) = 22, k = 4, l = 3 G G K l We form G by Subdividing every edge of G. Making the original vertices of G a clique. Adding an l-clique for l = V (G) + E(G) 2(k + ( k 2) ) (assuming the graph is sufficiently large, we have l 1). We have V (G ) = 2 V (G) + 2 E(G) 2(k + ( k 2) ) and the big component of G has size V (G) + E(G). alanced Vertex Separator 23

Theorem Balanced Vertex Separator parameterized by k is W[1]-hard. Proof: By reduction from Clique. V (G) = 11, E(G) = 22, k = 4, l = 3 G G K l We have V (G ) = 2 V (G) + 2 E(G) 2(k + ( k 2) ) and the big component of G has size V (G) + E(G). : A k-clique in G cuts away ( k 2) vertices, reducing the size of the big component to V (G) + E(G) (k + ( k 2) ) = V (G ) /2. Balanced Vertex Separator 23

Theorem Balanced Vertex Separator parameterized by k is W[1]-hard. Proof: By reduction from Clique. V (G) = 11, E(G) = 22, k = 4, l = 3 G G K l We have V (G ) = 2 V (G) + 2 E(G) 2(k + ( k 2) ) and the big component of G has size V (G) + E(G). : We need to reduce the size of the large component of G by k + ( k 2) by removing k vertices. This is only possible if the k vertices cut away ( k 2) isolated vertices, i.e., the k-vertices form a k-clique in G. Balanced Vertex Separator 23

List Coloring is a generalization of ordinary vertex coloring: given a graph G, a set of colors C, and a list L(v) C for each vertex v, the task is to find a coloring c where c(v) L(v) for every v. Theorem Vertex Coloring is FPT parameterized by treewidth. However, list coloring is more difficult: Theorem List Coloring is W[1]-hard parameterized by treewidth. List Coloring 24

Theorem List Coloring is W[1]-hard parameterized by treewidth. Proof: By reduction from Multicolored Independent Set. Let G be a graph with color classes V 1,..., V k. Set C of colors: the set of vertices of G. The colors appearing on vertices u 1,..., u k correspond to the k vertices of the clique, hence we set L(u i ) = V i. u 2 : V 2 u 1 : V 1 u 3 : V 3 u 5 : V 5 u 4 : V 4 List Coloring 25

Theorem List Coloring is W[1]-hard parameterized by treewidth. Proof: By reduction from Multicolored Independent Set. Let G be a graph with color classes V 1,..., V k. Set C of colors: the set of vertices of G. The colors appearing on vertices u 1,..., u k correspond to the k vertices of the clique, hence we set L(u i ) = V i. If x V i and y V j are adjacent in G, then we need to ensure that c(u i ) = x and c(u j ) = y are not true at the same time we add a vertex adjacent to u i and u j whose list is {x, y}. u 2 : V 2 {x, y} u 1 : V 1 u 3 : V 3 u 5 : V 5 u 4 : V 4 List Coloring 25

Key idea Represent the k vertices of the solution with k gadgets. Connect the gadgets in a way that ensures that the represented values are compatible. Vertex representation 26

Odd Set: Given a set system F over a universe U and an integer k, find a set S of at most k elements such that S F is odd for every F F. Theorem Odd Set is W[1]-hard parameterized by k. dd Set 27

Theorem Odd Set is W[1]-hard parameterized by k. First try: Reduction from Multicolored Independent Set. Let U = V 1... V k and introduce each set V i into F. The solution has to contain exactly one element from each V i. V 1 V 2 V 3 V 4 V 5 If xy E(G), how can we express that x V i and y V j cannot be selected simultaneously? dd Set 27

Theorem Odd Set is W[1]-hard parameterized by k. First try: Reduction from Multicolored Independent Set. Let U = V 1... V k and introduce each set V i into F. The solution has to contain exactly one element from each V i. V 1 V 2 V 3 V 4 V 5 x y If xy E(G), how can we express that x V i and y V j cannot be selected simultaneously? Seems difficult: introducing {x, y} into F forces that exactly one of x and y appears in the solution, dd Set 27

Theorem Odd Set is W[1]-hard parameterized by k. First try: Reduction from Multicolored Independent Set. Let U = V 1... V k and introduce each set V i into F. The solution has to contain exactly one element from each V i. V 1 V 2 V 3 V 4 V 5 x y If xy E(G), how can we express that x V i and y V j cannot be selected simultaneously? Seems difficult: introducing {x, y} into F forces that exactly one of x and y appears in the solution, dd Set 27

Theorem Odd Set is W[1]-hard parameterized by k. First try: Reduction from Multicolored Independent Set. Let U = V 1... V k and introduce each set V i into F. The solution has to contain exactly one element from each V i. V 1 V 2 V 3 V 4 V 5 x y If xy E(G), how can we express that x V i and y V j cannot be selected simultaneously? Seems difficult: introducing {x, y} into F forces that exactly one of x and y appears in the solution, introducing {x} (V j \ {y}) into F forces that either both x and y or none of x and y appear in the solution. dd Set 27

Theorem Odd Set is W[1]-hard parameterized by k. First try: Reduction from Multicolored Independent Set. Let U = V 1... V k and introduce each set V i into F. The solution has to contain exactly one element from each V i. V 1 V 2 V 3 V 4 V 5 x y If xy E(G), how can we express that x V i and y V j cannot be selected simultaneously? Seems difficult: introducing {x, y} into F forces that exactly one of x and y appears in the solution, introducing {x} (V j \ {y}) into F forces that either both x and y or none of x and y appear in the solution. dd Set 27

Reduction from Multicolored Clique. U := k i=1 V i 1 i<j k E i,j. k := k + ( k 2). Let F contain V i (1 i k) and E i,j (1 i < j k). V 1 V 2 V 3 V 4 E 1,2 E 1,3 E 1,4 E 2,3 E 2,4 E 3,4 Odd Set 28

Reduction from Multicolored Clique. U := k i=1 V i 1 i<j k E i,j. k := k + ( k 2). Let F contain V i (1 i k) and E i,j (1 i < j k). For every v V i and x i, we introduce the sets: (V i \ {v}) {every edge from E i,x with endpoint v} (V i \ {v}) {every edge from E x,i with endpoint v} V 1 V 2 V 3 V 4 E 1,2 E 1,3 E 1,4 E 2,3 E 2,4 E 3,4 Odd Set 28

Reduction from Multicolored Clique. U := k i=1 V i 1 i<j k E i,j. k := k + ( k 2). Let F contain V i (1 i k) and E i,j (1 i < j k). For every v V i and x i, we introduce the sets: (V i \ {v}) {every edge from E i,x with endpoint v} (V i \ {v}) {every edge from E x,i with endpoint v} V 1 V 2 V 3 V 4 E 1,2 E 1,3 E 1,4 E 2,3 E 2,4 E 3,4 Odd Set 28

Reduction from Multicolored Clique. U := k i=1 V i 1 i<j k E i,j. k := k + ( k 2). Let F contain V i (1 i k) and E i,j (1 i < j k). For every v V i and x i, we introduce the sets: (V i \ {v}) {every edge from E i,x with endpoint v} (V i \ {v}) {every edge from E x,i with endpoint v} V 1 V 2 V 3 V 4 E 1,2 E 1,3 E 1,4 E 2,3 E 2,4 E 3,4 Odd Set 28

Reduction from Multicolored Clique. For every v V i and x i, we introduce the sets: (V i \ {v}) {every edge from E i,x with endpoint v} (V i \ {v}) {every edge from E x,i with endpoint v} edges with endpoint v are selected v V i selected from E i,x and E x,i V 1 V 2 V 3 V 4 E 1,2 E 1,3 E 1,4 E 2,3 E 2,4 E 3,4 Odd Set 28

Reduction from Multicolored Clique. For every v V i and x i, we introduce the sets: (V i \ {v}) {every edge from E i,x with endpoint v} (V i \ {v}) {every edge from E x,i with endpoint v} edges with endpoint v are selected v V i selected from E i,x and E x,i v i V i selected v j V j selected edge v iv j is selected in E i,x V 1 V 2 V 3 V 4 E 1,2 E 1,3 E 1,4 E 2,3 E 2,4 E 3,4 Odd Set 28

Key idea Represent the vertices of the clique by k gadgets. Represent the edges of the clique by ( k 2) gadgets. Connect edge gadget E i,j to vertex gadgets V i and V j such that if E i,j represents the edge between x V i and y V j, then it forces V i to x and V j to y. Vertex and edge representation 29

The following problems are W[1]-hard: Odd Set Exact Odd Set (find a set of size exactly k... ) Exact Even Set Unique Hitting Set (at most k elements that hit each set exactly once) Exact Unique Hitting Set (exactly k elements that hit each set exactly once) Variants of Odd Set 30

The following problems are W[1]-hard: Odd Set Exact Odd Set (find a set of size exactly k... ) Exact Even Set Unique Hitting Set (at most k elements that hit each set exactly once) Exact Unique Hitting Set (exactly k elements that hit each set exactly once) Open question:?even Set: Given a set system F and an integer k, find a nonempty set S of at most k elements such F S is even for every F F. Variants of Odd Set 30

By parameterized reductions, we can show that lots of parameterized problems are at least as hard as Clique, hence unlikely to be fixed-parameter tractable. Connection with Turing machines gives some supporting evidence for hardness (only of theoretical interest). The W-hierarchy classifies the problems according to hardness (only of theoretical interest). Important trick in W[1]-hardness proofs: vertex and edge representations. Summary 31