Initial program 28.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Simplified28.7
\[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(c, \left(-3 \cdot a\right), \left(b \cdot b\right)\right)} - b}{3 \cdot a}}\]
- Using strategy
rm Applied flip3--28.7
\[\leadsto \frac{\color{blue}{\frac{{\left(\sqrt{\mathsf{fma}\left(c, \left(-3 \cdot a\right), \left(b \cdot b\right)\right)}\right)}^{3} - {b}^{3}}{\sqrt{\mathsf{fma}\left(c, \left(-3 \cdot a\right), \left(b \cdot b\right)\right)} \cdot \sqrt{\mathsf{fma}\left(c, \left(-3 \cdot a\right), \left(b \cdot b\right)\right)} + \left(b \cdot b + \sqrt{\mathsf{fma}\left(c, \left(-3 \cdot a\right), \left(b \cdot b\right)\right)} \cdot b\right)}}}{3 \cdot a}\]
Simplified28.1
\[\leadsto \frac{\frac{\color{blue}{\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right) - b \cdot \left(b \cdot b\right)}}{\sqrt{\mathsf{fma}\left(c, \left(-3 \cdot a\right), \left(b \cdot b\right)\right)} \cdot \sqrt{\mathsf{fma}\left(c, \left(-3 \cdot a\right), \left(b \cdot b\right)\right)} + \left(b \cdot b + \sqrt{\mathsf{fma}\left(c, \left(-3 \cdot a\right), \left(b \cdot b\right)\right)} \cdot b\right)}}{3 \cdot a}\]
Simplified28.1
\[\leadsto \frac{\frac{\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right) - b \cdot \left(b \cdot b\right)}{\color{blue}{\mathsf{fma}\left(b, \left(\sqrt{\mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)}\right), \left(b \cdot b + \mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)\right)\right)}}}{3 \cdot a}\]
- Using strategy
rm Applied fma-udef28.1
\[\leadsto \frac{\frac{\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \color{blue}{\left(\left(c \cdot a\right) \cdot -3 + b \cdot b\right)} - b \cdot \left(b \cdot b\right)}{\mathsf{fma}\left(b, \left(\sqrt{\mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)}\right), \left(b \cdot b + \mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)\right)\right)}}{3 \cdot a}\]
Applied distribute-lft-in27.9
\[\leadsto \frac{\frac{\color{blue}{\left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(\left(c \cdot a\right) \cdot -3\right) + \sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right)} - b \cdot \left(b \cdot b\right)}{\mathsf{fma}\left(b, \left(\sqrt{\mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)}\right), \left(b \cdot b + \mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)\right)\right)}}{3 \cdot a}\]
Applied associate--l+26.2
\[\leadsto \frac{\frac{\color{blue}{\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(\left(c \cdot a\right) \cdot -3\right) + \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right) - b \cdot \left(b \cdot b\right)\right)}}{\mathsf{fma}\left(b, \left(\sqrt{\mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)}\right), \left(b \cdot b + \mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)\right)\right)}}{3 \cdot a}\]
- Using strategy
rm Applied flip3--26.3
\[\leadsto \frac{\frac{\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(\left(c \cdot a\right) \cdot -3\right) + \color{blue}{\frac{{\left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right)}^{3} - {\left(b \cdot \left(b \cdot b\right)\right)}^{3}}{\left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) + \left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right) + \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right)\right)}}}{\mathsf{fma}\left(b, \left(\sqrt{\mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)}\right), \left(b \cdot b + \mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)\right)\right)}}{3 \cdot a}\]
Simplified25.2
\[\leadsto \frac{\frac{\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(\left(c \cdot a\right) \cdot -3\right) + \frac{\color{blue}{\left(\sqrt{\mathsf{fma}\left(-3, \left(c \cdot a\right), \left(b \cdot b\right)\right)} \cdot \mathsf{fma}\left(-3, \left(c \cdot a\right), \left(b \cdot b\right)\right) - b \cdot \left(b \cdot b\right)\right) \cdot \left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right)\right)}}{\left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) + \left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right) + \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right)\right)}}{\mathsf{fma}\left(b, \left(\sqrt{\mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)}\right), \left(b \cdot b + \mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)\right)\right)}}{3 \cdot a}\]
- Using strategy
rm Applied fma-udef25.2
\[\leadsto \frac{\frac{\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(\left(c \cdot a\right) \cdot -3\right) + \frac{\left(\sqrt{\mathsf{fma}\left(-3, \left(c \cdot a\right), \left(b \cdot b\right)\right)} \cdot \color{blue}{\left(-3 \cdot \left(c \cdot a\right) + b \cdot b\right)} - b \cdot \left(b \cdot b\right)\right) \cdot \left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right)\right)}{\left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) + \left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right) + \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right)\right)}}{\mathsf{fma}\left(b, \left(\sqrt{\mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)}\right), \left(b \cdot b + \mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)\right)\right)}}{3 \cdot a}\]
Applied distribute-rgt-in25.1
\[\leadsto \frac{\frac{\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(\left(c \cdot a\right) \cdot -3\right) + \frac{\left(\color{blue}{\left(\left(-3 \cdot \left(c \cdot a\right)\right) \cdot \sqrt{\mathsf{fma}\left(-3, \left(c \cdot a\right), \left(b \cdot b\right)\right)} + \left(b \cdot b\right) \cdot \sqrt{\mathsf{fma}\left(-3, \left(c \cdot a\right), \left(b \cdot b\right)\right)}\right)} - b \cdot \left(b \cdot b\right)\right) \cdot \left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right)\right)}{\left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) + \left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right) + \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right)\right)}}{\mathsf{fma}\left(b, \left(\sqrt{\mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)}\right), \left(b \cdot b + \mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)\right)\right)}}{3 \cdot a}\]
Applied associate--l+24.7
\[\leadsto \frac{\frac{\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(\left(c \cdot a\right) \cdot -3\right) + \frac{\color{blue}{\left(\left(-3 \cdot \left(c \cdot a\right)\right) \cdot \sqrt{\mathsf{fma}\left(-3, \left(c \cdot a\right), \left(b \cdot b\right)\right)} + \left(\left(b \cdot b\right) \cdot \sqrt{\mathsf{fma}\left(-3, \left(c \cdot a\right), \left(b \cdot b\right)\right)} - b \cdot \left(b \cdot b\right)\right)\right)} \cdot \left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right)\right)}{\left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) + \left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right) + \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right)\right)}}{\mathsf{fma}\left(b, \left(\sqrt{\mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)}\right), \left(b \cdot b + \mathsf{fma}\left(c, \left(a \cdot -3\right), \left(b \cdot b\right)\right)\right)\right)}}{3 \cdot a}\]
Final simplification24.7
\[\leadsto \frac{\frac{\frac{\left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right)\right) \cdot \left(\sqrt{\mathsf{fma}\left(-3, \left(c \cdot a\right), \left(b \cdot b\right)\right)} \cdot \left(\left(c \cdot a\right) \cdot -3\right) + \left(\sqrt{\mathsf{fma}\left(-3, \left(c \cdot a\right), \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right) - b \cdot \left(b \cdot b\right)\right)\right)}{\left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) \cdot \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right) + \left(\left(b \cdot \left(b \cdot b\right)\right) \cdot \left(b \cdot \left(b \cdot b\right)\right) + \left(b \cdot \left(b \cdot b\right)\right) \cdot \left(\sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(b \cdot b\right)\right)\right)} + \sqrt{\mathsf{fma}\left(\left(c \cdot a\right), -3, \left(b \cdot b\right)\right)} \cdot \left(\left(c \cdot a\right) \cdot -3\right)}{\mathsf{fma}\left(b, \left(\sqrt{\mathsf{fma}\left(c, \left(-3 \cdot a\right), \left(b \cdot b\right)\right)}\right), \left(b \cdot b + \mathsf{fma}\left(c, \left(-3 \cdot a\right), \left(b \cdot b\right)\right)\right)\right)}}{a \cdot 3}\]