Average Error: 0.0 → 0
Time: 3.2s
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: 3.2s)Debug logProfile

herbie shell --seed '#(1063567699 4034110376 4293070141 219400240 233727567 3919377208)' 
(FPCore (x y z)
  :name "Commute and associate"
  (- (+ (+ x y) z) (+ x (+ y z))))