- Split input into 4 regimes
if b < -5.4469088373616604e+72
Initial program 40.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around -inf 4.7
\[\leadsto \color{blue}{\frac{-2}{3} \cdot \frac{b}{a}}\]
if -5.4469088373616604e+72 < b < 1.589477461284389e-229
Initial program 10.4
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied *-un-lft-identity10.4
\[\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-frac10.5
\[\leadsto \color{blue}{\frac{1}{3} \cdot \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{a}}\]
Applied simplify10.5
\[\leadsto \frac{1}{3} \cdot \color{blue}{\frac{\sqrt{(\left(-c\right) \cdot \left(3 \cdot a\right) + \left(b \cdot b\right))_*} - b}{a}}\]
if 1.589477461284389e-229 < b < 1.317751034211994e+120
Initial program 35.6
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied flip-+35.7
\[\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.8
\[\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 add-cube-cbrt17.5
\[\leadsto \color{blue}{\left(\sqrt[3]{\frac{\frac{c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}} \cdot \sqrt[3]{\frac{\frac{c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}}\right) \cdot \sqrt[3]{\frac{\frac{c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}}}\]
Applied simplify17.4
\[\leadsto \color{blue}{\left(\sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}} \cdot \sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}}\right)} \cdot \sqrt[3]{\frac{\frac{c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}}\]
Applied simplify9.2
\[\leadsto \left(\sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}} \cdot \sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}}\right) \cdot \color{blue}{\sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(c \cdot a\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}}}\]
if 1.317751034211994e+120 < b
Initial program 59.9
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around inf 15.0
\[\leadsto \frac{\color{blue}{\frac{-3}{2} \cdot \frac{c \cdot a}{b}}}{3 \cdot a}\]
Applied simplify2.8
\[\leadsto \color{blue}{1 \cdot \left(\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\right)}\]
- Recombined 4 regimes into one program.
Applied simplify7.4
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -5.4469088373616604 \cdot 10^{+72}:\\
\;\;\;\;\frac{-2}{3} \cdot \frac{b}{a}\\
\mathbf{if}\;b \le 1.589477461284389 \cdot 10^{-229}:\\
\;\;\;\;\frac{\sqrt{(\left(-c\right) \cdot \left(3 \cdot a\right) + \left(b \cdot b\right))_*} - b}{a} \cdot \frac{1}{3}\\
\mathbf{if}\;b \le 1.317751034211994 \cdot 10^{+120}:\\
\;\;\;\;\sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}} \cdot \left(\sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}} \cdot \sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}}\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\\
\end{array}}\]