- Split input into 4 regimes
if b < -5.517326730443747e+153
Initial program 60.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around -inf 2.8
\[\leadsto \color{blue}{\frac{-2}{3} \cdot \frac{b}{a}}\]
if -5.517326730443747e+153 < b < -9.251690426035674e-213
Initial program 7.3
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied associate-/r*7.3
\[\leadsto \color{blue}{\frac{\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3}}{a}}\]
Applied simplify7.3
\[\leadsto \frac{\color{blue}{\frac{\sqrt{(\left(-c\right) \cdot \left(3 \cdot a\right) + \left(b \cdot b\right))_*} - b}{3}}}{a}\]
if -9.251690426035674e-213 < b < 594.8446979793398
Initial program 22.6
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied flip-+22.9
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} \cdot \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}}{3 \cdot a}\]
Applied simplify16.4
\[\leadsto \frac{\frac{\color{blue}{c \cdot \left(a \cdot 3\right)}}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}\]
- Using strategy
rm Applied *-un-lft-identity16.4
\[\leadsto \frac{\frac{c \cdot \left(a \cdot 3\right)}{\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-frac14.0
\[\leadsto \frac{\color{blue}{\frac{c}{1} \cdot \frac{a \cdot 3}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}}{3 \cdot a}\]
if 594.8446979793398 < b
Initial program 54.9
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied flip-+54.9
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} \cdot \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}}{3 \cdot a}\]
Applied simplify26.1
\[\leadsto \frac{\frac{\color{blue}{c \cdot \left(a \cdot 3\right)}}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}\]
Taylor expanded around inf 16.0
\[\leadsto \frac{\frac{c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \color{blue}{\left(b - \frac{3}{2} \cdot \frac{c \cdot a}{b}\right)}}}{3 \cdot a}\]
Applied simplify5.5
\[\leadsto \color{blue}{\frac{1 \cdot c}{(\left(a \cdot \frac{c}{b}\right) \cdot \frac{3}{2} + \left(\left(-b\right) - b\right))_*}}\]
- Recombined 4 regimes into one program.
Applied simplify8.0
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -5.517326730443747 \cdot 10^{+153}:\\
\;\;\;\;\frac{-2}{3} \cdot \frac{b}{a}\\
\mathbf{if}\;b \le -9.251690426035674 \cdot 10^{-213}:\\
\;\;\;\;\frac{\frac{\sqrt{(\left(-c\right) \cdot \left(3 \cdot a\right) + \left(b \cdot b\right))_*} - b}{3}}{a}\\
\mathbf{if}\;b \le 594.8446979793398:\\
\;\;\;\;\frac{\frac{c}{1} \cdot \frac{3 \cdot a}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{c}{(\left(a \cdot \frac{c}{b}\right) \cdot \frac{3}{2} + \left(\left(-b\right) - b\right))_*}\\
\end{array}}\]