- Split input into 4 regimes
if (/ -1/2 b_2) < -3.184667961071699e-153
Initial program 8.2
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied div-inv8.4
\[\leadsto \color{blue}{\left(\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}\right) \cdot \frac{1}{a}}\]
if -3.184667961071699e-153 < (/ -1/2 b_2) < -2.53782211661047e-309
Initial program 60.0
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Taylor expanded around inf 12.0
\[\leadsto \frac{\color{blue}{\frac{1}{2} \cdot \frac{c \cdot a}{b_2} - 2 \cdot b_2}}{a}\]
Applied simplify2.0
\[\leadsto \color{blue}{\frac{c}{b_2} \cdot \frac{1}{2} - \frac{b_2}{a} \cdot 2}\]
if -2.53782211661047e-309 < (/ -1/2 b_2) < 2.163186439345792e-22 or 2.1735012493327377e+50 < (/ -1/2 b_2) < 2.8221354527879545e+92
Initial program 53.7
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied flip--53.7
\[\leadsto \frac{\color{blue}{\frac{\left(-b_2\right) \cdot \left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c}}{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}}}{a}\]
Applied simplify26.3
\[\leadsto \frac{\frac{\color{blue}{c \cdot a}}{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}}{a}\]
Applied simplify26.3
\[\leadsto \frac{\frac{c \cdot a}{\color{blue}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}}}{a}\]
- Using strategy
rm Applied clear-num26.5
\[\leadsto \color{blue}{\frac{1}{\frac{a}{\frac{c \cdot a}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}}}}\]
Taylor expanded around -inf 18.1
\[\leadsto \frac{1}{\frac{a}{\frac{c \cdot a}{\color{blue}{\left(\frac{1}{2} \cdot \frac{c \cdot a}{b_2} - b_2\right)} - b_2}}}\]
Applied simplify6.7
\[\leadsto \color{blue}{\frac{c}{\frac{a \cdot \frac{1}{2}}{\frac{b_2}{c}} - \left(b_2 + b_2\right)}}\]
if 2.163186439345792e-22 < (/ -1/2 b_2) < 2.1735012493327377e+50 or 2.8221354527879545e+92 < (/ -1/2 b_2)
Initial program 27.2
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied flip--27.3
\[\leadsto \frac{\color{blue}{\frac{\left(-b_2\right) \cdot \left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c}}{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}}}{a}\]
Applied simplify16.9
\[\leadsto \frac{\frac{\color{blue}{c \cdot a}}{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}}{a}\]
Applied simplify16.9
\[\leadsto \frac{\frac{c \cdot a}{\color{blue}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}}}{a}\]
- Recombined 4 regimes into one program.
Applied simplify8.7
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;\frac{\frac{-1}{2}}{b_2} \le -3.184667961071699 \cdot 10^{-153}:\\
\;\;\;\;\left(\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - c \cdot a}\right) \cdot \frac{1}{a}\\
\mathbf{if}\;\frac{\frac{-1}{2}}{b_2} \le -2.53782211661047 \cdot 10^{-309}:\\
\;\;\;\;\frac{1}{2} \cdot \frac{c}{b_2} - \frac{b_2}{a} \cdot 2\\
\mathbf{if}\;\frac{\frac{-1}{2}}{b_2} \le 2.163186439345792 \cdot 10^{-22} \lor \neg \left(\frac{\frac{-1}{2}}{b_2} \le 2.1735012493327377 \cdot 10^{+50} \lor \neg \left(\frac{\frac{-1}{2}}{b_2} \le 2.8221354527879545 \cdot 10^{+92}\right)\right):\\
\;\;\;\;\frac{c}{\frac{a \cdot \frac{1}{2}}{\frac{b_2}{c}} - \left(b_2 + b_2\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{c \cdot a}{\sqrt{b_2 \cdot b_2 - c \cdot a} - b_2}}{a}\\
\end{array}}\]