Proof (properties of expected number of visits during excursion)

$\nu_k$ is an invariant measure

The idea is to sum over the previous step and use the strong Markov property.

Using the definition of $\nu_k$, $$ \begin{align*} \nu_k(i) ={}& \expect\Big(\sum_{n=0}^{T_k-1} \mathbb{1}(X_n = i) \Big| X_0 = k\Big) \\ ={}& \expect\Big(\sum_{n=1}^{T_k} \mathbb{1}(X_n = i)\Big| X_0 = k\Big) &&X_{T_k} = k \\ ={}& \expect\Big(\sum_{n=1}^{\infty} \mathbb{1}(X_n = i, T_k \geq n) \Big| X_0 = k\Big) \\ ={}& \sum_{n=1}^{\infty} \prob(X_n=i, T_k\geq n| X_0 = k). \end{align*} $$ From this, we sum over the possible states for $X_{n-1}$: $$ \begin{align*} \nu_k(i) ={}& \sum_{n=1}^{\infty} \sum_{j\in I} \prob(X_n=i, X_{n-1}=j, T_k\geq n | X_0 = k) \\ ={}& \sum_{n=1}^{\infty} \sum_{j\in I} \prob(X_{n} = i|X_{n-1}=j, T_k\geq n,X_0=k) \times \prob(X_{n-1}=j, T_k\geq n|X_0=k). \end{align*} $$

Note that $$ \begin{align*} \set{T_k\geq n} ={}& \set{T_{k}\leq n-1}^C \\ ={}& \left(\bigcup_{l\leq n-1} \set{T_k=l}\right)^C \\ \end{align*} $$ which only depends on $X_0, X_1, \ldots, X_{n-1}$ and so $T_k$ is a stopping time.

Therefore by the strong Markov property, $$ \begin{align*} \nu_k(i) ={}&\sum_{n=1}^{\infty} \sum_{j\in I} P(j,i) \prob(X_{n-1}=j, T_k\geq n|X_0 = k) \\ ={}& \sum_{j\in I} P(j,i)\sum_{n=1}^{\infty} \prob(X_{n-1}=j,T_k\geq n|X_0=k) \\ ={}& \sum_{j\in I} P(j,i)\nu_k(j) \end{align*} $$ as required.

$\nu_k(k)=1$

This follows of the definition: $X_0=k$, and $X_1, X_2, \ldots, X_{T_k-1} \neq k$ by the definition of $T_k$.

$0<\nu_k(i) <\infty$

Let $i\in I$.

Since $P$ is irreducible, there exists $m$ and $n$ such that $p_{ki}(n)>0$ and $p_{ik}(m)>0$. Then by invariance, $v_k = v_kP = \ldots = v_k P^n$, so $$ \begin{align*} v_k(i) = \sum_{j} \nu_k(j) p_{ji}(n) \geq \underbrace{\nu_k(k)}_{1} \cdot p_{ki}(n) > 0. \end{align*} $$ Also $$ \begin{align*} 1 = \nu_k(k) = \sum_{j} \nu_k(j) p_{jk}(m) \geq \nu_k(i) \cdot p_{ik}(m) \implies \nu_k(i) \leq \frac{1}{p_{ik}(m)} < \infty. \end{align*} $$