Ramseys theorem and lower-bound results Jukka Suomela Adaptive - - PowerPoint PPT Presentation

ramsey s theorem and lower bound results
SMART_READER_LITE
LIVE PREVIEW

Ramseys theorem and lower-bound results Jukka Suomela Adaptive - - PowerPoint PPT Presentation

Ramseys theorem and lower-bound results Jukka Suomela Adaptive Computing Group Helsinki Institute for Information Technology HIIT University of Helsinki N = 6, = 6, k = 2, = 2, c = 2 = 2 11 March 2010 1 2 {1,4} {1,5} {1,2} {1,3} {1,6}


slide-1
SLIDE 1

Ramsey’s theorem and lower-bound results

Jukka Suomela

Adaptive Computing Group Helsinki Institute for Information Technology HIIT University of Helsinki 11 March 2010

N = 6, = 6, k = 2, = 2, c = 2 = 2 {1,2}

{1,3} {1,4} {1,5} {1,6} {2,3} {2,4} {2,5} {2,6} {3,4} {3,5} {3,6} {4,5} {4,6} {5,6}

1 2 6 3 5 4 =

slide-2
SLIDE 2

Part I: Ramsey’s theorem

  • A generalisation of the pigeonhole principle
  • Frank P. Ramsey (1930):

On a problem of formal logic

  • “... in the course of this investigation it is necessary

to use certain theorems on combinations which have an independent interest...”

2

slide-3
SLIDE 3

Basic definitions

  • Assign a colour from {1, 2, ..., c}

to each k-subset of {1, 2, ..., N}

3

N = 6, = 6, k = 2, = 2, c = 2 = 2 {1,2} {1,3} {1,4} {1,5} {1,6} {2,3} {2,4} {2,5} {2,6} {3,4} {3,5} {3,6} {4,5} {4,6} {5,6} N = 13, = 13, k = 1, = 13, k = 1, c = 1, c = 3 {1} {2} {3} {4} {5} {6} {7} {8} {9} {10} {11} {12} {13} N = 4, k = 3, k = 3, c = 2 {1,2,3} {1,2,4} {1,3,4} {2,3,4}

slide-4
SLIDE 4

Basic definitions

  • Assign a colour from {1, 2, ..., c}

to each k-subset of {1, 2, ..., N}

4

N = 6, = 6, k = 2, = 2, c = 2 = 2 {1,2} {1,3} {1,4} {1,5} {1,6} {2,3} {2,4} {2,5} {2,6} {3,4} {3,5} {3,6} {4,5} {4,6} {5,6}

1 2 6 3 5 4 =

slide-5
SLIDE 5

Basic definitions

  • X ⊂ {1, 2, ..., N} is a monochromatic subset

if all k-subsets of X have the same colour

5

N = 6, = 6, k = 2, = 2, c = 2 = 2 {1,2}

{1,3} {1,4} {1,5} {1,6} {2,3} {2,4} {2,5} {2,6} {3,4} {3,5} {3,6} {4,5} {4,6} {5,6}

1 2 6 3 5 4 =

slide-6
SLIDE 6

Ramsey’s theorem

  • Assign a colour from {1, 2, ..., c}

to each k-subset of {1, 2, ..., N}

  • X ⊂ {1, 2, ..., N} is a monochromatic subset

if all k-subsets of X have the same colour

  • Ramsey’s theorem: For all c, k, and n

there is a finite N such that any c-colouring

  • f k-subsets of {1, 2, ..., N} contains

a monochromatic subset with n elements

6

slide-7
SLIDE 7

Ramsey’s theorem

  • Assign a colour from {1, 2, ..., c}

to each k-subset of {1, 2, ..., N}

  • X ⊂ {1, 2, ..., N} is a monochromatic subset

if all k-subsets of X have the same colour

  • Ramsey’s theorem: For all c, k, and n

there is a finite N such that any c-colouring

  • f k-subsets of {1, 2, ..., N} contains

a monochromatic subset with n elements

  • The smallest such N is denoted by Rc(n; k)

