I have been exposed to the following version of the Arzelá-Ascoli Theorem
Theorem (Arzelá-Ascoli): Let $K \subset \mathbb{F}$ be compact. A subset $S \subset C(K)$ is pre-compact iff $S$ is bounded and equicontinuous.
Problem: Let $c>0$ be a constant. Let $M$ denote a set given as $$ M:= \left\lbrace f \in C^1([a,b]) : \int_a^b |f(x)|^2dx + \int_a^b |f'(x)|^2 dx \leq c \right\rbrace$$ Claim: $\overline{M}$ is compact in $C([a,b])$ , working with the sup-norm .
My approach: $S \subset C(K)$ is pre-compact if and only if $\overline{S}$ is compact. Thus by the Arzeá-Ascoli Theorem it suffices to show that $M$ is pre-compact, i.e. bounded and equicontinuous.
Without loss of generality I can take $a=0, b=1$ because I can use a change of variables for the integrals otherwise.
For Equicontinuouity:
Since $f \in C^1([0,1])$ by the intermediate value theorem I can find for all $x,y \in [0,1]$ a $\xi \in [x,y]$ such that $|f(x)-f(y)| = |f'( \xi)| |x-y|$. Squaring this identity and than taking the integral with respect to $d \xi$ over $[0,1]$ then yields that $$ |f(x) -f(y)| \leq c |x-y| \tag{*} $$ Since this Lipschitz bound is true for all $f \in M$ we can conclude that $M$ is equicontinuous.
Remark: The squaring part I did above confuses me, it seems to be superfluous because thanks to Hölder's Inequality (we work on a space with finite measure Lebesgue measure) we have for $p=q=2$ that $\| 1 f \|_1 \leq \|1\|_2 \|f\|_2 \iff \int_0^1 |f(x)|dx \leq \sqrt{ \int_0^1|f(x)|^2dx} \leq \sqrt{c}$
For Boundedness:
Thanks to (*) and the remark above we can proceed similarly as in Showing a subset of $C([0,1])$ is compact. i.e. we have $$ |f(x)-f(0)| \leq c |x| \leq c $$ Or equivalently $$ f(0) -c \leq f(x) \leq c + f(0)$$ From the left inequality we obtain $f(0) \leq f(x) + c$ after integrating this we get $f(0) \leq c + \sqrt{c}$
Question: Is my approach correct? It seems a bit weird to me because I don't really exhaust the inequality from the set, but only build new more strict inequalities.