In a proof, I implicitly used the following 'fact':
Let $\mathcal C([a,b])$ be the set of continuous functions $f:[a,b]\to \mathbb R$. Then the set $S=\{f\in C([a,b]):||f||_\infty = 1\}$ is compact.
I tried proving this using the Arzelà–Ascoli theorem, since $\bar S = S$ but I Wasn't able to prove that $S$ is equicontinuous.
Is this true? If so, how can this be proven?