


Bits error versus x
Initial program 14.6
rmApplied flip--29.3
Applied associate-/r/29.4
Applied flip-+14.6
Applied associate-/r/14.6
Applied distribute-lft-out--14.0
Simplified14.0
Simplified0.5
Final simplification0.5
herbie shell --seed 2019008 +o rules:numerics
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))
Time bar (total: 32.0s)Debug log
1 calls. Slowest were:
| 11.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 13.8b
Found 3 expressions with local error:
| 1.3b | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 0.0b | (/ 1 (- x 1)) |
| 0.0b | (/ 1 (+ x 1)) |
3 calls. Slowest were:
| 7.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 1.0ms | (/ 1 (+ x 1)) |
| 1.0ms | (/ 1 (- x 1)) |
3 calls. Slowest were:
| 37.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 10.0ms | (/ 1 (- x 1)) |
| 9.0ms | (/ 1 (+ x 1)) |
108 calls. Slowest were:
| 1.1s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 1.1s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 1.1s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.1b
Found 2 expressions with local error:
| 0.1b | (/ 1 (fma x x -1)) |
| 0.0b | (* (/ 1 (fma x x -1)) -2) |
2 calls. Slowest were:
| 3.0ms | (* (/ 1 (fma x x -1)) -2) |
| 1.0ms | (/ 1 (fma x x -1)) |
2 calls. Slowest were:
| 26.0ms | (* (/ 1 (fma x x -1)) -2) |
| 16.0ms | (/ 1 (fma x x -1)) |
13 calls. Slowest were:
| 712.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 700.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 130.0ms | (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 2)) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 14.2b | (cbrt (fma x x -1)) |
| 14.2b | (cbrt (fma x x -1)) |
| 14.2b | (cbrt (fma x x -1)) |
| 0.7b | (/ 1 (* (cbrt (fma x x -1)) (cbrt (fma x x -1)))) |
4 calls. Slowest were:
| 9.0ms | (/ 1 (* (cbrt (fma x x -1)) (cbrt (fma x x -1)))) |
| 1.0ms | (cbrt (fma x x -1)) |
| 1.0ms | (cbrt (fma x x -1)) |
4 calls. Slowest were:
| 150.0ms | (cbrt (fma x x -1)) |
| 141.0ms | (cbrt (fma x x -1)) |
| 124.0ms | (/ 1 (* (cbrt (fma x x -1)) (cbrt (fma x x -1)))) |
| 108.0ms | (cbrt (fma x x -1)) |
29 calls. Slowest were:
| 224.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 203.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 152.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 14.2b | (cbrt (fma x x -1)) |
| 14.2b | (cbrt (fma x x -1)) |
| 14.2b | (cbrt (fma x x -1)) |
| 0.1b | (/ (/ 1 (cbrt (fma x x -1))) (cbrt (fma x x -1))) |
4 calls. Slowest were:
| 4.0ms | (/ (/ 1 (cbrt (fma x x -1))) (cbrt (fma x x -1))) |
| 1.0ms | (cbrt (fma x x -1)) |
| 1.0ms | (cbrt (fma x x -1)) |
4 calls. Slowest were:
| 157.0ms | (cbrt (fma x x -1)) |
| 154.0ms | (/ (/ 1 (cbrt (fma x x -1))) (cbrt (fma x x -1))) |
| 125.0ms | (cbrt (fma x x -1)) |
| 125.0ms | (cbrt (fma x x -1)) |
86 calls. Slowest were:
| 602.0ms | (/ (* (* (/ 1 (cbrt (fma x x -1))) (/ 1 (cbrt (fma x x -1)))) (/ 1 (cbrt (fma x x -1)))) (fma x x -1)) |
| 473.0ms | (- (pow (/ 1 x) -2/3) (+ (* 1/9 (pow (/ 1 (pow x 10)) 1/3)) (* 1/3 (pow (/ 1 (pow x 4)) 1/3)))) |
| 234.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0.1b
0% (0.0b remaining)
Error of 0.5b against oracle of 0.4b and baseline of 0.5b