


Bits error versus x
Results
Initial program 29.0
rmApplied flip3--28.9
Taylor expanded around -inf 0.5
rmApplied add-sqr-sqrt0.6
Applied associate-*r*0.5
Final simplification0.5
herbie shell --seed 2018365 +o rules:numerics
(FPCore (x)
:name "2cbrt (problem 3.3.4)"
(- (cbrt (+ x 1)) (cbrt x)))
Time bar (total: 47.8s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 28.7b
Found 3 expressions with local error:
| 2.6b | (- (cbrt (+ x 1)) (cbrt x)) |
| 0.5b | (cbrt x) |
| 0.3b | (cbrt (+ x 1)) |
3 calls. Slowest were:
| 18.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
| 1.0ms | (cbrt (+ x 1)) |
| 0.0ms | (cbrt x) |
3 calls. Slowest were:
| 337.0ms | (cbrt x) |
| 104.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
| 36.0ms | (cbrt (+ x 1)) |
61 calls. Slowest were:
| 438.0ms | (- (+ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (+ (* (pow (* x -1) 1/3) (cbrt -1)) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2))))) |
| 421.0ms | (- (+ (* 1/3 x) 1) (+ (* 1/9 (pow x 2)) (pow x 1/3))) |
| 228.0ms | (- (+ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2)))) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 16.8b
Found 4 expressions with local error:
| 2.2b | (- (pow (cbrt (+ x 1)) 3) (pow (cbrt x) 3)) |
| 0.8b | (pow (cbrt x) 3) |
| 0.5b | (cbrt x) |
| 0.5b | (cbrt x) |
4 calls. Slowest were:
| 19.0ms | (- (pow (cbrt (+ x 1)) 3) (pow (cbrt x) 3)) |
| 2.0ms | (pow (cbrt x) 3) |
| 0.0ms | (cbrt x) |
4 calls. Slowest were:
| 355.0ms | (pow (cbrt x) 3) |
| 285.0ms | (cbrt x) |
| 260.0ms | (cbrt x) |
| 70.0ms | (- (pow (cbrt (+ x 1)) 3) (pow (cbrt x) 3)) |
452 calls. Slowest were:
| 737.0ms | (fma (- (pow (cbrt (cbrt x)) 3)) (pow (* (cbrt (cbrt x)) (cbrt (cbrt x))) 3) (* (pow (cbrt (cbrt x)) 3) (pow (* (cbrt (cbrt x)) (cbrt (cbrt x))) 3))) |
| 408.0ms | (fma (- (pow (cbrt (cbrt x)) 3)) (pow (* (cbrt (cbrt x)) (cbrt (cbrt x))) 3) (* (pow (cbrt (cbrt x)) 3) (pow (* (cbrt (cbrt x)) (cbrt (cbrt x))) 3))) |
| 376.0ms | (fma (- (pow (cbrt (cbrt x)) 3)) (pow (* (cbrt (cbrt x)) (cbrt (cbrt x))) 3) (* (pow (cbrt (cbrt x)) 3) (pow (* (cbrt (cbrt x)) (cbrt (cbrt x))) 3))) |
5 alts after pruning (5 fresh and 0 done)
Merged error: 0.4b
Found 4 expressions with local error:
| 0.5b | (cbrt x) |
| 0.5b | (cbrt x) |
| 0.5b | (cbrt x) |
| 0.5b | (* (cbrt x) (cbrt x)) |
4 calls. Slowest were:
| 7.0ms | (* (cbrt x) (cbrt x)) |
| 0.0ms | (cbrt x) |
| 0.0ms | (cbrt x) |
4 calls. Slowest were:
| 335.0ms | (* (cbrt x) (cbrt x)) |
| 331.0ms | (cbrt x) |
| 281.0ms | (cbrt x) |
| 252.0ms | (cbrt x) |
25 calls. Slowest were:
| 10.0ms | (* (pow (* x -1) 1/3) (cbrt -1)) |
| 9.0ms | (* (pow (pow x 2) 1/3) (pow (cbrt -1) 2)) |
| 5.0ms | (* (pow (* x -1) 1/3) (cbrt -1)) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 0.5b | (cbrt x) |
| 0.5b | (cbrt x) |
| 0.5b | (cbrt x) |
| 0.5b | (cbrt x) |
4 calls. Slowest were:
| 0.0ms | (cbrt x) |
| 0.0ms | (cbrt x) |
| 0.0ms | (cbrt x) |
4 calls. Slowest were:
| 316.0ms | (cbrt x) |
| 313.0ms | (cbrt x) |
| 290.0ms | (cbrt x) |
| 283.0ms | (cbrt x) |
12 calls. Slowest were:
| 10.0ms | (* (pow (* x -1) 1/3) (cbrt -1)) |
| 10.0ms | (* (pow (* x -1) 1/3) (cbrt -1)) |
| 10.0ms | (* (pow (* x -1) 1/3) (cbrt -1)) |
15 alts after pruning (14 fresh and 1 done)
Merged error: 0.3b
0% (0.3b remaining)
Error of 0.5b against oracle of 0.3b and baseline of 0.5b