| 1 | initial version |
You might want to familiarize with the Maxima and SymPy parts of Sage. With Maxima you can do
sage: ex = cosh(x) - (exp(x)+exp(-x))/2
sage: ex._maxima_().exponentialize().sage()
0
Here the Maxima function exponentialize does the rewrite. In Sympy:
sage: ex = cosh(x) - (exp(x)+exp(-x))/2
sage: import sympy
sage: sympy.simplify(ex)
0
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.