


Bits error versus x
Results
Initial program 29.7
rmApplied flip3--29.7
Taylor expanded around 0 0.6
rmApplied add-sqr-sqrt0.6
Applied associate-*l*0.6
Final simplification0.6
herbie shell --seed 2018362 +o rules:numerics
(FPCore (x)
:name "2cbrt (problem 3.3.4)"
(- (cbrt (+ x 1)) (cbrt x)))
Time bar (total: 47.4s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 27.8b
Found 3 expressions with local error:
| 1.6b | (- (cbrt (+ x 1)) (cbrt x)) |
| 0.6b | (cbrt x) |
| 0.2b | (cbrt (+ x 1)) |
3 calls. Slowest were:
| 7.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
| 1.0ms | (cbrt (+ x 1)) |
| 0.0ms | (cbrt x) |
3 calls. Slowest were:
| 308.0ms | (cbrt x) |
| 97.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
| 46.0ms | (cbrt (+ x 1)) |
61 calls. Slowest were:
| 440.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))))) |
| 385.0ms | (- (+ (* 1/3 x) 1) (+ (* 1/9 (pow x 2)) (pow x 1/3))) |
| 252.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)))) |
7 alts after pruning (7 fresh and 0 done)
Merged error: 14.5b
Found 3 expressions with local error:
| 28.1b | (- (cbrt (+ x 1)) (pow x 1/3)) |
| 5.2b | (pow x 1/3) |
| 0.2b | (cbrt (+ x 1)) |
3 calls. Slowest were:
| 16.0ms | (- (cbrt (+ x 1)) (pow x 1/3)) |
| 1.0ms | (cbrt (+ x 1)) |
| 0.0ms | (pow x 1/3) |
3 calls. Slowest were:
| 326.0ms | (pow x 1/3) |
| 107.0ms | (- (cbrt (+ x 1)) (pow x 1/3)) |
| 54.0ms | (cbrt (+ x 1)) |
61 calls. Slowest were:
| 412.0ms | (- (+ (* 5/81 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 3))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2)))) |
| 389.0ms | (- (+ (* 1/3 x) 1) (+ (* 1/9 (pow x 2)) (pow x 1/3))) |
| 179.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)))) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 1.5b | (- (pow (cbrt (+ x 1)) 3) (pow (cbrt x) 3)) |
| 0.7b | (pow (cbrt x) 3) |
| 0.6b | (cbrt x) |
| 0.6b | (cbrt x) |
4 calls. Slowest were:
| 14.0ms | (- (pow (cbrt (+ x 1)) 3) (pow (cbrt x) 3)) |
| 1.0ms | (pow (cbrt x) 3) |
| 0.0ms | (cbrt x) |
4 calls. Slowest were:
| 346.0ms | (cbrt x) |
| 328.0ms | (cbrt x) |
| 311.0ms | (pow (cbrt x) 3) |
| 80.0ms | (- (pow (cbrt (+ x 1)) 3) (pow (cbrt x) 3)) |
452 calls. Slowest were:
| 411.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))) |
| 384.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))) |
| 373.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 (4 fresh and 1 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 0.6b | (cbrt x) |
| 0.6b | (cbrt x) |
| 0.6b | (cbrt x) |
| 0.5b | (* (cbrt x) (cbrt x)) |
4 calls. Slowest were:
| 4.0ms | (* (cbrt x) (cbrt x)) |
| 0.0ms | (cbrt x) |
| 0.0ms | (cbrt x) |
4 calls. Slowest were:
| 332.0ms | (cbrt x) |
| 317.0ms | (* (cbrt x) (cbrt x)) |
| 306.0ms | (cbrt x) |
| 263.0ms | (cbrt x) |
25 calls. Slowest were:
| 11.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)) |
9 alts after pruning (8 fresh and 1 done)
Merged error: 0.2b
0% (0.4b remaining)
Error of 0.6b against oracle of 0.2b and baseline of 0.6b