


Bits error versus x
Results
Initial program 30.1
rmApplied add-cbrt-cube30.0
rmApplied flip3--30.0
Taylor expanded around 0 0.6
Final simplification0.6
herbie shell --seed 2019002
(FPCore (x)
:name "2cbrt (problem 3.3.4)"
(- (cbrt (+ x 1)) (cbrt x)))
Time bar (total: 14.1s)Debug log
1 calls. Slowest were:
| 8.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 32.3b
Found 3 expressions with local error:
| 3.3b | (- (cbrt (+ x 1)) (cbrt x)) |
| 0.5b | (cbrt x) |
| 0.3b | (cbrt (+ x 1)) |
3 calls. Slowest were:
| 6.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
| 1.0ms | (cbrt (+ x 1)) |
| 0.0ms | (cbrt x) |
3 calls. Slowest were:
| 365.0ms | (cbrt x) |
| 107.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
| 51.0ms | (cbrt (+ x 1)) |
20 calls. Slowest were:
| 222.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))))) |
| 213.0ms | (- (+ (* 1/3 x) 1) (+ (* 1/9 (pow x 2)) (pow x 1/3))) |
| 155.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: 16.4b
Found 4 expressions with local error:
| 3.3b | (- (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1)))) (cbrt x)) |
| 0.5b | (cbrt x) |
| 0.3b | (* (cbrt (+ x 1)) (cbrt (+ x 1))) |
| 0.3b | (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1)))) |
4 calls. Slowest were:
| 28.0ms | (- (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1)))) (cbrt x)) |
| 12.0ms | (* (cbrt (+ x 1)) (cbrt (+ x 1))) |
| 10.0ms | (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1)))) |
4 calls. Slowest were:
| 274.0ms | (cbrt x) |
| 92.0ms | (- (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1)))) (cbrt x)) |
| 39.0ms | (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1)))) |
| 37.0ms | (* (cbrt (+ x 1)) (cbrt (+ x 1))) |
76 calls. Slowest were:
| 328.0ms | (- (+ (* 1/3 x) 1) (+ (* 1/9 (pow x 2)) (pow x 1/3))) |
| 249.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))))) |
| 155.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: 16.4b
Found 4 expressions with local error:
| 2.7b | (- (pow (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1)))) 3) (pow (cbrt x) 3)) |
| 0.7b | (pow (cbrt x) 3) |
| 0.5b | (cbrt x) |
| 0.5b | (cbrt x) |
4 calls. Slowest were:
| 20.0ms | (- (pow (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1)))) 3) (pow (cbrt x) 3)) |
| 2.0ms | (pow (cbrt x) 3) |
| 0.0ms | (cbrt x) |
4 calls. Slowest were:
| 326.0ms | (cbrt x) |
| 303.0ms | (cbrt x) |
| 273.0ms | (pow (cbrt x) 3) |
| 82.0ms | (- (pow (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1)))) 3) (pow (cbrt x) 3)) |
50 calls. Slowest were:
| 61.0ms | (- (pow (sqrt (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1))))) 3) (pow (sqrt (cbrt x)) 3)) |
| 50.0ms | (+ (pow (sqrt (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1))))) 3) (pow (sqrt (cbrt x)) 3)) |
| 44.0ms | (- (pow (sqrt (cbrt (* (* (cbrt (+ x 1)) (cbrt (+ x 1))) (cbrt (+ x 1))))) 3) (pow (sqrt (cbrt x)) 3)) |
4 alts after pruning (4 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:
| 4.0ms | (* (cbrt x) (cbrt x)) |
| 0.0ms | (cbrt x) |
| 0.0ms | (cbrt x) |
4 calls. Slowest were:
| 333.0ms | (* (cbrt x) (cbrt x)) |
| 279.0ms | (cbrt x) |
| 272.0ms | (cbrt x) |
| 260.0ms | (cbrt x) |
25 calls. Slowest were:
| 18.0ms | (* (pow (pow x 2) 1/3) (pow (cbrt -1) 2)) |
| 11.0ms | (* (pow (* x -1) 1/3) (cbrt -1)) |
| 10.0ms | (* (pow (* x -1) 1/3) (cbrt -1)) |
10 alts after pruning (9 fresh and 1 done)
Merged error: 0.3b
0% (0.3b remaining)
Error of 0.6b against oracle of 0.3b and baseline of 0.6b