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)\]
Initial simplification0.5
\[\leadsto x1 + (\left((x1 \cdot x1 + 1)_*\right) \cdot \left((\left((4 \cdot \left(\frac{(3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_*}{(x1 \cdot x1 + 1)_*}\right) + -6)_*\right) \cdot \left(x1 \cdot x1\right) + \left(\frac{\frac{(x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*}{(x1 \cdot x1 + 1)_*} - \left(\frac{x1}{(x1 \cdot x1 + 1)_*} + 3\right)}{\frac{(x1 \cdot x1 + 1)_*}{(\left((x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*\right) \cdot \left(x1 \cdot 2\right) + \left(\left(x1 \cdot 2\right) \cdot \left(-x1\right)\right))_*}}\right))_*\right) + \left(\frac{3}{\frac{(x1 \cdot x1 + 1)_*}{x1 \cdot x1}} \cdot (3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_* + (\left((x1 \cdot x1 + 1)_*\right) \cdot x1 + \left(\frac{3}{(x1 \cdot x1 + 1)_*} \cdot (\left(3 \cdot x1\right) \cdot x1 + \left(-2 \cdot x2 - x1\right))_*\right))_*\right))_*\]
- Using strategy
rm Applied add-sqr-sqrt0.5
\[\leadsto x1 + (\left((x1 \cdot x1 + 1)_*\right) \cdot \left((\left((4 \cdot \left(\frac{(3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_*}{(x1 \cdot x1 + 1)_*}\right) + -6)_*\right) \cdot \left(x1 \cdot x1\right) + \left(\frac{\frac{(x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*}{\color{blue}{\sqrt{(x1 \cdot x1 + 1)_*} \cdot \sqrt{(x1 \cdot x1 + 1)_*}}} - \left(\frac{x1}{(x1 \cdot x1 + 1)_*} + 3\right)}{\frac{(x1 \cdot x1 + 1)_*}{(\left((x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*\right) \cdot \left(x1 \cdot 2\right) + \left(\left(x1 \cdot 2\right) \cdot \left(-x1\right)\right))_*}}\right))_*\right) + \left(\frac{3}{\frac{(x1 \cdot x1 + 1)_*}{x1 \cdot x1}} \cdot (3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_* + (\left((x1 \cdot x1 + 1)_*\right) \cdot x1 + \left(\frac{3}{(x1 \cdot x1 + 1)_*} \cdot (\left(3 \cdot x1\right) \cdot x1 + \left(-2 \cdot x2 - x1\right))_*\right))_*\right))_*\]
Applied *-un-lft-identity0.5
\[\leadsto x1 + (\left((x1 \cdot x1 + 1)_*\right) \cdot \left((\left((4 \cdot \left(\frac{(3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_*}{(x1 \cdot x1 + 1)_*}\right) + -6)_*\right) \cdot \left(x1 \cdot x1\right) + \left(\frac{\frac{\color{blue}{1 \cdot (x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*}}{\sqrt{(x1 \cdot x1 + 1)_*} \cdot \sqrt{(x1 \cdot x1 + 1)_*}} - \left(\frac{x1}{(x1 \cdot x1 + 1)_*} + 3\right)}{\frac{(x1 \cdot x1 + 1)_*}{(\left((x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*\right) \cdot \left(x1 \cdot 2\right) + \left(\left(x1 \cdot 2\right) \cdot \left(-x1\right)\right))_*}}\right))_*\right) + \left(\frac{3}{\frac{(x1 \cdot x1 + 1)_*}{x1 \cdot x1}} \cdot (3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_* + (\left((x1 \cdot x1 + 1)_*\right) \cdot x1 + \left(\frac{3}{(x1 \cdot x1 + 1)_*} \cdot (\left(3 \cdot x1\right) \cdot x1 + \left(-2 \cdot x2 - x1\right))_*\right))_*\right))_*\]
Applied times-frac0.5
\[\leadsto x1 + (\left((x1 \cdot x1 + 1)_*\right) \cdot \left((\left((4 \cdot \left(\frac{(3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_*}{(x1 \cdot x1 + 1)_*}\right) + -6)_*\right) \cdot \left(x1 \cdot x1\right) + \left(\frac{\color{blue}{\frac{1}{\sqrt{(x1 \cdot x1 + 1)_*}} \cdot \frac{(x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*}{\sqrt{(x1 \cdot x1 + 1)_*}}} - \left(\frac{x1}{(x1 \cdot x1 + 1)_*} + 3\right)}{\frac{(x1 \cdot x1 + 1)_*}{(\left((x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*\right) \cdot \left(x1 \cdot 2\right) + \left(\left(x1 \cdot 2\right) \cdot \left(-x1\right)\right))_*}}\right))_*\right) + \left(\frac{3}{\frac{(x1 \cdot x1 + 1)_*}{x1 \cdot x1}} \cdot (3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_* + (\left((x1 \cdot x1 + 1)_*\right) \cdot x1 + \left(\frac{3}{(x1 \cdot x1 + 1)_*} \cdot (\left(3 \cdot x1\right) \cdot x1 + \left(-2 \cdot x2 - x1\right))_*\right))_*\right))_*\]
Applied fma-neg0.5
\[\leadsto x1 + (\left((x1 \cdot x1 + 1)_*\right) \cdot \left((\left((4 \cdot \left(\frac{(3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_*}{(x1 \cdot x1 + 1)_*}\right) + -6)_*\right) \cdot \left(x1 \cdot x1\right) + \left(\frac{\color{blue}{(\left(\frac{1}{\sqrt{(x1 \cdot x1 + 1)_*}}\right) \cdot \left(\frac{(x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*}{\sqrt{(x1 \cdot x1 + 1)_*}}\right) + \left(-\left(\frac{x1}{(x1 \cdot x1 + 1)_*} + 3\right)\right))_*}}{\frac{(x1 \cdot x1 + 1)_*}{(\left((x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*\right) \cdot \left(x1 \cdot 2\right) + \left(\left(x1 \cdot 2\right) \cdot \left(-x1\right)\right))_*}}\right))_*\right) + \left(\frac{3}{\frac{(x1 \cdot x1 + 1)_*}{x1 \cdot x1}} \cdot (3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_* + (\left((x1 \cdot x1 + 1)_*\right) \cdot x1 + \left(\frac{3}{(x1 \cdot x1 + 1)_*} \cdot (\left(3 \cdot x1\right) \cdot x1 + \left(-2 \cdot x2 - x1\right))_*\right))_*\right))_*\]
Simplified0.5
\[\leadsto x1 + (\left((x1 \cdot x1 + 1)_*\right) \cdot \left((\left((4 \cdot \left(\frac{(3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_*}{(x1 \cdot x1 + 1)_*}\right) + -6)_*\right) \cdot \left(x1 \cdot x1\right) + \left(\frac{(\color{blue}{\left(\frac{1}{\sqrt{1^2 + x1^2}^*}\right)} \cdot \left(\frac{(x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*}{\sqrt{(x1 \cdot x1 + 1)_*}}\right) + \left(-\left(\frac{x1}{(x1 \cdot x1 + 1)_*} + 3\right)\right))_*}{\frac{(x1 \cdot x1 + 1)_*}{(\left((x1 \cdot \left(3 \cdot x1\right) + \left(x2 \cdot 2\right))_*\right) \cdot \left(x1 \cdot 2\right) + \left(\left(x1 \cdot 2\right) \cdot \left(-x1\right)\right))_*}}\right))_*\right) + \left(\frac{3}{\frac{(x1 \cdot x1 + 1)_*}{x1 \cdot x1}} \cdot (3 \cdot \left(x1 \cdot x1\right) + \left(x2 \cdot 2 - x1\right))_* + (\left((x1 \cdot x1 + 1)_*\right) \cdot x1 + \left(\frac{3}{(x1 \cdot x1 + 1)_*} \cdot (\left(3 \cdot x1\right) \cdot x1 + \left(-2 \cdot x2 - x1\right))_*\right))_*\right))_*\]
Final simplification0.5
\[\leadsto x1 + (\left((x1 \cdot x1 + 1)_*\right) \cdot \left((\left((4 \cdot \left(\frac{(3 \cdot \left(x1 \cdot x1\right) + \left(2 \cdot x2 - x1\right))_*}{(x1 \cdot x1 + 1)_*}\right) + -6)_*\right) \cdot \left(x1 \cdot x1\right) + \left(\frac{(\left(\frac{1}{\sqrt{1^2 + x1^2}^*}\right) \cdot \left(\frac{(x1 \cdot \left(3 \cdot x1\right) + \left(2 \cdot x2\right))_*}{\sqrt{(x1 \cdot x1 + 1)_*}}\right) + \left(-3 + \frac{-x1}{(x1 \cdot x1 + 1)_*}\right))_*}{\frac{(x1 \cdot x1 + 1)_*}{(\left((x1 \cdot \left(3 \cdot x1\right) + \left(2 \cdot x2\right))_*\right) \cdot \left(2 \cdot x1\right) + \left(x1 \cdot \left(-2 \cdot x1\right)\right))_*}}\right))_*\right) + \left((3 \cdot \left(x1 \cdot x1\right) + \left(2 \cdot x2 - x1\right))_* \cdot \frac{3}{\frac{(x1 \cdot x1 + 1)_*}{x1 \cdot x1}} + (\left((x1 \cdot x1 + 1)_*\right) \cdot x1 + \left((\left(3 \cdot x1\right) \cdot x1 + \left(-2 \cdot x2 - x1\right))_* \cdot \frac{3}{(x1 \cdot x1 + 1)_*}\right))_*\right))_*\]