Average Error: 14.3 → 1.3
Time: 21.7s
Precision: 64
Internal Precision: 896
\[\frac{1}{x + 1} - \frac{1}{x}\]
\[\left(\sqrt[3]{\frac{0 - 1}{(x \cdot x + x)_*}} \cdot \sqrt[3]{\frac{0 - 1}{(x \cdot x + x)_*}}\right) \cdot \sqrt[3]{\frac{-1}{(x \cdot x + x)_*}}\]

Error

Bits error versus x

Derivation

  1. Initial program 14.3

    \[\frac{1}{x + 1} - \frac{1}{x}\]
  2. Using strategy rm
  3. Applied frac-sub13.7

    \[\leadsto \color{blue}{\frac{1 \cdot x - \left(x + 1\right) \cdot 1}{\left(x + 1\right) \cdot x}}\]
  4. Applied simplify13.7

    \[\leadsto \frac{\color{blue}{x - \left(x + 1\right)}}{\left(x + 1\right) \cdot x}\]
  5. Applied simplify13.7

    \[\leadsto \frac{x - \left(x + 1\right)}{\color{blue}{(x \cdot x + x)_*}}\]
  6. Using strategy rm
  7. Applied add-cube-cbrt14.4

    \[\leadsto \color{blue}{\left(\sqrt[3]{\frac{x - \left(x + 1\right)}{(x \cdot x + x)_*}} \cdot \sqrt[3]{\frac{x - \left(x + 1\right)}{(x \cdot x + x)_*}}\right) \cdot \sqrt[3]{\frac{x - \left(x + 1\right)}{(x \cdot x + x)_*}}}\]
  8. Applied simplify14.4

    \[\leadsto \color{blue}{\left(\sqrt[3]{\frac{0 - 1}{(x \cdot x + x)_*}} \cdot \sqrt[3]{\frac{0 - 1}{(x \cdot x + x)_*}}\right)} \cdot \sqrt[3]{\frac{x - \left(x + 1\right)}{(x \cdot x + x)_*}}\]
  9. Applied simplify1.3

    \[\leadsto \left(\sqrt[3]{\frac{0 - 1}{(x \cdot x + x)_*}} \cdot \sqrt[3]{\frac{0 - 1}{(x \cdot x + x)_*}}\right) \cdot \color{blue}{\sqrt[3]{\frac{0 - 1}{(x \cdot x + x)_*}}}\]
  10. Applied simplify1.3

    \[\leadsto \left(\sqrt[3]{\frac{0 - 1}{(x \cdot x + x)_*}} \cdot \sqrt[3]{\frac{0 - 1}{(x \cdot x + x)_*}}\right) \cdot \sqrt[3]{\color{blue}{\frac{-1}{(x \cdot x + x)_*}}}\]

Runtime

Time bar (total: 21.7s)Debug logProfile

herbie shell --seed '#(1064300848 3212030778 2049303162 3567222883 2277747821 1384278011)' +o rules:numerics
(FPCore (x)
  :name "2frac (problem 3.3.1)"
  (- (/ 1 (+ x 1)) (/ 1 x)))