Initial program 43.8
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}
\]
Simplified43.7
\[\leadsto \color{blue}{\left(\sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)} - b\right) \cdot \frac{0.5}{a}}
\]
Proof
[Start]43.8 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}
\] |
|---|
/-rgt-identity [<=]43.8 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{\color{blue}{\frac{2 \cdot a}{1}}}
\] |
|---|
metadata-eval [<=]43.8 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{\frac{2 \cdot a}{\color{blue}{--1}}}
\] |
|---|
*-commutative [=>]43.8 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{\frac{\color{blue}{a \cdot 2}}{--1}}
\] |
|---|
associate-/l* [=>]43.8 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{\color{blue}{\frac{a}{\frac{--1}{2}}}}
\] |
|---|
associate-/l* [<=]43.8 | \[ \color{blue}{\frac{\left(\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}\right) \cdot \frac{--1}{2}}{a}}
\] |
|---|
associate-*r/ [<=]43.8 | \[ \color{blue}{\left(\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}\right) \cdot \frac{\frac{--1}{2}}{a}}
\] |
|---|
/-rgt-identity [<=]43.8 | \[ \color{blue}{\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{1}} \cdot \frac{\frac{--1}{2}}{a}
\] |
|---|
metadata-eval [<=]43.8 | \[ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{\color{blue}{--1}} \cdot \frac{\frac{--1}{2}}{a}
\] |
|---|
Applied egg-rr43.2
\[\leadsto \color{blue}{\frac{0.5}{\frac{a \cdot \left(b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}\right)}{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right) - b \cdot b}}}
\]
Applied egg-rr49.3
\[\leadsto \color{blue}{\log \left({\left(e^{0.5}\right)}^{\left(\frac{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right) - b \cdot b}{a \cdot \left(b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}\right)}\right)}\right)}
\]
Simplified0.2
\[\leadsto \color{blue}{\frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}}
\]
Proof
[Start]49.3 | \[ \log \left({\left(e^{0.5}\right)}^{\left(\frac{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right) - b \cdot b}{a \cdot \left(b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}\right)}\right)}\right)
\] |
|---|
log-pow [=>]43.2 | \[ \color{blue}{\frac{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right) - b \cdot b}{a \cdot \left(b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}\right)} \cdot \log \left(e^{0.5}\right)}
\] |
|---|
associate-/r* [=>]43.2 | \[ \color{blue}{\frac{\frac{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right) - b \cdot b}{a}}{b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}}} \cdot \log \left(e^{0.5}\right)
\] |
|---|
associate-*l/ [=>]43.2 | \[ \color{blue}{\frac{\frac{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right) - b \cdot b}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}}}
\] |
|---|
fma-udef [=>]43.1 | \[ \frac{\frac{\color{blue}{\left(b \cdot b + \left(a \cdot c\right) \cdot -4\right)} - b \cdot b}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}}
\] |
|---|
+-commutative [<=]43.1 | \[ \frac{\frac{\color{blue}{\left(\left(a \cdot c\right) \cdot -4 + b \cdot b\right)} - b \cdot b}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}}
\] |
|---|
associate-+r- [<=]0.2 | \[ \frac{\frac{\color{blue}{\left(a \cdot c\right) \cdot -4 + \left(b \cdot b - b \cdot b\right)}}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}}
\] |
|---|
*-commutative [<=]0.2 | \[ \frac{\frac{\color{blue}{\left(c \cdot a\right)} \cdot -4 + \left(b \cdot b - b \cdot b\right)}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}}
\] |
|---|
fma-def [=>]0.2 | \[ \frac{\frac{\color{blue}{\mathsf{fma}\left(c \cdot a, -4, b \cdot b - b \cdot b\right)}}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}}
\] |
|---|
+-inverses [=>]0.2 | \[ \frac{\frac{\mathsf{fma}\left(c \cdot a, -4, \color{blue}{0}\right)}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, \left(a \cdot c\right) \cdot -4\right)}}
\] |
|---|
Applied egg-rr39.9
\[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}\right)} - 1}
\]
Simplified0.2
\[\leadsto \color{blue}{\frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a}}{\frac{b + \sqrt{\mathsf{fma}\left(b, b, c \cdot \left(-4 \cdot a\right)\right)}}{0.5}}}
\]
Proof
[Start]39.9 | \[ e^{\mathsf{log1p}\left(\frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}\right)} - 1
\] |
|---|
expm1-def [=>]10.6 | \[ \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}\right)\right)}
\] |
|---|
expm1-log1p [=>]0.2 | \[ \color{blue}{\frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a} \cdot \log \left(e^{0.5}\right)}{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}}
\] |
|---|
associate-/l* [=>]0.2 | \[ \color{blue}{\frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a}}{\frac{b + \sqrt{\mathsf{fma}\left(b, b, -4 \cdot \left(c \cdot a\right)\right)}}{\log \left(e^{0.5}\right)}}}
\] |
|---|
*-commutative [=>]0.2 | \[ \frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a}}{\frac{b + \sqrt{\mathsf{fma}\left(b, b, \color{blue}{\left(c \cdot a\right) \cdot -4}\right)}}{\log \left(e^{0.5}\right)}}
\] |
|---|
associate-*r* [<=]0.2 | \[ \frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a}}{\frac{b + \sqrt{\mathsf{fma}\left(b, b, \color{blue}{c \cdot \left(a \cdot -4\right)}\right)}}{\log \left(e^{0.5}\right)}}
\] |
|---|
*-commutative [=>]0.2 | \[ \frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a}}{\frac{b + \sqrt{\mathsf{fma}\left(b, b, c \cdot \color{blue}{\left(-4 \cdot a\right)}\right)}}{\log \left(e^{0.5}\right)}}
\] |
|---|
rem-log-exp [=>]0.2 | \[ \frac{\frac{\mathsf{fma}\left(c \cdot a, -4, 0\right)}{a}}{\frac{b + \sqrt{\mathsf{fma}\left(b, b, c \cdot \left(-4 \cdot a\right)\right)}}{\color{blue}{0.5}}}
\] |
|---|
Taylor expanded in c around 0 0.2
\[\leadsto \frac{\color{blue}{-4 \cdot c}}{\frac{b + \sqrt{\mathsf{fma}\left(b, b, c \cdot \left(-4 \cdot a\right)\right)}}{0.5}}
\]
Final simplification0.2
\[\leadsto \frac{-4 \cdot c}{\frac{b + \sqrt{\mathsf{fma}\left(b, b, c \cdot \left(-4 \cdot a\right)\right)}}{0.5}}
\]