Initial program 31.6%
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}
\]
Simplified31.6%
\[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)} - b}{a \cdot 2}}
\]
Proof
[Start]31.6 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}
\] |
|---|
+-commutative [=>]31.6 | \[ \frac{\color{blue}{\sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c} + \left(-b\right)}}{2 \cdot a}
\] |
|---|
unsub-neg [=>]31.6 | \[ \frac{\color{blue}{\sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c} - b}}{2 \cdot a}
\] |
|---|
fma-neg [=>]31.6 | \[ \frac{\sqrt{\color{blue}{\mathsf{fma}\left(b, b, -\left(4 \cdot a\right) \cdot c\right)}} - b}{2 \cdot a}
\] |
|---|
*-commutative [=>]31.6 | \[ \frac{\sqrt{\mathsf{fma}\left(b, b, -\color{blue}{c \cdot \left(4 \cdot a\right)}\right)} - b}{2 \cdot a}
\] |
|---|
distribute-rgt-neg-in [=>]31.6 | \[ \frac{\sqrt{\mathsf{fma}\left(b, b, \color{blue}{c \cdot \left(-4 \cdot a\right)}\right)} - b}{2 \cdot a}
\] |
|---|
distribute-lft-neg-in [=>]31.6 | \[ \frac{\sqrt{\mathsf{fma}\left(b, b, c \cdot \color{blue}{\left(\left(-4\right) \cdot a\right)}\right)} - b}{2 \cdot a}
\] |
|---|
*-commutative [<=]31.6 | \[ \frac{\sqrt{\mathsf{fma}\left(b, b, c \cdot \color{blue}{\left(a \cdot \left(-4\right)\right)}\right)} - b}{2 \cdot a}
\] |
|---|
metadata-eval [=>]31.6 | \[ \frac{\sqrt{\mathsf{fma}\left(b, b, c \cdot \left(a \cdot \color{blue}{-4}\right)\right)} - b}{2 \cdot a}
\] |
|---|
*-commutative [=>]31.6 | \[ \frac{\sqrt{\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)} - b}{\color{blue}{a \cdot 2}}
\] |
|---|
Applied egg-rr32.2%
\[\leadsto \frac{\color{blue}{{\left({\left(\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)\right)}^{1.5}\right)}^{0.3333333333333333}} - b}{a \cdot 2}
\]
Simplified31.1%
\[\leadsto \frac{\color{blue}{\sqrt[3]{{\left(\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}^{1.5}}} - b}{a \cdot 2}
\]
Proof
[Start]32.2 | \[ \frac{{\left({\left(\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)\right)}^{1.5}\right)}^{0.3333333333333333} - b}{a \cdot 2}
\] |
|---|
unpow1/3 [=>]31.2 | \[ \frac{\color{blue}{\sqrt[3]{{\left(\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)\right)}^{1.5}}} - b}{a \cdot 2}
\] |
|---|
fma-def [<=]31.1 | \[ \frac{\sqrt[3]{{\color{blue}{\left(b \cdot b + c \cdot \left(a \cdot -4\right)\right)}}^{1.5}} - b}{a \cdot 2}
\] |
|---|
+-commutative [=>]31.1 | \[ \frac{\sqrt[3]{{\color{blue}{\left(c \cdot \left(a \cdot -4\right) + b \cdot b\right)}}^{1.5}} - b}{a \cdot 2}
\] |
|---|
fma-def [=>]31.1 | \[ \frac{\sqrt[3]{{\color{blue}{\left(\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}^{1.5}} - b}{a \cdot 2}
\] |
|---|
Applied egg-rr32.8%
\[\leadsto \frac{\color{blue}{\frac{{\left(\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}^{2} - {b}^{4}}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \left(b \cdot b + \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}}{a \cdot 2}
\]
Simplified32.8%
\[\leadsto \frac{\color{blue}{\frac{{\left(\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}^{2} - {b}^{4}}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \mathsf{fma}\left(b, b, \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}}{a \cdot 2}
\]
Proof
[Start]32.8 | \[ \frac{\frac{{\left(\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}^{2} - {b}^{4}}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \left(b \cdot b + \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}{a \cdot 2}
\] |
|---|
fma-def [=>]32.8 | \[ \frac{\frac{{\left(\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}^{2} - {b}^{4}}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \color{blue}{\mathsf{fma}\left(b, b, \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}}{a \cdot 2}
\] |
|---|
Taylor expanded in c around 0 99.1%
\[\leadsto \frac{\frac{\color{blue}{-8 \cdot \left(c \cdot \left(a \cdot {b}^{2}\right)\right) + 16 \cdot \left({c}^{2} \cdot {a}^{2}\right)}}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \mathsf{fma}\left(b, b, \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}{a \cdot 2}
\]
Simplified99.1%
\[\leadsto \frac{\frac{\color{blue}{\mathsf{fma}\left(-8, c \cdot \left(a \cdot \left(b \cdot b\right)\right), 16 \cdot \left(\left(c \cdot c\right) \cdot \left(a \cdot a\right)\right)\right)}}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \mathsf{fma}\left(b, b, \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}{a \cdot 2}
\]
Proof
[Start]99.1 | \[ \frac{\frac{-8 \cdot \left(c \cdot \left(a \cdot {b}^{2}\right)\right) + 16 \cdot \left({c}^{2} \cdot {a}^{2}\right)}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \mathsf{fma}\left(b, b, \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}{a \cdot 2}
\] |
|---|
fma-def [=>]99.1 | \[ \frac{\frac{\color{blue}{\mathsf{fma}\left(-8, c \cdot \left(a \cdot {b}^{2}\right), 16 \cdot \left({c}^{2} \cdot {a}^{2}\right)\right)}}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \mathsf{fma}\left(b, b, \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}{a \cdot 2}
\] |
|---|
unpow2 [=>]99.1 | \[ \frac{\frac{\mathsf{fma}\left(-8, c \cdot \left(a \cdot \color{blue}{\left(b \cdot b\right)}\right), 16 \cdot \left({c}^{2} \cdot {a}^{2}\right)\right)}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \mathsf{fma}\left(b, b, \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}{a \cdot 2}
\] |
|---|
unpow2 [=>]99.1 | \[ \frac{\frac{\mathsf{fma}\left(-8, c \cdot \left(a \cdot \left(b \cdot b\right)\right), 16 \cdot \left(\color{blue}{\left(c \cdot c\right)} \cdot {a}^{2}\right)\right)}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \mathsf{fma}\left(b, b, \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}{a \cdot 2}
\] |
|---|
unpow2 [=>]99.1 | \[ \frac{\frac{\mathsf{fma}\left(-8, c \cdot \left(a \cdot \left(b \cdot b\right)\right), 16 \cdot \left(\left(c \cdot c\right) \cdot \color{blue}{\left(a \cdot a\right)}\right)\right)}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \mathsf{fma}\left(b, b, \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}{a \cdot 2}
\] |
|---|
Final simplification99.1%
\[\leadsto \frac{\frac{\mathsf{fma}\left(-8, c \cdot \left(a \cdot \left(b \cdot b\right)\right), 16 \cdot \left(\left(c \cdot c\right) \cdot \left(a \cdot a\right)\right)\right)}{\left(b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}\right) \cdot \mathsf{fma}\left(b, b, \mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)\right)}}{a \cdot 2}
\]