Initial program 26.7
\[\frac{x.im \cdot y.re - x.re \cdot y.im}{y.re \cdot y.re + y.im \cdot y.im}\]
- Using strategy
rm Applied add-sqr-sqrt26.7
\[\leadsto \frac{x.im \cdot y.re - x.re \cdot y.im}{\color{blue}{\sqrt{y.re \cdot y.re + y.im \cdot y.im} \cdot \sqrt{y.re \cdot y.re + y.im \cdot y.im}}}\]
Applied *-un-lft-identity26.7
\[\leadsto \frac{\color{blue}{1 \cdot \left(x.im \cdot y.re - x.re \cdot y.im\right)}}{\sqrt{y.re \cdot y.re + y.im \cdot y.im} \cdot \sqrt{y.re \cdot y.re + y.im \cdot y.im}}\]
Applied times-frac26.7
\[\leadsto \color{blue}{\frac{1}{\sqrt{y.re \cdot y.re + y.im \cdot y.im}} \cdot \frac{x.im \cdot y.re - x.re \cdot y.im}{\sqrt{y.re \cdot y.re + y.im \cdot y.im}}}\]
Simplified26.7
\[\leadsto \color{blue}{\frac{1}{\mathsf{hypot}\left(y.re, y.im\right)}} \cdot \frac{x.im \cdot y.re - x.re \cdot y.im}{\sqrt{y.re \cdot y.re + y.im \cdot y.im}}\]
Simplified17.1
\[\leadsto \frac{1}{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \color{blue}{\frac{y.re \cdot x.im - y.im \cdot x.re}{\mathsf{hypot}\left(y.re, y.im\right)}}\]
- Using strategy
rm Applied div-sub17.1
\[\leadsto \frac{1}{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \color{blue}{\left(\frac{y.re \cdot x.im}{\mathsf{hypot}\left(y.re, y.im\right)} - \frac{y.im \cdot x.re}{\mathsf{hypot}\left(y.re, y.im\right)}\right)}\]
Simplified9.7
\[\leadsto \frac{1}{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \left(\color{blue}{\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}}} - \frac{y.im \cdot x.re}{\mathsf{hypot}\left(y.re, y.im\right)}\right)\]
- Using strategy
rm Applied *-un-lft-identity9.7
\[\leadsto \frac{1}{\color{blue}{1 \cdot \mathsf{hypot}\left(y.re, y.im\right)}} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{y.im \cdot x.re}{\mathsf{hypot}\left(y.re, y.im\right)}\right)\]
Applied add-sqr-sqrt9.7
\[\leadsto \frac{\color{blue}{\sqrt{1} \cdot \sqrt{1}}}{1 \cdot \mathsf{hypot}\left(y.re, y.im\right)} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{y.im \cdot x.re}{\mathsf{hypot}\left(y.re, y.im\right)}\right)\]
Applied times-frac9.7
\[\leadsto \color{blue}{\left(\frac{\sqrt{1}}{1} \cdot \frac{\sqrt{1}}{\mathsf{hypot}\left(y.re, y.im\right)}\right)} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{y.im \cdot x.re}{\mathsf{hypot}\left(y.re, y.im\right)}\right)\]
Applied associate-*l*9.7
\[\leadsto \color{blue}{\frac{\sqrt{1}}{1} \cdot \left(\frac{\sqrt{1}}{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{y.im \cdot x.re}{\mathsf{hypot}\left(y.re, y.im\right)}\right)\right)}\]
Simplified1.0
\[\leadsto \frac{\sqrt{1}}{1} \cdot \color{blue}{\frac{\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{y.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{x.re}}}{\mathsf{hypot}\left(y.re, y.im\right)}}\]
- Using strategy
rm Applied *-un-lft-identity1.0
\[\leadsto \frac{\sqrt{1}}{1} \cdot \frac{\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{y.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{\color{blue}{1 \cdot x.re}}}}{\mathsf{hypot}\left(y.re, y.im\right)}\]
Applied add-cube-cbrt1.5
\[\leadsto \frac{\sqrt{1}}{1} \cdot \frac{\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{y.im}{\frac{\color{blue}{\left(\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}\right) \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}}{1 \cdot x.re}}}{\mathsf{hypot}\left(y.re, y.im\right)}\]
Applied times-frac1.5
\[\leadsto \frac{\sqrt{1}}{1} \cdot \frac{\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{y.im}{\color{blue}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{1} \cdot \frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}}}{\mathsf{hypot}\left(y.re, y.im\right)}\]
Applied add-cube-cbrt1.2
\[\leadsto \frac{\sqrt{1}}{1} \cdot \frac{\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{\color{blue}{\left(\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}\right) \cdot \sqrt[3]{y.im}}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{1} \cdot \frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}}{\mathsf{hypot}\left(y.re, y.im\right)}\]
Applied times-frac0.6
\[\leadsto \frac{\sqrt{1}}{1} \cdot \frac{\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \color{blue}{\frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{1}} \cdot \frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}}}{\mathsf{hypot}\left(y.re, y.im\right)}\]
Applied associate-/r/1.0
\[\leadsto \frac{\sqrt{1}}{1} \cdot \frac{\color{blue}{\frac{x.im}{\mathsf{hypot}\left(y.re, y.im\right)} \cdot y.re} - \frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{1}} \cdot \frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}}{\mathsf{hypot}\left(y.re, y.im\right)}\]
Applied prod-diff1.0
\[\leadsto \frac{\sqrt{1}}{1} \cdot \frac{\color{blue}{\mathsf{fma}\left(\frac{x.im}{\mathsf{hypot}\left(y.re, y.im\right)}, y.re, -\frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}} \cdot \frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{1}}\right) + \mathsf{fma}\left(-\frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}, \frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{1}}, \frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}} \cdot \frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{1}}\right)}}{\mathsf{hypot}\left(y.re, y.im\right)}\]
Simplified1.0
\[\leadsto \frac{\sqrt{1}}{1} \cdot \frac{\color{blue}{\mathsf{fma}\left(\frac{x.im}{\mathsf{hypot}\left(y.re, y.im\right)}, y.re, -\frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}} \cdot \frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}\right)} + \mathsf{fma}\left(-\frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}, \frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{1}}, \frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}} \cdot \frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{1}}\right)}{\mathsf{hypot}\left(y.re, y.im\right)}\]
Simplified1.0
\[\leadsto \frac{\sqrt{1}}{1} \cdot \frac{\mathsf{fma}\left(\frac{x.im}{\mathsf{hypot}\left(y.re, y.im\right)}, y.re, -\frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}} \cdot \frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}\right) + \color{blue}{\mathsf{fma}\left(-\frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}, \frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}, \frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}} \cdot \frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}\right)}}{\mathsf{hypot}\left(y.re, y.im\right)}\]
Final simplification1.0
\[\leadsto \frac{\mathsf{fma}\left(\frac{x.im}{\mathsf{hypot}\left(y.re, y.im\right)}, y.re, -\frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}} \cdot \frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}\right) + \mathsf{fma}\left(-\frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}, \frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}, \frac{\sqrt[3]{y.im} \cdot \sqrt[3]{y.im}}{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}} \cdot \frac{\sqrt[3]{y.im}}{\frac{\sqrt[3]{\mathsf{hypot}\left(y.re, y.im\right)}}{x.re}}\right)}{\mathsf{hypot}\left(y.re, y.im\right)} \cdot \sqrt{1}\]