Initial program 19.7
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
Simplified19.7
\[\leadsto \color{blue}{\frac{\left(x - y\right) \cdot \left(y + x\right)}{\mathsf{fma}\left(x, x, y \cdot y\right)}}\]
- Using strategy
rm Applied add-log-exp19.7
\[\leadsto \color{blue}{\log \left(e^{\frac{\left(x - y\right) \cdot \left(y + x\right)}{\mathsf{fma}\left(x, x, y \cdot y\right)}}\right)}\]
- Using strategy
rm Applied add-sqr-sqrt19.7
\[\leadsto \log \left(e^{\frac{\left(x - y\right) \cdot \left(y + x\right)}{\color{blue}{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}}}\right)\]
Applied times-frac19.7
\[\leadsto \log \left(e^{\color{blue}{\frac{x - y}{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}} \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}}}\right)\]
Applied exp-prod19.7
\[\leadsto \log \color{blue}{\left({\left(e^{\frac{x - y}{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}}\right)}^{\left(\frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}\right)}\right)}\]
Applied log-pow19.7
\[\leadsto \color{blue}{\frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}} \cdot \log \left(e^{\frac{x - y}{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}}\right)}\]
Simplified19.7
\[\leadsto \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}} \cdot \color{blue}{\frac{x - y}{\mathsf{hypot}\left(x, y\right)}}\]
- Using strategy
rm Applied add-cbrt-cube19.7
\[\leadsto \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}} \cdot \color{blue}{\sqrt[3]{\left(\frac{x - y}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right) \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}}}\]
Applied add-cbrt-cube31.1
\[\leadsto \frac{y + x}{\color{blue}{\sqrt[3]{\left(\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}\right) \cdot \sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}}} \cdot \sqrt[3]{\left(\frac{x - y}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right) \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}}\]
Applied add-cbrt-cube31.0
\[\leadsto \frac{\color{blue}{\sqrt[3]{\left(\left(y + x\right) \cdot \left(y + x\right)\right) \cdot \left(y + x\right)}}}{\sqrt[3]{\left(\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}\right) \cdot \sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}} \cdot \sqrt[3]{\left(\frac{x - y}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right) \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}}\]
Applied cbrt-undiv31.0
\[\leadsto \color{blue}{\sqrt[3]{\frac{\left(\left(y + x\right) \cdot \left(y + x\right)\right) \cdot \left(y + x\right)}{\left(\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}\right) \cdot \sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}}} \cdot \sqrt[3]{\left(\frac{x - y}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right) \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}}\]
Applied cbrt-unprod31.0
\[\leadsto \color{blue}{\sqrt[3]{\frac{\left(\left(y + x\right) \cdot \left(y + x\right)\right) \cdot \left(y + x\right)}{\left(\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}\right) \cdot \sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}} \cdot \left(\left(\frac{x - y}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right) \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right)}}\]
Simplified0.0
\[\leadsto \sqrt[3]{\color{blue}{\left(\frac{\left(x - y\right) \cdot \frac{y + x}{\mathsf{hypot}\left(x, y\right)}}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{\left(x - y\right) \cdot \frac{y + x}{\mathsf{hypot}\left(x, y\right)}}{\mathsf{hypot}\left(x, y\right)}\right) \cdot \frac{\left(x - y\right) \cdot \frac{y + x}{\mathsf{hypot}\left(x, y\right)}}{\mathsf{hypot}\left(x, y\right)}}}\]
Final simplification0.0
\[\leadsto \sqrt[3]{\frac{\left(x - y\right) \cdot \frac{y + x}{\mathsf{hypot}\left(x, y\right)}}{\mathsf{hypot}\left(x, y\right)} \cdot \left(\frac{\left(x - y\right) \cdot \frac{y + x}{\mathsf{hypot}\left(x, y\right)}}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{\left(x - y\right) \cdot \frac{y + x}{\mathsf{hypot}\left(x, y\right)}}{\mathsf{hypot}\left(x, y\right)}\right)}\]