


Bits error versus x
Results
Initial program 0.0
Initial simplification0.0
rmApplied exp-prod0.0
rmApplied add-sqr-sqrt0.0
Applied associate-/l*0.0
rmApplied div-inv0.0
Applied add-cube-cbrt0.0
Applied sqrt-prod0.0
Applied times-frac0.0
Simplified0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2018365
(FPCore (x)
:name "exp neg sub"
(exp (- (- 1 (* x x)))))
Time bar (total: 7.4s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 0.0b | (exp (* x x)) |
| 0.0b | (/ (exp (* x x)) E) |
2 calls. Slowest were:
| 6.0ms | (/ (exp (* x x)) E) |
| 2.0ms | (exp (* x x)) |
2 calls. Slowest were:
| 63.0ms | (/ (exp (* x x)) E) |
| 23.0ms | (exp (* x x)) |
10 calls. Slowest were:
| 37.0ms | (+ (* 1/2 (/ (pow x 4) E)) (+ (/ (pow x 2) E) (/ 1 E))) |
| 21.0ms | (+ (pow x 2) (+ (* 1/2 (pow x 4)) 1)) |
| 4.0ms | (/ (exp (pow x 2)) E) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (/ (pow (exp x) x) E) |
1 calls. Slowest were:
| 6.0ms | (/ (pow (exp x) x) E) |
1 calls. Slowest were:
| 110.0ms | (/ (pow (exp x) x) E) |
8 calls. Slowest were:
| 26.0ms | (+ (* 1/2 (/ (pow x 4) E)) (+ (/ (pow x 2) E) (/ 1 E))) |
| 4.0ms | (/ (exp (pow x 2)) E) |
| 4.0ms | (/ (exp (pow x 2)) E) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.0b | (/ E (sqrt (pow (exp x) x))) |
| 0.0b | (/ (sqrt (pow (exp x) x)) (/ E (sqrt (pow (exp x) x)))) |
2 calls. Slowest were:
| 5.0ms | (/ (sqrt (pow (exp x) x)) (/ E (sqrt (pow (exp x) x)))) |
| 2.0ms | (/ E (sqrt (pow (exp x) x))) |
2 calls. Slowest were:
| 105.0ms | (/ E (sqrt (pow (exp x) x))) |
| 76.0ms | (/ (sqrt (pow (exp x) x)) (/ E (sqrt (pow (exp x) x)))) |
102 calls. Slowest were:
| 464.0ms | (/ (* (* (sqrt (pow (exp x) x)) (sqrt (pow (exp x) x))) (sqrt (pow (exp x) x))) (* (* (/ E (sqrt (pow (exp x) x))) (/ E (sqrt (pow (exp x) x)))) (/ E (sqrt (pow (exp x) x))))) |
| 167.0ms | (- (+ (* 1/8 (* (pow x 4) E)) E) (* 1/2 (* (pow x 2) E))) |
| 53.0ms | (+ (* 1/2 (/ (pow x 4) E)) (+ (/ (pow x 2) E) (/ 1 E))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (cbrt (pow (exp x) x)) |
| 0.0b | (cbrt (pow (exp x) x)) |
| 0.0b | (/ (fabs (cbrt (pow (exp x) x))) E) |
| 0.0b | (* (/ (fabs (cbrt (pow (exp x) x))) E) (* (sqrt (cbrt (pow (exp x) x))) (sqrt (pow (exp x) x)))) |
4 calls. Slowest were:
| 34.0ms | (* (/ (fabs (cbrt (pow (exp x) x))) E) (* (sqrt (cbrt (pow (exp x) x))) (sqrt (pow (exp x) x)))) |
| 4.0ms | (/ (fabs (cbrt (pow (exp x) x))) E) |
| 1.0ms | (cbrt (pow (exp x) x)) |
4 calls. Slowest were:
| 268.0ms | (* (/ (fabs (cbrt (pow (exp x) x))) E) (* (sqrt (cbrt (pow (exp x) x))) (sqrt (pow (exp x) x)))) |
| 209.0ms | (cbrt (pow (exp x) x)) |
| 194.0ms | (cbrt (pow (exp x) x)) |
| 37.0ms | (/ (fabs (cbrt (pow (exp x) x))) E) |
37 calls. Slowest were:
| 657.0ms | (+ (/ (fabs (pow (pow (exp x) x) 1/3)) E) (+ (* 2/9 (/ (* (fabs (pow (pow (exp x) x) 1/3)) (pow x 4)) E)) (* 2/3 (/ (* (fabs (pow (pow (exp x) x) 1/3)) (pow x 2)) E)))) |
| 653.0ms | (* (* (* (/ (fabs (cbrt (pow (exp x) x))) E) (/ (fabs (cbrt (pow (exp x) x))) E)) (/ (fabs (cbrt (pow (exp x) x))) E)) (* (* (* (sqrt (cbrt (pow (exp x) x))) (sqrt (pow (exp x) x))) (* (sqrt (cbrt (pow (exp x) x))) (sqrt (pow (exp x) x)))) (* (sqrt (cbrt (pow (exp x) x))) (sqrt (pow (exp x) x))))) |
| 105.0ms | (+ (log (/ (fabs (cbrt (pow (exp x) x))) E)) (+ (log (sqrt (cbrt (pow (exp x) x)))) (log (sqrt (pow (exp x) x))))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b