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

Error

Bits error versus x

Derivation

  1. Initial program 29.1

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

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

    \[\leadsto 1\]

Reproduce

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