


Bits error versus x
Results
if x < 5674.445687910233Initial program 0.1
rmApplied pow1/30.1
rmApplied flip3--0.2
if 5674.445687910233 < x Initial program 60.2
rmApplied pow1/359.6
Taylor expanded around -inf 62.4
Simplified0.6
rmApplied div-inv0.7
Applied associate-*r*0.7
rmApplied add-cbrt-cube0.7
Applied cbrt-unprod0.6
Final simplification0.4
herbie shell --seed 2019007
(FPCore (x)
:name "2cbrt (problem 3.3.4)"
(- (cbrt (+ x 1)) (cbrt x)))
Time bar (total: 14.7s)Debug log
1 calls. Slowest were:
| 4.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 33.5b
Found 3 expressions with local error:
| 3.3b | (- (cbrt (+ x 1)) (cbrt x)) |
| 0.6b | (cbrt x) |
| 0.3b | (cbrt (+ x 1)) |
3 calls. Slowest were:
| 12.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
| 1.0ms | (cbrt (+ x 1)) |
| 0.0ms | (cbrt x) |
3 calls. Slowest were:
| 298.0ms | (cbrt x) |
| 117.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
| 51.0ms | (cbrt (+ x 1)) |
20 calls. Slowest were:
| 299.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))))) |
| 240.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)))) |
| 208.0ms | (- (+ (* 1/3 x) 1) (+ (* 1/9 (pow x 2)) (pow x 1/3))) |
9 alts after pruning (9 fresh and 0 done)
Merged error: 20.0b
Found 3 expressions with local error:
| 33.9b | (- (cbrt (+ x 1)) (pow x 1/3)) |
| 5.2b | (pow x 1/3) |
| 0.3b | (cbrt (+ x 1)) |
3 calls. Slowest were:
| 5.0ms | (- (cbrt (+ x 1)) (pow x 1/3)) |
| 1.0ms | (cbrt (+ x 1)) |
| 0.0ms | (pow x 1/3) |
3 calls. Slowest were:
| 301.0ms | (pow x 1/3) |
| 119.0ms | (- (cbrt (+ x 1)) (pow x 1/3)) |
| 53.0ms | (cbrt (+ x 1)) |
20 calls. Slowest were:
| 351.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)))) |
| 211.0ms | (- (+ (* 1/3 x) 1) (+ (* 1/9 (pow x 2)) (pow x 1/3))) |
| 146.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 (6 fresh and 0 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 0.6b | (cbrt x) |
| 0.4b | (/ -1/9 x) |
| 0.4b | (/ 5/81 x) |
| 0.2b | (* (+ (+ 1/3 (/ -1/9 x)) (/ (/ 5/81 x) x)) (/ (cbrt x) x)) |
4 calls. Slowest were:
| 27.0ms | (* (+ (+ 1/3 (/ -1/9 x)) (/ (/ 5/81 x) x)) (/ (cbrt x) x)) |
| 0.0ms | (/ -1/9 x) |
| 0.0ms | (cbrt x) |
4 calls. Slowest were:
| 285.0ms | (cbrt x) |
| 69.0ms | (* (+ (+ 1/3 (/ -1/9 x)) (/ (/ 5/81 x) x)) (/ (cbrt x) x)) |
| 7.0ms | (/ 5/81 x) |
| 7.0ms | (/ -1/9 x) |
33 calls. Slowest were:
| 423.0ms | (* (+ (* (+ (pow 1/3 3) (pow (/ -1/9 x) 3)) x) (* (+ (* 1/3 1/3) (- (* (/ -1/9 x) (/ -1/9 x)) (* 1/3 (/ -1/9 x)))) (/ 5/81 x))) (/ (cbrt x) x)) |
| 379.0ms | (* (+ (* (+ (pow 1/3 3) (pow (/ -1/9 x) 3)) x) (* (+ (* 1/3 1/3) (- (* (/ -1/9 x) (/ -1/9 x)) (* 1/3 (/ -1/9 x)))) (/ 5/81 x))) (cbrt x)) |
| 368.0ms | (* (- (* (+ 1/3 (/ -1/9 x)) (+ 1/3 (/ -1/9 x))) (* (/ (/ 5/81 x) x) (/ (/ 5/81 x) x))) (/ (cbrt x) x)) |
14 alts after pruning (14 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 1.9b | (* (+ (+ 1/3 (/ -1/9 x)) (/ (/ 5/81 x) x)) (cbrt x)) |
| 0.6b | (cbrt x) |
| 0.4b | (/ -1/9 x) |
| 0.4b | (/ 5/81 x) |
4 calls. Slowest were:
| 21.0ms | (* (+ (+ 1/3 (/ -1/9 x)) (/ (/ 5/81 x) x)) (cbrt x)) |
| 0.0ms | (/ -1/9 x) |
| 0.0ms | (/ 5/81 x) |
4 calls. Slowest were:
| 304.0ms | (cbrt x) |
| 57.0ms | (* (+ (+ 1/3 (/ -1/9 x)) (/ (/ 5/81 x) x)) (cbrt x)) |
| 12.0ms | (/ 5/81 x) |
| 11.0ms | (/ -1/9 x) |
24 calls. Slowest were:
| 512.0ms | (* (+ (pow (+ 1/3 (/ -1/9 x)) 3) (pow (/ (/ 5/81 x) x) 3)) (cbrt x)) |
| 378.0ms | (* (+ (* (+ (pow 1/3 3) (pow (/ -1/9 x) 3)) x) (* (+ (* 1/3 1/3) (- (* (/ -1/9 x) (/ -1/9 x)) (* 1/3 (/ -1/9 x)))) (/ 5/81 x))) (cbrt x)) |
| 323.0ms | (* (- (* (+ 1/3 (/ -1/9 x)) (+ 1/3 (/ -1/9 x))) (* (/ (/ 5/81 x) x) (/ (/ 5/81 x) x))) (cbrt x)) |
12 alts after pruning (12 fresh and 0 done)
Merged error: 0.0b
99% (0.3b remaining)
Error of 0.4b against oracle of 0.1b and baseline of 31.3b