7

Ramsey numbers

slide-8
SLIDE 8

Ramsey’s theorem: k = 1

  • k = 1: pigeonhole principle
  • If we put N items into c slots,

then at least one of the slots has to contain at least n items

  • Colour of the 1-subset {i} = slot of the element i
  • Clearly holds if N ≥ c(n − 1) + 1
  • Does not necessarily hold if N ≤ c(n − 1)
  • Rc(n; 1) = c(n − 1) + 1

8

slide-9
SLIDE 9

Ramsey’s theorem: k = 2, c = 2

  • Complete graphs, red and blue edges
  • If the graph is large enough,

there will be a monochromatic clique

  • For example, R2(2; 2) = 2,

R2(3; 2) = 6, and R2(4; 2) = 18

  • A graph with 2 nodes contains

a monochromatic edge

  • A graph with 6 nodes contains

a monochromatic triangle

9

1 2 6 3 5 4 1 2

slide-10
SLIDE 10

Ramsey’s theorem: k = 2, c = 2

  • Another interpretation: graphs
  • {u,v} red: edge {u,v} present
  • {u,v} blue: edge {u,v} missing
  • Large monochromatic subset:
  • Large clique (red) or

large independent set (blue)

  • Any graph with 6 nodes

contains a clique with 3 nodes or an independent set with 3 nodes

10

1 2 6 3 5 4 1 2 6 3 5 4

slide-11
SLIDE 11

Ramsey’s theorem: k = 2, c = 2

  • Sufficiently large graphs

(N nodes) contain large independents sets (n nodes)

  • r large cliques (n nodes)
  • You can avoid one of these,

but not both

  • However, Ramsey numbers are

large: here N is exponential in n

11

1 2 6 3 5 4 1 2 6 3 5 4

slide-12
SLIDE 12

Part II: Proof of Ramsey’s theorem

  • Following Nešetřil (1995)
  • Notation from Radziszowski

12

slide-13
SLIDE 13

Definitions

  • X ⊂ {1, 2, ..., N} is a monochromatic subset:

if A and B are k-subsets of X, then A and B have the same colour

  • X ⊂ {1, 2, ..., N} is a good subset:

if A and B are k-subsets of X and min(A) = min(B), then A and B have the same colour

  • An example with c = 2 and k = 2:

{1,2,3,5} is good but not monochromatic in the colouring {1,2}, {1,3}, {1,4}, {1,5}, {2,3}, {2,4}, {2,5}, {3,5}, {4,5}

13

2 5 1 3

slide-14
SLIDE 14

Definitions

  • X ⊂ {1, 2, ..., N} is a monochromatic subset:

if A and B are k-subsets of X, then A and B have the same colour

  • X ⊂ {1, 2, ..., N} is a good subset:

if A and B are k-subsets of X and min(A) = min(B), then A and B have the same colour

  • Rc(n; k) = smallest N s.t. ∃ monochromatic n-subset
  • Gc(n; k) = smallest N s.t. ∃ good n-subset

14

slide-15
SLIDE 15

Proof outline

  • Rc(n; k) = smallest N s.t. ∃ monochromatic n-subset
  • Gc(n; k) = smallest N s.t. ∃ good n-subset
  • Theorem: Rc(n; k) is finite for all c, n, k

(i) Rc(n; 1) is finite for all c, n (ii) If Rc(n; k − 1) is finite for all c, n then Gc(n; k) is finite for all c, n (iii) Rc(n; k) ≤ Gc(c(n − 1) + 1; k) for all c, n, k

15

slide-16
SLIDE 16

Proof: step (i)

  • Lemma: Rc(n; 1) is finite for all c, n
  • Proof:
  • Pigeonhole principle
  • Rc(n; 1) = c(n − 1) + 1

16

slide-17
SLIDE 17

Proof: step (ii) — outline

  • Lemma: if Rc(n; k − 1) is finite for all c, n

