- Split input into 4 regimes
if y < -1.3396749332313781e154 or 6.6501588139279482e-174 < y < 2.47259879968152251e-162
Initial program 61.3
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
Taylor expanded around 0 2.7
\[\leadsto \color{blue}{-1}\]
if -1.3396749332313781e154 < y < -7.35822598373593517e-156
Initial program 0.0
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
- Using strategy
rm Applied add-cbrt-cube38.3
\[\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-cube38.7
\[\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-cube38.9
\[\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-unprod38.8
\[\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-undiv38.7
\[\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)}}}\]
Simplified0.0
\[\leadsto \sqrt[3]{\color{blue}{{\left(\frac{x + y}{x \cdot x + y \cdot y} \cdot \left(x - y\right)\right)}^{3}}}\]
- Using strategy
rm Applied add-cbrt-cube0.0
\[\leadsto \sqrt[3]{\color{blue}{\sqrt[3]{\left({\left(\frac{x + y}{x \cdot x + y \cdot y} \cdot \left(x - y\right)\right)}^{3} \cdot {\left(\frac{x + y}{x \cdot x + y \cdot y} \cdot \left(x - y\right)\right)}^{3}\right) \cdot {\left(\frac{x + y}{x \cdot x + y \cdot y} \cdot \left(x - y\right)\right)}^{3}}}}\]
Simplified0.0
\[\leadsto \sqrt[3]{\sqrt[3]{\color{blue}{{\left({\left(\frac{x + y}{x \cdot x + y \cdot y} \cdot \left(x - y\right)\right)}^{3}\right)}^{3}}}}\]
if -7.35822598373593517e-156 < y < 6.6501588139279482e-174
Initial program 29.5
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
Taylor expanded around inf 15.7
\[\leadsto \color{blue}{1}\]
if 2.47259879968152251e-162 < y
Initial program 0.0
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
- Using strategy
rm Applied add-cbrt-cube35.6
\[\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-cube35.7
\[\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-cube35.8
\[\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-unprod35.1
\[\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-undiv35.0
\[\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)}}}\]
Simplified0.8
\[\leadsto \sqrt[3]{\color{blue}{{\left(\frac{x + y}{x \cdot x + y \cdot y} \cdot \left(x - y\right)\right)}^{3}}}\]
- Recombined 4 regimes into one program.
Final simplification5.5
\[\leadsto \begin{array}{l}
\mathbf{if}\;y \le -1.3396749332313781 \cdot 10^{154}:\\
\;\;\;\;-1\\
\mathbf{elif}\;y \le -7.35822598373593517 \cdot 10^{-156}:\\
\;\;\;\;\sqrt[3]{\sqrt[3]{{\left({\left(\frac{y + x}{x \cdot x + y \cdot y} \cdot \left(x - y\right)\right)}^{3}\right)}^{3}}}\\
\mathbf{elif}\;y \le 6.6501588139279482 \cdot 10^{-174}:\\
\;\;\;\;1\\
\mathbf{elif}\;y \le 2.47259879968152251 \cdot 10^{-162}:\\
\;\;\;\;-1\\
\mathbf{else}:\\
\;\;\;\;\sqrt[3]{{\left(\frac{y + x}{x \cdot x + y \cdot y} \cdot \left(x - y\right)\right)}^{3}}\\
\end{array}\]