


Bits error versus x



Bits error versus y



Bits error versus z
Results
Initial program 0.0
Simplified0
Final simplification0
herbie shell --seed 2019016 +o rules:numerics
(FPCore (x y z)
:name "Commute and associate"
(- (+ (+ x y) z) (+ x (+ y z))))
Time bar (total: 2.9s)Debug log
| 256× | (pre true 80) |
| 113× | (body real 1280) |
| 93× | (body real 2560) |
| 41× | (body real 640) |
| 6× | (body real 320) |
| 2× | (body real 160) |
| 1× | (body real 80) |
| 180.0ms | (- (+ (+ x y) z) (+ x (+ y z))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0b
Found 0 expressions with local error:
1 alts after pruning (0 fresh and 1 done)
Merged error: 0b
| 8000× | (pre true 80) |
| 3671× | (body real 1280) |
| 2766× | (body real 2560) |
| 1207× | (body real 640) |
| 287× | (body real 320) |
| 64× | (body real 160) |
| 5× | (body real 80) |