- Split input into 3 regimes
if b < -1.9326908713313016e-80
Initial program 52.0
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Simplified52.0
\[\leadsto \color{blue}{\frac{\frac{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*}}{2}}{a}}\]
Taylor expanded around -inf 8.8
\[\leadsto \color{blue}{-1 \cdot \frac{c}{b}}\]
Simplified8.8
\[\leadsto \color{blue}{-\frac{c}{b}}\]
if -1.9326908713313016e-80 < b < 9.7862137504734e+73
Initial program 13.0
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Simplified13.0
\[\leadsto \color{blue}{\frac{\frac{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*}}{2}}{a}}\]
- Using strategy
rm Applied div-sub13.0
\[\leadsto \frac{\color{blue}{\frac{-b}{2} - \frac{\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*}}{2}}}{a}\]
Applied div-sub13.0
\[\leadsto \color{blue}{\frac{\frac{-b}{2}}{a} - \frac{\frac{\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*}}{2}}{a}}\]
if 9.7862137504734e+73 < b
Initial program 40.8
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Simplified40.8
\[\leadsto \color{blue}{\frac{\frac{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*}}{2}}{a}}\]
Taylor expanded around inf 4.8
\[\leadsto \color{blue}{\frac{c}{b} - \frac{b}{a}}\]
- Recombined 3 regimes into one program.
Final simplification9.8
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \le -1.9326908713313016 \cdot 10^{-80}:\\
\;\;\;\;-\frac{c}{b}\\
\mathbf{elif}\;b \le 9.7862137504734 \cdot 10^{+73}:\\
\;\;\;\;\frac{\frac{-b}{2}}{a} - \frac{\frac{\sqrt{(\left(c \cdot a\right) \cdot -4 + \left(b \cdot b\right))_*}}{2}}{a}\\
\mathbf{else}:\\
\;\;\;\;\frac{c}{b} - \frac{b}{a}\\
\end{array}\]