- Split input into 4 regimes
if y < -1.3253272745940738e+154
Initial program 63.6
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
Taylor expanded around 0 0
\[\leadsto \color{blue}{-1}\]
if -1.3253272745940738e+154 < y < -6.75987253138467e-155
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-cube37.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-cube38.1
\[\leadsto \frac{\color{blue}{\sqrt[3]{\left(\left(\left(x - y\right) \cdot \left(x + y\right)\right) \cdot \left(\left(x - y\right) \cdot \left(x + y\right)\right)\right) \cdot \left(\left(x - y\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.1
\[\leadsto \color{blue}{\sqrt[3]{\frac{\left(\left(\left(x - y\right) \cdot \left(x + y\right)\right) \cdot \left(\left(x - y\right) \cdot \left(x + y\right)\right)\right) \cdot \left(\left(x - y\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{\left(x - y\right) \cdot \left(y + x\right)}{x \cdot x + y \cdot y}\right)}^{3}}}\]
if -6.75987253138467e-155 < y < 3.316729756021669e-162
Initial program 28.5
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
- Using strategy
rm Applied add-cbrt-cube52.1
\[\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-cube51.8
\[\leadsto \frac{\color{blue}{\sqrt[3]{\left(\left(\left(x - y\right) \cdot \left(x + y\right)\right) \cdot \left(\left(x - y\right) \cdot \left(x + y\right)\right)\right) \cdot \left(\left(x - y\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-undiv51.8
\[\leadsto \color{blue}{\sqrt[3]{\frac{\left(\left(\left(x - y\right) \cdot \left(x + y\right)\right) \cdot \left(\left(x - y\right) \cdot \left(x + y\right)\right)\right) \cdot \left(\left(x - y\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)}}}\]
Simplified28.5
\[\leadsto \sqrt[3]{\color{blue}{{\left(\frac{\left(x - y\right) \cdot \left(y + x\right)}{x \cdot x + y \cdot y}\right)}^{3}}}\]
Taylor expanded around inf 15.5
\[\leadsto \color{blue}{1}\]
if 3.316729756021669e-162 < y
Initial program 0.1
\[\frac{\left(x - y\right) \cdot \left(x + y\right)}{x \cdot x + y \cdot y}\]
Taylor expanded around inf 0.1
\[\leadsto \frac{\color{blue}{{x}^{2} - {y}^{2}}}{x \cdot x + y \cdot y}\]
- Recombined 4 regimes into one program.
Final simplification5.1
\[\leadsto \begin{array}{l}
\mathbf{if}\;y \le -1.3253272745940738 \cdot 10^{+154}:\\
\;\;\;\;-1\\
\mathbf{elif}\;y \le -6.75987253138467 \cdot 10^{-155}:\\
\;\;\;\;\sqrt[3]{{\left(\frac{\left(x - y\right) \cdot \left(y + x\right)}{y \cdot y + x \cdot x}\right)}^{3}}\\
\mathbf{elif}\;y \le 3.316729756021669 \cdot 10^{-162}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{{x}^{2} - {y}^{2}}{y \cdot y + x \cdot x}\\
\end{array}\]