- Split input into 2 regimes
if (+ alpha beta) < 2.7738548153249837e+168
Initial program 0.2
\[\frac{\frac{\frac{\left(\left(\alpha + \beta\right) + \beta \cdot \alpha\right) + 1.0}{\left(\alpha + \beta\right) + 2 \cdot 1}}{\left(\alpha + \beta\right) + 2 \cdot 1}}{\left(\left(\alpha + \beta\right) + 2 \cdot 1\right) + 1.0}\]
- Using strategy
rm Applied div-inv0.2
\[\leadsto \frac{\frac{\color{blue}{\left(\left(\left(\alpha + \beta\right) + \beta \cdot \alpha\right) + 1.0\right) \cdot \frac{1}{\left(\alpha + \beta\right) + 2 \cdot 1}}}{\left(\alpha + \beta\right) + 2 \cdot 1}}{\left(\left(\alpha + \beta\right) + 2 \cdot 1\right) + 1.0}\]
Applied simplify0.2
\[\leadsto \frac{\frac{\left(\left(\left(\alpha + \beta\right) + \beta \cdot \alpha\right) + 1.0\right) \cdot \color{blue}{\frac{1}{\left(\alpha + \beta\right) + 2}}}{\left(\alpha + \beta\right) + 2 \cdot 1}}{\left(\left(\alpha + \beta\right) + 2 \cdot 1\right) + 1.0}\]
if 2.7738548153249837e+168 < (+ alpha beta)
Initial program 13.0
\[\frac{\frac{\frac{\left(\left(\alpha + \beta\right) + \beta \cdot \alpha\right) + 1.0}{\left(\alpha + \beta\right) + 2 \cdot 1}}{\left(\alpha + \beta\right) + 2 \cdot 1}}{\left(\left(\alpha + \beta\right) + 2 \cdot 1\right) + 1.0}\]
Taylor expanded around 0 59.1
\[\leadsto \frac{\frac{\color{blue}{0.5 + \left(0.25 \cdot \beta + 0.25 \cdot \alpha\right)}}{\left(\alpha + \beta\right) + 2 \cdot 1}}{\left(\left(\alpha + \beta\right) + 2 \cdot 1\right) + 1.0}\]
Applied simplify5.5
\[\leadsto \color{blue}{\frac{0.25 \cdot \left(\alpha + \beta\right) + 0.5}{\left(\left(2 + 1.0\right) + \left(\alpha + \beta\right)\right) \cdot \left(2 + \left(\alpha + \beta\right)\right)}}\]
- Recombined 2 regimes into one program.
Applied simplify1.7
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;\beta + \alpha \le 2.7738548153249837 \cdot 10^{+168}:\\
\;\;\;\;\frac{\frac{\left(\left(\left(\beta + \alpha\right) + \beta \cdot \alpha\right) + 1.0\right) \cdot \frac{1}{2 + \left(\beta + \alpha\right)}}{2 + \left(\beta + \alpha\right)}}{\left(2 + \left(\beta + \alpha\right)\right) + 1.0}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(\beta + \alpha\right) \cdot 0.25 + 0.5}{\left(\left(\beta + \alpha\right) + \left(2 + 1.0\right)\right) \cdot \left(2 + \left(\beta + \alpha\right)\right)}\\
\end{array}}\]