Initial program 44.51
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}
\]
Simplified44.52
\[\leadsto \color{blue}{\frac{b - \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}}{a} \cdot -0.3333333333333333}
\]
Proof
[Start]44.51 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}
\] |
|---|
*-lft-identity [<=]44.51 | \[ \color{blue}{1 \cdot \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}}
\] |
|---|
metadata-eval [<=]44.51 | \[ \color{blue}{\frac{-1}{-1}} \cdot \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}
\] |
|---|
times-frac [<=]44.51 | \[ \color{blue}{\frac{-1 \cdot \left(\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}\right)}{-1 \cdot \left(3 \cdot a\right)}}
\] |
|---|
neg-mul-1 [<=]44.51 | \[ \frac{-1 \cdot \left(\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}\right)}{\color{blue}{-3 \cdot a}}
\] |
|---|
distribute-rgt-neg-in [=>]44.51 | \[ \frac{-1 \cdot \left(\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}\right)}{\color{blue}{3 \cdot \left(-a\right)}}
\] |
|---|
times-frac [=>]44.52 | \[ \color{blue}{\frac{-1}{3} \cdot \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{-a}}
\] |
|---|
*-commutative [=>]44.52 | \[ \color{blue}{\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{-a} \cdot \frac{-1}{3}}
\] |
|---|
Applied egg-rr43.24
\[\leadsto \frac{\color{blue}{\frac{\left({b}^{4} - {\left(\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)\right)}^{2}\right) \cdot \frac{1}{b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}}}{b \cdot b + \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}}}{a} \cdot -0.3333333333333333
\]
Taylor expanded in b around 0 1.21
\[\leadsto \frac{\frac{\color{blue}{\left(6 \cdot \left(c \cdot \left(a \cdot {b}^{2}\right)\right) + -9 \cdot \left({c}^{2} \cdot {a}^{2}\right)\right)} \cdot \frac{1}{b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}}}{b \cdot b + \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}}{a} \cdot -0.3333333333333333
\]
Applied egg-rr1.13
\[\leadsto \color{blue}{\frac{-0.3333333333333333}{a \cdot \left(\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \frac{\mathsf{fma}\left(b, b, \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)\right)}{\mathsf{fma}\left(6, c \cdot \left(a \cdot \left(b \cdot b\right)\right), {\left(c \cdot a\right)}^{2} \cdot -9\right)}\right)}}
\]
Simplified1.12
\[\leadsto \color{blue}{\frac{\frac{-0.3333333333333333}{a}}{\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \frac{\mathsf{fma}\left(b, b, \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)\right)}{\mathsf{fma}\left(6, a \cdot \left(c \cdot \left(b \cdot b\right)\right), {\left(c \cdot a\right)}^{2} \cdot -9\right)}}}
\]
Proof
[Start]1.13 | \[ \frac{-0.3333333333333333}{a \cdot \left(\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \frac{\mathsf{fma}\left(b, b, \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)\right)}{\mathsf{fma}\left(6, c \cdot \left(a \cdot \left(b \cdot b\right)\right), {\left(c \cdot a\right)}^{2} \cdot -9\right)}\right)}
\] |
|---|
associate-/r* [=>]1.12 | \[ \color{blue}{\frac{\frac{-0.3333333333333333}{a}}{\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \frac{\mathsf{fma}\left(b, b, \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)\right)}{\mathsf{fma}\left(6, c \cdot \left(a \cdot \left(b \cdot b\right)\right), {\left(c \cdot a\right)}^{2} \cdot -9\right)}}}
\] |
|---|
associate-*r* [=>]1.12 | \[ \frac{\frac{-0.3333333333333333}{a}}{\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \frac{\mathsf{fma}\left(b, b, \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)\right)}{\mathsf{fma}\left(6, \color{blue}{\left(c \cdot a\right) \cdot \left(b \cdot b\right)}, {\left(c \cdot a\right)}^{2} \cdot -9\right)}}
\] |
|---|
*-commutative [=>]1.12 | \[ \frac{\frac{-0.3333333333333333}{a}}{\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \frac{\mathsf{fma}\left(b, b, \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)\right)}{\mathsf{fma}\left(6, \color{blue}{\left(a \cdot c\right)} \cdot \left(b \cdot b\right), {\left(c \cdot a\right)}^{2} \cdot -9\right)}}
\] |
|---|
unpow2 [<=]1.12 | \[ \frac{\frac{-0.3333333333333333}{a}}{\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \frac{\mathsf{fma}\left(b, b, \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)\right)}{\mathsf{fma}\left(6, \left(a \cdot c\right) \cdot \color{blue}{{b}^{2}}, {\left(c \cdot a\right)}^{2} \cdot -9\right)}}
\] |
|---|
associate-*l* [=>]1.12 | \[ \frac{\frac{-0.3333333333333333}{a}}{\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \frac{\mathsf{fma}\left(b, b, \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)\right)}{\mathsf{fma}\left(6, \color{blue}{a \cdot \left(c \cdot {b}^{2}\right)}, {\left(c \cdot a\right)}^{2} \cdot -9\right)}}
\] |
|---|
unpow2 [=>]1.12 | \[ \frac{\frac{-0.3333333333333333}{a}}{\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \frac{\mathsf{fma}\left(b, b, \mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)\right)}{\mathsf{fma}\left(6, a \cdot \left(c \cdot \color{blue}{\left(b \cdot b\right)}\right), {\left(c \cdot a\right)}^{2} \cdot -9\right)}}
\] |
|---|
Taylor expanded in b around 0 0.86
\[\leadsto \frac{\frac{-0.3333333333333333}{a}}{\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \color{blue}{\frac{0.3333333333333333}{c \cdot a}}}
\]
Final simplification0.86
\[\leadsto \frac{\frac{-0.3333333333333333}{a}}{\left(b + \sqrt{\mathsf{fma}\left(a, c \cdot -3, b \cdot b\right)}\right) \cdot \frac{0.3333333333333333}{a \cdot c}}
\]