- Split input into 4 regimes
if (/ (/ -3/2 b) 3) < -9.48367215608649e-87
Initial program 31.9
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied *-un-lft-identity31.9
\[\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-frac31.9
\[\leadsto \color{blue}{\frac{1}{3} \cdot \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{a}}\]
Applied simplify31.9
\[\leadsto \frac{1}{3} \cdot \color{blue}{\frac{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 3} - b}{a}}\]
- Using strategy
rm Applied flip--32.0
\[\leadsto \frac{1}{3} \cdot \frac{\color{blue}{\frac{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 3} \cdot \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 3} - b \cdot b}{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 3} + b}}}{a}\]
Applied simplify16.8
\[\leadsto \frac{1}{3} \cdot \frac{\frac{\color{blue}{\left(-a\right) \cdot \left(c \cdot 3\right)}}{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 3} + b}}{a}\]
if -9.48367215608649e-87 < (/ (/ -3/2 b) 3) < 2.500771388237008e-303
Initial program 58.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around inf 15.3
\[\leadsto \frac{\color{blue}{\frac{-3}{2} \cdot \frac{c \cdot a}{b}}}{3 \cdot a}\]
Applied simplify3.9
\[\leadsto \color{blue}{1 \cdot \left(\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\right)}\]
if 2.500771388237008e-303 < (/ (/ -3/2 b) 3) < 1.6292270331419654e-110
Initial program 46.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-identity46.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-frac46.7
\[\leadsto \color{blue}{\frac{1}{3} \cdot \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{a}}\]
Applied simplify46.7
\[\leadsto \frac{1}{3} \cdot \color{blue}{\frac{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 3} - b}{a}}\]
Taylor expanded around -inf 4.8
\[\leadsto \frac{1}{3} \cdot \color{blue}{\left(-2 \cdot \frac{b}{a}\right)}\]
Applied simplify4.6
\[\leadsto \color{blue}{\frac{b}{3} \cdot \frac{-2}{a}}\]
if 1.6292270331419654e-110 < (/ (/ -3/2 b) 3)
Initial program 9.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Recombined 4 regimes into one program.
Applied simplify9.4
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;\frac{\frac{\frac{-3}{2}}{b}}{3} \le -9.48367215608649 \cdot 10^{-87}:\\
\;\;\;\;\frac{-1}{3} \cdot \frac{\frac{a \cdot \left(3 \cdot c\right)}{b + \sqrt{b \cdot b - \left(c \cdot a\right) \cdot 3}}}{a}\\
\mathbf{if}\;\frac{\frac{\frac{-3}{2}}{b}}{3} \le 2.500771388237008 \cdot 10^{-303}:\\
\;\;\;\;\frac{\frac{-3}{2}}{3} \cdot \frac{c}{b}\\
\mathbf{if}\;\frac{\frac{\frac{-3}{2}}{b}}{3} \le 1.6292270331419654 \cdot 10^{-110}:\\
\;\;\;\;\frac{-2}{a} \cdot \frac{b}{3}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(-b\right) + \sqrt{b \cdot b - \left(a \cdot 3\right) \cdot c}}{a \cdot 3}\\
\end{array}}\]