Initial program 20.5
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
Simplified20.5
\[\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 clear-num20.5
\[\leadsto \color{blue}{\frac{1}{\frac{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}{\left(x - y\right) \cdot \left(y + x\right)}}}\]
- Using strategy
rm Applied add-sqr-sqrt20.5
\[\leadsto \frac{1}{\frac{\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)}}}{\left(x - y\right) \cdot \left(y + x\right)}}\]
Applied times-frac20.5
\[\leadsto \frac{1}{\color{blue}{\frac{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}{x - y} \cdot \frac{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}{y + x}}}\]
Applied add-cube-cbrt20.5
\[\leadsto \frac{\color{blue}{\left(\sqrt[3]{1} \cdot \sqrt[3]{1}\right) \cdot \sqrt[3]{1}}}{\frac{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}{x - y} \cdot \frac{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}{y + x}}\]
Applied times-frac20.5
\[\leadsto \color{blue}{\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{\frac{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}{x - y}} \cdot \frac{\sqrt[3]{1}}{\frac{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}{y + x}}}\]
Simplified20.5
\[\leadsto \color{blue}{\frac{x - y}{\mathsf{hypot}\left(x, y\right)}} \cdot \frac{\sqrt[3]{1}}{\frac{\sqrt{\mathsf{fma}\left(x, x, \left(y \cdot y\right)\right)}}{y + x}}\]
Simplified0.0
\[\leadsto \frac{x - y}{\mathsf{hypot}\left(x, y\right)} \cdot \color{blue}{\frac{y + x}{\mathsf{hypot}\left(y, x\right)}}\]
- Using strategy
rm Applied add-cbrt-cube0.0
\[\leadsto \frac{x - y}{\mathsf{hypot}\left(x, y\right)} \cdot \color{blue}{\sqrt[3]{\left(\frac{y + x}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}\right) \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}}}\]
Applied add-cbrt-cube31.8
\[\leadsto \frac{x - y}{\color{blue}{\sqrt[3]{\left(\mathsf{hypot}\left(x, y\right) \cdot \mathsf{hypot}\left(x, y\right)\right) \cdot \mathsf{hypot}\left(x, y\right)}}} \cdot \sqrt[3]{\left(\frac{y + x}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}\right) \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}}\]
Applied add-cbrt-cube31.8
\[\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(\mathsf{hypot}\left(x, y\right) \cdot \mathsf{hypot}\left(x, y\right)\right) \cdot \mathsf{hypot}\left(x, y\right)}} \cdot \sqrt[3]{\left(\frac{y + x}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}\right) \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}}\]
Applied cbrt-undiv31.8
\[\leadsto \color{blue}{\sqrt[3]{\frac{\left(\left(x - y\right) \cdot \left(x - y\right)\right) \cdot \left(x - y\right)}{\left(\mathsf{hypot}\left(x, y\right) \cdot \mathsf{hypot}\left(x, y\right)\right) \cdot \mathsf{hypot}\left(x, y\right)}}} \cdot \sqrt[3]{\left(\frac{y + x}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}\right) \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}}\]
Applied cbrt-unprod31.8
\[\leadsto \color{blue}{\sqrt[3]{\frac{\left(\left(x - y\right) \cdot \left(x - y\right)\right) \cdot \left(x - y\right)}{\left(\mathsf{hypot}\left(x, y\right) \cdot \mathsf{hypot}\left(x, y\right)\right) \cdot \mathsf{hypot}\left(x, y\right)} \cdot \left(\left(\frac{y + x}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}\right) \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}\right)}}\]
Simplified0.0
\[\leadsto \sqrt[3]{\color{blue}{\left(\frac{y + x}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}\right) \cdot \left(\left(\frac{y + x}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{x - y}{\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)}}\]
- Using strategy
rm Applied associate-*r*0.0
\[\leadsto \sqrt[3]{\color{blue}{\left(\left(\frac{y + x}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{y + x}{\mathsf{hypot}\left(y, x\right)}\right) \cdot \left(\frac{y + x}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right)\right) \cdot \left(\frac{x - y}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right)}}\]
Final simplification0.0
\[\leadsto \sqrt[3]{\left(\left(\frac{x + y}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right) \cdot \left(\frac{x + y}{\mathsf{hypot}\left(y, x\right)} \cdot \frac{x + y}{\mathsf{hypot}\left(y, x\right)}\right)\right) \cdot \left(\frac{x - y}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{x - y}{\mathsf{hypot}\left(x, y\right)}\right)}\]