Let $f\colon [a,b] \to \mathbb{R}$ be a continuous function. Suppose that there is $y$ such that $f^{-1}(y)$ is uncountable. Can it be show that $$\underline{D}f(x)=\liminf_{z\to x}\frac{f(z)-f(x)}{z-x}=0$$ at some $x\in A=\{ f^{-1}(y)\}$ or perhaps at a lot (all?) of $x\in A$? Can we get better results if we assume $f$ is nowhere monotone ?
If so then according to Existence of a continuous function with pre-image of each point uncountable , there would be a continuous and surjective real-valued function such that $\underline{D}f(x)=0$ for all points in the domain!
If instead we assume only that $A$ is infinite, can we still find at least one $x$ such that $\underline{D}f(x)=0$?