Are all multivariate elementary functions $C^\infty$ on any open ball for which they are defined?
I believe they are, and can find no counterexample, but do not know how to prove this. (All the candidate counterexamples I found were on boundaries, not in open balls).
Update
Please use this definition of elementary functions.
If not, what restrictions on the set of elementary functions make them all $C^\infty$?