Initial program 26.3
\[\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.3
\[\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.3
\[\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.3
\[\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.3
\[\leadsto \color{blue}{\frac{1}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{1}}} \cdot \frac{x.im \cdot y.re - x.re \cdot y.im}{\sqrt{y.re \cdot y.re + y.im \cdot y.im}}\]
Simplified16.8
\[\leadsto \frac{1}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{1}} \cdot \color{blue}{\frac{x.im \cdot y.re - x.re \cdot y.im}{\mathsf{hypot}\left(y.re, y.im\right) \cdot 1}}\]
- Using strategy
rm Applied div-sub16.8
\[\leadsto \frac{1}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{1}} \cdot \color{blue}{\left(\frac{x.im \cdot y.re}{\mathsf{hypot}\left(y.re, y.im\right) \cdot 1} - \frac{x.re \cdot y.im}{\mathsf{hypot}\left(y.re, y.im\right) \cdot 1}\right)}\]
Simplified9.3
\[\leadsto \frac{1}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{1}} \cdot \left(\color{blue}{\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}}} - \frac{x.re \cdot y.im}{\mathsf{hypot}\left(y.re, y.im\right) \cdot 1}\right)\]
Simplified0.7
\[\leadsto \frac{1}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{1}} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \color{blue}{\frac{x.re}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.im}}}\right)\]
- Using strategy
rm Applied add-sqr-sqrt0.7
\[\leadsto \frac{1}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{\color{blue}{\sqrt{1} \cdot \sqrt{1}}}} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{x.re}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.im}}\right)\]
Applied *-un-lft-identity0.7
\[\leadsto \frac{1}{\frac{\color{blue}{1 \cdot \mathsf{hypot}\left(y.re, y.im\right)}}{\sqrt{1} \cdot \sqrt{1}}} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{x.re}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.im}}\right)\]
Applied times-frac0.7
\[\leadsto \frac{1}{\color{blue}{\frac{1}{\sqrt{1}} \cdot \frac{\mathsf{hypot}\left(y.re, y.im\right)}{\sqrt{1}}}} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{x.re}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.im}}\right)\]
Applied associate-/r*0.7
\[\leadsto \color{blue}{\frac{\frac{1}{\frac{1}{\sqrt{1}}}}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{\sqrt{1}}}} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{x.re}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.im}}\right)\]
Applied associate-*l/0.5
\[\leadsto \color{blue}{\frac{\frac{1}{\frac{1}{\sqrt{1}}} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{x.re}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.im}}\right)}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{\sqrt{1}}}}\]
Final simplification0.5
\[\leadsto \frac{\frac{1}{\frac{1}{\sqrt{1}}} \cdot \left(\frac{x.im}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.re}} - \frac{x.re}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{y.im}}\right)}{\frac{\mathsf{hypot}\left(y.re, y.im\right)}{\sqrt{1}}}\]