Initial program 39.6
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num39.7
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}\]
- Using strategy
rm Applied div-inv39.7
\[\leadsto \frac{1}{\color{blue}{\left(2 \cdot a\right) \cdot \frac{1}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}\]
Applied add-cube-cbrt39.7
\[\leadsto \frac{\color{blue}{\left(\sqrt[3]{1} \cdot \sqrt[3]{1}\right) \cdot \sqrt[3]{1}}}{\left(2 \cdot a\right) \cdot \frac{1}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}\]
Applied times-frac39.7
\[\leadsto \color{blue}{\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{2 \cdot a} \cdot \frac{\sqrt[3]{1}}{\frac{1}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}\]
Simplified39.7
\[\leadsto \color{blue}{\frac{1}{2 \cdot a}} \cdot \frac{\sqrt[3]{1}}{\frac{1}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}\]
Simplified39.7
\[\leadsto \frac{1}{2 \cdot a} \cdot \color{blue}{\left(\left(-b\right) - \sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}\right)}\]
- Using strategy
rm Applied add-cube-cbrt41.1
\[\leadsto \frac{1}{2 \cdot a} \cdot \left(\left(-b\right) - \color{blue}{\left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right) \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}}\right)\]
Applied add-sqr-sqrt41.1
\[\leadsto \frac{1}{2 \cdot a} \cdot \left(\color{blue}{\sqrt{-b} \cdot \sqrt{-b}} - \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right) \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\]
Applied prod-diff41.4
\[\leadsto \frac{1}{2 \cdot a} \cdot \color{blue}{\left(\mathsf{fma}\left(\sqrt{-b}, \sqrt{-b}, -\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\right) + \mathsf{fma}\left(-\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\right)\right)}\]
Applied distribute-lft-in41.4
\[\leadsto \color{blue}{\frac{1}{2 \cdot a} \cdot \mathsf{fma}\left(\sqrt{-b}, \sqrt{-b}, -\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\right) + \frac{1}{2 \cdot a} \cdot \mathsf{fma}\left(-\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\right)}\]
Simplified40.9
\[\leadsto \color{blue}{\frac{\left(-b\right) - \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4}}{2 \cdot a}} + \frac{1}{2 \cdot a} \cdot \mathsf{fma}\left(-\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\right)\]
Simplified39.6
\[\leadsto \frac{\left(-b\right) - \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4}}{2 \cdot a} + \color{blue}{\frac{\frac{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4} \cdot \left(-1 + 1\right)}{2}}{a}}\]
- Using strategy
rm Applied flip--39.7
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4} \cdot \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4}}{\left(-b\right) + \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4}}}}{2 \cdot a} + \frac{\frac{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4} \cdot \left(-1 + 1\right)}{2}}{a}\]
Simplified18.5
\[\leadsto \frac{\frac{\color{blue}{0 + 4 \cdot \left(a \cdot c\right)}}{\left(-b\right) + \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4}}}{2 \cdot a} + \frac{\frac{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4} \cdot \left(-1 + 1\right)}{2}}{a}\]
Simplified18.6
\[\leadsto \frac{\frac{0 + 4 \cdot \left(a \cdot c\right)}{\color{blue}{\sqrt{\mathsf{fma}\left(\left(-4\right) \cdot c, a, {b}^{2}\right)} - b}}}{2 \cdot a} + \frac{\frac{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4} \cdot \left(-1 + 1\right)}{2}}{a}\]
Initial program 12.3
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num12.4
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}\]
- Using strategy
rm Applied div-inv12.5
\[\leadsto \frac{1}{\color{blue}{\left(2 \cdot a\right) \cdot \frac{1}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}\]
Applied add-cube-cbrt12.5
\[\leadsto \frac{\color{blue}{\left(\sqrt[3]{1} \cdot \sqrt[3]{1}\right) \cdot \sqrt[3]{1}}}{\left(2 \cdot a\right) \cdot \frac{1}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}\]
Applied times-frac12.5
\[\leadsto \color{blue}{\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{2 \cdot a} \cdot \frac{\sqrt[3]{1}}{\frac{1}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}\]
Simplified12.5
\[\leadsto \color{blue}{\frac{1}{2 \cdot a}} \cdot \frac{\sqrt[3]{1}}{\frac{1}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}\]
Simplified12.4
\[\leadsto \frac{1}{2 \cdot a} \cdot \color{blue}{\left(\left(-b\right) - \sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}\right)}\]
- Using strategy
rm Applied add-cube-cbrt13.1
\[\leadsto \frac{1}{2 \cdot a} \cdot \left(\left(-b\right) - \color{blue}{\left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right) \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}}\right)\]
Applied add-sqr-sqrt50.2
\[\leadsto \frac{1}{2 \cdot a} \cdot \left(\color{blue}{\sqrt{-b} \cdot \sqrt{-b}} - \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right) \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\]
Applied prod-diff50.2
\[\leadsto \frac{1}{2 \cdot a} \cdot \color{blue}{\left(\mathsf{fma}\left(\sqrt{-b}, \sqrt{-b}, -\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\right) + \mathsf{fma}\left(-\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\right)\right)}\]
Applied distribute-lft-in50.2
\[\leadsto \color{blue}{\frac{1}{2 \cdot a} \cdot \mathsf{fma}\left(\sqrt{-b}, \sqrt{-b}, -\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\right) + \frac{1}{2 \cdot a} \cdot \mathsf{fma}\left(-\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\right)}\]
Simplified12.3
\[\leadsto \color{blue}{\frac{\left(-b\right) - \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4}}{2 \cdot a}} + \frac{1}{2 \cdot a} \cdot \mathsf{fma}\left(-\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}, \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \left(\sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{fma}\left(b, b, -\left(a \cdot c\right) \cdot 4\right)}}\right)\right)\]
Simplified12.3
\[\leadsto \frac{\left(-b\right) - \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4}}{2 \cdot a} + \color{blue}{\frac{\frac{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4} \cdot \left(-1 + 1\right)}{2}}{a}}\]