Average Error: 29.5 → 0
Time: 965.0ms
Precision: 64
Internal Precision: 128
\[\left(1 + x\right) - x\]
\[1\]

Error

Bits error versus x

Derivation

  1. Initial program 29.5

    \[\left(1 + x\right) - x\]
  2. Simplified0

    \[\leadsto \color{blue}{1}\]
  3. Final simplification0

    \[\leadsto 1\]

Reproduce

herbie shell --seed 2019089 
(FPCore (x)
  :name "Cancel like terms"
  (- (+ 1 x) x))