Initial program 32.3
\[\frac{\log \left(\sqrt{re \cdot re + im \cdot im}\right) \cdot \log base + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
- Using strategy
rm Applied +-commutative32.3
\[\leadsto \frac{\log \left(\sqrt{\color{blue}{im \cdot im + re \cdot re}}\right) \cdot \log base + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Applied hypot-def0.5
\[\leadsto \frac{\log \color{blue}{\left(\mathsf{hypot}\left(im, re\right)\right)} \cdot \log base + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
- Using strategy
rm Applied clear-num0.5
\[\leadsto \color{blue}{\frac{1}{\frac{\log base \cdot \log base + 0.0 \cdot 0.0}{\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base + \tan^{-1}_* \frac{im}{re} \cdot 0.0}}}\]
- Using strategy
rm Applied flip-+0.6
\[\leadsto \frac{1}{\frac{\log base \cdot \log base + 0.0 \cdot 0.0}{\color{blue}{\frac{\left(\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base\right) \cdot \left(\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base\right) - \left(\tan^{-1}_* \frac{im}{re} \cdot 0.0\right) \cdot \left(\tan^{-1}_* \frac{im}{re} \cdot 0.0\right)}{\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base - \tan^{-1}_* \frac{im}{re} \cdot 0.0}}}}\]
Applied associate-/r/0.6
\[\leadsto \frac{1}{\color{blue}{\frac{\log base \cdot \log base + 0.0 \cdot 0.0}{\left(\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base\right) \cdot \left(\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base\right) - \left(\tan^{-1}_* \frac{im}{re} \cdot 0.0\right) \cdot \left(\tan^{-1}_* \frac{im}{re} \cdot 0.0\right)} \cdot \left(\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base - \tan^{-1}_* \frac{im}{re} \cdot 0.0\right)}}\]
Applied associate-/r*0.6
\[\leadsto \color{blue}{\frac{\frac{1}{\frac{\log base \cdot \log base + 0.0 \cdot 0.0}{\left(\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base\right) \cdot \left(\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base\right) - \left(\tan^{-1}_* \frac{im}{re} \cdot 0.0\right) \cdot \left(\tan^{-1}_* \frac{im}{re} \cdot 0.0\right)}}}{\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base - \tan^{-1}_* \frac{im}{re} \cdot 0.0}}\]
Simplified0.6
\[\leadsto \frac{\color{blue}{\frac{\mathsf{fma}\left(\log \left(\mathsf{hypot}\left(im, re\right)\right), \log base, \tan^{-1}_* \frac{im}{re} \cdot 0.0\right) \cdot \left(\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base - \tan^{-1}_* \frac{im}{re} \cdot 0.0\right)}{\mathsf{fma}\left(0.0, 0.0, {\left(\log base\right)}^{2}\right)}}}{\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base - \tan^{-1}_* \frac{im}{re} \cdot 0.0}\]
Final simplification0.6
\[\leadsto \frac{\frac{\mathsf{fma}\left(\log \left(\mathsf{hypot}\left(im, re\right)\right), \log base, \tan^{-1}_* \frac{im}{re} \cdot 0.0\right) \cdot \left(\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base - \tan^{-1}_* \frac{im}{re} \cdot 0.0\right)}{\mathsf{fma}\left(0.0, 0.0, {\left(\log base\right)}^{2}\right)}}{\log \left(\mathsf{hypot}\left(im, re\right)\right) \cdot \log base - \tan^{-1}_* \frac{im}{re} \cdot 0.0}\]