Average Error: 0.0 → 0
Time: 5.4s
Precision: 64
Internal Precision: 2368
\[\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

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\left(\left(x + y\right) + z\right) - \left(x + \left(y + z\right)\right)\]
  2. Initial simplification0

    \[\leadsto 0\]
  3. Final simplification0

    \[\leadsto 0\]

Runtime

Time bar (total: 5.4s)Debug logProfile

herbie shell --seed 2018225 
(FPCore (x y z)
  :name "Commute and associate"
  (- (+ (+ x y) z) (+ x (+ y z))))