Theorem (ergodic theorem)

Let $\ouline{X}\sim \mathrm{Markov}(\lambda, P)$ on $I$.

If $P$ is irreducible and positive recurrent, and has an invariant distribution $\pi$, then for each $x\in I$, $$ \begin{align*} \prob\left(\frac{1}{n}\sum_{i=0}^{n-1} \mathbb{1}(X_i = x) \to \pi(x) \quad \text{ as } n\to \infty\right) = 1 \end{align*} $$

Proof