Initial program 0.5
\[x1 + \left(\left(\left(\left(\left(\left(\left(2 \cdot x1\right) \cdot \frac{\left(\left(3 \cdot x1\right) \cdot x1 + 2 \cdot x2\right) - x1}{x1 \cdot x1 + 1}\right) \cdot \left(\frac{\left(\left(3 \cdot x1\right) \cdot x1 + 2 \cdot x2\right) - x1}{x1 \cdot x1 + 1} - 3\right) + \left(x1 \cdot x1\right) \cdot \left(4 \cdot \frac{\left(\left(3 \cdot x1\right) \cdot x1 + 2 \cdot x2\right) - x1}{x1 \cdot x1 + 1} - 6\right)\right) \cdot \left(x1 \cdot x1 + 1\right) + \left(\left(3 \cdot x1\right) \cdot x1\right) \cdot \frac{\left(\left(3 \cdot x1\right) \cdot x1 + 2 \cdot x2\right) - x1}{x1 \cdot x1 + 1}\right) + \left(x1 \cdot x1\right) \cdot x1\right) + x1\right) + 3 \cdot \frac{\left(\left(3 \cdot x1\right) \cdot x1 - 2 \cdot x2\right) - x1}{x1 \cdot x1 + 1}\right)\]
Simplified0.3
\[\leadsto \color{blue}{\mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)} - 3, \left(x1 \cdot x1\right) \cdot \mathsf{fma}\left(4, \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, -6\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)}\]
- Using strategy
rm Applied fma-udef0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)} - 3, \left(x1 \cdot x1\right) \cdot \color{blue}{\left(4 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)} + \left(-6\right)\right)}\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
Applied distribute-lft-in0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)} - 3, \color{blue}{\left(x1 \cdot x1\right) \cdot \left(4 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}\right) + \left(x1 \cdot x1\right) \cdot \left(-6\right)}\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
- Using strategy
rm Applied associate-*l*0.2
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)} - 3, \left(x1 \cdot x1\right) \cdot \left(4 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}\right) + \color{blue}{x1 \cdot \left(x1 \cdot \left(-6\right)\right)}\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
- Using strategy
rm Applied associate-*r/0.2
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)} - 3, \left(x1 \cdot x1\right) \cdot \color{blue}{\frac{4 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}} + x1 \cdot \left(x1 \cdot \left(-6\right)\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
Applied associate-*r/0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)} - 3, \color{blue}{\frac{\left(x1 \cdot x1\right) \cdot \left(4 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)\right)}{\mathsf{fma}\left(x1, x1, 1\right)}} + x1 \cdot \left(x1 \cdot \left(-6\right)\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
- Using strategy
rm Applied add-cube-cbrt0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)} - \color{blue}{\left(\sqrt[3]{3} \cdot \sqrt[3]{3}\right) \cdot \sqrt[3]{3}}, \frac{\left(x1 \cdot x1\right) \cdot \left(4 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)\right)}{\mathsf{fma}\left(x1, x1, 1\right)} + x1 \cdot \left(x1 \cdot \left(-6\right)\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
Applied add-sqr-sqrt0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\color{blue}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \sqrt{\mathsf{fma}\left(x1, x1, 1\right)}}} - \left(\sqrt[3]{3} \cdot \sqrt[3]{3}\right) \cdot \sqrt[3]{3}, \frac{\left(x1 \cdot x1\right) \cdot \left(4 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)\right)}{\mathsf{fma}\left(x1, x1, 1\right)} + x1 \cdot \left(x1 \cdot \left(-6\right)\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
Applied *-un-lft-identity0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \frac{\color{blue}{1 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)}}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \sqrt{\mathsf{fma}\left(x1, x1, 1\right)}} - \left(\sqrt[3]{3} \cdot \sqrt[3]{3}\right) \cdot \sqrt[3]{3}, \frac{\left(x1 \cdot x1\right) \cdot \left(4 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)\right)}{\mathsf{fma}\left(x1, x1, 1\right)} + x1 \cdot \left(x1 \cdot \left(-6\right)\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
Applied times-frac0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \color{blue}{\frac{1}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)}} \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)}}} - \left(\sqrt[3]{3} \cdot \sqrt[3]{3}\right) \cdot \sqrt[3]{3}, \frac{\left(x1 \cdot x1\right) \cdot \left(4 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)\right)}{\mathsf{fma}\left(x1, x1, 1\right)} + x1 \cdot \left(x1 \cdot \left(-6\right)\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
Applied prod-diff0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \color{blue}{\mathsf{fma}\left(\frac{1}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)}}, \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)}}, -\sqrt[3]{3} \cdot \left(\sqrt[3]{3} \cdot \sqrt[3]{3}\right)\right) + \mathsf{fma}\left(-\sqrt[3]{3}, \sqrt[3]{3} \cdot \sqrt[3]{3}, \sqrt[3]{3} \cdot \left(\sqrt[3]{3} \cdot \sqrt[3]{3}\right)\right)}, \frac{\left(x1 \cdot x1\right) \cdot \left(4 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)\right)}{\mathsf{fma}\left(x1, x1, 1\right)} + x1 \cdot \left(x1 \cdot \left(-6\right)\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
Simplified0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \color{blue}{\mathsf{fma}\left(\frac{1}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)}}, \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)}}, -3\right)} + \mathsf{fma}\left(-\sqrt[3]{3}, \sqrt[3]{3} \cdot \sqrt[3]{3}, \sqrt[3]{3} \cdot \left(\sqrt[3]{3} \cdot \sqrt[3]{3}\right)\right), \frac{\left(x1 \cdot x1\right) \cdot \left(4 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)\right)}{\mathsf{fma}\left(x1, x1, 1\right)} + x1 \cdot \left(x1 \cdot \left(-6\right)\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
Simplified0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \mathsf{fma}\left(\frac{1}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)}}, \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)}}, -3\right) + \color{blue}{\left(\left(-3\right) + 3\right)}, \frac{\left(x1 \cdot x1\right) \cdot \left(4 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)\right)}{\mathsf{fma}\left(x1, x1, 1\right)} + x1 \cdot \left(x1 \cdot \left(-6\right)\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]
Final simplification0.3
\[\leadsto \mathsf{fma}\left(3, \frac{\left(3 \cdot x1\right) \cdot x1 - \mathsf{fma}\left(2, x2, x1\right)}{\mathsf{fma}\left(x1, x1, 1\right)}, \left(x1 + x1\right) + \mathsf{fma}\left(\mathsf{fma}\left(x1, x1, 1\right), \mathsf{fma}\left(\frac{2 \cdot x1}{\mathsf{fma}\left(x1, x1, 1\right)} \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right), \mathsf{fma}\left(\frac{1}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)}}, \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\sqrt{\mathsf{fma}\left(x1, x1, 1\right)}}, -3\right) + \left(\left(-3\right) + 3\right), \frac{\left(x1 \cdot x1\right) \cdot \left(4 \cdot \left(\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1\right)\right)}{\mathsf{fma}\left(x1, x1, 1\right)} + x1 \cdot \left(x1 \cdot \left(-6\right)\right)\right), \mathsf{fma}\left(3 \cdot x1, x1 \cdot \frac{\mathsf{fma}\left(3 \cdot x1, x1, 2 \cdot x2\right) - x1}{\mathsf{fma}\left(x1, x1, 1\right)}, {x1}^{3}\right)\right)\right)\]