- Split input into 4 regimes
if (/ c (* (- 1/2) (/ c b_2))) < -2.9766163216474113e+92
Initial program 43.0
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied clear-num43.1
\[\leadsto \color{blue}{\frac{1}{\frac{a}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}}\]
Taylor expanded around inf 10.3
\[\leadsto \frac{1}{\frac{a}{\color{blue}{\frac{1}{2} \cdot \frac{c \cdot a}{b_2} - 2 \cdot b_2}}}\]
Applied simplify4.3
\[\leadsto \color{blue}{\frac{\frac{1}{2} \cdot c}{b_2} - \frac{2 \cdot b_2}{a}}\]
if -2.9766163216474113e+92 < (/ c (* (- 1/2) (/ c b_2))) < 1.318415489433312e-135
Initial program 10.9
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
if 1.318415489433312e-135 < (/ c (* (- 1/2) (/ c b_2))) < 3.544589042980017e-72 or 2.583438849668483e-08 < (/ c (* (- 1/2) (/ c b_2)))
Initial program 51.9
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied flip--52.0
\[\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 simplify25.6
\[\leadsto \frac{\frac{\color{blue}{c \cdot a}}{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}}{a}\]
Applied simplify25.6
\[\leadsto \frac{\frac{c \cdot a}{\color{blue}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}}}{a}\]
Taylor expanded around -inf 20.8
\[\leadsto \frac{\frac{c \cdot a}{\color{blue}{\frac{1}{2} \cdot \frac{c \cdot a}{b_2} - 2 \cdot b_2}}}{a}\]
Applied simplify9.3
\[\leadsto \color{blue}{\frac{c}{\frac{\frac{1}{2} \cdot a}{\frac{b_2}{c}} - 2 \cdot b_2}}\]
if 3.544589042980017e-72 < (/ c (* (- 1/2) (/ c b_2))) < 2.583438849668483e-08
Initial program 40.7
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied flip--40.8
\[\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 simplify18.1
\[\leadsto \frac{\frac{\color{blue}{c \cdot a}}{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}}{a}\]
Applied simplify18.1
\[\leadsto \frac{\frac{c \cdot a}{\color{blue}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}}}{a}\]
- Using strategy
rm Applied div-inv18.2
\[\leadsto \color{blue}{\frac{c \cdot a}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2} \cdot \frac{1}{a}}\]
- Recombined 4 regimes into one program.
Applied simplify9.5
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;\frac{c}{\left(-\frac{1}{2}\right) \cdot \frac{c}{b_2}} \le -2.9766163216474113 \cdot 10^{+92}:\\
\;\;\;\;\frac{\frac{1}{2} \cdot c}{b_2} - \frac{b_2 \cdot 2}{a}\\
\mathbf{if}\;\frac{c}{\left(-\frac{1}{2}\right) \cdot \frac{c}{b_2}} \le 1.318415489433312 \cdot 10^{-135}:\\
\;\;\;\;\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\\
\mathbf{if}\;\frac{c}{\left(-\frac{1}{2}\right) \cdot \frac{c}{b_2}} \le 3.544589042980017 \cdot 10^{-72} \lor \neg \left(\frac{c}{\left(-\frac{1}{2}\right) \cdot \frac{c}{b_2}} \le 2.583438849668483 \cdot 10^{-08}\right):\\
\;\;\;\;\frac{c}{\frac{a \cdot \frac{1}{2}}{\frac{b_2}{c}} - b_2 \cdot 2}\\
\mathbf{else}:\\
\;\;\;\;\frac{a \cdot c}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2} \cdot \frac{1}{a}\\
\end{array}}\]