- Split input into 3 regimes
if b < -1.1687097966299718e+104
Initial program 44.8
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around -inf 4.1
\[\leadsto \color{blue}{\frac{-2}{3} \cdot \frac{b}{a}}\]
if -1.1687097966299718e+104 < b < 1.0347139130226839e-33
Initial program 14.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied *-un-lft-identity14.7
\[\leadsto \frac{\left(-b\right) + \color{blue}{1 \cdot \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}\]
Applied *-un-lft-identity14.7
\[\leadsto \frac{\color{blue}{1 \cdot \left(-b\right)} + 1 \cdot \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Applied distribute-lft-out14.7
\[\leadsto \frac{\color{blue}{1 \cdot \left(\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}\right)}}{3 \cdot a}\]
Applied simplify14.7
\[\leadsto \frac{1 \cdot \color{blue}{\left(\sqrt{b \cdot b - \left(3 \cdot c\right) \cdot a} - b\right)}}{3 \cdot a}\]
if 1.0347139130226839e-33 < b
Initial program 53.3
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around inf 17.9
\[\leadsto \frac{\color{blue}{\frac{-3}{2} \cdot \frac{c \cdot a}{b}}}{3 \cdot a}\]
Applied simplify7.5
\[\leadsto \color{blue}{1 \cdot \left(\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\right)}\]
- Recombined 3 regimes into one program.
Applied simplify10.6
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -1.1687097966299718 \cdot 10^{+104}:\\
\;\;\;\;\frac{-2}{3} \cdot \frac{b}{a}\\
\mathbf{if}\;b \le 1.0347139130226839 \cdot 10^{-33}:\\
\;\;\;\;\frac{\sqrt{b \cdot b - a \cdot \left(3 \cdot c\right)} - b}{3 \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\\
\end{array}}\]