Total-variation mixing of finite Markov chains #
For a Markov chain P on a finite state space with a distribution π, define the worst-case
statistical distances after t steps
d(t) = max_x ‖Pᵗ(x, ·) - π‖_TV(Cslib.Probability.MarkovChain.distToStationary, [LP17], (4.22)), andd̄(t) = max_{x,y} ‖Pᵗ(x, ·) - Pᵗ(y, ·)‖_TV(Cslib.Probability.MarkovChain.distPair, [LP17], (4.23)),
and the mixing time t_mix(ε) = min {t | d(t) ≤ ε} (Cslib.Probability.MarkovChain.mixingTime,
[LP17], (4.30)). Here ‖μ - ν‖_TV is cslib's statistical distance dist μ ν,
which is the total-variation distance max_A |μ A - ν A| (half of Mathlib's tvDist). The
mixing time takes values in ℕ∞ and is ⊤ exactly when d(t) > ε for every t, so no
irreducibility or aperiodicity hypothesis is built in.
For stationary π: d(t) ≤ d̄(t) ≤ 2 d(t) (Lemma 4.10), d̄ is submultiplicative (Lemma 4.11),
both are non-increasing (Exercise 4.2), d(ℓ t) ≤ (2 d(t))^ℓ ((4.32)) and
t_mix(ε) ≤ ⌈log₂ ε⁻¹⌉ t_mix(1/4) ((4.34)). The submultiplicativity proof runs a common kernel
from an optimal coupling (Cslib.Probability.PMF.dist_bind_le_mul).
Main definitions #
Cslib.Probability.MarkovChain.distToStationary:d(t).Cslib.Probability.MarkovChain.distPair:d̄(t).Cslib.Probability.MarkovChain.mixingTime:t_mix(ε) : ℕ∞.
Main results #
Cslib.Probability.MarkovChain.IsStationary.dist_le_of_forall_mem_support: if every start in the support ofπis withinδofxaftertsteps, then so isπ.Cslib.Probability.MarkovChain.IsStationary.distToStationary_le_distPair,Cslib.Probability.MarkovChain.distPair_le_two_mul_distToStationary: Lemma 4.10.Cslib.Probability.MarkovChain.distPair_add_le: Lemma 4.11,d̄(s + t) ≤ d̄(s) d̄(t).Cslib.Probability.MarkovChain.IsStationary.antitone_distToStationary,Cslib.Probability.MarkovChain.antitone_distPair: Exercise 4.2.Cslib.Probability.MarkovChain.IsStationary.distToStationary_mul_le: (4.32).Cslib.Probability.MarkovChain.IsStationary.dist_mul_le_mul,Cslib.Probability.MarkovChain.dist_prod_ofFn_le,Cslib.Probability.MarkovChain.IsStationary.distToStationary_le_half_mul_two_mul_pow: two-step andt-step(1 / 2) * (2 * δ) ^ tcontraction forπ-stationary kernels ([ANS10], Theorem 5.6).Cslib.Probability.MarkovChain.IsStationary.mixingTime_le_iff:t_mix(ε) ≤ t ↔ d(t) ≤ ε.Cslib.Probability.MarkovChain.IsStationary.mixingTime_le_ceil_logb_mul: (4.34).
References #
- [LP17], Sections 4.4 and 4.5.
- Y. Arbitman, M. Naor and G. Segev, Backyard Cuckoo Hashing: Constant Worst-Case Operations with a Succinct Representation, Section 5.3, Theorem 5.6.
d(t) = max_x ‖Pᵗ(x, ·) - π‖_TV, the worst-case statistical distance to π after t steps
([LP17], (4.22)).
d̄(t) = max_{x,y} ‖Pᵗ(x, ·) - Pᵗ(y, ·)‖_TV, the worst-case statistical distance between two
copies of the chain after t steps ([LP17], (4.23)).
The mixing time t_mix(ε) = min {t | d(t) ≤ ε} ([LP17], (4.30)), or ⊤ if
d(t) > ε for every t.
If after t steps the chain started at x is within δ of the chain started at every state
in the support of a stationary π, then it is within δ of π.
d(t) ≤ d̄(t) for stationary π ([LP17], Lemma 4.10).
d̄(t) ≤ 2 d(t) ([LP17], Lemma 4.10); this holds for every π.
d(t) is non-increasing for stationary π ([LP17], Exercise 4.2).
d̄(t) is non-increasing ([LP17], Exercise 4.2).
d(ℓ t) ≤ (2 d(t))^ℓ for stationary π ([LP17], (4.32)).
Running a chain P₁ within δ₁ of π followed by a π-stationary chain P₂ within δ₂ of
π produces a chain within δ₁ * (2 * δ₂) of π.
Composing t ≥ 1 π-stationary Markov chains Ps 0, …, Ps (t - 1), each within statistical
distance δ of π from every start state, contracts statistical distance to at most
(1 / 2) * (2 * δ) ^ t ([ANS10], arXiv:0912.5424v3, Section 5.3, Theorem 5.6,
PDF p. 25 / printed p. 24).
Sharpened t-step stationary contraction d(t) ≤ (1 / 2) * (2 d(1)) ^ t for 1 ≤ t.
For stationary π, the chain is ε-mixed after t steps exactly when t_mix(ε) ≤ t.
t_mix(ε) ≤ ⌈log₂ ε⁻¹⌉ t_mix(1/4) for stationary π and 0 < ε
([LP17], (4.34)).