23
The Probabilistic Method Joshua Brody CS49/Math59 Fall 2015 Week 10: Applications

Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

The Probabilistic Method

Joshua BrodyCS49/Math59

Fall 2015

Week 10: Applications

Page 2: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Reading Quiz

(A) MPJ[i, f, x] := x[f(i)]

(B) MPJ[i, j, x] := x[i+j]

(C) MPJ[i, x] := xi

(D) MPJ[i, j, x] := x[i ⊕ j]

(E) None of the Above

What is the Multiparty Pointer Jumping problem MPJ?

Page 3: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Reading Quiz

(A) MPJ[i, f, x] := x[f(i)]

(B) MPJ[i, j, x] := x[i+j]

(C) MPJ[i, x] := xi

(D) MPJ[i, j, x] := x[i ⊕ j]

(E) None of the Above

What is the Multiparty Pointer Jumping problem MPJ?

Page 4: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Multiparty Pointer Jumping1

2

3

4

5

0

1

1

2

3

4

5i � {1,…,n} ��������������� x � {0,1}n

Output: x[�����

Page 5: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Multiparty Pointer Jumping1

2

3

4

5

0

1

1

2

3

4

5i � {1,…,n} ��������������� x � {0,1}n

Output: x[�����

Page 6: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Permutation Pointer Jumping1

2

3

4

5

0

1

1

2

3

4

5i � {1,…,n} � � Sn x � {0,1}n

Output: x[�����

Page 7: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Protocol Ph:Creating G∏H

1

2

3

4

5

1

2

3

4

5

Page 8: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Protocol Ph:Creating G∏H

1

2

3

4

5

1

2

3

4

5

Page 9: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Clicker Question

(A) (1,3)(B) (2,3)(C) (2,5)(D) (4,5)(E) None of the above

Which edge is also in G∏H?

1

2

3

4

5

1

2

3

4

5

Page 10: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Clicker Question

(A) (1,3)(B) (2,3)(C) (2,5)(D) (4,5)(E) None of the above

Which edge is also in G∏H?

1

2

3

4

5

1

2

3

4

5

Page 11: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Protocol Ph:Creating G∏H

1

2

3

4

5

1

2

3

4

5

Page 12: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Protocol Ph:Creating G∏H

1

2

3

4

5

1

2

3

4

5

Page 13: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Protocol Ph:Creating G∏H

1

2

3

4

5

1

2

3

4

5

0

1

i � {1,…,n} � � Sn x � {0,1}n

Output: x[�����

Page 14: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Clicker Question

(A) p(B) pn(C) (1-p)(D) (1-p)n(E) None of the above

Consider any vertex i ∈ H. What is E[degree(i)]?

1

2

3

4

5

1

2

3

4

5

Page 15: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Clicker Question

(A) p(B) pn(C) (1-p)(D) (1-p)n(E) None of the above

Consider any vertex i ∈ H. What is E[degree(i)]?

1

2

3

4

5

1

2

3

4

5

Page 16: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Clicker Question

(A) p(B) (1-p)(C) p2

(D) p(1-p)(E) 1-p2

Consider any possible edge (u,v) of G∏H.What is Pr[(u,v) ∈ G∏H]? 1

2

3

4

5

1

2

3

4

5

Page 17: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Clicker Question

(A) p(B) (1-p)(C) p2

(D) p(1-p)(E) 1-p2

Consider any possible edge (u,v) of G∏H.What is Pr[(u,v) ∈ G∏H]? 1

2

3

4

5

1

2

3

4

5

Page 18: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Final AnalysisClaim: There exists H such that

cost(PH) = O(nloglog(n)/log(n)

Page 19: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Final AnalysisClaim: There exists H such that

cost(PH) = O(nloglog(n)/log(n)

Proof: consider random H, each edge w/prob p• BADi : event that i has > 2pn neighbors• BAD∏ : event that G∏H has > 2nlog(1/p)/log(n)

cliques• BAD := ∪ BADi ∪ BAD∏

• Choose p := loglog(n)/log(n)• Pr[BAD] ≤ n Pr[BADi] + n! Pr[BAD∏] << 1

Page 20: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Generalizing to MPJ

Page 21: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Generalizing to MPJ

PRS protocol works only for permutations.

Page 22: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

Generalizing to MPJ

PRS protocol works only for permutations.

[Brody-Sanchez15]:

• adapts PRS for general functions

• edges in G∏H no longer independent.

• Dependent Random Graphs: each edge can depend on a few other edges.

• lower bound on clique #, upper bound on chromatic number still (asymptotically) the same.

Page 23: Week 10: Applications - Swarthmore CollegeGeneralizing to MPJ PRS protocol works only for permutations. [Brody-Sanchez15]: • adapts PRS for general functions • edges in G ∏H

The Probabilistic Method