then Gc(n; k) is finite for all c, n

  • Proof (for each fixed c):
  • Induction on n
  • Gc(k; k) is finite
  • Assume that M = Gc(n − 1; k) is finite
  • Then we also have a finite Rc(M; k − 1)
  • Enough to show that Gc(n; k) ≤ 1 + Rc(M; k − 1)

17

slide-18
SLIDE 18

Proof: step (ii)

  • Gc(n; k) ≤ 1 + Rc(M; k − 1) where M = Gc(n − 1; k)
  • Let N = 1 + Rc(M; k − 1), consider any

colouring f of k-subsets of {1, 2, ..., N}

  • Delete element 1:

colouring f’ of (k − 1)-subsets of {2, 3, ..., N}

  • Find an f’-monochromatic M-subset X ⊂ {2, 3, ..., N}
  • Find an f-good (n − 1)-subset Y ⊂ X
  • {1} ∪ Y is an f-good n-subset of {1, 2, ..., N}

18

f: f’: {1,2,3} {1,2,4} {1,3,4} {2,3,4} {2,3} {2,4} {3,4}

slide-19
SLIDE 19

Proof: step (ii)

  • A fictional example: N = 7, M = 5, n = 5, k = 3
  • Original colouring f: {1,2,3}, {1,2,4}, {1,2,5},

{1,2,6}, {1,2,7}, ..., {1,6,7}, {2,3,4}, ..., {5,6,7}

  • Colouring f’: {2,3}, {2,4}, {2,5}, {2,6}, {2,7}, ..., {6,7}
  • f’-monochromatic M-subset {2,3,4,5,7} of {2,3,...,N}:

{2,3}, {2,4}, {2,5}, {2,7}, ..., {5,7}

  • f-good (n−1)-subset {2,4,5,7}: {2,4,5}, {2,4,7}, {4,5,7}
  • {1,2,4,5,7} is f-good: {1,2,4}, {1,2,5}, {1,2,7}, ...,

{1,5,7}, {2,4,5}, {2,4,7}, {4,5,7}

19

In real life, these constants would be much larger...

slide-20
SLIDE 20

Proof: step (ii)

  • A fictional example: N = 7, M = 5, n = 5, k = 3
  • Original colouring f: {1,2,3}, {1,2,4}, {1,2,5},

{1,2,6}, {1,2,7}, ..., {1,6,7}, {2,3,4}, ..., {5,6,7}

  • Colouring f’: {2,3}, {2,4}, {2,5}, {2,6}, {2,7}, ..., {6,7}
  • f’-monochromatic M-subset {2,3,4,5,7} of {2,3,...,N}:

{2,3}, {2,4}, {2,5}, {2,7}, ..., {5,7}

  • f-good (n−1)-subset {2,4,5,7}: {2,4,5}, {2,4,7}, {4,5,7}
  • {1,2,4,5,7} is f-good: {1,2,4}, {1,2,5}, {1,2,7}, ...,

{1,5,7}, {2,4,5}, {2,4,7}, {4,5,7}

20

N − 1 ≥ Rc(M; k − 1) M ≥ Gc(n − 1; k)

slide-21
SLIDE 21

Proof: step (ii) — summary

  • Lemma: if Rc(n; k − 1) is finite for all c, n

then Gc(n; k) is finite for all c, n

  • Proof (for each fixed c):
  • Induction on n
  • Gc(k; k) is finite
  • We have shown that if Gc(n − 1; k) is finite

then Gc(n; k) is finite

  • Trick: show that Gc(n; k) ≤ 1 + Rc(Gc(n − 1; k); k − 1)

21

slide-22
SLIDE 22

Proof: step (iii)

  • Lemma: Rc(n; k) ≤ Gc(c(n − 1) + 1; k) for all c, n, k
  • Proof:
  • If N = Gc(c(n − 1) + 1; k), we can find

a good subset X with c(n − 1) + 1 elements

  • If k-subset A of X has colour i, put min(A) into slot i
  • E.g.: {1,2}, {1,3}, {1,5}, {2,3}, {2,5}, {3,5}:

