- Split input into 4 regimes
if b_2 < -4.8702760011024745e+113
Initial program 48.4
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification48.4
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied div-sub48.4
\[\leadsto \color{blue}{\frac{\sqrt{b_2 \cdot b_2 - a \cdot c}}{a} - \frac{b_2}{a}}\]
Taylor expanded around -inf 3.3
\[\leadsto \color{blue}{\left(\frac{1}{2} \cdot \frac{c}{b_2} - \frac{b_2}{a}\right)} - \frac{b_2}{a}\]
if -4.8702760011024745e+113 < b_2 < 1.9379739650628456e-78 or 2.5482541494853623e-62 < b_2 < 2.387647669713383e-51
Initial program 13.4
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification13.4
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied div-sub13.4
\[\leadsto \color{blue}{\frac{\sqrt{b_2 \cdot b_2 - a \cdot c}}{a} - \frac{b_2}{a}}\]
- Using strategy
rm Applied *-un-lft-identity13.4
\[\leadsto \frac{\color{blue}{1 \cdot \sqrt{b_2 \cdot b_2 - a \cdot c}}}{a} - \frac{b_2}{a}\]
Applied associate-/l*13.5
\[\leadsto \color{blue}{\frac{1}{\frac{a}{\sqrt{b_2 \cdot b_2 - a \cdot c}}}} - \frac{b_2}{a}\]
- Using strategy
rm Applied associate-/r/13.5
\[\leadsto \color{blue}{\frac{1}{a} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c}} - \frac{b_2}{a}\]
if 1.9379739650628456e-78 < b_2 < 2.5482541494853623e-62 or 1.378908863446963e-10 < b_2
Initial program 54.6
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification54.6
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
Taylor expanded around inf 6.1
\[\leadsto \color{blue}{\frac{-1}{2} \cdot \frac{c}{b_2}}\]
if 2.387647669713383e-51 < b_2 < 1.378908863446963e-10
Initial program 38.8
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification38.8
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied flip--38.9
\[\leadsto \frac{\color{blue}{\frac{\sqrt{b_2 \cdot b_2 - a \cdot c} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c} - b_2 \cdot b_2}{\sqrt{b_2 \cdot b_2 - a \cdot c} + b_2}}}{a}\]
Applied associate-/l/43.7
\[\leadsto \color{blue}{\frac{\sqrt{b_2 \cdot b_2 - a \cdot c} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c} - b_2 \cdot b_2}{a \cdot \left(\sqrt{b_2 \cdot b_2 - a \cdot c} + b_2\right)}}\]
Simplified20.8
\[\leadsto \frac{\color{blue}{-a \cdot c}}{a \cdot \left(\sqrt{b_2 \cdot b_2 - a \cdot c} + b_2\right)}\]
- Recombined 4 regimes into one program.
Final simplification9.6
\[\leadsto \begin{array}{l}
\mathbf{if}\;b_2 \le -4.8702760011024745 \cdot 10^{+113}:\\
\;\;\;\;\left(\frac{1}{2} \cdot \frac{c}{b_2} - \frac{b_2}{a}\right) - \frac{b_2}{a}\\
\mathbf{elif}\;b_2 \le 1.9379739650628456 \cdot 10^{-78}:\\
\;\;\;\;\frac{1}{a} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c} - \frac{b_2}{a}\\
\mathbf{elif}\;b_2 \le 2.5482541494853623 \cdot 10^{-62}:\\
\;\;\;\;\frac{-1}{2} \cdot \frac{c}{b_2}\\
\mathbf{elif}\;b_2 \le 2.387647669713383 \cdot 10^{-51}:\\
\;\;\;\;\frac{1}{a} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c} - \frac{b_2}{a}\\
\mathbf{elif}\;b_2 \le 1.378908863446963 \cdot 10^{-10}:\\
\;\;\;\;\frac{a \cdot \left(-c\right)}{\left(\sqrt{b_2 \cdot b_2 - a \cdot c} + b_2\right) \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{-1}{2} \cdot \frac{c}{b_2}\\
\end{array}\]