



Bits error versus d1




Bits error versus d2




Bits error versus d3
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Simplified0.0
Taylor expanded around -inf 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019022 +o rules:numerics
(FPCore (d1 d2 d3)
:name "FastMath dist3"
:herbie-target
(* d1 (+ (+ 37 d3) d2))
(+ (+ (* d1 d2) (* (+ d3 5) d1)) (* d1 32)))
Time bar (total: 12.0s)Debug log
| 21.0ms | 333× | body | 80 | valid |
| 374.0ms | (+ (+ (* d1 d2) (* (+ d3 5) d1)) (* d1 32)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (fma (+ d2 d3) d1 (* d1 37)) |
| 1× | add-log-exp |
| 1× | log1p-expm1-u |
| 1× | fma-udef |
| 1× | add-cube-cbrt |
| 1× | add-exp-log |
| 1× | add-cbrt-cube |
| 1× | *-un-lft-identity |
| 1× | pow1 |
| 1× | expm1-log1p-u |
| 1× | add-sqr-sqrt |
| 0.0ms | (fma (+ d2 d3) d1 (* d1 37)) |
| 27.0ms | (fma (+ d2 d3) d1 (* d1 37)) |
| 64.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 37 d1))) |
| 57.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 37 d1))) |
| 56.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 37 d1))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0b
Found 1 expressions with local error:
| 0.0b | (fma d1 (+ 37 d2) (* d3 d1)) |
| 1× | add-log-exp |
| 1× | log1p-expm1-u |
| 1× | fma-udef |
| 1× | add-cube-cbrt |
| 1× | add-exp-log |
| 1× | add-cbrt-cube |
| 1× | *-un-lft-identity |
| 1× | pow1 |
| 1× | expm1-log1p-u |
| 1× | add-sqr-sqrt |
| 0.0ms | (fma d1 (+ 37 d2) (* d3 d1)) |
| 19.0ms | (fma d1 (+ 37 d2) (* d3 d1)) |
| 41.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 37 d1))) |
| 40.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 37 d1))) |
| 38.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 37 d1))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0b
Found 3 expressions with local error:
| 0.0b | (+ (+ (* d1 d2) (* (+ d3 5) d1)) (* d1 32)) |
| 0.0b | (+ (* d1 d2) (* (+ d3 5) d1)) |
| 0.0b | (* (+ d3 5) d1) |
| 10× | add-log-exp |
| 5× | add-cube-cbrt |
| 5× | *-un-lft-identity |
| 5× | add-sqr-sqrt |
| 4× | fma-def |
| 4× | sum-log |
| 3× | log1p-expm1-u |
| 3× | flip-+ |
| 3× | add-exp-log |
| 3× | associate-*l* |
| 3× | add-cbrt-cube |
| 3× | flip3-+ |
| 3× | pow1 |
| 3× | expm1-log1p-u |
| 2× | associate-*l/ |
| 2× | +-commutative |
| 1× | *-commutative |
| 1× | associate-+l+ |
| 15.0ms | (+ (+ (* d1 d2) (* (+ d3 5) d1)) (* d1 32)) |
| 4.0ms | (+ (* d1 d2) (* (+ d3 5) d1)) |
| 4.0ms | (* (+ d3 5) d1) |
| 22.0ms | (+ (* d1 d2) (* (+ d3 5) d1)) |
| 21.0ms | (+ (+ (* d1 d2) (* (+ d3 5) d1)) (* d1 32)) |
| 20.0ms | (* (+ d3 5) d1) |
| 196.0ms | (* (exp (+ (* d1 d2) (* (+ d3 5) d1))) (exp (* d1 32))) |
| 145.0ms | (* (* (exp (* d1 d2)) (exp (* (+ d3 5) d1))) (exp (* d1 32))) |
| 112.0ms | (* (exp (* d1 d2)) (exp (* (+ d3 5) d1))) |
| 110.0ms | (* (- (* d3 d3) (* 5 5)) d1) |
| 77.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 5 d1))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.5b | (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) |
| 0.5b | (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) |
| 0.5b | (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) |
| 0.5b | (* (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) (cbrt (+ (* d1 d2) (* (+ d3 5) d1)))) |
| 18× | cbrt-div |
| 15× | cbrt-prod |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 11× | add-sqr-sqrt |
| 9× | flip-+ |
| 9× | flip3-+ |
| 9× | pow1 |
| 7× | pow1/3 |
| 6× | add-exp-log |
| 6× | associate-*l* |
| 6× | associate-*r* |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cbrt-cube |
| 4× | frac-times |
| 4× | expm1-log1p-u |
| 2× | pow-prod-up |
| 2× | associate-*r/ |
| 2× | associate-*l/ |
| 2× | pow-prod-down |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-plus |
| 1× | pow2 |
| 16.0ms | (* (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) (cbrt (+ (* d1 d2) (* (+ d3 5) d1)))) |
| 2.0ms | (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) |
| 2.0ms | (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) |
| 2.0ms | (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) |
| 137.0ms | (* (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) (cbrt (+ (* d1 d2) (* (+ d3 5) d1)))) |
| 118.0ms | (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) |
| 113.0ms | (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) |
| 102.0ms | (cbrt (+ (* d1 d2) (* (+ d3 5) d1))) |
| 556.0ms | (* (+ (* d1 d2) (* (+ d3 5) d1)) (+ (* d1 d2) (* (+ d3 5) d1))) |
| 361.0ms | (cbrt (+ (pow (* d1 d2) 3) (pow (* (+ d3 5) d1) 3))) |
| 310.0ms | (cbrt (+ (pow (* d1 d2) 3) (pow (* (+ d3 5) d1) 3))) |
| 304.0ms | (cbrt (- (* (* d1 d2) (* d1 d2)) (* (* (+ d3 5) d1) (* (+ d3 5) d1)))) |
| 299.0ms | (cbrt (+ (pow (* d1 d2) 3) (pow (* (+ d3 5) d1) 3))) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b
| 716.0ms | 10070× | body | 80 | valid |
| 3.0ms | 16× | body | 640 | valid |
| 2.0ms | 13× | body | 320 | valid |
| 1.0ms | 4× | body | 1280 | valid |
| 1.0ms | 7× | body | 160 | valid |