- Split input into 3 regimes
if b < -7.470437996567573e+111
Initial program 46.4
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around -inf 4.0
\[\leadsto \color{blue}{\frac{-2}{3} \cdot \frac{b}{a}}\]
if -7.470437996567573e+111 < b < 1.3397838196060626e-44
Initial program 13.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-identity13.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 times-frac13.8
\[\leadsto \color{blue}{\frac{1}{3} \cdot \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{a}}\]
Applied simplify13.8
\[\leadsto \frac{1}{3} \cdot \color{blue}{\frac{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 3} - b}{a}}\]
if 1.3397838196060626e-44 < 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 18.7
\[\leadsto \frac{\color{blue}{\frac{-3}{2} \cdot \frac{c \cdot a}{b}}}{3 \cdot a}\]
Applied simplify7.6
\[\leadsto \color{blue}{1 \cdot \left(\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\right)}\]
- Recombined 3 regimes into one program.
Applied simplify10.1
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -7.470437996567573 \cdot 10^{+111}:\\
\;\;\;\;\frac{-2}{3} \cdot \frac{b}{a}\\
\mathbf{if}\;b \le 1.3397838196060626 \cdot 10^{-44}:\\
\;\;\;\;\frac{\sqrt{b \cdot b - 3 \cdot \left(a \cdot c\right)} - b}{a} \cdot \frac{1}{3}\\
\mathbf{else}:\\
\;\;\;\;\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\\
\end{array}}\]