[step:Adapt the argument to a general metric space]The distribution function approach is specific to $\mathbb{R}$, but the underlying strategy — diagonal extraction on a countable separating family, followed by identification of the limit via tightness — extends to any metric space $(M, d)$.
**Reduction to a [separable](/page/Separable) subspace.** Tightness provides, for each $j \geq 1$, a compact set $K_j \subset M$ with $\sup_n \mu_n(M \setminus K_j) \leq 1/j$. The set $S := \bigcup_{j=1}^\infty K_j$ is separable (a countable union of compact metric spaces is separable), and every $\mu_n$ satisfies $\mu_n(S) = 1$. We may therefore replace $M$ by $\overline{S}$ and assume without loss of generality that $M$ is separable.
**Constructing a countable convergence-determining family.** Let $\{x_1, x_2, \ldots\}$ be a countable [dense subset](/page/Dense%20Subset) of $M$. For each $i \geq 1$ and each positive rational $r \in \mathbb{Q}_{> 0}$, define
\begin{align*}
f_{i,r} : M &\to [0,1] \\
x &\mapsto \max\bigl(1 - d(x, x_i)/r,\, 0\bigr).
\end{align*}
Each $f_{i,r}$ is Lipschitz continuous (with constant $1/r$) and supported on the closed ball $\overline{B}(x_i, r)$. The countable collection $\mathcal{F} := \{f_{i,r} : i \geq 1,\, r \in \mathbb{Q}_{> 0}\}$ separates Borel probability measures on $M$: if $\int_M f_{i,r} \, d\nu_1 = \int_M f_{i,r} \, d\nu_2$ for all $f_{i,r} \in \mathcal{F}$, then $\nu_1(G) = \nu_2(G)$ for every open $G \subset M$ (since every [open set](/page/Open%20Set) is a countable union of balls centred at the $x_i$), so $\nu_1 = \nu_2$.
**Diagonal extraction.** Since each $\int_M f_{i,r} \, d\mu_n$ lies in $[0,1]$, the same diagonal argument as in the first step produces a subsequence $(m_k)$ such that $\lim_{k \to \infty} \int_M f_{i,r} \, d\mu_{m_k}$ exists for every $f_{i,r} \in \mathcal{F}$.
**Identifying the limit measure.** The functional $\Lambda(f_{i,r}) := \lim_k \int_M f_{i,r} \, d\mu_{m_k}$ extends by linearity and density to a positive linear functional on $C_b(M)$ with $\Lambda(1) = 1$. By the [Riesz Representation Theorem](/theorems/218) on locally compact or Polish spaces, $\Lambda$ is represented by a Borel probability measure $\mu$. The tightness of the original sequence ensures that $\mu$ does not lose mass (the same role it plays in the distribution function argument on $\mathbb{R}$): for every $\varepsilon > 0$, there exists compact $K$ with $\mu(K) \geq \limsup_k \mu_{m_k}(K) \geq 1 - \varepsilon$ by Portmanteau applied to the [closed set](/page/Closed%20Set) $K$. Therefore $\mu$ is a probability measure, and $\mu_{m_k} \Rightarrow \mu$.[/step]