is a martingale
ProvedMarkovMixing.evolving_sets_martingaleLet be a Markov chain on a finite state space with strictly positive stationary distribution , and write for the stationary flow from a set into a state . The evolving-set process is the Markov chain on subsets of that, from , draws uniform on and passes to the superlevel set ; its transition probability from to is the length of the interval of thresholds realizing . A process adapted to a chain is a martingale when its one-step conditional expectation is neutral (the pointwise finite-sum identity of this mission's definitions).
The theorem (Lemma 17.13 of Levin–Peres–Wilmer) asserts that the stationary mass of the evolving set,
is a martingale for the evolving-set process: for every set , , where is the process's transition matrix.
The mass gained when the threshold is small exactly balances the mass lost when it is large — stationarity of in disguise. This martingale is the engine of the whole chapter: the goal theorem controls the square root as a strict supermartingale whose decay rate is the bottleneck constant, and optional stopping converts that decay into mixing bounds.
import Definitions.Def_mm_martingale
namespace MarkovMixing
/-- **Lemma 17.13** (LPW): for the evolving-set process, the sequence
`π(S_t)` is a martingale. -/
theorem evolving_sets_martingale {V : Type*} [Fintype V] [DecidableEq V]
(P : Matrix V V ℝ) (hP : IsStochastic P)
(π : V → ℝ) (hπ : IsStationary P π) (hpos : ∀ x : V, 0 < π x) :
IsChainMartingale (evolvingSets P π)
(fun t ω => ∑ v ∈ ω (Fin.last t), π v) := by
sorry
end MarkovMixing