


Bits error versus x
Results
if x < -11997.32666981334 or 11909.34130082208 < x Initial program 59.2
rmApplied frac-sub60.9
Taylor expanded around -inf 0.3
Simplified0.0
if -11997.32666981334 < x < 11909.34130082208Initial program 0.1
rmApplied frac-sub0.1
rmApplied distribute-rgt-in0.1
Applied associate--r+0.1
Simplified0.1
rmApplied flip-+0.1
Applied associate-*l/0.1
Applied associate-/r/0.1
Final simplification0.0
herbie shell --seed 2019002
(FPCore (x)
:name "Asymptote C"
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1))))
Time bar (total: 1.1m)Debug log
1 calls. Slowest were:
| 40.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 26.6b
Found 3 expressions with local error:
| 1.6b | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 0.0b | (/ (+ x 1) (- x 1)) |
| 0.0b | (/ x (+ x 1)) |
3 calls. Slowest were:
| 12.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 6.0ms | (/ (+ x 1) (- x 1)) |
| 1.0ms | (/ x (+ x 1)) |
3 calls. Slowest were:
| 33.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 10.0ms | (/ (+ x 1) (- x 1)) |
| 10.0ms | (/ x (+ x 1)) |
51 calls. Slowest were:
| 528.0ms | (- (* x (- x 1)) (* (+ x 1) (+ x 1))) |
| 313.0ms | (/ (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* (- x 1) (- x 1)) (- x 1))) |
| 312.0ms | (- (+ (* 3 (/ 1 (pow x 3))) (+ (/ 1 (pow x 2)) (* 3 (/ 1 x))))) |
4 alts after pruning (4 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 1.6b | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 1.6b | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 1.6b | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 0.0b | (cbrt (- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))) |
4 calls. Slowest were:
| 11.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 11.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 10.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
4 calls. Slowest were:
| 75.0ms | (cbrt (- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))) |
| 44.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 35.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 29.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
45 calls. Slowest were:
| 628.0ms | (- (* x (- x 1)) (* (+ x 1) (+ x 1))) |
| 584.0ms | (cbrt (- (* x (- x 1)) (* (+ x 1) (+ x 1)))) |
| 523.0ms | (- (* x (- x 1)) (* (+ x 1) (+ x 1))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 15.8b | (- (* x (- x 1)) (* (+ x 1) (+ x 1))) |
| 0.0b | (* (+ x 1) (+ x 1)) |
| 0.0b | (/ (- (* x (- x 1)) (* (+ x 1) (+ x 1))) (* (+ x 1) (- x 1))) |
| 0.0b | (* x (- x 1)) |
4 calls. Slowest were:
| 23.0ms | (/ (- (* x (- x 1)) (* (+ x 1) (+ x 1))) (* (+ x 1) (- x 1))) |
| 10.0ms | (- (* x (- x 1)) (* (+ x 1) (+ x 1))) |
| 7.0ms | (* (+ x 1) (+ x 1)) |
4 calls. Slowest were:
| 35.0ms | (/ (- (* x (- x 1)) (* (+ x 1) (+ x 1))) (* (+ x 1) (- x 1))) |
| 29.0ms | (* x (- x 1)) |
| 27.0ms | (- (* x (- x 1)) (* (+ x 1) (+ x 1))) |
| 10.0ms | (* (+ x 1) (+ x 1)) |
125 calls. Slowest were:
| 773.0ms | (* (- x 1) (+ (* x x) (- (* 1 1) (* x 1)))) |
| 655.0ms | (/ (exp (* x (- x 1))) (exp (* (+ x 1) (+ x 1)))) |
| 569.0ms | (- (log (- (* x (- x 1)) (* (+ x 1) (+ x 1)))) (+ (log (+ x 1)) (log (- x 1)))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0b
Found 4 expressions with local error:
| 15.8b | (- (* x (- x 1)) (* x (+ x 1))) |
| 13.5b | (/ (- (- (* x (- x 1)) (* x (+ x 1))) (+ x 1)) (* (+ x 1) (- x 1))) |
| 0.0b | (- (- (* x (- x 1)) (* x (+ x 1))) (+ x 1)) |
| 0.0b | (* x (+ x 1)) |
4 calls. Slowest were:
| 31.0ms | (/ (- (- (* x (- x 1)) (* x (+ x 1))) (+ x 1)) (* (+ x 1) (- x 1))) |
| 14.0ms | (- (- (* x (- x 1)) (* x (+ x 1))) (+ x 1)) |
| 5.0ms | (- (* x (- x 1)) (* x (+ x 1))) |
4 calls. Slowest were:
| 34.0ms | (* x (+ x 1)) |
| 31.0ms | (/ (- (- (* x (- x 1)) (* x (+ x 1))) (+ x 1)) (* (+ x 1) (- x 1))) |
| 27.0ms | (- (- (* x (- x 1)) (* x (+ x 1))) (+ x 1)) |
| 14.0ms | (- (* x (- x 1)) (* x (+ x 1))) |
112 calls. Slowest were:
| 992.0ms | (- (pow (- (* x (- x 1)) (* x (+ x 1))) 3) (pow (+ x 1) 3)) |
| 972.0ms | (- (* (- (* x (- x 1)) (* x (+ x 1))) (- (* x (- x 1)) (* x (+ x 1)))) (* (+ x 1) (+ x 1))) |
| 688.0ms | (- (* (- (* (* x (- (* x x) (* 1 1))) (- x 1)) (* (+ x 1) (* x (- (* x x) (* 1 1))))) (- x 1)) (* (* (+ x 1) (- x 1)) (- (* x x) (* 1 1)))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
100% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 28.0b