Initial program 0.2
\[\left({\left(a \cdot a + b \cdot b\right)}^{2} + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Simplified0.2
\[\leadsto \color{blue}{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\]
- Using strategy
rm Applied add-cube-cbrt0.5
\[\leadsto \color{blue}{\left(\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\right) \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}}\]
- Using strategy
rm Applied add-cube-cbrt0.5
\[\leadsto \left(\sqrt[3]{\color{blue}{\left(\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\right) \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}}} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\right) \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\]
Applied cbrt-prod0.6
\[\leadsto \left(\color{blue}{\left(\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}} \cdot \sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}}\right)} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\right) \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\]
Applied associate-*l*0.6
\[\leadsto \color{blue}{\left(\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}} \cdot \left(\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\right)\right)} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\]
- Using strategy
rm Applied add-cube-cbrt0.7
\[\leadsto \left(\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}} \cdot \left(\color{blue}{\left(\left(\sqrt[3]{\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}}} \cdot \sqrt[3]{\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}}}\right) \cdot \sqrt[3]{\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}}}\right)} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\right)\right) \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\]
Final simplification0.7
\[\leadsto \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)} \cdot \left(\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)} \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}} \cdot \left(\left(\sqrt[3]{\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}}} \cdot \left(\sqrt[3]{\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}}} \cdot \sqrt[3]{\sqrt[3]{\sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}}}\right)\right) \cdot \sqrt[3]{\mathsf{fma}\left(\left(\mathsf{fma}\left(\left(b \cdot b\right), \left(\mathsf{fma}\left(-3, a, 1\right)\right), \left(\mathsf{fma}\left(\left(a \cdot a\right), a, \left(a \cdot a\right)\right)\right)\right)\right), 4, \left(\mathsf{fma}\left(\left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), \left(\mathsf{fma}\left(b, b, \left(a \cdot a\right)\right)\right), -1\right)\right)\right)}\right)\right)\]