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)
\]
- Using strategy
rm Applied associate-*l*_binary640.5
\[\leadsto 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) + \color{blue}{x1 \cdot \left(x1 \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)}\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.5
\[\leadsto 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) + x1 \cdot \color{blue}{\left(x1 \cdot \left(4 \cdot \frac{x2 \cdot 2 + \left(x1 \cdot \left(x1 \cdot 3\right) - x1\right)}{x1 \cdot x1 + 1} - 6\right)\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)
\]
- Using strategy
rm Applied associate-*r/_binary640.5
\[\leadsto x1 + \left(\left(\left(\left(\left(\color{blue}{\frac{\left(2 \cdot x1\right) \cdot \left(\left(\left(3 \cdot x1\right) \cdot x1 + 2 \cdot x2\right) - x1\right)}{x1 \cdot x1 + 1}} \cdot \left(\frac{\left(\left(3 \cdot x1\right) \cdot x1 + 2 \cdot x2\right) - x1}{x1 \cdot x1 + 1} - 3\right) + x1 \cdot \left(x1 \cdot \left(4 \cdot \frac{x2 \cdot 2 + \left(x1 \cdot \left(x1 \cdot 3\right) - x1\right)}{x1 \cdot x1 + 1} - 6\right)\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)
\]
Applied associate-*l/_binary640.5
\[\leadsto x1 + \left(\left(\left(\left(\left(\color{blue}{\frac{\left(\left(2 \cdot x1\right) \cdot \left(\left(\left(3 \cdot x1\right) \cdot x1 + 2 \cdot x2\right) - x1\right)\right) \cdot \left(\frac{\left(\left(3 \cdot x1\right) \cdot x1 + 2 \cdot x2\right) - x1}{x1 \cdot x1 + 1} - 3\right)}{x1 \cdot x1 + 1}} + x1 \cdot \left(x1 \cdot \left(4 \cdot \frac{x2 \cdot 2 + \left(x1 \cdot \left(x1 \cdot 3\right) - x1\right)}{x1 \cdot x1 + 1} - 6\right)\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.5
\[\leadsto x1 + \left(\left(\left(\left(\left(\frac{\color{blue}{\left(\frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2}{x1 \cdot x1 + 1} - 3\right) \cdot \left(\left(\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2\right) \cdot \left(x1 \cdot 2\right)\right)}}{x1 \cdot x1 + 1} + x1 \cdot \left(x1 \cdot \left(4 \cdot \frac{x2 \cdot 2 + \left(x1 \cdot \left(x1 \cdot 3\right) - x1\right)}{x1 \cdot x1 + 1} - 6\right)\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)
\]
- Using strategy
rm Applied *-un-lft-identity_binary640.5
\[\leadsto x1 + \left(\left(\left(\left(\left(\frac{\left(\frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2}{x1 \cdot x1 + 1} - 3\right) \cdot \left(\left(\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2\right) \cdot \left(x1 \cdot 2\right)\right)}{x1 \cdot x1 + 1} + x1 \cdot \left(x1 \cdot \left(4 \cdot \frac{x2 \cdot 2 + \left(x1 \cdot \left(x1 \cdot 3\right) - x1\right)}{x1 \cdot x1 + 1} - \color{blue}{1 \cdot 6}\right)\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)
\]
Applied cancel-sign-sub-inv_binary640.5
\[\leadsto x1 + \left(\left(\left(\left(\left(\frac{\left(\frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2}{x1 \cdot x1 + 1} - 3\right) \cdot \left(\left(\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2\right) \cdot \left(x1 \cdot 2\right)\right)}{x1 \cdot x1 + 1} + x1 \cdot \left(x1 \cdot \color{blue}{\left(4 \cdot \frac{x2 \cdot 2 + \left(x1 \cdot \left(x1 \cdot 3\right) - x1\right)}{x1 \cdot x1 + 1} + \left(-1\right) \cdot 6\right)}\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)
\]
Applied distribute-lft-in_binary640.5
\[\leadsto x1 + \left(\left(\left(\left(\left(\frac{\left(\frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2}{x1 \cdot x1 + 1} - 3\right) \cdot \left(\left(\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2\right) \cdot \left(x1 \cdot 2\right)\right)}{x1 \cdot x1 + 1} + x1 \cdot \color{blue}{\left(x1 \cdot \left(4 \cdot \frac{x2 \cdot 2 + \left(x1 \cdot \left(x1 \cdot 3\right) - x1\right)}{x1 \cdot x1 + 1}\right) + x1 \cdot \left(\left(-1\right) \cdot 6\right)\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)
\]
Applied distribute-lft-in_binary640.5
\[\leadsto x1 + \left(\left(\left(\left(\left(\frac{\left(\frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2}{x1 \cdot x1 + 1} - 3\right) \cdot \left(\left(\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2\right) \cdot \left(x1 \cdot 2\right)\right)}{x1 \cdot x1 + 1} + \color{blue}{\left(x1 \cdot \left(x1 \cdot \left(4 \cdot \frac{x2 \cdot 2 + \left(x1 \cdot \left(x1 \cdot 3\right) - x1\right)}{x1 \cdot x1 + 1}\right)\right) + x1 \cdot \left(x1 \cdot \left(\left(-1\right) \cdot 6\right)\right)\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)
\]
Applied associate-+r+_binary640.5
\[\leadsto x1 + \left(\left(\left(\left(\color{blue}{\left(\left(\frac{\left(\frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2}{x1 \cdot x1 + 1} - 3\right) \cdot \left(\left(\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2\right) \cdot \left(x1 \cdot 2\right)\right)}{x1 \cdot x1 + 1} + x1 \cdot \left(x1 \cdot \left(4 \cdot \frac{x2 \cdot 2 + \left(x1 \cdot \left(x1 \cdot 3\right) - x1\right)}{x1 \cdot x1 + 1}\right)\right)\right) + x1 \cdot \left(x1 \cdot \left(\left(-1\right) \cdot 6\right)\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.5
\[\leadsto x1 + \left(\left(\left(\left(\left(\color{blue}{\left(\frac{\left(\frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2}{x1 \cdot x1 + 1} - 3\right) \cdot \left(\left(\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2\right) \cdot \left(x1 \cdot 2\right)\right)}{x1 \cdot x1 + 1} + x1 \cdot \left(x1 \cdot \left(4 \cdot \frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2}{x1 \cdot x1 + 1}\right)\right)\right)} + x1 \cdot \left(x1 \cdot \left(\left(-1\right) \cdot 6\right)\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)
\]
Final simplification0.5
\[\leadsto x1 + \left(\left(x1 + \left(\left(\left(x1 \cdot x1 + 1\right) \cdot \left(\left(\frac{\left(\frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2}{x1 \cdot x1 + 1} - 3\right) \cdot \left(\left(\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2\right) \cdot \left(x1 \cdot 2\right)\right)}{x1 \cdot x1 + 1} + x1 \cdot \left(x1 \cdot \left(\frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x1\right) + x2 \cdot 2}{x1 \cdot x1 + 1} \cdot 4\right)\right)\right) + x1 \cdot \left(x1 \cdot -6\right)\right) + \left(x1 \cdot \left(x1 \cdot 3\right)\right) \cdot \frac{\left(x1 \cdot \left(x1 \cdot 3\right) + x2 \cdot 2\right) - x1}{x1 \cdot x1 + 1}\right) + x1 \cdot \left(x1 \cdot x1\right)\right)\right) + 3 \cdot \frac{\left(x1 \cdot \left(x1 \cdot 3\right) - x2 \cdot 2\right) - x1}{x1 \cdot x1 + 1}\right)
\]