I am interested in building a function $f:]0,1[^2 \rightarrow \mathbb{R}$ such that
- $f$ is continuous
- $f$ has directional derivatives everywhere and in every directions
- $\forall t\in ]0,1[$, $$\frac{\partial f}{\partial x}(t,t)=0$$ $$\frac{\partial f}{\partial y}(t,t)=0$$
- the function $g(t)=f(t,t)$ is non constant.
It is clear that this function cannot be differentiable. Is it possible to build an $f$ like this? If yes, can we build an example? If no, is there a simple argument proving it?
Thank you.