\[\left(\frac{1}{x + 1} - \frac{2}{x}\right) + \frac{1}{x - 1}\]
Test:
NMSE problem 3.3.3
Bits:
128 bits
Bits error versus x
Time: 7.2 s
Input Error: 4.3
Output Error: 11.6
Log:
Profile: 🕒
\(\left(\frac{1}{x + 1} - \frac{2}{x}\right) + {\left(\sqrt[3]{\frac{1}{x - 1}}\right)}^3\)
  1. Started with
    \[\left(\frac{1}{x + 1} - \frac{2}{x}\right) + \frac{1}{x - 1}\]
    4.3
  2. Using strategy rm
    4.3
  3. Applied add-cube-cbrt to get
    \[\left(\frac{1}{x + 1} - \frac{2}{x}\right) + \color{red}{\frac{1}{x - 1}} \leadsto \left(\frac{1}{x + 1} - \frac{2}{x}\right) + \color{blue}{{\left(\sqrt[3]{\frac{1}{x - 1}}\right)}^3}\]
    11.6

Original test:


(lambda ((x default))
  #:name "NMSE problem 3.3.3"
  (+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
  #:target
  (/ 2 (* x (- (sqr x) 1))))