- Split input into 3 regimes
if b < 5.106436903424975e-284
Initial program 22.6
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Initial simplification22.7
\[\leadsto \frac{\sqrt{(-3 \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}{3 \cdot a}\]
Taylor expanded around 0 22.7
\[\leadsto \frac{\sqrt{\color{blue}{{b}^{2} - 3 \cdot \left(a \cdot c\right)}} - b}{3 \cdot a}\]
Simplified22.6
\[\leadsto \frac{\sqrt{\color{blue}{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*}} - b}{3 \cdot a}\]
- Using strategy
rm Applied div-inv22.7
\[\leadsto \color{blue}{\left(\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} - b\right) \cdot \frac{1}{3 \cdot a}}\]
if 5.106436903424975e-284 < b < 3.911789772911833e+79
Initial program 33.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Initial simplification33.0
\[\leadsto \frac{\sqrt{(-3 \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}{3 \cdot a}\]
Taylor expanded around 0 33.0
\[\leadsto \frac{\sqrt{\color{blue}{{b}^{2} - 3 \cdot \left(a \cdot c\right)}} - b}{3 \cdot a}\]
Simplified33.0
\[\leadsto \frac{\sqrt{\color{blue}{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*}} - b}{3 \cdot a}\]
- Using strategy
rm Applied associate-/r*33.0
\[\leadsto \color{blue}{\frac{\frac{\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} - b}{3}}{a}}\]
- Using strategy
rm Applied flip--33.1
\[\leadsto \frac{\frac{\color{blue}{\frac{\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} \cdot \sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} - b \cdot b}{\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} + b}}}{3}}{a}\]
Applied associate-/l/33.2
\[\leadsto \frac{\color{blue}{\frac{\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} \cdot \sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} - b \cdot b}{3 \cdot \left(\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} + b\right)}}}{a}\]
Simplified17.0
\[\leadsto \frac{\frac{\color{blue}{\left(a \cdot -3\right) \cdot c}}{3 \cdot \left(\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} + b\right)}}{a}\]
- Using strategy
rm Applied associate-/l*14.9
\[\leadsto \frac{\color{blue}{\frac{a \cdot -3}{\frac{3 \cdot \left(\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} + b\right)}{c}}}}{a}\]
if 3.911789772911833e+79 < b
Initial program 58.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Initial simplification58.0
\[\leadsto \frac{\sqrt{(-3 \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}{3 \cdot a}\]
Taylor expanded around 0 58.0
\[\leadsto \frac{\sqrt{\color{blue}{{b}^{2} - 3 \cdot \left(a \cdot c\right)}} - b}{3 \cdot a}\]
Simplified58.0
\[\leadsto \frac{\sqrt{\color{blue}{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*}} - b}{3 \cdot a}\]
- Using strategy
rm Applied associate-/r*58.0
\[\leadsto \color{blue}{\frac{\frac{\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} - b}{3}}{a}}\]
- Using strategy
rm Applied flip--58.1
\[\leadsto \frac{\frac{\color{blue}{\frac{\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} \cdot \sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} - b \cdot b}{\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} + b}}}{3}}{a}\]
Applied associate-/l/58.1
\[\leadsto \frac{\color{blue}{\frac{\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} \cdot \sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} - b \cdot b}{3 \cdot \left(\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} + b\right)}}}{a}\]
Simplified30.9
\[\leadsto \frac{\frac{\color{blue}{\left(a \cdot -3\right) \cdot c}}{3 \cdot \left(\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} + b\right)}}{a}\]
Taylor expanded around 0 15.0
\[\leadsto \frac{\frac{\left(a \cdot -3\right) \cdot c}{3 \cdot \left(\color{blue}{b} + b\right)}}{a}\]
- Recombined 3 regimes into one program.
Final simplification18.5
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \le 5.106436903424975 \cdot 10^{-284}:\\
\;\;\;\;\frac{1}{3 \cdot a} \cdot \left(\sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*} - b\right)\\
\mathbf{elif}\;b \le 3.911789772911833 \cdot 10^{+79}:\\
\;\;\;\;\frac{\frac{a \cdot -3}{\frac{\left(b + \sqrt{(\left(a \cdot -3\right) \cdot c + \left(b \cdot b\right))_*}\right) \cdot 3}{c}}}{a}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{\left(a \cdot -3\right) \cdot c}{\left(b + b\right) \cdot 3}}{a}\\
\end{array}\]