Initial program 28.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}
\]
Simplified28.1
\[\leadsto \color{blue}{\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{a \cdot 2}}
\]
Proof
[Start]28.1 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}
\] |
|---|
*-commutative [=>]28.1 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{\color{blue}{a \cdot 2}}
\] |
|---|
Applied egg-rr27.3
\[\leadsto \frac{\color{blue}{\frac{b \cdot b - \mathsf{fma}\left(b, b, 4 \cdot \left(a \cdot c\right)\right)}{b + \sqrt{\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)}}}}{a \cdot 2}
\]
Taylor expanded in b around 0 0.4
\[\leadsto \frac{\frac{\color{blue}{-4 \cdot \left(c \cdot a\right)}}{b + \sqrt{\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)}}}{a \cdot 2}
\]
Applied egg-rr0.5
\[\leadsto \frac{\frac{-4 \cdot \left(c \cdot a\right)}{b + \color{blue}{{\left(\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)\right)}^{0.25} \cdot {\left(\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)\right)}^{0.25}}}}{a \cdot 2}
\]
Simplified0.4
\[\leadsto \frac{\frac{-4 \cdot \left(c \cdot a\right)}{b + \color{blue}{\sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}}}}{a \cdot 2}
\]
Proof
[Start]0.5 | \[ \frac{\frac{-4 \cdot \left(c \cdot a\right)}{b + {\left(\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)\right)}^{0.25} \cdot {\left(\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)\right)}^{0.25}}}{a \cdot 2}
\] |
|---|
pow-sqr [=>]0.4 | \[ \frac{\frac{-4 \cdot \left(c \cdot a\right)}{b + \color{blue}{{\left(\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)\right)}^{\left(2 \cdot 0.25\right)}}}}{a \cdot 2}
\] |
|---|
metadata-eval [=>]0.4 | \[ \frac{\frac{-4 \cdot \left(c \cdot a\right)}{b + {\left(\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)\right)}^{\color{blue}{0.5}}}}{a \cdot 2}
\] |
|---|
unpow1/2 [=>]0.4 | \[ \frac{\frac{-4 \cdot \left(c \cdot a\right)}{b + \color{blue}{\sqrt{\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)}}}}{a \cdot 2}
\] |
|---|
fma-def [<=]0.5 | \[ \frac{\frac{-4 \cdot \left(c \cdot a\right)}{b + \sqrt{\color{blue}{b \cdot b + c \cdot \left(a \cdot -4\right)}}}}{a \cdot 2}
\] |
|---|
+-commutative [=>]0.5 | \[ \frac{\frac{-4 \cdot \left(c \cdot a\right)}{b + \sqrt{\color{blue}{c \cdot \left(a \cdot -4\right) + b \cdot b}}}}{a \cdot 2}
\] |
|---|
fma-def [=>]0.4 | \[ \frac{\frac{-4 \cdot \left(c \cdot a\right)}{b + \sqrt{\color{blue}{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}}}}{a \cdot 2}
\] |
|---|
Applied egg-rr0.4
\[\leadsto \color{blue}{\frac{c \cdot a}{a \cdot 2} \cdot \frac{-4}{b + \sqrt{\mathsf{fma}\left(c, -4 \cdot a, b \cdot b\right)}}}
\]
Final simplification0.4
\[\leadsto \frac{c \cdot a}{a \cdot 2} \cdot \frac{-4}{b + \sqrt{\mathsf{fma}\left(c, a \cdot -4, b \cdot b\right)}}
\]