The lazy random walk on the hypercube #
The lazy random walk on {0,1}^ι (Cslib.BitString.lazyRandomWalk) picks a coordinate i and a
fair bit b uniformly and independently and overwrites coordinate i by b
([LP17], Sections 2.3 and 5.3.1). It is reversible with respect to the uniform
distribution.
The coordinate-refresh coupling (Cslib.BitString.lazyRandomWalkCoupling) uses the same
coordinate and the same bit in both copies, so once coordinate i has been chosen the copies
agree there forever. A fixed coordinate is never chosen in t steps with probability
(1 - 1/n)^t, where n = |ι|. The union bound over the coordinates is the coupon-collector tail
bound of [LP17], Proposition 2.4, and with the coupling bound
(Corollary 5.5) gives
d(t) ≤ n (1 - 1/n)^t ≤ n e^{-t/n}(Cslib.BitString.distToStationary_lazyRandomWalk_le,Cslib.BitString.distToStationary_lazyRandomWalk_le_exp), andt_mix(ε) ≤ ⌈n log n + n log ε⁻¹⌉for everyε > 0(Cslib.BitString.mixingTime_lazyRandomWalk_le).
The last bound is [LP17], (5.6), with a ceiling: (5.6) is printed as
t_mix(ε) ≤ n log n + log(1/ε) n, which fails without rounding up for n = 1 and ε = 2/5, where
t_mix(ε) = 1 > log (5/2). The ceiling is what Proposition 2.4 gives; the library's Markov chain
tests check this instance.
Main definitions #
Cslib.BitString.lazyRandomWalk: the lazy random walk onι → Bool.Cslib.BitString.lazyRandomWalkCoupling: the coordinate-refresh coupling.
Main results #
Cslib.BitString.isReversible_lazyRandomWalk,Cslib.BitString.isStationary_lazyRandomWalk: the uniform distribution is reversible and stationary.Cslib.BitString.isMarkovianCoupling_lazyRandomWalkCoupling,Cslib.BitString.isSticky_lazyRandomWalkCoupling: the coupling is Markovian and sticky.Cslib.BitString.distToStationary_lazyRandomWalk_le,Cslib.BitString.distToStationary_lazyRandomWalk_le_exp:d(t) ≤ n (1 - 1/n)^t ≤ n e^{-t/n}.Cslib.BitString.mixingTime_lazyRandomWalk_le:t_mix(ε) ≤ ⌈n log n + n log ε⁻¹⌉.
References #
- [LP17], Sections 2.2, 2.3 and 5.3.1.
The lazy random walk on the hypercube ι → Bool: overwrite a uniformly random coordinate by
a fair bit ([LP17], Sections 2.3 and 5.3.1).
The coordinate-refresh coupling of two lazy random walks on the hypercube: both copies overwrite the same uniformly random coordinate by the same fair bit ([LP17], Section 5.3.1).
The lazy random walk has a symmetric transition matrix.
The lazy random walk is reversible with respect to the uniform distribution.
The uniform distribution is stationary for the lazy random walk.
Each copy of the coordinate-refresh coupling is a lazy random walk.
The coordinate-refresh coupling is sticky.
One step of the coordinate-refresh coupling leaves an unmatched coordinate unmatched with
probability (n - 1)/n and never unmatches a matched coordinate.
After t steps of the coordinate-refresh coupling, a fixed coordinate is still unmatched with
probability at most (1 - 1/n)^t.
After t steps of the coordinate-refresh coupling, the copies differ with probability at most
n (1 - 1/n)^t (union bound over coordinates, [LP17], Proposition 2.4).
d(t) ≤ n (1 - 1/n)^t for the lazy random walk on the hypercube.
d(t) ≤ n e^{-t/n} for the lazy random walk on the hypercube
([LP17], Section 5.3.1).
Mixing time of the lazy hypercube walk ([LP17], (5.6), with the ceiling
made explicit): t_mix(ε) ≤ ⌈n log n + n log ε⁻¹⌉ for every ε > 0, where n = |ι|.