


Bits error versus x
Results
if x < -292.47442415369994 or 484.8501943030043 < x Initial program 29.3
Taylor expanded around inf 0.8
Simplified0.8
Taylor expanded around 0 0.8
Simplified0.1
if -292.47442415369994 < x < 484.8501943030043Initial program 0.0
Final simplification0.1
herbie shell --seed 2019004
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))
Time bar (total: 19.0s)Debug log
1 calls. Slowest were:
| 5.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 15.1b
Found 3 expressions with local error:
| 3.8b | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 0.0b | (/ 1 (- x 1)) |
| 0.0b | (/ 1 (+ x 1)) |
3 calls. Slowest were:
| 5.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 1.0ms | (/ 1 (- x 1)) |
| 1.0ms | (/ 1 (+ x 1)) |
3 calls. Slowest were:
| 40.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 22.0ms | (/ 1 (- x 1)) |
| 7.0ms | (/ 1 (+ x 1)) |
32 calls. Slowest were:
| 430.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 363.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 151.0ms | (- (* 1 (- x 1)) (* (+ x 1) 1)) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.5b
Found 4 expressions with local error:
| 0.5b | (/ -2 (* x x)) |
| 0.3b | (/ -2 (pow x 4)) |
| 0.2b | (/ -2 (pow x 6)) |
| 0.0b | (+ (/ -2 (pow x 4)) (+ (/ -2 (pow x 6)) (/ -2 (* x x)))) |
4 calls. Slowest were:
| 13.0ms | (+ (/ -2 (pow x 4)) (+ (/ -2 (pow x 6)) (/ -2 (* x x)))) |
| 1.0ms | (/ -2 (pow x 4)) |
| 1.0ms | (/ -2 (* x x)) |
4 calls. Slowest were:
| 29.0ms | (/ -2 (pow x 6)) |
| 25.0ms | (+ (/ -2 (pow x 4)) (+ (/ -2 (pow x 6)) (/ -2 (* x x)))) |
| 23.0ms | (/ -2 (pow x 4)) |
| 11.0ms | (/ -2 (* x x)) |
30 calls. Slowest were:
| 444.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 413.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 2))) (* 2 (/ 1 (pow x 6)))))) |
| 387.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.3b | (/ -2 (pow x 4)) |
| 0.2b | (/ -2 (pow x 6)) |
| 0.1b | (/ (/ -2 x) x) |
| 0.0b | (+ (/ -2 (pow x 4)) (+ (/ -2 (pow x 6)) (/ (/ -2 x) x))) |
4 calls. Slowest were:
| 29.0ms | (+ (/ -2 (pow x 4)) (+ (/ -2 (pow x 6)) (/ (/ -2 x) x))) |
| 5.0ms | (/ (/ -2 x) x) |
| 1.0ms | (/ -2 (pow x 4)) |
4 calls. Slowest were:
| 36.0ms | (+ (/ -2 (pow x 4)) (+ (/ -2 (pow x 6)) (/ (/ -2 x) x))) |
| 32.0ms | (/ -2 (pow x 6)) |
| 25.0ms | (/ -2 (pow x 4)) |
| 18.0ms | (/ (/ -2 x) x) |
31 calls. Slowest were:
| 449.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 2))) (* 2 (/ 1 (pow x 6)))))) |
| 414.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 363.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
4 alts after pruning (1 fresh and 3 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 47.9b | (/ (pow x 6) (pow x 4)) |
| 45.3b | (* (pow x 4) (- (/ -2 (pow x 6)) (/ -2 (* x x)))) |
| 43.0b | (/ (* x x) (pow x 4)) |
| 33.4b | (/ (/ -4 (* x x)) (/ (* x x) (pow x 4))) |
4 calls. Slowest were:
| 18.0ms | (* (pow x 4) (- (/ -2 (pow x 6)) (/ -2 (* x x)))) |
| 8.0ms | (/ (/ -4 (* x x)) (/ (* x x) (pow x 4))) |
| 6.0ms | (/ (pow x 6) (pow x 4)) |
4 calls. Slowest were:
| 108.0ms | (* (pow x 4) (- (/ -2 (pow x 6)) (/ -2 (* x x)))) |
| 10.0ms | (/ (pow x 6) (pow x 4)) |
| 8.0ms | (/ (* x x) (pow x 4)) |
| 1.0ms | (/ (/ -4 (* x x)) (/ (* x x) (pow x 4))) |
143 calls. Slowest were:
| 1.2s | (/ (/ 1 (* x x)) (/ (* x x) (pow x 4))) |
| 500.0ms | (/ (/ -4 (* x x)) (/ (* x x) (pow x 4))) |
| 450.0ms | (- (log (/ -4 (* x x))) (- (log (* x x)) (* (log x) 4))) |
4 alts after pruning (1 fresh and 3 done)
Merged error: 0b
99.7% (0.0b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 14.6b