


Bits error versus x
Results
Initial program 30.1
rmApplied add-cube-cbrt30.1
Applied cbrt-prod30.1
rmApplied flip3--30.1
Taylor expanded around inf 0.7
rmApplied add-sqr-sqrt0.7
Final simplification0.7
herbie shell --seed 1042149663
(FPCore (x)
:name "2cbrt (problem 3.3.4)"
(- (cbrt (+ x 1)) (cbrt x)))
Time bar (total: 19.3s)Debug log
| 472× | (pre true 80) |
| 215× | (body nan 80) |
| 141× | (body real 80) |
| 52× | (body real 1280) |
| 32× | (body real 640) |
| 27× | (body real 320) |
| 5× | (body real 160) |
| 9.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 27.6b
Found 3 expressions with local error:
| 2.2b | (- (cbrt (+ x 1)) (cbrt x)) |
| 0.5b | (cbrt x) |
| 0.3b | (cbrt (+ x 1)) |
| 8× | add-sqr-sqrt |
| 6× | *-un-lft-identity |
| 5× | add-log-exp |
| 4× | add-cube-cbrt |
| 4× | cbrt-prod |
| 3× | add-exp-log |
| 3× | add-cbrt-cube |
| 3× | pow1 |
| 2× | difference-of-squares |
| 2× | pow1/3 |
| 2× | cbrt-div |
| 1× | distribute-lft-out-- |
| 1× | flip-- |
| 1× | flip-+ |
| 1× | diff-log |
| 1× | flip3-- |
| 1× | flip3-+ |
| 1× | sub-neg |
| 12.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
| 1.0ms | (cbrt (+ x 1)) |
| 0.0ms | (cbrt x) |
| 453.0ms | (cbrt x) |
| 174.0ms | (- (cbrt (+ x 1)) (cbrt x)) |
| 64.0ms | (cbrt (+ x 1)) |
| 383.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))))) |
| 344.0ms | (- (+ (* 1/3 x) 1) (+ (* 1/9 (pow x 2)) (pow x 1/3))) |
| 278.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)))) |
| 102.0ms | (- (+ (* 1/3 (pow (/ 1 (pow x 2)) 1/3)) (* 5/81 (pow (/ 1 (pow x 8)) 1/3))) (* 1/9 (pow (/ 1 (pow x 5)) 1/3))) |
| 99.0ms | (- (+ (* 1/3 x) 1) (* 1/9 (pow x 2))) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 13.4b
Found 4 expressions with local error:
| 10.9b | (- (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) (cbrt x)) |
| 0.5b | (cbrt x) |
| 0.3b | (cbrt (+ x 1)) |
| 0.3b | (cbrt (+ x 1)) |
| 6× | add-log-exp |
| 6× | add-cube-cbrt |
| 6× | *-un-lft-identity |
| 6× | add-sqr-sqrt |
| 6× | cbrt-prod |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | cbrt-div |
| 4× | pow1 |
| 3× | pow1/3 |
| 2× | flip-+ |
| 2× | flip3-+ |
| 1× | flip-- |
| 1× | diff-log |
| 1× | flip3-- |
| 1× | sub-neg |
| 34.0ms | (- (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) (cbrt x)) |
| 1.0ms | (cbrt (+ x 1)) |
| 1.0ms | (cbrt (+ x 1)) |
| 0.0ms | (cbrt x) |
| 444.0ms | (cbrt x) |
| 163.0ms | (- (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) (cbrt x)) |
| 68.0ms | (cbrt (+ x 1)) |
| 64.0ms | (cbrt (+ x 1)) |
| 393.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))))) |
| 344.0ms | (- (+ (* 1/3 x) 1) (+ (* 1/9 (pow x 2)) (pow x 1/3))) |
| 285.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)))) |
| 281.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)))) |
| 100.0ms | (- (+ (* 1/3 (pow (/ 1 (pow x 2)) 1/3)) (* 5/81 (pow (/ 1 (pow x 8)) 1/3))) (* 1/9 (pow (/ 1 (pow x 5)) 1/3))) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 13.4b
Found 4 expressions with local error:
| 10.3b | (- (pow (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) 3) (pow (cbrt x) 3)) |
| 0.8b | (pow (cbrt x) 3) |
| 0.5b | (cbrt x) |
| 0.5b | (cbrt x) |
| 12× | add-sqr-sqrt |
| 8× | *-un-lft-identity |
| 6× | add-log-exp |
| 6× | add-cube-cbrt |
| 5× | add-exp-log |
| 5× | pow1 |
| 4× | cube-prod |
| 4× | add-cbrt-cube |
| 4× | unpow-prod-down |
| 3× | difference-of-squares |
| 3× | pow1/3 |
| 2× | pow-pow |
| 1× | rem-cube-cbrt |
| 1× | distribute-lft-out-- |
| 1× | flip-- |
| 1× | pow-exp |
| 1× | unpow3 |
| 1× | diff-log |
| 1× | flip3-- |
| 1× | sub-neg |
| 1× | difference-cubes |
| 1× | pow-to-exp |
| 1× | cube-mult |
| 36.0ms | (- (pow (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) 3) (pow (cbrt x) 3)) |
| 2.0ms | (pow (cbrt x) 3) |
| 0.0ms | (cbrt x) |
| 0.0ms | (cbrt x) |
| 477.0ms | (pow (cbrt x) 3) |
| 434.0ms | (cbrt x) |
| 433.0ms | (cbrt x) |
| 119.0ms | (- (pow (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) 3) (pow (cbrt x) 3)) |
| 202.0ms | (/ (exp (pow (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) 3)) (exp (pow (cbrt x) 3))) |
| 173.0ms | (- (sqrt (pow (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) 3)) (pow (sqrt (cbrt x)) 3)) |
| 173.0ms | (- (sqrt (pow (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) 3)) (pow (sqrt (cbrt x)) 3)) |
| 158.0ms | (- (sqrt (pow (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) 3)) (sqrt (pow (cbrt x) 3))) |
| 157.0ms | (- (pow (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1)))) 3) (pow (cbrt x) 3)) |
7 alts after pruning (7 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)) |
| 9× | pow1 |
| 7× | pow1/3 |
| 6× | add-cube-cbrt |
| 6× | add-exp-log |
| 6× | *-un-lft-identity |
| 6× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | add-cbrt-cube |
| 3× | associate-*l* |
| 3× | associate-*r* |
| 2× | pow-prod-up |
| 2× | pow-prod-down |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-plus |
| 1× | pow2 |
| 8.0ms | (* (cbrt x) (cbrt x)) |
| 0.0ms | (cbrt x) |
| 0.0ms | (cbrt x) |
| 0.0ms | (cbrt x) |
| 469.0ms | (* (cbrt x) (cbrt x)) |
| 434.0ms | (cbrt x) |
| 434.0ms | (cbrt x) |
| 430.0ms | (cbrt x) |
| 21.0ms | (* (pow (pow x 2) 1/3) (pow (cbrt -1) 2)) |
| 11.0ms | (* (pow (* x -1) 1/3) (cbrt -1)) |
| 11.0ms | (* (pow (* x -1) 1/3) (cbrt -1)) |
| 11.0ms | (* (pow (* x -1) 1/3) (cbrt -1)) |
| 6.0ms | (pow (/ 1 x) -1/3) |
13 alts after pruning (13 fresh and 0 done)
Merged error: 0.3b
0% (0.3b remaining)
Error of 0.7b against oracle of 0.4b and baseline of 0.7b
| 16095× | (pre true 80) |
| 8094× | (body nan 80) |
| 4038× | (body real 80) |
| 1722× | (body real 1280) |
| 1293× | (body real 640) |
| 638× | (body real 320) |
| 310× | (body real 160) |