From evaluation of an expression in sympy, I get the result of the left side:
However, I know that the right sight is a much nicer and cleaner way to simplify this expression. But as far as I tried, sympy is not able to simplify the left side to the right side.
Has anybody any idea how to simplify the left side in sympy such that I will get the right side? I tried already the simplify() function without success.