


Bits error versus x
Results
if x < -6.95166373829725e+48 or 126507.6676441063 < x Initial program 59.8
rmApplied add-cbrt-cube59.8
Taylor expanded around inf 0.3
Simplified0.0
if -6.95166373829725e+48 < x < 126507.6676441063Initial program 3.3
rmApplied frac-sub3.3
Taylor expanded around -inf 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2018362
(FPCore (x)
:name "Asymptote C"
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1))))
Time bar (total: 42.9s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 23.8b
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:
| 11.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 6.0ms | (/ (+ x 1) (- x 1)) |
| 1.0ms | (/ x (+ x 1)) |
3 calls. Slowest were:
| 46.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 13.0ms | (/ x (+ x 1)) |
| 11.0ms | (/ (+ x 1) (- x 1)) |
51 calls. Slowest were:
| 513.0ms | (- (* x (- x 1)) (* (+ x 1) (+ x 1))) |
| 299.0ms | (/ (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* (- x 1) (- x 1)) (- x 1))) |
| 253.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:
| 23.4b | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 1.6b | (- (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) (/ (+ x 1) (- x 1))) |
| 0.1b | (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1))) |
| 0.0b | (* (/ x (+ x 1)) (/ x (+ x 1))) |
4 calls. Slowest were:
| 12.0ms | (- (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) (/ (+ x 1) (- x 1))) |
| 11.0ms | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 8.0ms | (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1))) |
4 calls. Slowest were:
| 52.0ms | (- (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) (/ (+ x 1) (- x 1))) |
| 19.0ms | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 16.0ms | (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1))) |
| 12.0ms | (* (/ x (+ x 1)) (/ x (+ x 1))) |
93 calls. Slowest were:
| 892.0ms | (* (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1))) (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 526.0ms | (- (* (cbrt (* (* x x) x)) (- x 1)) (* (cbrt (* (* (+ x 1) (+ x 1)) (+ x 1))) (+ x 1))) |
| 485.0ms | (- (* (cbrt (* (* x x) (/ x (+ x 1)))) (- x 1)) (* (cbrt (* (+ x 1) (+ x 1))) (+ x 1))) |
4 alts after pruning (4 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 23.4b | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 23.4b | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 23.4b | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 23.4b | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
4 calls. Slowest were:
| 9.0ms | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 6.0ms | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 6.0ms | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
4 calls. Slowest were:
| 24.0ms | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 22.0ms | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 22.0ms | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 18.0ms | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
44 calls. Slowest were:
| 125.0ms | (cbrt (* (* x (/ x (+ x 1))) (/ x (+ x 1)))) |
| 124.0ms | (cbrt (* (* (/ x (+ x 1)) (/ x (+ x 1))) x)) |
| 120.0ms | (cbrt (* (* (/ x (+ x 1)) x) (/ x (+ x 1)))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 15.4b | (- (* 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:
| 12.0ms | (/ (- (* x (- x 1)) (* (+ x 1) (+ x 1))) (* (+ x 1) (- x 1))) |
| 5.0ms | (- (* x (- x 1)) (* (+ x 1) (+ x 1))) |
| 3.0ms | (* (+ x 1) (+ x 1)) |
4 calls. Slowest were:
| 27.0ms | (* x (- x 1)) |
| 24.0ms | (/ (- (* x (- x 1)) (* (+ x 1) (+ x 1))) (* (+ x 1) (- x 1))) |
| 18.0ms | (- (* x (- x 1)) (* (+ x 1) (+ x 1))) |
| 10.0ms | (* (+ x 1) (+ x 1)) |
125 calls. Slowest were:
| 557.0ms | (sqrt (- (* x (- x 1)) (* (+ x 1) (+ x 1)))) |
| 526.0ms | (* (- (* x x) (* 1 1)) (+ x 1)) |
| 513.0ms | (* (+ x 1) (* (+ (* x x) (- (* 1 1) (* x 1))) (+ (* x x) (- (* 1 1) (* x 1))))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
99.9% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 15.3b