- Split input into 4 regimes
if (- (- b) b) < -1.602744556913015e+73
Initial program 40.2
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Applied simplify40.1
\[\leadsto \color{blue}{\frac{\left(-b\right) - \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*}}{2 \cdot a}}\]
Taylor expanded around 0 3.8
\[\leadsto \frac{\left(-b\right) - \color{blue}{b}}{2 \cdot a}\]
if -1.602744556913015e+73 < (- (- b) b) < 6.8772714888223525e-236
Initial program 10.2
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Applied simplify10.2
\[\leadsto \color{blue}{\frac{\left(-b\right) - \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*}}{2 \cdot a}}\]
- Using strategy
rm Applied div-inv10.3
\[\leadsto \color{blue}{\left(\left(-b\right) - \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*}\right) \cdot \frac{1}{2 \cdot a}}\]
Applied simplify10.3
\[\leadsto \left(\left(-b\right) - \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*}\right) \cdot \color{blue}{\frac{\frac{1}{2}}{a}}\]
if 6.8772714888223525e-236 < (- (- b) b) < 5.593927708783694e+147
Initial program 37.0
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Applied simplify37.0
\[\leadsto \color{blue}{\frac{\left(-b\right) - \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*}}{2 \cdot a}}\]
- Using strategy
rm Applied flip--37.1
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*} \cdot \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*}}{\left(-b\right) + \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*}}}}{2 \cdot a}\]
Applied simplify16.4
\[\leadsto \frac{\frac{\color{blue}{\left(4 \cdot c\right) \cdot a}}{\left(-b\right) + \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*}}}{2 \cdot a}\]
Applied simplify16.4
\[\leadsto \frac{\frac{\left(4 \cdot c\right) \cdot a}{\color{blue}{\sqrt{(-4 \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b}}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num16.6
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\frac{\left(4 \cdot c\right) \cdot a}{\sqrt{(-4 \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b}}}}\]
Applied simplify7.5
\[\leadsto \frac{1}{\color{blue}{(\left(\sqrt{(\left(-4 \cdot c\right) \cdot a + \left(b \cdot b\right))_*}\right) \cdot \left(\frac{\frac{1}{2}}{c}\right) + \left(\frac{\frac{1}{2}}{c} \cdot \left(-b\right)\right))_*}}\]
if 5.593927708783694e+147 < (- (- b) b)
Initial program 62.1
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Applied simplify62.1
\[\leadsto \color{blue}{\frac{\left(-b\right) - \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*}}{2 \cdot a}}\]
Taylor expanded around -inf 14.2
\[\leadsto \frac{\color{blue}{-2 \cdot \frac{c \cdot a}{b}}}{2 \cdot a}\]
Applied simplify1.9
\[\leadsto \color{blue}{\frac{-c}{b}}\]
- Recombined 4 regimes into one program.
Applied simplify6.7
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;\left(-b\right) - b \le -1.602744556913015 \cdot 10^{+73}:\\
\;\;\;\;\frac{\left(-b\right) - b}{a \cdot 2}\\
\mathbf{if}\;\left(-b\right) - b \le 6.8772714888223525 \cdot 10^{-236}:\\
\;\;\;\;\left(\left(-b\right) - \sqrt{(\left(-4 \cdot a\right) \cdot c + \left(b \cdot b\right))_*}\right) \cdot \frac{\frac{1}{2}}{a}\\
\mathbf{if}\;\left(-b\right) - b \le 5.593927708783694 \cdot 10^{+147}:\\
\;\;\;\;\frac{1}{(\left(\sqrt{(\left(-4 \cdot c\right) \cdot a + \left(b \cdot b\right))_*}\right) \cdot \left(\frac{\frac{1}{2}}{c}\right) + \left(b \cdot \frac{\frac{-1}{2}}{c}\right))_*}\\
\mathbf{else}:\\
\;\;\;\;\frac{-c}{b}\\
\end{array}}\]