Initial program 57.9
\[\left(0.5 \cdot \cos re\right) \cdot \left(e^{0 - im} - e^{im}\right)\]
Taylor expanded around 0 0.9
\[\leadsto \left(0.5 \cdot \cos re\right) \cdot \color{blue}{\left(-\left(\frac{1}{3} \cdot {im}^{3} + \left(\frac{1}{60} \cdot {im}^{5} + 2 \cdot im\right)\right)\right)}\]
Simplified0.9
\[\leadsto \left(0.5 \cdot \cos re\right) \cdot \color{blue}{(\left((\left(im \cdot im\right) \cdot \frac{1}{3} + 2)_*\right) \cdot \left(-im\right) + \left(\left(-\frac{1}{60}\right) \cdot {im}^{5}\right))_*}\]
Taylor expanded around inf 1.0
\[\leadsto \color{blue}{-\left(1.0 \cdot \left(im \cdot \cos re\right) + 0.16666666666666666 \cdot \left({im}^{3} \cdot \cos re\right)\right)}\]
Simplified1.0
\[\leadsto \color{blue}{\left(\cos re \cdot \left(-im\right)\right) \cdot (0.16666666666666666 \cdot \left(im \cdot im\right) + 1.0)_*}\]
- Using strategy
rm Applied fma-udef1.0
\[\leadsto \left(\cos re \cdot \left(-im\right)\right) \cdot \color{blue}{\left(0.16666666666666666 \cdot \left(im \cdot im\right) + 1.0\right)}\]
Applied distribute-lft-in1.0
\[\leadsto \color{blue}{\left(\cos re \cdot \left(-im\right)\right) \cdot \left(0.16666666666666666 \cdot \left(im \cdot im\right)\right) + \left(\cos re \cdot \left(-im\right)\right) \cdot 1.0}\]
Final simplification1.0
\[\leadsto \left(im \cdot \cos re\right) \cdot \left(-1.0\right) + \left(0.16666666666666666 \cdot \left(im \cdot im\right)\right) \cdot \left(\left(-im\right) \cdot \cos re\right)\]