Initial program 28.3
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}
\]
Simplified28.3
\[\leadsto \color{blue}{\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{a \cdot 2}}
\]
Proof
[Start]28.3 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}
\] |
|---|
*-commutative [=>]28.3 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{\color{blue}{a \cdot 2}}
\] |
|---|
Applied egg-rr28.4
\[\leadsto \frac{\left(-b\right) + \sqrt{\color{blue}{\frac{{b}^{4} - \left(c \cdot \left(a \cdot -4\right)\right) \cdot \left(c \cdot \left(a \cdot -4\right)\right)}{b \cdot b - c \cdot \left(a \cdot -4\right)}}}}{a \cdot 2}
\]
Applied egg-rr27.4
\[\leadsto \frac{\color{blue}{\frac{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right) - b \cdot b}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}}}{a \cdot 2}
\]
Simplified27.2
\[\leadsto \frac{\color{blue}{\frac{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right) - b \cdot b}{b + \sqrt{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right)}}}}{a \cdot 2}
\]
Proof
[Start]27.4 | \[ \frac{\frac{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right) - b \cdot b}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}}{a \cdot 2}
\] |
|---|
fma-def [<=]27.2 | \[ \frac{\frac{\color{blue}{\left(b \cdot b + -4 \cdot \left(c \cdot a\right)\right)} - b \cdot b}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}}{a \cdot 2}
\] |
|---|
+-commutative [<=]27.2 | \[ \frac{\frac{\color{blue}{\left(-4 \cdot \left(c \cdot a\right) + b \cdot b\right)} - b \cdot b}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}}{a \cdot 2}
\] |
|---|
associate-*r* [=>]27.2 | \[ \frac{\frac{\left(\color{blue}{\left(-4 \cdot c\right) \cdot a} + b \cdot b\right) - b \cdot b}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}}{a \cdot 2}
\] |
|---|
fma-def [=>]27.2 | \[ \frac{\frac{\color{blue}{\mathsf{fma}\left(-4 \cdot c, a, b \cdot b\right)} - b \cdot b}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}}{a \cdot 2}
\] |
|---|
*-commutative [=>]27.2 | \[ \frac{\frac{\mathsf{fma}\left(\color{blue}{c \cdot -4}, a, b \cdot b\right) - b \cdot b}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}}{a \cdot 2}
\] |
|---|
fma-def [<=]27.2 | \[ \frac{\frac{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right) - b \cdot b}{b + \sqrt{\color{blue}{b \cdot b + -4 \cdot \left(c \cdot a\right)}}}}{a \cdot 2}
\] |
|---|
+-commutative [<=]27.2 | \[ \frac{\frac{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right) - b \cdot b}{b + \sqrt{\color{blue}{-4 \cdot \left(c \cdot a\right) + b \cdot b}}}}{a \cdot 2}
\] |
|---|
associate-*r* [=>]27.2 | \[ \frac{\frac{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right) - b \cdot b}{b + \sqrt{\color{blue}{\left(-4 \cdot c\right) \cdot a} + b \cdot b}}}{a \cdot 2}
\] |
|---|
fma-def [=>]27.2 | \[ \frac{\frac{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right) - b \cdot b}{b + \sqrt{\color{blue}{\mathsf{fma}\left(-4 \cdot c, a, b \cdot b\right)}}}}{a \cdot 2}
\] |
|---|
*-commutative [=>]27.2 | \[ \frac{\frac{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right) - b \cdot b}{b + \sqrt{\mathsf{fma}\left(\color{blue}{c \cdot -4}, a, b \cdot b\right)}}}{a \cdot 2}
\] |
|---|
Taylor expanded in c around 0 0.5
\[\leadsto \frac{\frac{\color{blue}{-4 \cdot \left(c \cdot a\right)}}{b + \sqrt{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right)}}}{a \cdot 2}
\]
Simplified0.5
\[\leadsto \frac{\frac{\color{blue}{c \cdot \left(-4 \cdot a\right)}}{b + \sqrt{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right)}}}{a \cdot 2}
\]
Proof
[Start]0.5 | \[ \frac{\frac{-4 \cdot \left(c \cdot a\right)}{b + \sqrt{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right)}}}{a \cdot 2}
\] |
|---|
associate-*r* [=>]0.5 | \[ \frac{\frac{\color{blue}{\left(-4 \cdot c\right) \cdot a}}{b + \sqrt{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right)}}}{a \cdot 2}
\] |
|---|
*-commutative [<=]0.5 | \[ \frac{\frac{\color{blue}{\left(c \cdot -4\right)} \cdot a}{b + \sqrt{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right)}}}{a \cdot 2}
\] |
|---|
associate-*r* [<=]0.5 | \[ \frac{\frac{\color{blue}{c \cdot \left(-4 \cdot a\right)}}{b + \sqrt{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right)}}}{a \cdot 2}
\] |
|---|
Final simplification0.5
\[\leadsto \frac{\frac{c \cdot \left(-4 \cdot a\right)}{b + \sqrt{\mathsf{fma}\left(c \cdot -4, a, b \cdot b\right)}}}{a \cdot 2}
\]