- Split input into 4 regimes
if b_2 < -2.9960999297428996e+90
Initial program 57.5
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Taylor expanded around -inf 14.6
\[\leadsto \frac{\color{blue}{\frac{-1}{2} \cdot \frac{a \cdot c}{b_2}}}{a}\]
if -2.9960999297428996e+90 < b_2 < -2.1110849490305294e-131
Initial program 39.1
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied flip--39.2
\[\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 associate-/l/42.1
\[\leadsto \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}}{a \cdot \left(\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}\right)}}\]
Simplified18.3
\[\leadsto \frac{\color{blue}{a \cdot c}}{a \cdot \left(\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}\right)}\]
if -2.1110849490305294e-131 < b_2 < 2.0766812404400347e+50
Initial program 11.9
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied clear-num12.0
\[\leadsto \color{blue}{\frac{1}{\frac{a}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}}\]
if 2.0766812404400347e+50 < b_2
Initial program 35.4
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied add-cube-cbrt35.7
\[\leadsto \frac{\color{blue}{\left(\sqrt[3]{-b_2} \cdot \sqrt[3]{-b_2}\right) \cdot \sqrt[3]{-b_2}} - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Applied fma-neg35.7
\[\leadsto \frac{\color{blue}{(\left(\sqrt[3]{-b_2} \cdot \sqrt[3]{-b_2}\right) \cdot \left(\sqrt[3]{-b_2}\right) + \left(-\sqrt{b_2 \cdot b_2 - a \cdot c}\right))_*}}{a}\]
Taylor expanded around inf 62.4
\[\leadsto \frac{\color{blue}{\left(\frac{1}{2} \cdot \frac{a \cdot c}{b_2} + e^{\log -1 - \log \left(\frac{1}{b_2}\right)}\right) - b_2}}{a}\]
Simplified6.1
\[\leadsto \frac{\color{blue}{\frac{c}{b_2} \cdot \left(\frac{1}{2} \cdot a\right) - \left(b_2 + b_2\right)}}{a}\]
- Recombined 4 regimes into one program.
Final simplification12.7
\[\leadsto \begin{array}{l}
\mathbf{if}\;b_2 \le -2.9960999297428996 \cdot 10^{+90}:\\
\;\;\;\;\frac{\frac{-1}{2} \cdot \frac{a \cdot c}{b_2}}{a}\\
\mathbf{elif}\;b_2 \le -2.1110849490305294 \cdot 10^{-131}:\\
\;\;\;\;\frac{a \cdot c}{\left(\sqrt{b_2 \cdot b_2 - a \cdot c} + \left(-b_2\right)\right) \cdot a}\\
\mathbf{elif}\;b_2 \le 2.0766812404400347 \cdot 10^{+50}:\\
\;\;\;\;\frac{1}{\frac{a}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(a \cdot \frac{1}{2}\right) \cdot \frac{c}{b_2} - \left(b_2 + b_2\right)}{a}\\
\end{array}\]