- Split input into 4 regimes
if (/ (/ -3/2 b) 3) < -1.048690060768616e-86
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 -1.048690060768616e-86 < (/ (/ -3/2 b) 3) < 6.096801289818052e-306
Initial program 58.0
\[\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 simplify3.6
\[\leadsto \color{blue}{1 \cdot \left(\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\right)}\]
if 6.096801289818052e-306 < (/ (/ -3/2 b) 3) < 5.7824824102194e-107
Initial program 46.2
\[\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.2
\[\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.3
\[\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.3
\[\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 5.0
\[\leadsto \frac{1}{3} \cdot \color{blue}{\left(-2 \cdot \frac{b}{a}\right)}\]
Applied simplify4.8
\[\leadsto \color{blue}{\frac{b}{3} \cdot \frac{-2}{a}}\]
if 5.7824824102194e-107 < (/ (/ -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 -1.048690060768616 \cdot 10^{-86}:\\
\;\;\;\;\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 6.096801289818052 \cdot 10^{-306}:\\
\;\;\;\;\frac{\frac{-3}{2}}{3} \cdot \frac{c}{b}\\
\mathbf{if}\;\frac{\frac{\frac{-3}{2}}{b}}{3} \le 5.7824824102194 \cdot 10^{-107}:\\
\;\;\;\;\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}}\]