A heuristic and very bad, imho.  What about `1/(x - sin(pi/13))`?

It may be better to handle first cases, that we can do (for example, rational functions), and then raise NotImplementedError.