


Bits error versus x



Bits error versus eps
Results
if x < 62.538726348649945Initial program 38.9
Taylor expanded around 0 1.3
rmApplied associate--l+1.3
rmApplied add-cbrt-cube1.3
if 62.538726348649945 < x Initial program 0.2
Final simplification1.0
herbie shell --seed 2019022
(FPCore (x eps)
:name "NMSE Section 6.1 mentioned, A"
(/ (- (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) (* (- (/ 1 eps) 1) (exp (- (* (+ 1 eps) x))))) 2))
Time bar (total: 1.1m)Debug log
| 129.0ms | 71× | body | 10240 | exit |
| 98.0ms | 320× | body | 80 | valid |
| 65.0ms | 49× | body | 1280 | valid |
| 39.0ms | 43× | body | 640 | valid |
| 15.0ms | 23× | body | 320 | valid |
| 5.0ms | 13× | body | 160 | valid |
| 179.0ms | (/ (- (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) (* (- (/ 1 eps) 1) (exp (- (* (+ 1 eps) x))))) 2) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 29.2b
Found 4 expressions with local error:
| 4.1b | (- (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) (* (- (/ 1 eps) 1) (exp (- (* (+ 1 eps) x))))) |
| 0.0b | (* (+ 1 eps) x) |
| 0.0b | (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) |
| 0.0b | (* (- 1 eps) x) |
| 81× | frac-sub |
| 76× | frac-times |
| 76× | exp-neg |
| 57× | exp-diff |
| 57× | neg-sub0 |
| 42× | associate-*l/ |
| 38× | associate-*r/ |
| 31× | flip-+ |
| 31× | flip3-+ |
| 29× | flip-- |
| 29× | flip3-- |
| 19× | un-div-inv |
| 9× | associate-*l* |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 6× | add-log-exp |
| 6× | add-cbrt-cube |
| 6× | pow1 |
| 5× | add-exp-log |
| 3× | *-commutative |
| 3× | associate-*r* |
| 1× | cbrt-unprod |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 1× | diff-log |
| 1× | sub-neg |
| 24.0ms | (- (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) (* (- (/ 1 eps) 1) (exp (- (* (+ 1 eps) x))))) |
| 7.0ms | (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) |
| 4.0ms | (* (+ 1 eps) x) |
| 2.0ms | (* (- 1 eps) x) |
| 85.0ms | (- (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) (* (- (/ 1 eps) 1) (exp (- (* (+ 1 eps) x))))) |
| 19.0ms | (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) |
| 15.0ms | (* (- 1 eps) x) |
| 14.0ms | (* (+ 1 eps) x) |
| 663.0ms | (- (+ (/ (exp (- (* x eps) x)) eps) (+ (exp (- (* x eps) x)) (exp (- (+ (* x eps) x))))) (/ (exp (- (+ (* x eps) x))) eps)) |
| 641.0ms | (* (exp (* (- 1 eps) x)) (exp (* (+ 1 eps) x))) |
| 628.0ms | (sqrt (exp (- (* (- 1 eps) x)))) |
| 598.0ms | (* (* (* (+ 1 (/ 1 eps)) (+ 1 (/ 1 eps))) (+ 1 (/ 1 eps))) (* (* (exp (- (* (- 1 eps) x))) (exp (- (* (- 1 eps) x)))) (exp (- (* (- 1 eps) x))))) |
| 587.0ms | (cbrt (exp (- (* (- 1 eps) x)))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.6b
Found 3 expressions with local error:
| 7.8b | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 0.1b | (* 2/3 (pow x 3)) |
| 0.0b | (+ (* 2/3 (pow x 3)) 2) |
| 7× | add-sqr-sqrt |
| 6× | *-un-lft-identity |
| 5× | add-log-exp |
| 5× | associate-*r* |
| 4× | add-cube-cbrt |
| 3× | add-exp-log |
| 3× | add-cbrt-cube |
| 3× | pow1 |
| 2× | difference-of-squares |
| 1× | unpow2 |
| 1× | distribute-lft-out-- |
| 1× | flip-- |
| 1× | flip-+ |
| 1× | *-commutative |
| 1× | associate--l+ |
| 1× | unpow3 |
| 1× | diff-log |
| 1× | flip3-- |
| 1× | flip3-+ |
| 1× | sub-neg |
| 1× | +-commutative |
| 1× | cube-mult |
| 12.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 2.0ms | (+ (* 2/3 (pow x 3)) 2) |
| 1.0ms | (* 2/3 (pow x 3)) |
| 49.0ms | (+ (* 2/3 (pow x 3)) 2) |
| 25.0ms | (* 2/3 (pow x 3)) |
| 21.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 93.0ms | (/ (exp (+ (* 2/3 (pow x 3)) 2)) (exp (pow x 2))) |
| 73.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 65.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 65.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 47.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0.6b
Found 3 expressions with local error:
| 7.8b | (+ (* 2/3 (pow x 3)) (- 2 (pow x 2))) |
| 0.1b | (* 2/3 (pow x 3)) |
| 0.0b | (- 2 (pow x 2)) |
| 5× | add-log-exp |
| 5× | associate-*r* |
| 4× | add-cube-cbrt |
| 4× | *-un-lft-identity |
| 4× | add-sqr-sqrt |
| 3× | add-exp-log |
| 3× | add-cbrt-cube |
| 3× | pow1 |
| 2× | sub-neg |
| 2× | associate-+r+ |
| 1× | flip-- |
| 1× | flip-+ |
| 1× | *-commutative |
| 1× | unpow3 |
| 1× | flip3-- |
| 1× | flip3-+ |
| 1× | sum-log |
| 1× | associate-+r- |
| 1× | +-commutative |
| 1× | cube-mult |
| 3.0ms | (+ (* 2/3 (pow x 3)) (- 2 (pow x 2))) |
| 1.0ms | (* 2/3 (pow x 3)) |
| 0.0ms | (- 2 (pow x 2)) |
| 30.0ms | (- 2 (pow x 2)) |
| 18.0ms | (* 2/3 (pow x 3)) |
| 17.0ms | (+ (* 2/3 (pow x 3)) (- 2 (pow x 2))) |
| 143.0ms | (* (exp (* 2/3 (pow x 3))) (exp (- 2 (pow x 2)))) |
| 65.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 62.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 53.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 7.0ms | (* 2/3 (pow x 3)) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.6b
Found 4 expressions with local error:
| 43.7b | (cbrt (pow x 3)) |
| 43.7b | (cbrt (pow x 3)) |
| 7.8b | (+ (* (* 2/3 (* (cbrt (pow x 3)) (cbrt (pow x 3)))) x) (- 2 (pow x 2))) |
| 0.1b | (* 2/3 (* (cbrt (pow x 3)) (cbrt (pow x 3)))) |
| 10× | cbrt-prod |
| 6× | add-log-exp |
| 6× | add-cube-cbrt |
| 6× | *-un-lft-identity |
| 6× | add-sqr-sqrt |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | pow1 |
| 2× | rem-cbrt-cube |
| 2× | unpow3 |
| 2× | pow1/3 |
| 2× | associate-+r+ |
| 2× | cube-mult |
| 1× | flip-+ |
| 1× | *-commutative |
| 1× | associate-*r* |
| 1× | flip3-+ |
| 1× | sub-neg |
| 1× | sum-log |
| 1× | associate-+r- |
| 1× | +-commutative |
| 15.0ms | (+ (* (* 2/3 (* (cbrt (pow x 3)) (cbrt (pow x 3)))) x) (- 2 (pow x 2))) |
| 5.0ms | (* 2/3 (* (cbrt (pow x 3)) (cbrt (pow x 3)))) |
| 1.0ms | (cbrt (pow x 3)) |
| 1.0ms | (cbrt (pow x 3)) |
| 68.0ms | (* 2/3 (* (cbrt (pow x 3)) (cbrt (pow x 3)))) |
| 38.0ms | (+ (* (* 2/3 (* (cbrt (pow x 3)) (cbrt (pow x 3)))) x) (- 2 (pow x 2))) |
| 20.0ms | (cbrt (pow x 3)) |
| 19.0ms | (cbrt (pow x 3)) |
| 304.0ms | (- (+ (* 2/3 (* (pow x 3) (pow (cbrt -1) 2))) 2) (pow x 2)) |
| 111.0ms | (* (exp (* (* 2/3 (* (cbrt (pow x 3)) (cbrt (pow x 3)))) x)) (exp (- 2 (pow x 2)))) |
| 68.0ms | (* 2/3 (* (pow x 2) (pow (cbrt -1) 2))) |
| 63.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 55.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.6b
96.3% (0.6b remaining)
Error of 1.0b against oracle of 0.4b and baseline of 16.3b
| 4.2s | 1935× | body | 10240 | exit |
| 2.6s | 9925× | body | 80 | valid |
| 2.3s | 1705× | body | 1280 | valid |
| 1.1s | 1263× | body | 640 | valid |
| 395.0ms | 672× | body | 320 | valid |
| 117.0ms | 339× | body | 160 | valid |