A sequence $\ouline{X} = (X_n)_{n\geq 0}$ of random variables
taking values in a discrete (finite or countably finite) set $I$
is called a Markov chain with state space $I$
if for all $x_0, x_1, \ldots, x_n, x_{n+1}\in I$,
$$ \begin{align*}
\prob(X_{n+1} = x_{n+1} | X_n = x_n, \ldots, X_0 = x_0) = \prob(X_{n+1} = x_{n+1} | X_n = x_n).
\end{align*} $$
More generally, for a measurable space $\mathcal{X}$,
$\ouline{X}$ is a Markov chain taking value in $\mathcal{X}$
if
$$ \begin{align*}
\prob(X_{n+1} \in B \mid X_n = x_n, \ldots, X_0 = x_0) = K(x_n, B)
\end{align*} $$
for some function $K$ called the Markov kernel such that
-
$K(t, \cdot)$ is a probability measure for all $t\in \mathcal{X}$;
-
$t \mapsto K(t, B)$ is measurable for all $B\in \mathcal{X}$ measurable.