[step:Prove transitivity using the Chapman--Kolmogorov equations]Suppose $i \leftrightarrow j$ and $j \leftrightarrow k$. We must show $i \leftrightarrow k$, which requires establishing both $i \to k$ and $k \to i$.
**Forward direction ($i \to k$).** Since $i \to j$, there exists $m \geq 0$ with $p_{i,j}(m) > 0$. Since $j \to k$, there exists $n \geq 0$ with $p_{j,k}(n) > 0$. By the [Chapman--Kolmogorov Equations](/theorems/2207):
\begin{align*}
p_{i,k}(m+n) = \sum_{r \in S} p_{i,r}(m)\, p_{r,k}(n) \geq p_{i,j}(m)\, p_{j,k}(n) > 0.
\end{align*}
The inequality holds because every term in the sum is non-negative (each $p_{i,r}(m)$ and $p_{r,k}(n)$ is a probability), so the full sum is at least as large as the single term with $r = j$. Since $p_{i,j}(m) > 0$ and $p_{j,k}(n) > 0$, the product is strictly positive. Hence $i \to k$.
**Reverse direction ($k \to i$).** Since $k \leftrightarrow j$, we have $k \to j$; choose $n' \geq 0$ with $p_{k,j}(n') > 0$. Since $j \leftrightarrow i$, we have $j \to i$; choose $m' \geq 0$ with $p_{j,i}(m') > 0$. By the same Chapman--Kolmogorov argument:
\begin{align*}
p_{k,i}(n'+m') = \sum_{r \in S} p_{k,r}(n')\, p_{r,i}(m') \geq p_{k,j}(n')\, p_{j,i}(m') > 0.
\end{align*}
Hence $k \to i$.
Since both $i \to k$ and $k \to i$ hold, we conclude $i \leftrightarrow k$. This establishes transitivity and completes the proof that $\leftrightarrow$ is an equivalence relation on $S$.[/step]