Average Error: 0.0 → 0
Time: 4.1s
Precision: 64
Internal Precision: 2432
\[\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. Applied simplify0

    \[\leadsto \color{blue}{0}\]
  3. Removed slow pow expressions.

Runtime

Time bar (total: 4.1s)Debug logProfile

herbie shell --seed '#(1063664138 54806523 1746417638 2085554042 810011078 3688937476)' 
(FPCore (x y z)
  :name "Commute and associate"
  (- (+ (+ x y) z) (+ x (+ y z))))