\((\left(x.re - x.im\right) * \left(\left(x.re + x.im\right) \cdot x.im\right) + \left(\left(2 \cdot x.im\right) \cdot {x.re}^2\right))_*\)
- Started with
\[\left(x.re \cdot x.re - x.im \cdot x.im\right) \cdot x.im + \left(x.re \cdot x.im + x.im \cdot x.re\right) \cdot x.re\]
7.2
- Applied simplify to get
\[\color{red}{\left(x.re \cdot x.re - x.im \cdot x.im\right) \cdot x.im + \left(x.re \cdot x.im + x.im \cdot x.re\right) \cdot x.re} \leadsto \color{blue}{(\left(\left(x.re - x.im\right) \cdot \left(x.re + x.im\right)\right) * x.im + \left(\left(x.im + x.im\right) \cdot {x.re}^2\right))_*}\]
7.2
- Using strategy
rm 7.2
- Applied fma-udef to get
\[\color{red}{(\left(\left(x.re - x.im\right) \cdot \left(x.re + x.im\right)\right) * x.im + \left(\left(x.im + x.im\right) \cdot {x.re}^2\right))_*} \leadsto \color{blue}{\left(\left(x.re - x.im\right) \cdot \left(x.re + x.im\right)\right) \cdot x.im + \left(x.im + x.im\right) \cdot {x.re}^2}\]
7.2
- Applied taylor to get
\[\left(\left(x.re - x.im\right) \cdot \left(x.re + x.im\right)\right) \cdot x.im + \left(x.im + x.im\right) \cdot {x.re}^2 \leadsto \left(\left(x.re - x.im\right) \cdot \left(x.re + x.im\right)\right) \cdot x.im + 2 \cdot \left(x.im \cdot {x.re}^2\right)\]
7.2
- Taylor expanded around inf to get
\[\left(\left(x.re - x.im\right) \cdot \left(x.re + x.im\right)\right) \cdot x.im + \color{red}{2 \cdot \left(x.im \cdot {x.re}^2\right)} \leadsto \left(\left(x.re - x.im\right) \cdot \left(x.re + x.im\right)\right) \cdot x.im + \color{blue}{2 \cdot \left(x.im \cdot {x.re}^2\right)}\]
7.2
- Applied simplify to get
\[\left(\left(x.re - x.im\right) \cdot \left(x.re + x.im\right)\right) \cdot x.im + 2 \cdot \left(x.im \cdot {x.re}^2\right) \leadsto (\left(x.re - x.im\right) * \left(\left(x.re + x.im\right) \cdot x.im\right) + \left(\left(2 \cdot x.im\right) \cdot {x.re}^2\right))_*\]
7.2
- Applied final simplification
- Removed slow pow expressions