Initial program 0.1
\[\frac{x}{x + 1} - \frac{x + 1}{x - 1}\]
- Using strategy
rm Applied flip3--0.1
\[\leadsto \color{blue}{\frac{{\left(\frac{x}{x + 1}\right)}^{3} - {\left(\frac{x + 1}{x - 1}\right)}^{3}}{\frac{x}{x + 1} \cdot \frac{x}{x + 1} + \left(\frac{x + 1}{x - 1} \cdot \frac{x + 1}{x - 1} + \frac{x}{x + 1} \cdot \frac{x + 1}{x - 1}\right)}}\]
Simplified0.1
\[\leadsto \frac{\color{blue}{\frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} \cdot \frac{x}{1 + x}\right) - \frac{1 + x}{x - 1} \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)}}{\frac{x}{x + 1} \cdot \frac{x}{x + 1} + \left(\frac{x + 1}{x - 1} \cdot \frac{x + 1}{x - 1} + \frac{x}{x + 1} \cdot \frac{x + 1}{x - 1}\right)}\]
Simplified0.1
\[\leadsto \frac{\frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} \cdot \frac{x}{1 + x}\right) - \frac{1 + x}{x - 1} \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)}{\color{blue}{\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)}}\]
- Using strategy
rm Applied associate-*l/0.1
\[\leadsto \frac{\frac{x}{1 + x} \cdot \color{blue}{\frac{x \cdot \frac{x}{1 + x}}{1 + x}} - \frac{1 + x}{x - 1} \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)}{\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)}\]
Applied associate-*r/0.1
\[\leadsto \frac{\color{blue}{\frac{\frac{x}{1 + x} \cdot \left(x \cdot \frac{x}{1 + x}\right)}{1 + x}} - \frac{1 + x}{x - 1} \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)}{\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)}\]
- Using strategy
rm Applied associate-*l/0.1
\[\leadsto \frac{\frac{\frac{x}{1 + x} \cdot \left(x \cdot \frac{x}{1 + x}\right)}{1 + x} - \color{blue}{\frac{\left(1 + x\right) \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)}{x - 1}}}{\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)}\]
Applied frac-sub0.1
\[\leadsto \frac{\color{blue}{\frac{\left(\frac{x}{1 + x} \cdot \left(x \cdot \frac{x}{1 + x}\right)\right) \cdot \left(x - 1\right) - \left(1 + x\right) \cdot \left(\left(1 + x\right) \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)\right)}{\left(1 + x\right) \cdot \left(x - 1\right)}}}{\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)}\]
Applied associate-/l/0.1
\[\leadsto \color{blue}{\frac{\left(\frac{x}{1 + x} \cdot \left(x \cdot \frac{x}{1 + x}\right)\right) \cdot \left(x - 1\right) - \left(1 + x\right) \cdot \left(\left(1 + x\right) \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)\right)}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}}\]
- Using strategy
rm Applied flip3-+0.1
\[\leadsto \frac{\left(\frac{x}{1 + x} \cdot \left(x \cdot \frac{x}{1 + x}\right)\right) \cdot \left(x - 1\right) - \left(1 + x\right) \cdot \left(\color{blue}{\frac{{1}^{3} + {x}^{3}}{1 \cdot 1 + \left(x \cdot x - 1 \cdot x\right)}} \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)\right)}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}\]
Applied associate-*l/0.1
\[\leadsto \frac{\left(\frac{x}{1 + x} \cdot \left(x \cdot \frac{x}{1 + x}\right)\right) \cdot \left(x - 1\right) - \left(1 + x\right) \cdot \color{blue}{\frac{\left({1}^{3} + {x}^{3}\right) \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)}{1 \cdot 1 + \left(x \cdot x - 1 \cdot x\right)}}}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}\]
Applied flip-+0.1
\[\leadsto \frac{\left(\frac{x}{1 + x} \cdot \left(x \cdot \frac{x}{1 + x}\right)\right) \cdot \left(x - 1\right) - \color{blue}{\frac{1 \cdot 1 - x \cdot x}{1 - x}} \cdot \frac{\left({1}^{3} + {x}^{3}\right) \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)}{1 \cdot 1 + \left(x \cdot x - 1 \cdot x\right)}}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}\]
Applied frac-times0.1
\[\leadsto \frac{\left(\frac{x}{1 + x} \cdot \left(x \cdot \frac{x}{1 + x}\right)\right) \cdot \left(x - 1\right) - \color{blue}{\frac{\left(1 \cdot 1 - x \cdot x\right) \cdot \left(\left({1}^{3} + {x}^{3}\right) \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)\right)}{\left(1 - x\right) \cdot \left(1 \cdot 1 + \left(x \cdot x - 1 \cdot x\right)\right)}}}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}\]
Applied associate-*r/0.1
\[\leadsto \frac{\left(\frac{x}{1 + x} \cdot \color{blue}{\frac{x \cdot x}{1 + x}}\right) \cdot \left(x - 1\right) - \frac{\left(1 \cdot 1 - x \cdot x\right) \cdot \left(\left({1}^{3} + {x}^{3}\right) \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)\right)}{\left(1 - x\right) \cdot \left(1 \cdot 1 + \left(x \cdot x - 1 \cdot x\right)\right)}}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}\]
Applied frac-times0.1
\[\leadsto \frac{\color{blue}{\frac{x \cdot \left(x \cdot x\right)}{\left(1 + x\right) \cdot \left(1 + x\right)}} \cdot \left(x - 1\right) - \frac{\left(1 \cdot 1 - x \cdot x\right) \cdot \left(\left({1}^{3} + {x}^{3}\right) \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)\right)}{\left(1 - x\right) \cdot \left(1 \cdot 1 + \left(x \cdot x - 1 \cdot x\right)\right)}}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}\]
Applied associate-*l/0.1
\[\leadsto \frac{\color{blue}{\frac{\left(x \cdot \left(x \cdot x\right)\right) \cdot \left(x - 1\right)}{\left(1 + x\right) \cdot \left(1 + x\right)}} - \frac{\left(1 \cdot 1 - x \cdot x\right) \cdot \left(\left({1}^{3} + {x}^{3}\right) \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)\right)}{\left(1 - x\right) \cdot \left(1 \cdot 1 + \left(x \cdot x - 1 \cdot x\right)\right)}}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}\]
Applied frac-sub0.1
\[\leadsto \frac{\color{blue}{\frac{\left(\left(x \cdot \left(x \cdot x\right)\right) \cdot \left(x - 1\right)\right) \cdot \left(\left(1 - x\right) \cdot \left(1 \cdot 1 + \left(x \cdot x - 1 \cdot x\right)\right)\right) - \left(\left(1 + x\right) \cdot \left(1 + x\right)\right) \cdot \left(\left(1 \cdot 1 - x \cdot x\right) \cdot \left(\left({1}^{3} + {x}^{3}\right) \cdot \left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right)\right)\right)}{\left(\left(1 + x\right) \cdot \left(1 + x\right)\right) \cdot \left(\left(1 - x\right) \cdot \left(1 \cdot 1 + \left(x \cdot x - 1 \cdot x\right)\right)\right)}}}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}\]
Simplified0.1
\[\leadsto \frac{\frac{\color{blue}{\left(\left(x \cdot x\right) \cdot x\right) \cdot \left(\left(x - 1\right) \cdot \left(\left(1 - x\right) \cdot \left(\left(1 + x \cdot x\right) - x\right)\right)\right) - \left(\left(1 - x \cdot x\right) \cdot \left(\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right) \cdot \left(1 + \left(x \cdot x\right) \cdot x\right)\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(1 + x\right)\right)}}{\left(\left(1 + x\right) \cdot \left(1 + x\right)\right) \cdot \left(\left(1 - x\right) \cdot \left(1 \cdot 1 + \left(x \cdot x - 1 \cdot x\right)\right)\right)}}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}\]
Simplified0.1
\[\leadsto \frac{\frac{\left(\left(x \cdot x\right) \cdot x\right) \cdot \left(\left(x - 1\right) \cdot \left(\left(1 - x\right) \cdot \left(\left(1 + x \cdot x\right) - x\right)\right)\right) - \left(\left(1 - x \cdot x\right) \cdot \left(\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1}\right) \cdot \left(1 + \left(x \cdot x\right) \cdot x\right)\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(1 + x\right)\right)}{\color{blue}{\left(\left(1 + x\right) \cdot \left(1 + x\right)\right) \cdot \left(\left(1 - x\right) \cdot \left(\left(1 + x \cdot x\right) - x\right)\right)}}}{\left(\frac{1 + x}{x - 1} \cdot \frac{1 + x}{x - 1} + \frac{x}{1 + x} \cdot \left(\frac{x}{1 + x} + \frac{1 + x}{x - 1}\right)\right) \cdot \left(\left(1 + x\right) \cdot \left(x - 1\right)\right)}\]