Initial program 19.4
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
Simplified19.4
\[\leadsto \color{blue}{\frac{\left(x - y\right) \cdot \left(y + x\right)}{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}\]
- Using strategy
rm Applied add-sqr-sqrt19.4
\[\leadsto \frac{\left(x - y\right) \cdot \left(y + x\right)}{\color{blue}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}}\]
Applied times-frac19.4
\[\leadsto \color{blue}{\frac{x - y}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}} \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}}\]
- Using strategy
rm Applied add-cbrt-cube19.4
\[\leadsto \frac{x - y}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}} \cdot \color{blue}{\sqrt[3]{\left(\frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}} \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}\right) \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}}}\]
Applied add-cbrt-cube31.3
\[\leadsto \frac{x - y}{\color{blue}{\sqrt[3]{\left(\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}\right) \cdot \sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}}} \cdot \sqrt[3]{\left(\frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}} \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}\right) \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}}\]
Applied add-cbrt-cube31.3
\[\leadsto \frac{\color{blue}{\sqrt[3]{\left(\left(x - y\right) \cdot \left(x - y\right)\right) \cdot \left(x - y\right)}}}{\sqrt[3]{\left(\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}\right) \cdot \sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}} \cdot \sqrt[3]{\left(\frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}} \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}\right) \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}}\]
Applied cbrt-undiv31.3
\[\leadsto \color{blue}{\sqrt[3]{\frac{\left(\left(x - y\right) \cdot \left(x - y\right)\right) \cdot \left(x - y\right)}{\left(\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}\right) \cdot \sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}}} \cdot \sqrt[3]{\left(\frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}} \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}\right) \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}}\]
Applied cbrt-unprod31.3
\[\leadsto \color{blue}{\sqrt[3]{\frac{\left(\left(x - y\right) \cdot \left(x - y\right)\right) \cdot \left(x - y\right)}{\left(\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}\right) \cdot \sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}} \cdot \left(\left(\frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}} \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}\right) \cdot \frac{y + x}{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}\right)}}\]
Simplified0.0
\[\leadsto \sqrt[3]{\color{blue}{\left(\left(\left(\frac{y + x}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{y + x}{\mathsf{hypot}\left(x, y\right)}\right) \cdot \frac{y + x}{\mathsf{hypot}\left(x, y\right)}\right) \cdot \left(\frac{x - y}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right)\right) \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}}}\]
Final simplification0.0
\[\leadsto \sqrt[3]{\frac{x - y}{\mathsf{hypot}\left(x, 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 \left(\frac{x + y}{\mathsf{hypot}\left(x, y\right)} \cdot \left(\frac{x + y}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{x + y}{\mathsf{hypot}\left(x, y\right)}\right)\right)\right)}\]