Suppose $(E, \parallel \parallel),(F, \parallel \parallel)$ are Banach spaces, $U \subset E$ is an open, connected set, and $f : U \to F$ such that $Df = 0$. Prove that $f$ is a constant function.
Using the MVT, then for $y \in [x,y] := \{ (1-t)x+ty \mid 0 \leq t \leq 1\}$, $$ \| f(x)-f(y) \| \leq \sup_{c \in [x,y]} \|Df(c)(y-x) \| = 0. $$ So $f(x) = f(y), \ \forall y \in [x,y]$.
How do I show that $f(x)=f(y)$ for all $y \in U$? (I know it has to do with the connectedness of $U$, but I don't know how.)