Let $f:U\to \Bbb R^n$ be Lipschitz in the open $U\subset \Bbb R^m$. Given $a\in U$, suppose that, for all $v\in \Bbb R^m$, there exists the directional derivative $\dfrac{\partial f}{\partial v}(a)$ and it depends linearly on $v$. Prove that, for all path $g:(-\epsilon,\epsilon)\to U$, with $g(0)=a$, differentiable in $t=0$, there exists the velocity vector $(f\circ g)'(0)$. Conclude that $f$ is differentiable in the point $a$.
I was able to show the existence of such $(f\circ g)'(0)$'s (in the proof I didn't use the linearity of the directional derivatives), however, I couldn't do the final conclusion. I can define $T:\Bbb R^m\to \Bbb R^n$ as $$T(v)=\dfrac{\partial f}{\partial v}(a)$$ which is linear, by hypothesis. I wished that $T=f'(a)$, that is, I need to show that $$\lim_{h\to 0} \dfrac{r(h)}{|h|}=0$$ with $r(h)=f(a+h)-f(a)-T\cdot h=f(a+h)-f(a)-\dfrac{\partial f}{\partial h}(a)$, but I don't know how to work with this $\dfrac{}{\partial h}$ when $h\to 0$...