Let $(X,d)$ be a compact metric space and
$$\mathcal L = \{ f\in C(X,\mathbb{R^l}): ||f||_u\le 1, |f(x) - f(y)|\le d(x,y)\quad \forall x,y\in X\}$$.
Then what I claim is that $\mathcal L$ is compact.
Therefore I want to use the Arzelà-Ascoli theorem then I have to prove that $\mathcal L$ is closed,equicontinous and pointwise bounded.
For the last two properties I did the following:
We take an arbitrary $x \in X$ then by hypothesis we have that for every $f \in \mathcal L$ we get $max_x |f(x)| \leq 1$ therefore we have that $$\{f(x): f \in \mathcal L \}\subset B_1(0)$$
Now, for equicontinuity, If we pick an arbitrary $f \in \mathcal L $ and $|x-y|=d(x,y)<\delta=\epsilon$ we get by definition of $ \mathcal L $ that
$$|f(x)-f(y)|<|x-y|=d(x,y)<\delta$$
So Am I right in these issues?, And How can I prove that $\mathcal L$ is closed (I have tried taking a sequence $f_n$ in $\mathcal L $ such that in converges to $f$ and I want to prove that $f \in \mathcal L $ but I don't know how to get that $|f|<1$ and $|f(x)-f(y)|<\epsilon$ with only the triangle inequality)?
Thanks a lot in advance for your help.