online chromatic number is pspace complete
play

Online Chromatic Number is PSPACE-Complete ohm , Pavel Vesel y - PowerPoint PPT Presentation

Online Chromatic Number is PSPACE-Complete ohm , Pavel Vesel y Martin B Computer Science Institute of Charles University, Prague, Czech Republic. IWOCA 2016, August 17 Online vertex coloring Vertices of G are revealed one by one;


  1. Online Chromatic Number is PSPACE-Complete ohm , Pavel Vesel´ y Martin B¨ Computer Science Institute of Charles University, Prague, Czech Republic. IWOCA 2016, August 17

  2. Online vertex coloring • Vertices of G are revealed one by one;

  3. Online vertex coloring • Vertices of G are revealed one by one; • Algorithm sees edges to previously revealed vertices.

  4. Online vertex coloring • Vertices of G are revealed one by one; • Algorithm sees edges to previously revealed vertices. • Algorithm must color v immediately after arrival: • Two adjacent vertices cannot have the same color; • Algorithm cannot change the color later.

  5. Online vertex coloring • Vertices of G are revealed one by one; • Algorithm sees edges to previously revealed vertices. • Algorithm must color v immediately after arrival: • Two adjacent vertices cannot have the same color; • Algorithm cannot change the color later. • Goal: Minimize no. of colors.

  6. Online vertex coloring • Vertices of G are revealed one by one; • Algorithm sees edges to previously revealed vertices. • Algorithm must color v immediately after arrival: • Two adjacent vertices cannot have the same color; • Algorithm cannot change the color later. • Goal: Minimize no. of colors. • Our stronger model: Algorithm gets a copy of G at the start.

  7. An example

  8. An example

  9. An example

  10. An example

  11. An example

  12. An example

  13. An example

  14. An example

  15. Online chromatic number • χ O ( G ) = minimum number of colors such that a deterministic online algorithm colors G for any input permutation of vertices .

  16. Online chromatic number • χ O ( G ) = minimum number of colors such that a deterministic online algorithm colors G for any input permutation of vertices . • χ O ( P 4 ) = 3 .

  17. Online chromatic number • χ O ( G ) = minimum number of colors such that a deterministic online algorithm colors G for any input permutation of vertices . • χ O ( P 4 ) = 3 . • χ O is an (offline) graph paratemer – like chrom. number!

  18. Online chromatic number • χ O ( G ) = minimum number of colors such that a deterministic online algorithm colors G for any input permutation of vertices . • χ O ( P 4 ) = 3 . • χ O is an (offline) graph paratemer – like chrom. number! History • Online graph coloring first appears in [Bean ’76]. • Online chromatic number first appears in [Gy´ arf´ as, Lehel ’90]. • A copy of a graph at the start – [Halld´ orsson ’96].

  19. Game view • Two players: Drawer and Painter • Both have a copy of G • Both know a number k

  20. Game view • Two players: Drawer and Painter • Both have a copy of G • Both know a number k • Drawer ( Sketcher ) chooses the next vertex for Painter . • Painter paints a presented vertex with a color

  21. Game view • Two players: Drawer and Painter • Both have a copy of G • Both know a number k • Drawer ( Sketcher ) chooses the next vertex for Painter . • Painter paints a presented vertex with a color • Drawer wins when Painter uses k + 1 colors • Otherwise Painter wins • Painter has a winning strategy ⇔ χ O ( G ) ≤ k

  22. Complexity Chromatic number : deciding χ ( G ) ≤ k is NP-hard • already for k = 3 colors.

  23. Complexity Chromatic number : deciding χ ( G ) ≤ k is NP-hard • already for k = 3 colors. What about χ O ( G ) ≤ k ? • In P for k = 3 [Gy´ arf´ as, Kiraly, Lehel ’93]

  24. Complexity Chromatic number : deciding χ ( G ) ≤ k is NP-hard • already for k = 3 colors. What about χ O ( G ) ≤ k ? • In P for k = 3 [Gy´ arf´ as, Kiraly, Lehel ’93] [Kudahl ’15]: χ O ( G ) ≤ k in PSPACE and coNP-hard; • Conjecture: PSPACE-complete

  25. Complexity and our contribution Chromatic number : deciding χ ( G ) ≤ k is NP-hard • already for k = 3 colors. What about χ O ( G ) ≤ k ? • In P for k = 3 [Gy´ arf´ as, Kiraly, Lehel ’93] [Kudahl ’15]: χ O ( G ) ≤ k in PSPACE and coNP-hard; • Conjecture: PSPACE-complete Our contribution: χ O ( G ) ≤ k is PSPACE-complete.

  26. Starting step: Precoloring Precoloring: Some vertices precolored and revealed to the algorithm at the start.

  27. Starting step: Precoloring Precoloring: Some vertices precolored and revealed to the algorithm at the start. Theorem (Kudahl ’15) It is PSPACE-complete to decide χ O ( G ) ≤ k given that polynomially many vertices are precolored.

  28. Three steps to the theorem Theorem It is PSPACE-complete to decide whether χ O ( G ) ≤ k.

  29. Three steps to the theorem Theorem It is PSPACE-complete to decide whether χ O ( G ) ≤ k. Step 1: . . . with polynomially many precolored vertices (new proof).

  30. Three steps to the theorem Theorem It is PSPACE-complete to decide whether χ O ( G ) ≤ k. Step 1: . . . with polynomially many precolored vertices (new proof). Step 2: . . . with logarithmically many precolored vertices.

  31. Three steps to the theorem Theorem It is PSPACE-complete to decide whether χ O ( G ) ≤ k. Step 1: . . . with polynomially many precolored vertices (new proof). Step 2: . . . with logarithmically many precolored vertices. Step 3: . . . with no precolored vertices.

  32. Three steps to the theorem Theorem It is PSPACE-complete to decide whether χ O ( G ) ≤ k. Step 1: . . . with polynomially many precolored vertices (new proof). Step 2: . . . with logarithmically many precolored vertices. Step 3: . . . with no precolored vertices.

  33. A PSPACE-Complete Problem The problem we reduce to: Q3DNF-SAT. • Input: a fully quantified 3DNF formula. • Question: Is it satisfiable? ⇐ ⇒ Is at least one clause satisfiable? ∀ x 1 ∃ x 2 ∀ x 3 : ( x 1 ∧ ¬ x 2 ∧ x 3 ) ∨ ( ¬ x 1 ∧ x 2 ∧ x 3 ) Why is it PSPACE-complete?

  34. A PSPACE-Complete Problem The problem we reduce to: Q3DNF-SAT. • Input: a fully quantified 3DNF formula. • Question: Is it satisfiable? ⇐ ⇒ Is at least one clause satisfiable? ∀ x 1 ∃ x 2 ∀ x 3 : ( x 1 ∧ ¬ x 2 ∧ x 3 ) ∨ ( ¬ x 1 ∧ x 2 ∧ x 3 ) Why is it PSPACE-complete? 1. Q3CNF-SAT is PSPACE-complete (well-known).

  35. A PSPACE-Complete Problem The problem we reduce to: Q3DNF-SAT. • Input: a fully quantified 3DNF formula. • Question: Is it satisfiable? ⇐ ⇒ Is at least one clause satisfiable? ∀ x 1 ∃ x 2 ∀ x 3 : ( x 1 ∧ ¬ x 2 ∧ x 3 ) ∨ ( ¬ x 1 ∧ x 2 ∧ x 3 ) Why is it PSPACE-complete? 1. Q3CNF-SAT is PSPACE-complete (well-known). 2. PSPACE is closed under complement.

  36. A PSPACE-Complete Problem The problem we reduce to: Q3DNF-SAT. • Input: a fully quantified 3DNF formula. • Question: Is it satisfiable? ⇐ ⇒ Is at least one clause satisfiable? ∀ x 1 ∃ x 2 ∀ x 3 : ( x 1 ∧ ¬ x 2 ∧ x 3 ) ∨ ( ¬ x 1 ∧ x 2 ∧ x 3 ) Why is it PSPACE-complete? 1. Q3CNF-SAT is PSPACE-complete (well-known). 2. PSPACE is closed under complement. 3. Q3DNF-SAT is the complement of Q3CNF-SAT.

  37. Step 1: Precoloring We precolor a big clique K col with | V ( K col ) | ≈ the size of the formula.

  38. Step 1: Precoloring We precolor a big clique K col with | V ( K col ) | ≈ the size of the formula. Three uses: 1. Identify uncolored vertices to player Painter ;

  39. Step 1: Precoloring We precolor a big clique K col with | V ( K col ) | ≈ the size of the formula. Three uses: 1. Identify uncolored vertices to player Painter ; 2. Limit allowed colors on any uncolored vertex. blue orred

  40. Step 1: Precoloring We precolor a big clique K col with | V ( K col ) | ≈ the size of the formula. Three uses: 1. Identify uncolored vertices to player Painter ; 2. Limit allowed colors on any uncolored vertex. blue orred 3. Assign meaning to colors. set 1 or unset 1

  41. Step 1: Reduction Given a Q3-DNF formula ∀ x 1 ∃ x 2 ∀ x 3 : ( x 1 ∧ ¬ x 2 ∧ x 3 ) ∨ ( ¬ x 1 ∧ x 2 ∧ x 3 )

  42. Step 1: Reduction Given a Q3-DNF formula ∀ x 1 ∃ x 2 ∀ x 3 : ( x 1 ∧ ¬ x 2 ∧ x 3 ) ∨ ( ¬ x 1 ∧ x 2 ∧ x 3 ) take a polynomially sized K col and add gadgets for each • variable, • clause, • and the entire formula.

  43. Step 1: Gadget sketch ∀ x 1 ∃ x 2 ∀ x 3 : ( x 1 ∧ ¬ x 2 ∧ x 3 ) ∨ ( ¬ x 1 ∧ x 2 ∧ x 3 ) x 2 ,h x 1 ,t x 2 ,t x 3 ,t x 1 ,f x 2 ,f x i x 3 ,f l 1 , 1 l 1 , 2 l 1 , 3 l 2 , 2 l 2 , 3 l 2 , 1 d 1 d 2 F

  44. Step 1: Variable gadget ∀ x 1 ∃ x 2 ∀ x 3 : ( x 1 ∧ ¬ x 2 ∧ x 3 ) ∨ ( ¬ x 1 ∧ x 2 ∧ x 3 ) 1. Universal quantifier: two vertices x 1 , t , x 1 , f . Only two allowed colors: set 1 , unset 1 . x 1 , t has color set 1 ⇒ x 1 set to True.

  45. Step 1: Variable gadget ∀ x 1 ∃ x 2 ∀ x 3 : ( x 1 ∧ ¬ x 2 ∧ x 3 ) ∨ ( ¬ x 1 ∧ x 2 ∧ x 3 ) 1. Universal quantifier: two vertices x 1 , t , x 1 , f . Only x 1 ,t x 1 ,f two allowed colors: set 1 , unset 1 . x 1 , t has color set 1 ⇒ x 1 set to True. Requirement: Painter cannot distinguish x 1 , t from x 1 , f

  46. Step 1: Variable gadget ∀ x 1 ∃ x 2 ∀ x 3 : ( x 1 ∧ ¬ x 2 ∧ x 3 ) ∨ ( ¬ x 1 ∧ x 2 ∧ x 3 ) 1. Universal quantifier: two vertices x 1 , t , x 1 , f . Only x 1 ,t x 1 ,f two allowed colors: set 1 , unset 1 . x 1 , t has color set 1 ⇒ x 1 set to True. Requirement: Painter cannot distinguish x 1 , t from x 1 , f . . . but Painter knows it is coloring the gadget for x 1 .

Recommend


More recommend