Coupling:

Method

Pr[Xt = j]

=

Pr[Xt = j | Xt = Yt]Pr[Xt = Yt] + Pr[Xt = j | Xt$\displaystyle \ne$Yt]Pr[Xt$\displaystyle \ne$Yt]

 

 

=

Pr[Yt = j]Pr[Xt = Yt] + $\displaystyle \epsilon$Pr[Xt = j | Xt$\displaystyle \ne$Yt]

 

n-bit Hypercube walk: at each step, flip random bit to random value

Counting k colorings when k > 2$ \Delta$ + 1

¬…       Bounding the ratio:

o      note G - e colorings outnumber G colorings

o      By how much? Let L colorings in difference (u and v same color)

o      to make an L coloring a G coloring, change u to one of k - $ \Delta$= $ \Delta$+ 1 legal colors

o      Each G-coloring arises at most one way from this

o      So each L coloring has at least $ \Delta$+ 1 neighbors unique to them

o      So L is 1/($ \Delta$ + 1) fraction of G.

o      So can estimate ratio with few samples

¬…       The chain:

o      Pick random vertex, random color, try to recolor

o      loops, so aperiodic

o      Chain is time-reversible, so uniform distribution.

¬…       Coupling:

o      choose random vertex v (same for both)

o      based on Xt and Yt, choose bijection of colors

o      choose random color c

o      apply c to v in Xt (if can), g(c) to v in Yt (if can).

o      What bijection?

¬ß       Let A be vertices that agree in color, D that disagree.

¬ß       if v $ \in$D, let g be identity

¬ß       if v $ \in$A, let N be neighbors of v

¬ß       let CX be colors that N has in X but not Y (X can't use them at v)

¬ß       let CY similar, wlog larger than CX

¬ß       g should swap each CX with some CY, leave other colors fixed. Result: if X doesn't change, Y doesn't

¬…       Convergence:

o      Let d'(v) be number of neighbors of v in opposite set, so

$\displaystyle \sum_{v \in A}^{}$d'(v) = $\displaystyle \sum_{v \in D}^{}$d'(v) = m'

$\displaystyle \sum_{v \in A}^{}$$\displaystyle {\frac{1}{n}}$. $\displaystyle {\frac{d'(v)}{k}}$= $\displaystyle {\frac{m'}{kn}}$

$\displaystyle \sum_{v \in D}^{}$$\displaystyle {\frac{1}{n}}$. $\displaystyle {\frac{k-(2\Delta-d'(v))}{k}}$= $\displaystyle {\frac{k-2\Delta}{kn}}$$\displaystyle \delta$+ $\displaystyle {\frac{m'}{kn}}$

- $\displaystyle {\frac{k-2\Delta}{kn}}$$\displaystyle \delta$= - a$\displaystyle \delta$.

Note: couple depends on state, but who cares

Counting vs. generating:

Parallel Algorithms

PRAM

Randomization in parallel:

Classes:

Practical observations:

Basic operations

Sorting

Quicksort in parallel:

Parallel recursion:

More processors:

BoxSort:

Intuition:

High probability: