- Split input into 4 regimes
if b < -7.200109180968934e+122
Initial program 51.4
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around -inf 11.3
\[\leadsto \frac{\left(-b\right) + \color{blue}{\left(2 \cdot \frac{c \cdot a}{b} - b\right)}}{2 \cdot a}\]
Applied simplify3.3
\[\leadsto \color{blue}{\frac{\frac{c}{b}}{1} - \frac{b + b}{2 \cdot a}}\]
if -7.200109180968934e+122 < b < 3.5229942311186246e-276
Initial program 9.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
if 3.5229942311186246e-276 < b < 5.023722770556518e-08
Initial program 25.6
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Using strategy
rm Applied flip-+25.8
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c} \cdot \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}}{2 \cdot a}\]
Applied simplify17.7
\[\leadsto \frac{\frac{\color{blue}{c \cdot \left(a \cdot 4\right)}}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}{2 \cdot a}\]
- Using strategy
rm Applied *-un-lft-identity17.7
\[\leadsto \frac{\frac{c \cdot \left(a \cdot 4\right)}{\color{blue}{1 \cdot \left(\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}\right)}}}{2 \cdot a}\]
Applied times-frac14.7
\[\leadsto \frac{\color{blue}{\frac{c}{1} \cdot \frac{a \cdot 4}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}}{2 \cdot a}\]
Applied simplify14.7
\[\leadsto \frac{\color{blue}{c} \cdot \frac{a \cdot 4}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}{2 \cdot a}\]
if 5.023722770556518e-08 < b
Initial program 55.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Using strategy
rm Applied flip-+55.0
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c} \cdot \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}}{2 \cdot a}\]
Applied simplify26.2
\[\leadsto \frac{\frac{\color{blue}{c \cdot \left(a \cdot 4\right)}}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}{2 \cdot a}\]
- Using strategy
rm Applied *-un-lft-identity26.2
\[\leadsto \frac{\frac{c \cdot \left(a \cdot 4\right)}{\color{blue}{1 \cdot \left(\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}\right)}}}{2 \cdot a}\]
Applied times-frac28.1
\[\leadsto \frac{\color{blue}{\frac{c}{1} \cdot \frac{a \cdot 4}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}}{2 \cdot a}\]
Applied simplify28.1
\[\leadsto \frac{\color{blue}{c} \cdot \frac{a \cdot 4}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}{2 \cdot a}\]
Taylor expanded around inf 21.8
\[\leadsto \frac{c \cdot \frac{a \cdot 4}{\color{blue}{2 \cdot \frac{c \cdot a}{b} - 2 \cdot b}}}{2 \cdot a}\]
Applied simplify5.6
\[\leadsto \color{blue}{\frac{\frac{\frac{4}{1} \cdot \frac{c}{2}}{2}}{\frac{c}{b} \cdot a - b}}\]
- Recombined 4 regimes into one program.
Applied simplify8.1
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -7.200109180968934 \cdot 10^{+122}:\\
\;\;\;\;\frac{c}{b} - \frac{b + b}{2 \cdot a}\\
\mathbf{if}\;b \le 3.5229942311186246 \cdot 10^{-276}:\\
\;\;\;\;\frac{\left(-b\right) + \sqrt{b \cdot b - c \cdot \left(4 \cdot a\right)}}{2 \cdot a}\\
\mathbf{if}\;b \le 5.023722770556518 \cdot 10^{-08}:\\
\;\;\;\;\frac{\frac{4 \cdot a}{\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(4 \cdot a\right)}} \cdot c}{2 \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{\frac{c}{2} \cdot 4}{2}}{a \cdot \frac{c}{b} - b}\\
\end{array}}\]