


Bits error versus x
Initial program 14.2
rmApplied flip--29.0
Applied associate-/r/29.0
Applied flip-+14.2
Applied associate-/r/14.2
Applied distribute-lft-out--13.6
Simplified13.6
Simplified0.4
Final simplification0.4
herbie shell --seed 2018362 +o rules:numerics
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))
Time bar (total: 34.5s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 10.6b
Found 3 expressions with local error:
| 1.6b | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 0.0b | (/ 1 (- x 1)) |
| 0.0b | (/ 1 (+ x 1)) |
3 calls. Slowest were:
| 12.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 2.0ms | (/ 1 (- x 1)) |
| 2.0ms | (/ 1 (+ x 1)) |
3 calls. Slowest were:
| 60.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 11.0ms | (/ 1 (- x 1)) |
| 10.0ms | (/ 1 (+ x 1)) |
108 calls. Slowest were:
| 1.3s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 1.3s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 1.2s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
3 alts after pruning (3 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:
| 5.0ms | (* (/ 1 (fma x x -1)) -2) |
| 1.0ms | (/ 1 (fma x x -1)) |
2 calls. Slowest were:
| 21.0ms | (/ 1 (fma x x -1)) |
| 15.0ms | (* (/ 1 (fma x x -1)) -2) |
13 calls. Slowest were:
| 886.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 760.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 133.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:
| 13.9b | (cbrt (* (/ 1 (fma x x -1)) -2)) |
| 13.9b | (cbrt (* (/ 1 (fma x x -1)) -2)) |
| 13.9b | (cbrt (* (/ 1 (fma x x -1)) -2)) |
| 0.1b | (* (cbrt (* (/ 1 (fma x x -1)) -2)) (cbrt (* (/ 1 (fma x x -1)) -2))) |
4 calls. Slowest were:
| 12.0ms | (* (cbrt (* (/ 1 (fma x x -1)) -2)) (cbrt (* (/ 1 (fma x x -1)) -2))) |
| 4.0ms | (cbrt (* (/ 1 (fma x x -1)) -2)) |
| 3.0ms | (cbrt (* (/ 1 (fma x x -1)) -2)) |
4 calls. Slowest were:
| 219.0ms | (* (cbrt (* (/ 1 (fma x x -1)) -2)) (cbrt (* (/ 1 (fma x x -1)) -2))) |
| 214.0ms | (cbrt (* (/ 1 (fma x x -1)) -2)) |
| 169.0ms | (cbrt (* (/ 1 (fma x x -1)) -2)) |
| 168.0ms | (cbrt (* (/ 1 (fma x x -1)) -2)) |
38 calls. Slowest were:
| 365.0ms | (+ (* 5/9 (* (pow (/ 1 (pow x 16)) 1/3) (pow (cbrt -2) 2))) (+ (* 2/3 (* (pow (/ 1 (pow x 10)) 1/3) (pow (cbrt -2) 2))) (* (pow (/ 1 (pow x 4)) 1/3) (pow (cbrt -2) 2)))) |
| 348.0ms | (+ (* 2/3 (* (pow x 2) (pow (cbrt -2) 2))) (+ (pow (cbrt -2) 2) (* 5/9 (* (pow x 4) (pow (cbrt -2) 2))))) |
| 310.0ms | (+ (* 5/9 (* (pow (/ 1 (pow x 16)) 1/3) (pow (cbrt -2) 2))) (+ (* 2/3 (* (pow (/ 1 (pow x 10)) 1/3) (pow (cbrt -2) 2))) (* (pow (/ 1 (pow x 4)) 1/3) (pow (cbrt -2) 2)))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 8.2b | (cbrt (* (* (* (/ 1 (fma x x -1)) -2) (* (/ 1 (fma x x -1)) -2)) (* (/ 1 (fma x x -1)) -2))) |
| 0.1b | (/ 1 (fma x x -1)) |
| 0.1b | (/ 1 (fma x x -1)) |
| 0.1b | (/ 1 (fma x x -1)) |
4 calls. Slowest were:
| 30.0ms | (cbrt (* (* (* (/ 1 (fma x x -1)) -2) (* (/ 1 (fma x x -1)) -2)) (* (/ 1 (fma x x -1)) -2))) |
| 1.0ms | (/ 1 (fma x x -1)) |
| 1.0ms | (/ 1 (fma x x -1)) |
4 calls. Slowest were:
| 90.0ms | (cbrt (* (* (* (/ 1 (fma x x -1)) -2) (* (/ 1 (fma x x -1)) -2)) (* (/ 1 (fma x x -1)) -2))) |
| 25.0ms | (/ 1 (fma x x -1)) |
| 25.0ms | (/ 1 (fma x x -1)) |
| 23.0ms | (/ 1 (fma x x -1)) |
33 calls. Slowest were:
| 757.0ms | (cbrt (* (* (* (/ 1 (fma x x -1)) -2) (* 1 -2)) (* (/ 1 (fma x x -1)) -2))) |
| 668.0ms | (cbrt (* (* (* (/ 1 (fma x x -1)) -2) (* (/ 1 (fma x x -1)) -2)) (* 1 -2))) |
| 281.0ms | (cbrt (* (* (/ 1 (fma x x -1)) -2) (* (/ 1 (fma x x -1)) -2))) |
5 alts after pruning (2 fresh and 3 done)
Merged error: 0.1b
0% (0.1b remaining)
Error of 0.4b against oracle of 0.4b and baseline of 0.4b