


Bits error versus x



Bits error versus eps
Results
if x < 310.8796801255867Initial program 39.4
Taylor expanded around 0 1.4
rmApplied associate--l+1.4
rmApplied add-cube-cbrt1.4
if 310.8796801255867 < x Initial program 0.2
rmApplied *-un-lft-identity0.2
Applied exp-prod0.2
Simplified0.2
Final simplification1.1
herbie shell --seed 2019008
(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
1 calls. Slowest were:
| 224.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: 30.8b
Found 4 expressions with local error:
| 1.7b | (- (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) (* (- (/ 1 eps) 1) (exp (- (* (+ 1 eps) x))))) |
| 0.1b | (exp (- (* (+ 1 eps) x))) |
| 0.1b | (exp (- (* (- 1 eps) x))) |
| 0.0b | (* (- 1 eps) x) |
4 calls. Slowest were:
| 26.0ms | (- (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) (* (- (/ 1 eps) 1) (exp (- (* (+ 1 eps) x))))) |
| 6.0ms | (exp (- (* (+ 1 eps) x))) |
| 6.0ms | (exp (- (* (- 1 eps) x))) |
4 calls. Slowest were:
| 107.0ms | (- (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) (* (- (/ 1 eps) 1) (exp (- (* (+ 1 eps) x))))) |
| 18.0ms | (exp (- (* (- 1 eps) x))) |
| 18.0ms | (exp (- (* (+ 1 eps) x))) |
| 15.0ms | (* (- 1 eps) x) |
195 calls. Slowest were:
| 614.0ms | (- (* (* (- (* 1 1) (* (/ 1 eps) (/ 1 eps))) 1) (+ (* (/ 1 eps) (/ 1 eps)) (+ (* 1 1) (* (/ 1 eps) 1)))) (* (* (- 1 (/ 1 eps)) (exp (* (- 1 eps) x))) (* (- (pow (/ 1 eps) 3) (pow 1 3)) (exp (- (* (+ 1 eps) x)))))) |
| 610.0ms | (* (- 1 (/ 1 eps)) (+ (* (/ 1 eps) (/ 1 eps)) (+ (* 1 1) (* (/ 1 eps) 1)))) |
| 608.0ms | (* (+ (* 1 1) (- (* (/ 1 eps) (/ 1 eps)) (* 1 (/ 1 eps)))) (+ (/ 1 eps) 1)) |
4 alts after pruning (4 fresh and 0 done)
Merged error: 0.6b
Found 2 expressions with local error:
| 6.6b | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 0.1b | (* 2/3 (pow x 3)) |
2 calls. Slowest were:
| 24.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 3.0ms | (* 2/3 (pow x 3)) |
2 calls. Slowest were:
| 19.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 17.0ms | (* 2/3 (pow x 3)) |
17 calls. Slowest were:
| 90.0ms | (/ (exp (+ (* 2/3 (pow x 3)) 2)) (exp (pow x 2))) |
| 79.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 71.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
6 alts after pruning (6 fresh and 0 done)
Merged error: 0.5b
Found 2 expressions with local error:
| 6.6b | (+ (* 2/3 (pow x 3)) (- 2 (pow x 2))) |
| 0.1b | (* 2/3 (pow x 3)) |
2 calls. Slowest were:
| 4.0ms | (+ (* 2/3 (pow x 3)) (- 2 (pow x 2))) |
| 1.0ms | (* 2/3 (pow x 3)) |
2 calls. Slowest were:
| 28.0ms | (* 2/3 (pow x 3)) |
| 17.0ms | (+ (* 2/3 (pow x 3)) (- 2 (pow x 2))) |
14 calls. Slowest were:
| 126.0ms | (* (exp (* 2/3 (pow x 3))) (exp (- 2 (pow x 2)))) |
| 87.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 49.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
5 alts after pruning (5 fresh and 0 done)
Merged error: 0.5b
Found 4 expressions with local error:
| 42.9b | (cbrt (* 2/3 (pow x 3))) |
| 42.9b | (cbrt (* 2/3 (pow x 3))) |
| 42.9b | (cbrt (* 2/3 (pow x 3))) |
| 6.6b | (+ (* (* (cbrt (* 2/3 (pow x 3))) (cbrt (* 2/3 (pow x 3)))) (cbrt (* 2/3 (pow x 3)))) (- 2 (pow x 2))) |
4 calls. Slowest were:
| 17.0ms | (+ (* (* (cbrt (* 2/3 (pow x 3))) (cbrt (* 2/3 (pow x 3)))) (cbrt (* 2/3 (pow x 3)))) (- 2 (pow x 2))) |
| 1.0ms | (cbrt (* 2/3 (pow x 3))) |
| 1.0ms | (cbrt (* 2/3 (pow x 3))) |
4 calls. Slowest were:
| 94.0ms | (cbrt (* 2/3 (pow x 3))) |
| 88.0ms | (cbrt (* 2/3 (pow x 3))) |
| 81.0ms | (cbrt (* 2/3 (pow x 3))) |
| 50.0ms | (+ (* (* (cbrt (* 2/3 (pow x 3))) (cbrt (* 2/3 (pow x 3)))) (cbrt (* 2/3 (pow x 3)))) (- 2 (pow x 2))) |
19 calls. Slowest were:
| 126.0ms | (* (exp (* (* (cbrt (* 2/3 (pow x 3))) (cbrt (* 2/3 (pow x 3)))) (cbrt (* 2/3 (pow x 3))))) (exp (- 2 (pow x 2)))) |
| 78.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
| 74.0ms | (- (+ (* 2/3 (pow x 3)) 2) (pow x 2)) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.5b
96.2% (0.6b remaining)
Error of 1.1b against oracle of 0.5b and baseline of 16.3b