All of the non-analytic smooth functions I've come across so far have either been piecewise-defined or involved infinite sums. Are there any examples of non-analytic smooth functions that consist of a single expression with a finite number of operations?
If the answer is no, what theorem or lemma can be used to prove this?