> I tried that, but it expands simple trig functions too, e.g. `cos(x)`
> to `exp(I*x)/2 + exp(-I*x)/2`. 

Sure, this will rewrite everything in can in terms of exp.

But what's wrong with sinh and cosh?