put 1 and 3 to slot blue, 2 to slot green, 5 to any slot

  • Each slot is monochromatic and

at least one slot contains n elements (pigeonhole)!

22

2 5 1 3

slide-23
SLIDE 23

Ramsey’s theorem: proof summary

  • Rc(n; k) = smallest N s.t. ∃ monochromatic n-subset
  • Gc(n; k) = smallest N s.t. ∃ good n-subset
  • Theorem: Rc(n; k) is finite for all c, n, k

(i) Rc(n; 1) is finite for all c, n (ii) If Rc(n; k − 1) is finite for all c, n then Gc(n; k) is finite for all c, n

  • Induction: Gc(n; k) ≤ 1 + Rc(Gc(n − 1; k); k − 1)

(iii) Rc(n; k) ≤ Gc(c(n − 1) + 1; k) for all c, n, k

23

slide-24
SLIDE 24

Part III: An application of Ramsey’s theorem

  • Czygrinow et al. (2008)
  • A deterministic distributed algorithm can’t

find a (2 − ε)-approximation of vertex cover in constant time

  • Holds even if we consider an n-cycle with

unique identifiers from 1, 2, ..., n

24

slide-25
SLIDE 25

Lower-bound result for vertex cover approximation

  • Numbered directed n-cycle:
  • directed n-cycle, each node has outdegree = indegree = 1
  • node identifiers are a permutation of {1, 2, ..., n}

25

1 4 3 5 6 2 4 5 2 6 1 3

slide-26
SLIDE 26

Lower-bound result for vertex cover approximation

  • Fix any ε > 0 and a deterministic local algorithm A
  • Assumption: A finds a feasible vertex cover

(at least in any numbered directed cycle)

  • Theorem: For a sufficiently large n there is

a numbered directed n-cycle C in which A outputs a vertex cover with ≥ (1 − ε)n nodes

  • Corollary: Approximation ratio of A is

at least 2 − 2ε

26

slide-27
SLIDE 27

Lower-bound result for vertex cover approximation

  • Let T be the running time of A, let k = 2T + 1
  • The output of a node is a function f’ of

a sequence of k integers (unique IDs)

27

11 9 3 5 6 7 2

T = 2, k = 5:

  • utput = f’(3, 11, 9, 5, 2)
  • utput = f’(11, 9, 5, 2, 7)
slide-28
SLIDE 28

Lower-bound result for vertex cover approximation

  • Lets focus on increasing sequences of IDs
  • Then the output of a node is a function f of

a set of k integers

28

6 7 3 11 2 21 13

k = 5:

  • utput = f({3, 6, 7, 11, 13})
  • utput = f({6, 7, 11, 13, 21})
slide-29
SLIDE 29

Lower-bound result for vertex cover approximation

  • Hence we have assigned a colour f(X) ∈ {0, 1}

to each k-subset X ⊂ {1, 2, ..., n}

29

6 7 3 11 2 21 13

  • utput = f({3, 6, 7, 11, 13})
  • utput = f({6, 7, 11, 13, 21})

k = 5:

slide-30
SLIDE 30

Lower-bound result for vertex cover approximation

  • Hence we have assigned a colour f(X) ∈ {0, 1}

to each k-subset X ⊂ {1, 2, ..., n}

  • Fix a large m (depends on k and ε)
  • Ramsey: If n is sufficiently large,

we can find an m-subset A ⊂ {1, 2, ..., n} s.t. all k-subset X ⊂ A have the same colour

30

slide-31
SLIDE 31

Lower-bound result for vertex cover approximation

  • That is, if the ID space is sufficiently large...

31

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

slide-32
SLIDE 32

Lower-bound result for vertex cover approximation

  • That is, if the ID space is sufficiently large,

we can find a monochromatic subset of m IDs...

32

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 f({2, 3, 6, 7, 11}) = f({2, 3, 6, 7, 13}) = f({2, 3, 6, 7, 21}) = f({2, 3, 6, 11, 13}) = ... = f({6, 7, 11, 13, 21})

