Let $U\subset R^m$ be an open set and $f:U\to\mathbb R^n$ a constant function. My question is really simple. I know that this function is $C^{\infty}$, but I'm having troubles to prove it formally. What I know is its derivative is zero and $f \in C^k$ iff $f'\in C^{k-1}$. I don't know how to manage all this information to prove $f\in C^k$ for every $k=0,1\ldots$
I've already proved $f\in C^0$ and $f\in C^1$. My problem is to prove the induction part: $f\in C^k\implies f\in C^{k+1}$