I have seen an argument along the lines of:
if $f$ is a given function on $\mathbb R$ and, for any $x \in \mathbb R$, $\lim\limits_{ h \to 0}\vert f(x+h)-f(x)\vert=0$, then it immediately follows that $f$ is uniformly continuous.
My question: I understand why $f$ would be considered continuous in the above case. I am however not sure why $f$ can immediately be considered as uniformly continuous. Is this necessarily true?
Thanks for your help
It is not true: the statement$$(\forall x\in\mathbb R):\lim_{h\to0}\bigl\lvert f(x+h)-f(x)\bigr\rvert=0$$is equivalent to continuity, not to uniform continuity. However, the statement$$\lim_{h\to0}\sup_{x\in\mathbb R}\bigl\lvert f(x+h)-f(x)\bigr\rvert=0$$does imply uniform continuity.