- Split input into 2 regimes
if b < 3.1928824788361606e-157
Initial program 20.6
\[\frac{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Initial simplification20.6
\[\leadsto \frac{\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} - b}{2 \cdot a}\]
- Using strategy
rm Applied div-inv20.7
\[\leadsto \color{blue}{\left(\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} - b\right) \cdot \frac{1}{2 \cdot a}}\]
- Using strategy
rm Applied un-div-inv20.6
\[\leadsto \color{blue}{\frac{\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} - b}{2 \cdot a}}\]
if 3.1928824788361606e-157 < b
Initial program 49.4
\[\frac{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Initial simplification49.4
\[\leadsto \frac{\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} - b}{2 \cdot a}\]
- Using strategy
rm Applied div-inv49.4
\[\leadsto \color{blue}{\left(\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} - b\right) \cdot \frac{1}{2 \cdot a}}\]
- Using strategy
rm Applied flip--49.5
\[\leadsto \color{blue}{\frac{\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} \cdot \sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} - b \cdot b}{\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} + b}} \cdot \frac{1}{2 \cdot a}\]
Applied associate-*l/49.5
\[\leadsto \color{blue}{\frac{\left(\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} \cdot \sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} - b \cdot b\right) \cdot \frac{1}{2 \cdot a}}{\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} + b}}\]
Simplified22.8
\[\leadsto \frac{\color{blue}{\left(a \cdot \left(-4 \cdot c\right)\right) \cdot \frac{\frac{1}{2}}{a}}}{\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} + b}\]
- Recombined 2 regimes into one program.
Final simplification21.6
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \le 3.1928824788361606 \cdot 10^{-157}:\\
\;\;\;\;\frac{\sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*} - b}{a \cdot 2}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(\left(-4 \cdot c\right) \cdot a\right) \cdot \frac{\frac{1}{2}}{a}}{b + \sqrt{(\left(a \cdot c\right) \cdot -4 + \left(b \cdot b\right))_*}}\\
\end{array}\]