slide-33
SLIDE 33

Lower-bound result for vertex cover approximation

  • Construct a numbered directed cycle:

monochromatic subset as consecutive nodes

33

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

slide-34
SLIDE 34

Lower-bound result for vertex cover approximation

  • Construct a numbered directed cycle:

monochromatic subset as consecutive nodes

34

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 f({2, 3, 6, 7, 11}) = f({3, 6, 7, 11, 13}) = ...

Same output

slide-35
SLIDE 35

Lower-bound result for vertex cover approximation

  • Construct a numbered directed cycle:

monochromatic subset as consecutive nodes

35

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

Same output ... and it must be 1

slide-36
SLIDE 36

Lower-bound result for vertex cover approximation

  • Hence there is an n-cycle with a chain of

m − 2T nodes that output 1

36

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

  • utput 1
  • utput 0 or 1
slide-37
SLIDE 37

Lower-bound result for vertex cover approximation

  • Hence there is an n-cycle with a chain of

m − 2T nodes that output 1

  • We can choose as large m as we want
  • Good, more “black” nodes that output 1
  • However, n increases rapidly if we increase m
  • Bad, more “grey” nodes that might output 0
  • Trick: choose “unnecessarily large” n so that

we can apply Ramsey’s theorem repeatedly

37

slide-38
SLIDE 38

Lower-bound result for vertex cover approximation

  • Huge ID space...

38

31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

slide-39
SLIDE 39

Lower-bound result for vertex cover approximation

  • Find a monochromatic subset of size m...

39

31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

slide-40
SLIDE 40

Lower-bound result for vertex cover approximation

  • Delete these IDs...

40

31 32 34 35 36 37 38 39 40 41 42 43 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 1 3 4 5 6 7 8 9 10 11 12 13 14 16 17 19 20 21 22 23 24 25 26 28 29 30

slide-41
SLIDE 41

Lower-bound result for vertex cover approximation

  • Still sufficiently many IDs to apply Ramsey...

41

31 32 34 35 36 37 38 39 40 41 42 43 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 1 3 4 5 6 7 8 9 10 11 12 13 14 16 17 19 20 21 22 23 24 25 26 28 29 30

slide-42
SLIDE 42

Lower-bound result for vertex cover approximation

  • Repeat...

42

31 34 35 36 37 38 40 41 42 43 47 49 50 51 52 53 54 55 56 57 58 59 60 1 3 5 6 7 8 9 10 11 12 13 14 16 19 20 21 22 24 25 26 28 29 30

slide-43
SLIDE 43

Lower-bound result for vertex cover approximation

  • Repeat until stuck

43

31 34 35 36 37 38 40 41 42 43 47 49 50 51 52 53 54 55 56 57 58 59 60 1 3 5 6 7 8 9 10 11 12 13 14 16 19 20 21 22 24 25 26 28 29 30

slide-44
SLIDE 44

Lower-bound result for vertex cover approximation

  • Several monochromatic subsets + some leftovers

44

31 32 34 35 36 37 38 39 40 41 42 43 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 1 3 4 5 6 7 8 9 10 11 12 13 14 16 17 19 20 21 22 23 24 25 26 28 29 30 33 44 45 2 15 18 27

slide-45
SLIDE 45

Lower-bound result for vertex cover approximation

45

32 35 36 39 42 46 47 48 50 51 52 53 54 55 56 57 58 59 60 1 3 4 5 9 17 23 33 44 45 2 15 18 27

1 1 1 1 1 1

Large enough m: at most εn/2 nodes near the boundaries Large enough n: at most εn/2 nodes in the grey area

1 1 1

slide-46
SLIDE 46

Lower-bound result for vertex cover approximation

46

32 35 36 39 42 46 47 48 50 51 52 53 54 55 56 57 58 59 60 1 3 4 5 9 17 23 33 44 45 2 15 18 27

  • Thus A outputs a vertex cover with ≥ (1 − ε)n nodes