Lemma (measure satisfying detailed balance equations is invariant)

Let $P$ be a transition matrix on $I$, and $\lambda$ be a measure on $I$.

If $\lambda$ satisfies the detailed balance equations, i.e. $\lambda(x)\, P(x,y) = \lambda(y) \, P(y,x)$, then $\lambda$ is invariant for $P$.

Proof