



Bits error versus d1




Bits error versus d2




Bits error versus d3
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Final simplification0.0
herbie shell --seed 2019016
(FPCore (d1 d2 d3)
:name "FastMath dist"
:herbie-target
(* d1 (+ d2 d3))
(+ (* d1 d2) (* d1 d3)))
Time bar (total: 5.4s)Debug log
| 330× | (pre true 80) |
| 330× | (body real 80) |
| 9.0ms | (+ (* d1 d2) (* d1 d3)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (+ (* d1 d2) (* d1 d3)) |
| 3× | add-log-exp |
| 1× | distribute-lft-out |
| 1× | flip-+ |
| 1× | add-cube-cbrt |
| 1× | add-exp-log |
| 1× | add-cbrt-cube |
| 1× | flip3-+ |
| 1× | *-un-lft-identity |
| 1× | sum-log |
| 1× | +-commutative |
| 1× | pow1 |
| 1× | add-sqr-sqrt |
| 4.0ms | (+ (* d1 d2) (* d1 d3)) |
| 31.0ms | (+ (* d1 d2) (* d1 d3)) |
| 19.0ms | (* (exp (* d1 d2)) (exp (* d1 d3))) |
| 18.0ms | (+ (* d3 d1) (* d2 d1)) |
| 9.0ms | (+ (* d2 d1) (* d3 d1)) |
| 9.0ms | (+ (* d3 d1) (* d2 d1)) |
| 2.0ms | (+ d2 d3) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (* (+ d3 d2) d1) |
| 3× | associate-*l* |
| 2× | add-cube-cbrt |
| 2× | associate-*l/ |
| 2× | *-un-lft-identity |
| 2× | add-sqr-sqrt |
| 1× | add-log-exp |
| 1× | flip-+ |
| 1× | *-commutative |
| 1× | add-exp-log |
| 1× | add-cbrt-cube |
| 1× | flip3-+ |
| 1× | pow1 |
| 5.0ms | (* (+ d3 d2) d1) |
| 25.0ms | (* (+ d3 d2) d1) |
| 330.0ms | (* (- (* d3 d3) (* d2 d2)) d1) |
| 24.0ms | (* (+ (pow d3 3) (pow d2 3)) d1) |
| 4.0ms | (+ (* d2 d1) (* d3 d1)) |
| 4.0ms | (+ (* d2 d1) (* d3 d1)) |
| 4.0ms | (* (cbrt (+ d3 d2)) (cbrt (+ d3 d2))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 19.1b | (/ (* (- (* d3 d3) (* d2 d2)) d1) (- d3 d2)) |
| 6.6b | (* (- (* d3 d3) (* d2 d2)) d1) |
| 2.4b | (- (* d3 d3) (* d2 d2)) |
| 6× | add-cube-cbrt |
| 6× | *-un-lft-identity |
| 6× | add-sqr-sqrt |
| 5× | add-log-exp |
| 5× | add-exp-log |
| 5× | add-cbrt-cube |
| 4× | flip-- |
| 4× | associate-*l/ |
| 4× | associate-*l* |
| 4× | flip3-- |
| 3× | times-frac |
| 3× | associate-/r* |
| 3× | pow1 |
| 2× | associate-/l/ |
| 2× | difference-of-squares |
| 2× | associate-/r/ |
| 1× | associate-/l* |
| 1× | div-inv |
| 1× | *-commutative |
| 1× | div-exp |
| 1× | diff-log |
| 1× | frac-2neg |
| 1× | sub-neg |
| 1× | clear-num |
| 1× | cbrt-undiv |
| 7.0ms | (/ (* (- (* d3 d3) (* d2 d2)) d1) (- d3 d2)) |
| 4.0ms | (* (- (* d3 d3) (* d2 d2)) d1) |
| 2.0ms | (- (* d3 d3) (* d2 d2)) |
| 42.0ms | (/ (* (- (* d3 d3) (* d2 d2)) d1) (- d3 d2)) |
| 33.0ms | (* (- (* d3 d3) (* d2 d2)) d1) |
| 19.0ms | (- (* d3 d3) (* d2 d2)) |
| 457.0ms | (* (- (* (* d3 d3) (* d3 d3)) (* (* d2 d2) (* d2 d2))) d1) |
| 402.0ms | (* (- (* (* d3 d3) (* d3 d3)) (* (* d2 d2) (* d2 d2))) d1) |
| 325.0ms | (* (- (pow (* d3 d3) 3) (pow (* d2 d2) 3)) d1) |
| 271.0ms | (* (- (pow (* d3 d3) 3) (pow (* d2 d2) 3)) d1) |
| 247.0ms | (- (log (* (- (* d3 d3) (* d2 d2)) d1)) (log (- d3 d2))) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0.0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b
| 10125× | (pre true 80) |
| 10125× | (body real 80) |