Initial program 31.8
\[\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 add-sqr-sqrt31.8
\[\leadsto \frac{\log \left(\sqrt{re \cdot re + im \cdot im}\right) \cdot \log \color{blue}{\left(\sqrt{base} \cdot \sqrt{base}\right)} + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Applied log-prod31.8
\[\leadsto \frac{\log \left(\sqrt{re \cdot re + im \cdot im}\right) \cdot \color{blue}{\left(\log \left(\sqrt{base}\right) + \log \left(\sqrt{base}\right)\right)} + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Applied distribute-lft-in31.8
\[\leadsto \frac{\color{blue}{\left(\log \left(\sqrt{re \cdot re + im \cdot im}\right) \cdot \log \left(\sqrt{base}\right) + \log \left(\sqrt{re \cdot re + im \cdot im}\right) \cdot \log \left(\sqrt{base}\right)\right)} + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Simplified31.8
\[\leadsto \frac{\left(\color{blue}{\log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)} + \log \left(\sqrt{re \cdot re + im \cdot im}\right) \cdot \log \left(\sqrt{base}\right)\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Simplified0.5
\[\leadsto \frac{\left(\log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right) + \color{blue}{\log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)}\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
- Using strategy
rm Applied add-cube-cbrt0.5
\[\leadsto \frac{\left(\log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \color{blue}{\left(\left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) \cdot \sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)}\right) + \log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Applied log-prod0.5
\[\leadsto \frac{\left(\log \left(\sqrt{base}\right) \cdot \left(1 \cdot \color{blue}{\left(\log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) + \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right)}\right) + \log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Applied distribute-lft-in0.5
\[\leadsto \frac{\left(\log \left(\sqrt{base}\right) \cdot \color{blue}{\left(1 \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) + 1 \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right)} + \log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Applied distribute-lft-in0.5
\[\leadsto \frac{\left(\color{blue}{\left(\log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)} \cdot \sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right) + \log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right)\right)} + \log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Simplified0.5
\[\leadsto \frac{\left(\left(\color{blue}{\left(\log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) \cdot 2\right) \cdot \log \left(\sqrt{base}\right)} + \log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right)\right) + \log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Simplified0.5
\[\leadsto \frac{\left(\left(\left(\log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) \cdot 2\right) \cdot \log \left(\sqrt{base}\right) + \color{blue}{\log \left(\sqrt{base}\right) \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)}\right) + \log \left(\sqrt{base}\right) \cdot \left(1 \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
- Using strategy
rm Applied add-cbrt-cube0.6
\[\leadsto \frac{\left(\left(\left(\log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) \cdot 2\right) \cdot \log \left(\sqrt{base}\right) + \log \left(\sqrt{base}\right) \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right) + \log \left(\sqrt{base}\right) \cdot \left(1 \cdot \color{blue}{\sqrt[3]{\left(\log \left(\mathsf{hypot}\left(re, im\right)\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)}}\right)\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Applied add-cbrt-cube0.6
\[\leadsto \frac{\left(\left(\left(\log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) \cdot 2\right) \cdot \log \left(\sqrt{base}\right) + \log \left(\sqrt{base}\right) \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right) + \log \left(\sqrt{base}\right) \cdot \left(\color{blue}{\sqrt[3]{\left(1 \cdot 1\right) \cdot 1}} \cdot \sqrt[3]{\left(\log \left(\mathsf{hypot}\left(re, im\right)\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)}\right)\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Applied cbrt-unprod0.6
\[\leadsto \frac{\left(\left(\left(\log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) \cdot 2\right) \cdot \log \left(\sqrt{base}\right) + \log \left(\sqrt{base}\right) \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right) + \log \left(\sqrt{base}\right) \cdot \color{blue}{\sqrt[3]{\left(\left(1 \cdot 1\right) \cdot 1\right) \cdot \left(\left(\log \left(\mathsf{hypot}\left(re, im\right)\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)}}\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Applied add-cbrt-cube0.6
\[\leadsto \frac{\left(\left(\left(\log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) \cdot 2\right) \cdot \log \left(\sqrt{base}\right) + \log \left(\sqrt{base}\right) \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right) + \color{blue}{\sqrt[3]{\left(\log \left(\sqrt{base}\right) \cdot \log \left(\sqrt{base}\right)\right) \cdot \log \left(\sqrt{base}\right)}} \cdot \sqrt[3]{\left(\left(1 \cdot 1\right) \cdot 1\right) \cdot \left(\left(\log \left(\mathsf{hypot}\left(re, im\right)\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)}\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Applied cbrt-unprod0.6
\[\leadsto \frac{\left(\left(\left(\log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) \cdot 2\right) \cdot \log \left(\sqrt{base}\right) + \log \left(\sqrt{base}\right) \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right) + \color{blue}{\sqrt[3]{\left(\left(\log \left(\sqrt{base}\right) \cdot \log \left(\sqrt{base}\right)\right) \cdot \log \left(\sqrt{base}\right)\right) \cdot \left(\left(\left(1 \cdot 1\right) \cdot 1\right) \cdot \left(\left(\log \left(\mathsf{hypot}\left(re, im\right)\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)\right)}}\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Simplified0.6
\[\leadsto \frac{\left(\left(\left(\log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) \cdot 2\right) \cdot \log \left(\sqrt{base}\right) + \log \left(\sqrt{base}\right) \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right) + \sqrt[3]{\color{blue}{{\left(\log \left(\sqrt{base}\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)}^{3}}}\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]
Final simplification0.6
\[\leadsto \frac{\left(\left(\left(\log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right) \cdot 2\right) \cdot \log \left(\sqrt{base}\right) + \log \left(\sqrt{base}\right) \cdot \log \left(\sqrt[3]{\mathsf{hypot}\left(re, im\right)}\right)\right) + \sqrt[3]{{\left(\log \left(\sqrt{base}\right) \cdot \log \left(\mathsf{hypot}\left(re, im\right)\right)\right)}^{3}}\right) + \tan^{-1}_* \frac{im}{re} \cdot 0.0}{\log base \cdot \log base + 0.0 \cdot 0.0}\]