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\}$$.
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, and I think I should use compactness but I don't how uniformly continuity helps here)?
Thanks a lot in advance for your help.
For the second one I've got
$$|f(x)-f(y)|=|f(x)-f_n(x)+f_n(x)-f(y)| \le |f(x)-f_n(x)|+|f_n(x)-f(y)|=|f(x)-f_n(x)|+|f_n(x)-f_n(y)+f_n(y)-f(y)|\le \frac{\epsilon}{2}+d(x,y)+\frac{\epsilon}{2}=d(x,y)+\epsilon$$
And we are done right?