



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
Simplified0.0
Final simplification0.0
herbie shell --seed 2019016
(FPCore (d1 d2 d3)
:name "FastMath dist3"
:herbie-target
(* d1 (+ (+ 37 d3) d2))
(+ (+ (* d1 d2) (* (+ d3 5) d1)) (* d1 32)))
Time bar (total: 11.3s)Debug log
| 330× | (pre true 80) |
| 329× | (body real 80) |
| 1× | (body real 160) |
| 271.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 | (* (+ d3 (+ d2 37)) 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 |
| 3.0ms | (* (+ d3 (+ d2 37)) d1) |
| 17.0ms | (* (+ d3 (+ d2 37)) d1) |
| 565.0ms | (* (+ (pow d3 3) (pow (+ d2 37) 3)) d1) |
| 184.0ms | (* (- (* d3 d3) (* (+ d2 37) (+ d2 37))) d1) |
| 49.0ms | (+ (* d3 d1) (+ (* d2 d1) (* 37 d1))) |
| 47.0ms | (+ (* d3 d1) (+ (* d2 d1) (* 37 d1))) |
| 46.0ms | (+ (* d3 d1) (+ (* d2 d1) (* 37 d1))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 0.1b | (+ (+ (* d1 d2) (* (+ d3 5) d1)) (* d1 32)) |
| 0.0b | (+ (* d1 d2) (* (+ d3 5) d1)) |
| 0.0b | (* (+ d3 5) d1) |
| 10× | add-log-exp |
| 4× | add-cube-cbrt |
| 4× | *-un-lft-identity |
| 4× | sum-log |
| 4× | add-sqr-sqrt |
| 3× | flip-+ |
| 3× | add-exp-log |
| 3× | associate-*l* |
| 3× | add-cbrt-cube |
| 3× | flip3-+ |
| 3× | pow1 |
| 2× | associate-*l/ |
| 2× | +-commutative |
| 1× | *-commutative |
| 1× | associate-+l+ |
| 17.0ms | (+ (+ (* d1 d2) (* (+ d3 5) d1)) (* d1 32)) |
| 5.0ms | (+ (* d1 d2) (* (+ d3 5) d1)) |
| 5.0ms | (* (+ d3 5) d1) |
| 29.0ms | (+ (* d1 d2) (* (+ d3 5) d1)) |
| 24.0ms | (* (+ d3 5) d1) |
| 24.0ms | (+ (+ (* d1 d2) (* (+ d3 5) d1)) (* d1 32)) |
| 130.0ms | (* (exp (+ (* d1 d2) (* (+ d3 5) d1))) (exp (* d1 32))) |
| 123.0ms | (* (- (* d3 d3) (* 5 5)) d1) |
| 120.0ms | (* (* (exp (* d1 d2)) (exp (* (+ d3 5) d1))) (exp (* d1 32))) |
| 94.0ms | (* (exp (* d1 d2)) (exp (* (+ d3 5) d1))) |
| 49.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 37 d1))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.6b | (cbrt (* (+ d3 5) d1)) |
| 0.6b | (cbrt (* (+ d3 5) d1)) |
| 0.6b | (cbrt (* (+ d3 5) d1)) |
| 0.5b | (* (cbrt (* (+ d3 5) d1)) (cbrt (* (+ d3 5) d1))) |
| 20× | associate-*l/ |
| 18× | cbrt-div |
| 9× | flip-+ |
| 9× | flip3-+ |
| 9× | pow1 |
| 7× | pow1/3 |
| 6× | add-cube-cbrt |
| 6× | add-exp-log |
| 6× | *-un-lft-identity |
| 6× | add-sqr-sqrt |
| 5× | cbrt-prod |
| 4× | add-log-exp |
| 4× | associate-*l* |
| 4× | associate-*r* |
| 4× | add-cbrt-cube |
| 4× | frac-times |
| 2× | pow-prod-up |
| 2× | associate-*r/ |
| 2× | pow-prod-down |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-plus |
| 1× | pow2 |
| 14.0ms | (* (cbrt (* (+ d3 5) d1)) (cbrt (* (+ d3 5) d1))) |
| 3.0ms | (cbrt (* (+ d3 5) d1)) |
| 3.0ms | (cbrt (* (+ d3 5) d1)) |
| 3.0ms | (cbrt (* (+ d3 5) d1)) |
| 101.0ms | (* (cbrt (* (+ d3 5) d1)) (cbrt (* (+ d3 5) d1))) |
| 76.0ms | (cbrt (* (+ d3 5) d1)) |
| 74.0ms | (cbrt (* (+ d3 5) d1)) |
| 63.0ms | (cbrt (* (+ d3 5) d1)) |
| 418.0ms | (- (+ (* 10/3 (/ (* (exp (* -1/3 (+ (* 2 (log (/ -1 d1))) (* 2 (log (/ -1 d3)))))) (pow (cbrt -1) 2)) d3)) (* (exp (* -1/3 (+ (* 2 (log (/ -1 d1))) (* 2 (log (/ -1 d3)))))) (pow (cbrt -1) 2))) (* 25/9 (/ (* (exp (* -1/3 (+ (* 2 (log (/ -1 d1))) (* 2 (log (/ -1 d3)))))) (pow (cbrt -1) 2)) (pow d3 2)))) |
| 401.0ms | (- (+ (* 1/15 (* d3 (exp (* 1/3 (+ (log 5) (log d1)))))) (exp (* 1/3 (+ (log 5) (log d1))))) (* 1/225 (* (pow d3 2) (exp (* 1/3 (+ (log 5) (log d1))))))) |
| 385.0ms | (- (+ (exp (* 1/3 (+ (* 2 (log d1)) (log 25)))) (* 2/15 (* (exp (* 1/3 (+ (* 2 (log d1)) (log 25)))) d3))) (* 1/225 (* (exp (* 1/3 (+ (* 2 (log d1)) (log 25)))) (pow d3 2)))) |
| 362.0ms | (* (* (+ d3 5) d1) (* (+ d3 5) d1)) |
| 345.0ms | (- (+ (* 1/15 (* d3 (exp (* 1/3 (+ (log 5) (log d1)))))) (exp (* 1/3 (+ (log 5) (log d1))))) (* 1/225 (* (pow d3 2) (exp (* 1/3 (+ (log 5) (log d1))))))) |
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
| 10138× | (pre true 80) |
| 10095× | (body real 80) |
| 17× | (body real 640) |
| 11× | (body real 320) |
| 8× | (body real 1280) |
| 7× | (body real 160) |