Average Error: 0.0 → 0
Time: 2.9s
Precision: 64
Internal Precision: 1920
\[\left(\left(x + y\right) + z\right) - \left(x + \left(y + z\right)\right)\]
\[0\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Derivation

  1. Initial program 0.0

    \[\left(\left(x + y\right) + z\right) - \left(x + \left(y + z\right)\right)\]
  2. Removed slow pow expressions.
  3. Applied simplify0

    \[\leadsto \color{blue}{0}\]

Runtime

Time bar (total: 2.9s)Debug logProfile

herbie shell --seed '#(1064142603 2264778304 1099457153 2263728771 548962824 2075662743)' 
(FPCore (x y z)
  :name "Commute and associate"
  (- (+ (+ x y) z) (+ x (+ y z))))