I want to show that $f(z) = \frac{\cos z}{e^z}$ is analytic. I've used the definition of $\cos z = \frac{e^{iz} + e^{-iz}}{2}$ to get $f(z) = \frac 1 2 (e^{(-1 + i)z} + e^{(-1 - i)z})$.
Since $e^z$ is analytic for any complex $z$, then this is just the sum of two analytic functions, so $f(z)$ must be analytic.
Does this proof suffice?