Let $f:\mathbb{R}\to\mathbb{R}$ be a function satisfying $$\vert f(x)-f(y)\vert\le\frac{1}{2}\vert x+y\vert$$ for any $x,y\in\mathbb{R}$.
One can easily deduce that $f$ is continuous uniformly on $\mathbb{R}$.
How about the differentiability of $f$ on $\mathbb{R}$ or some subset of $\mathbb{R}$?
Can anyone give some insight or advice? Thank you!