Let $(X, d)$ be a metric space, $C(X)$ the space of real-valued continuous functions on $Y$, and $\mathcal{F} \subset C(X)$. We say that
$\mathcal{F}$ is pointwise bounded if $\forall x \in X$, the set $\{f(x) \mid f \in \mathcal{F}\}$ is bounded.
$\mathcal{F}$ is uniformly bounded if the set $\{f(x) \mid f \in \mathcal{F}, x\in X\}$ is bounded.
$\mathcal F$ is pointwise equi-continuous if $\forall x\in X, \forall \varepsilon>0, \exists \delta>0, \forall f\in \mathcal F$, we get $d(x,y) < \delta \implies |f(y)-f(x)| < \varepsilon$.
$\mathcal F$ is uniformly equi-continuous if $\forall \varepsilon>0, \exists \delta>0, \forall f\in \mathcal F$, we get $d(x,y)< \delta \implies |f(y)-f(x)| < \varepsilon$.
Wikipedia's ver 1: Assume $X$ is compact. A subset $\mathcal F$ of $C(X)$ is relatively compact in $\| \cdot\|_\infty$ if and only if $\mathcal F$ is pointwise bounded and pointwise equi-continuous.
Carothers' ver 2: Assume $X$ is a compact. A subset $\mathcal{F}$ of $C(X)$ is compact in $\| \cdot\|_\infty$ if and only if $\mathcal{F}$ is closed, uniformly bounded, and uniformly equi-continuous.
I proved that above versions of Arzelà–Ascoli theorem are equivalent here. Now I want to apply them to get below result.
Theorem: Assume $X$ is compact and $(f_n) \subset C (X)$ such that $f_n \to f \in C(X)$. Then $(f_n)$ is uniformly equi-continuous.
Could you have a check on my attempt?
My attempt: We need below auxiliary result.
Lemma: Assume $x_n, a \in X$ such that $x_n \to a$. Then $S := \{a, x_1, x_2, \ldots\}$ is compact.
Proof of lemma: Let $(O_i)_{i\in I}$ be an open cover of $S$. There is $\hat i$ such that $a \in O_{\hat i}$. There is $N \in \mathbb N$ such that $x_n \in O_{\hat i}$ for all $n \ge N$. There is $i_n$ such that $x_n \in O_{i_n}$ for all $n \le N$. Then $\{O_i \mid i \in \{\hat i, i_1, \ldots, i_N\}\}$ is a finite subcover.
Now we come back to our Theorem. It follows from our Lemma that $\{f, f_1, f_2, \ldots\}$ is compact. Then $(f_n)$ is uniformly equi-continuous by Carothers' ver 2. This completes the proof.