Initial program 17.5%
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}
\]
Step-by-step derivation
add-exp-log17.4%
\[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - \color{blue}{e^{\log \left(\left(3 \cdot a\right) \cdot c\right)}}}}{3 \cdot a}
\]
*-commutative17.4%
\[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - e^{\log \color{blue}{\left(c \cdot \left(3 \cdot a\right)\right)}}}}{3 \cdot a}
\]
*-commutative17.4%
\[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - e^{\log \left(c \cdot \color{blue}{\left(a \cdot 3\right)}\right)}}}{3 \cdot a}
\]
Applied egg-rr17.4%
\[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - \color{blue}{e^{\log \left(c \cdot \left(a \cdot 3\right)\right)}}}}{3 \cdot a}
\]
Step-by-step derivation
flip-+17.5%
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - e^{\log \left(c \cdot \left(a \cdot 3\right)\right)}} \cdot \sqrt{b \cdot b - e^{\log \left(c \cdot \left(a \cdot 3\right)\right)}}}{\left(-b\right) - \sqrt{b \cdot b - e^{\log \left(c \cdot \left(a \cdot 3\right)\right)}}}}}{3 \cdot a}
\]
add-sqr-sqrt18.0%
\[\leadsto \frac{\frac{\left(-b\right) \cdot \left(-b\right) - \color{blue}{\left(b \cdot b - e^{\log \left(c \cdot \left(a \cdot 3\right)\right)}\right)}}{\left(-b\right) - \sqrt{b \cdot b - e^{\log \left(c \cdot \left(a \cdot 3\right)\right)}}}}{3 \cdot a}
\]
add-exp-log18.1%
\[\leadsto \frac{\frac{\left(-b\right) \cdot \left(-b\right) - \left(b \cdot b - \color{blue}{c \cdot \left(a \cdot 3\right)}\right)}{\left(-b\right) - \sqrt{b \cdot b - e^{\log \left(c \cdot \left(a \cdot 3\right)\right)}}}}{3 \cdot a}
\]
add-exp-log18.1%
\[\leadsto \frac{\frac{\left(-b\right) \cdot \left(-b\right) - \left(b \cdot b - c \cdot \left(a \cdot 3\right)\right)}{\left(-b\right) - \sqrt{b \cdot b - \color{blue}{c \cdot \left(a \cdot 3\right)}}}}{3 \cdot a}
\]
Applied egg-rr18.1%
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \left(b \cdot b - c \cdot \left(a \cdot 3\right)\right)}{\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}}}}{3 \cdot a}
\]
Step-by-step derivation
sqr-neg18.1%
\[\leadsto \frac{\frac{\color{blue}{b \cdot b} - \left(b \cdot b - c \cdot \left(a \cdot 3\right)\right)}{\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}}}{3 \cdot a}
\]
associate-+l-99.5%
\[\leadsto \frac{\frac{\color{blue}{\left(b \cdot b - b \cdot b\right) + c \cdot \left(a \cdot 3\right)}}{\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}}}{3 \cdot a}
\]
Simplified99.5%
\[\leadsto \frac{\color{blue}{\frac{\left(b \cdot b - b \cdot b\right) + c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}}}}{3 \cdot a}
\]
Step-by-step derivation
expm1-log1p-u83.9%
\[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\frac{\frac{\left(b \cdot b - b \cdot b\right) + c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}}}{3 \cdot a}\right)\right)}
\]
expm1-udef20.6%
\[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\frac{\frac{\left(b \cdot b - b \cdot b\right) + c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}}}{3 \cdot a}\right)} - 1}
\]
Applied egg-rr20.6%
\[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\frac{\mathsf{fma}\left(c, a \cdot 3, 0\right)}{\left(a \cdot 3\right) \cdot \left(\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}\right)}\right)} - 1}
\]
Step-by-step derivation
expm1-def83.9%
\[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\frac{\mathsf{fma}\left(c, a \cdot 3, 0\right)}{\left(a \cdot 3\right) \cdot \left(\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}\right)}\right)\right)}
\]
expm1-log1p99.4%
\[\leadsto \color{blue}{\frac{\mathsf{fma}\left(c, a \cdot 3, 0\right)}{\left(a \cdot 3\right) \cdot \left(\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}\right)}}
\]
fma-def99.4%
\[\leadsto \frac{\color{blue}{c \cdot \left(a \cdot 3\right) + 0}}{\left(a \cdot 3\right) \cdot \left(\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}\right)}
\]
+-rgt-identity99.4%
\[\leadsto \frac{\color{blue}{c \cdot \left(a \cdot 3\right)}}{\left(a \cdot 3\right) \cdot \left(\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}\right)}
\]
associate-/r*99.7%
\[\leadsto \color{blue}{\frac{\frac{c \cdot \left(a \cdot 3\right)}{a \cdot 3}}{\left(-b\right) - \sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)}}}
\]
fma-neg99.7%
\[\leadsto \frac{\frac{c \cdot \left(a \cdot 3\right)}{a \cdot 3}}{\left(-b\right) - \sqrt{\color{blue}{\mathsf{fma}\left(b, b, -c \cdot \left(a \cdot 3\right)\right)}}}
\]
associate-*r*99.7%
\[\leadsto \frac{\frac{c \cdot \left(a \cdot 3\right)}{a \cdot 3}}{\left(-b\right) - \sqrt{\mathsf{fma}\left(b, b, -\color{blue}{\left(c \cdot a\right) \cdot 3}\right)}}
\]
distribute-rgt-neg-in99.7%
\[\leadsto \frac{\frac{c \cdot \left(a \cdot 3\right)}{a \cdot 3}}{\left(-b\right) - \sqrt{\mathsf{fma}\left(b, b, \color{blue}{\left(c \cdot a\right) \cdot \left(-3\right)}\right)}}
\]
metadata-eval99.7%
\[\leadsto \frac{\frac{c \cdot \left(a \cdot 3\right)}{a \cdot 3}}{\left(-b\right) - \sqrt{\mathsf{fma}\left(b, b, \left(c \cdot a\right) \cdot \color{blue}{-3}\right)}}
\]
*-commutative99.7%
\[\leadsto \frac{\frac{c \cdot \left(a \cdot 3\right)}{a \cdot 3}}{\left(-b\right) - \sqrt{\mathsf{fma}\left(b, b, \color{blue}{-3 \cdot \left(c \cdot a\right)}\right)}}
\]
Simplified99.7%
\[\leadsto \color{blue}{\frac{\frac{c \cdot \left(a \cdot 3\right)}{a \cdot 3}}{\left(-b\right) - \sqrt{\mathsf{fma}\left(b, b, -3 \cdot \left(c \cdot a\right)\right)}}}
\]
Taylor expanded in c around 0 99.9%
\[\leadsto \frac{\color{blue}{c}}{\left(-b\right) - \sqrt{\mathsf{fma}\left(b, b, -3 \cdot \left(c \cdot a\right)\right)}}
\]
Final simplification99.9%
\[\leadsto \frac{c}{\left(-b\right) - \sqrt{\mathsf{fma}\left(b, b, -3 \cdot \left(c \cdot a\right)\right)}}
\]