Initial program 9.8
\[\left(\frac{1}{x + 1} - \frac{2}{x}\right) + \frac{1}{x - 1}
\]
Simplified9.8
\[\leadsto \color{blue}{\frac{1}{1 + x} - \left(\frac{2}{x} - \frac{1}{x + -1}\right)}
\]
Proof
(-.f64 (/.f64 1 (+.f64 1 x)) (-.f64 (/.f64 2 x) (/.f64 1 (+.f64 x -1)))): 0 points increase in error, 0 points decrease in error
(-.f64 (/.f64 1 (Rewrite<= +-commutative_binary64 (+.f64 x 1))) (-.f64 (/.f64 2 x) (/.f64 1 (+.f64 x -1)))): 0 points increase in error, 10 points decrease in error
(-.f64 (/.f64 1 (+.f64 x 1)) (-.f64 (/.f64 2 x) (/.f64 1 (+.f64 x (Rewrite<= metadata-eval (neg.f64 1)))))): 0 points increase in error, 10 points decrease in error
(-.f64 (/.f64 1 (+.f64 x 1)) (-.f64 (/.f64 2 x) (/.f64 1 (Rewrite<= sub-neg_binary64 (-.f64 x 1))))): 0 points increase in error, 0 points decrease in error
(-.f64 (/.f64 1 (+.f64 x 1)) (Rewrite<= *-lft-identity_binary64 (*.f64 1 (-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1)))))): 0 points increase in error, 0 points decrease in error
(Rewrite=> cancel-sign-sub-inv_binary64 (+.f64 (/.f64 1 (+.f64 x 1)) (*.f64 (neg.f64 1) (-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1)))))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 1 (+.f64 x 1)) (*.f64 (Rewrite=> metadata-eval -1) (-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1))))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 1 (+.f64 x 1)) (Rewrite<= neg-mul-1_binary64 (neg.f64 (-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1)))))): 0 points increase in error, 0 points decrease in error
(Rewrite<= sub-neg_binary64 (-.f64 (/.f64 1 (+.f64 x 1)) (-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1))))): 0 points increase in error, 0 points decrease in error
(Rewrite<= associate-+l-_binary64 (+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))): 0 points increase in error, 0 points decrease in error
Applied egg-rr26.4
\[\leadsto \frac{1}{1 + x} - \color{blue}{\frac{\frac{-2 + \left(2 \cdot x - x\right)}{x}}{1 - x \cdot x} \cdot \left(-1 - x\right)}
\]
Applied egg-rr25.5
\[\leadsto \color{blue}{\frac{\left(-\left(1 - x \cdot x\right)\right) - \left(-1 - x\right) \cdot \frac{\left(-2 + x\right) \cdot \left(-1 - x\right)}{x}}{\left(-1 - x\right) \cdot \left(1 - x \cdot x\right)}}
\]
Simplified25.5
\[\leadsto \color{blue}{\frac{\frac{\left(-1 + x \cdot x\right) + \left(\left(x + -2\right) \cdot \frac{-1 - x}{x}\right) \cdot \left(x + 1\right)}{-1 - x}}{1 - x \cdot x}}
\]
Proof
(/.f64 (/.f64 (+.f64 (+.f64 -1 (*.f64 x x)) (*.f64 (*.f64 (+.f64 x -2) (/.f64 (-.f64 -1 x) x)) (+.f64 x 1))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 0 points increase in error, 0 points decrease in error
(/.f64 (/.f64 (+.f64 (+.f64 (Rewrite<= metadata-eval (-.f64 0 1)) (*.f64 x x)) (*.f64 (*.f64 (+.f64 x -2) (/.f64 (-.f64 -1 x) x)) (+.f64 x 1))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 0 points increase in error, 15 points decrease in error
(/.f64 (/.f64 (+.f64 (Rewrite<= associate--r-_binary64 (-.f64 0 (-.f64 1 (*.f64 x x)))) (*.f64 (*.f64 (+.f64 x -2) (/.f64 (-.f64 -1 x) x)) (+.f64 x 1))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 0 points increase in error, 15 points decrease in error
(/.f64 (/.f64 (+.f64 (Rewrite<= neg-sub0_binary64 (neg.f64 (-.f64 1 (*.f64 x x)))) (*.f64 (*.f64 (+.f64 x -2) (/.f64 (-.f64 -1 x) x)) (+.f64 x 1))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 15 points increase in error, 0 points decrease in error
(/.f64 (/.f64 (+.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (*.f64 (Rewrite<= +-commutative_binary64 (+.f64 -2 x)) (/.f64 (-.f64 -1 x) x)) (+.f64 x 1))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 0 points increase in error, 15 points decrease in error
(/.f64 (/.f64 (+.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (*.f64 (Rewrite<= /-rgt-identity_binary64 (/.f64 (+.f64 -2 x) 1)) (/.f64 (-.f64 -1 x) x)) (+.f64 x 1))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 15 points increase in error, 0 points decrease in error
(/.f64 (/.f64 (+.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (Rewrite<= times-frac_binary64 (/.f64 (*.f64 (+.f64 -2 x) (-.f64 -1 x)) (*.f64 1 x))) (+.f64 x 1))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 0 points increase in error, 0 points decrease in error
(/.f64 (/.f64 (+.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (/.f64 (*.f64 (+.f64 -2 x) (-.f64 -1 x)) (Rewrite=> *-lft-identity_binary64 x)) (+.f64 x 1))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 0 points increase in error, 15 points decrease in error
(/.f64 (/.f64 (+.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (/.f64 (*.f64 (+.f64 -2 x) (-.f64 -1 x)) x) (Rewrite=> +-commutative_binary64 (+.f64 1 x)))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 15 points increase in error, 0 points decrease in error
(/.f64 (/.f64 (+.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (/.f64 (*.f64 (+.f64 -2 x) (-.f64 -1 x)) x) (+.f64 (Rewrite<= metadata-eval (-.f64 0 -1)) x))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 0 points increase in error, 15 points decrease in error
(/.f64 (/.f64 (+.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (/.f64 (*.f64 (+.f64 -2 x) (-.f64 -1 x)) x) (Rewrite<= associate--r-_binary64 (-.f64 0 (-.f64 -1 x))))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 15 points increase in error, 0 points decrease in error
(/.f64 (/.f64 (+.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (/.f64 (*.f64 (+.f64 -2 x) (-.f64 -1 x)) x) (Rewrite<= neg-sub0_binary64 (neg.f64 (-.f64 -1 x))))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 15 points increase in error, 0 points decrease in error
(/.f64 (/.f64 (+.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (Rewrite<= *-commutative_binary64 (*.f64 (neg.f64 (-.f64 -1 x)) (/.f64 (*.f64 (+.f64 -2 x) (-.f64 -1 x)) x)))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 0 points increase in error, 0 points decrease in error
(/.f64 (/.f64 (Rewrite<= cancel-sign-sub-inv_binary64 (-.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (-.f64 -1 x) (/.f64 (*.f64 (+.f64 -2 x) (-.f64 -1 x)) x)))) (-.f64 -1 x)) (-.f64 1 (*.f64 x x))): 0 points increase in error, 15 points decrease in error
(Rewrite<= associate-/r*_binary64 (/.f64 (-.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (-.f64 -1 x) (/.f64 (*.f64 (+.f64 -2 x) (-.f64 -1 x)) x))) (*.f64 (-.f64 -1 x) (-.f64 1 (*.f64 x x))))): 15 points increase in error, 0 points decrease in error
Taylor expanded in x around inf 31.6
\[\leadsto \frac{\frac{\color{blue}{2}}{-1 - x}}{1 - x \cdot x}
\]
Taylor expanded in x around inf 0.1
\[\leadsto \frac{\color{blue}{\frac{-2}{x}}}{1 - x \cdot x}
\]
Final simplification0.1
\[\leadsto \frac{\frac{-2}{x}}{1 - x \cdot x}
\]