Let $I=(0,1)$ and let $C>1$ be a constant. Let $L^2(I)$ and $H^1(I)$ be the standard Sobolev spaces on $I$. Suppose that $U$ is a subspace of $H^1(I)$ with the additional property that: $$ \| u\|_{H^1(I)} \leq C \|u\|_{L^2(I)}\quad \forall\, u\in U.$$ By compact embedding of $H^1(I)\subset L^2(I)$, it is trivial to see that $U$ must be finite dimensional (note here that the fact that $U$ is a subspace is vital).
My question is whether one can put an explicit bound on the dimension of $U$ in terms of the constant $C$.
Thanks,