Let $v\in H^1(]0,1[)$.
I want to prove for all $\lambda \in [0,1]$ that,
$$|v(\lambda)| \leq ||v||_{L^1(]0,1[)} + ||v'||_{L^2(]0,1[)}$$
My idea :
I defined $u(\lambda)= \int_0^{\lambda}v'(t)dt$
then, $|u(\lambda)|\leq ||v'||_{L^2(]0,1[)}$ (Using Cauchy Schwarz inequality).
and we have also $u'=v',$ which implies $v=u+ C$ (in distribution sense), with $C=v(0)$.
then $|v(\lambda)|\leq|u(\lambda)|+|v(0)| \leq ||v'||_{L^2(]0,1[)}+|v(0)|$.
and I'm stuck there ( why is $v$ defined on boundary $\{0,1\} ?$
Functions in the space $H^1(0,1)$ are absolutely continuous so they can be extended continuously up to the boundary of $(0,1)$.
You could have defined $u$ a bit differently, but in fact there is no need to use any functions other than $v$ and $v'$. If $x,y \in [0,1]$ then $$v(x) - v(y) = \int_x^y v'(t) \, dt$$ so that $$|v(x)| \le |v(y)| + \|v'\|_{L^2}.$$ Now integrate with respect to $y$: $$|v(x)| \le \|v\|_{L^1} + \|v'\|_{L^2}.$$