If a continuous real function $f$ on an interval is such that for each $a$ on its domain there is $\epsilon>0$ such that $[a;a+\epsilon[$ is monotone increasing, does it follow that $f$ is monotone increasing on the interval?
By "monotone increasing" I mean the implication $x\leq y\implies f(x)\leq f(y)$.
For convenience, let $f$ be defined on $[a,b]$. For some $x' \leq b$, $f$ is monotone on $[a,x']$. Let $x$ be the supremum of these, so that for at least every $a < x' < x$, we have $f$ monotone on $[a,x']$. By continuity then, $f$ is monotone on all of $[a,x]$; for if $f(x) < f(x')$ for some $a < x'< x$, then there is an $x''$ near $x$ with $f(x'') < f(x')$.
Now if $x \neq b$, we can find $\epsilon$ so that $f$ is monotone on $[x,x+\epsilon)$ contradicting that $x$ was the supremum. Thus $x = b$ and $f$ is monotone.