Question: How to construct a function exactly belongs to $H^1(\mathbb{R})$ but does not belong to $H^{1+s}(\mathbb{R})$ for any $s>0$?
My try: An obviously try is $u(x)=|x|$. However, I find that $u(x)\in H^{1+1/2-\epsilon}(\mathbb{R})$ actually. Is there any way to find out this function? Thanks in advance.
Something like $$ u(x) := \int_0^x \frac{e^{-t^2}}{\sqrt{|t|} \log |t|} \, dt $$ should do the work.