- Split input into 3 regimes
if b_2 < -57459156251081.02
Initial program 31.7
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification31.7
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied fma-neg31.7
\[\leadsto \frac{\sqrt{\color{blue}{(b_2 \cdot b_2 + \left(-a \cdot c\right))_*}} - b_2}{a}\]
Taylor expanded around -inf 7.2
\[\leadsto \color{blue}{-2 \cdot \frac{b_2}{a}}\]
if -57459156251081.02 < b_2 < 8.238059268829752e-48
Initial program 15.5
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification15.5
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied clear-num15.6
\[\leadsto \color{blue}{\frac{1}{\frac{a}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}}}\]
- Using strategy
rm Applied div-inv15.6
\[\leadsto \frac{1}{\color{blue}{a \cdot \frac{1}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}}}\]
if 8.238059268829752e-48 < b_2
Initial program 53.8
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification53.8
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied clear-num53.8
\[\leadsto \color{blue}{\frac{1}{\frac{a}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}}}\]
- Using strategy
rm Applied div-inv53.8
\[\leadsto \frac{1}{\color{blue}{a \cdot \frac{1}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}}}\]
Taylor expanded around 0 8.2
\[\leadsto \frac{1}{\color{blue}{-2 \cdot \frac{b_2}{c}}}\]
- Recombined 3 regimes into one program.
Final simplification10.9
\[\leadsto \begin{array}{l}
\mathbf{if}\;b_2 \le -57459156251081.02:\\
\;\;\;\;-2 \cdot \frac{b_2}{a}\\
\mathbf{elif}\;b_2 \le 8.238059268829752 \cdot 10^{-48}:\\
\;\;\;\;\frac{1}{\frac{1}{\sqrt{b_2 \cdot b_2 - c \cdot a} - b_2} \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{-2 \cdot \frac{b_2}{c}}\\
\end{array}\]