Initial program 20.5
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
- Using strategy
rm Applied add-cbrt-cube47.0
\[\leadsto \frac{\left(x - y\right) \cdot \left(x + y\right)}{\color{blue}{\sqrt[3]{\left(\left(x \cdot x + y \cdot y\right) \cdot \left(x \cdot x + y \cdot y\right)\right) \cdot \left(x \cdot x + y \cdot y\right)}}}\]
Applied add-cbrt-cube47.1
\[\leadsto \frac{\left(x - y\right) \cdot \color{blue}{\sqrt[3]{\left(\left(x + y\right) \cdot \left(x + y\right)\right) \cdot \left(x + y\right)}}}{\sqrt[3]{\left(\left(x \cdot x + y \cdot y\right) \cdot \left(x \cdot x + y \cdot y\right)\right) \cdot \left(x \cdot x + y \cdot y\right)}}\]
Applied add-cbrt-cube47.2
\[\leadsto \frac{\color{blue}{\sqrt[3]{\left(\left(x - y\right) \cdot \left(x - y\right)\right) \cdot \left(x - y\right)}} \cdot \sqrt[3]{\left(\left(x + y\right) \cdot \left(x + y\right)\right) \cdot \left(x + y\right)}}{\sqrt[3]{\left(\left(x \cdot x + y \cdot y\right) \cdot \left(x \cdot x + y \cdot y\right)\right) \cdot \left(x \cdot x + y \cdot y\right)}}\]
Applied cbrt-unprod46.9
\[\leadsto \frac{\color{blue}{\sqrt[3]{\left(\left(\left(x - y\right) \cdot \left(x - y\right)\right) \cdot \left(x - y\right)\right) \cdot \left(\left(\left(x + y\right) \cdot \left(x + y\right)\right) \cdot \left(x + y\right)\right)}}}{\sqrt[3]{\left(\left(x \cdot x + y \cdot y\right) \cdot \left(x \cdot x + y \cdot y\right)\right) \cdot \left(x \cdot x + y \cdot y\right)}}\]
Applied cbrt-undiv46.8
\[\leadsto \color{blue}{\sqrt[3]{\frac{\left(\left(\left(x - y\right) \cdot \left(x - y\right)\right) \cdot \left(x - y\right)\right) \cdot \left(\left(\left(x + y\right) \cdot \left(x + y\right)\right) \cdot \left(x + y\right)\right)}{\left(\left(x \cdot x + y \cdot y\right) \cdot \left(x \cdot x + y \cdot y\right)\right) \cdot \left(x \cdot x + y \cdot y\right)}}}\]
Simplified20.5
\[\leadsto \sqrt[3]{\color{blue}{{\left(\frac{x + y}{\frac{\mathsf{fma}\left(x, x, y \cdot y\right)}{x - y}}\right)}^{3}}}\]
- Using strategy
rm Applied log1p-expm1-u20.5
\[\leadsto \color{blue}{\mathsf{log1p}\left(\mathsf{expm1}\left(\sqrt[3]{{\left(\frac{x + y}{\frac{\mathsf{fma}\left(x, x, y \cdot y\right)}{x - y}}\right)}^{3}}\right)\right)}\]
Simplified20.6
\[\leadsto \mathsf{log1p}\left(\color{blue}{\mathsf{expm1}\left(\frac{x + y}{\frac{\mathsf{fma}\left(x, x, y \cdot y\right)}{x - y}}\right)}\right)\]
- Using strategy
rm Applied *-un-lft-identity20.6
\[\leadsto \mathsf{log1p}\left(\mathsf{expm1}\left(\frac{x + y}{\frac{\mathsf{fma}\left(x, x, y \cdot y\right)}{\color{blue}{1 \cdot \left(x - y\right)}}}\right)\right)\]
Applied add-sqr-sqrt20.6
\[\leadsto \mathsf{log1p}\left(\mathsf{expm1}\left(\frac{x + y}{\frac{\color{blue}{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)} \cdot \sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}}{1 \cdot \left(x - y\right)}}\right)\right)\]
Applied times-frac20.5
\[\leadsto \mathsf{log1p}\left(\mathsf{expm1}\left(\frac{x + y}{\color{blue}{\frac{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}{1} \cdot \frac{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}{x - y}}}\right)\right)\]
Simplified20.5
\[\leadsto \mathsf{log1p}\left(\mathsf{expm1}\left(\frac{x + y}{\color{blue}{\mathsf{hypot}\left(x, y\right)} \cdot \frac{\sqrt{\mathsf{fma}\left(x, x, y \cdot y\right)}}{x - y}}\right)\right)\]
Simplified0.0
\[\leadsto \mathsf{log1p}\left(\mathsf{expm1}\left(\frac{x + y}{\mathsf{hypot}\left(x, y\right) \cdot \color{blue}{\frac{\mathsf{hypot}\left(x, y\right)}{x - y}}}\right)\right)\]
Final simplification0.0
\[\leadsto \mathsf{log1p}\left(\mathsf{expm1}\left(\frac{x + y}{\mathsf{hypot}\left(x, y\right) \cdot \frac{\mathsf{hypot}\left(x, y\right)}{x - y}}\right)\right)\]