



Bits error versus x
Results
| Original | 15.2 |
|---|---|
| Target | 0.1 |
| Herbie | 0.0 |
if x < -7.345940124114164e+23 or 937904.7083747658 < x Initial program 31.6
rmApplied *-un-lft-identity31.6
Applied associate-/r*31.6
Taylor expanded around inf 0.0
if -7.345940124114164e+23 < x < 937904.7083747658Initial program 0.0
rmApplied *-un-lft-identity0.0
Applied associate-/r*0.0
rmApplied *-un-lft-identity0.0
Applied div-inv0.0
Applied times-frac0.0
Simplified0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019008
(FPCore (x)
:name "x / (x^2 + 1)"
:herbie-target
(/ 1 (+ x (/ 1 x)))
(/ x (+ (* x x) 1)))
Time bar (total: 7.0s)Debug log
1 calls. Slowest were:
| 3.0ms | (/ x (+ (* x x) 1)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 13.8b
Found 1 expressions with local error:
| 13.8b | (/ x (+ (* x x) 1)) |
1 calls. Slowest were:
| 1.0ms | (/ x (+ (* x x) 1)) |
1 calls. Slowest were:
| 18.0ms | (/ x (+ (* x x) 1)) |
8 calls. Slowest were:
| 261.0ms | (+ (* (* x x) (* x x)) (- (* 1 1) (* (* x x) 1))) |
| 54.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 30.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0b
Found 1 expressions with local error:
| 13.8b | (/ (/ x 1) (+ (* x x) 1)) |
1 calls. Slowest were:
| 10.0ms | (/ (/ x 1) (+ (* x x) 1)) |
1 calls. Slowest were:
| 30.0ms | (/ (/ x 1) (+ (* x x) 1)) |
36 calls. Slowest were:
| 518.0ms | (/ (* (* (/ x 1) (/ x 1)) (/ x 1)) (* (* (+ (* x x) 1) (+ (* x x) 1)) (+ (* x x) 1))) |
| 240.0ms | (+ (* (* x x) (* x x)) (- (* 1 1) (* (* x x) 1))) |
| 43.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 2 expressions with local error:
| 13.7b | (* x (/ 1 (+ (* x x) 1))) |
| 0.1b | (/ 1 (+ (* x x) 1)) |
2 calls. Slowest were:
| 2.0ms | (/ 1 (+ (* x x) 1)) |
| 1.0ms | (* x (/ 1 (+ (* x x) 1))) |
2 calls. Slowest were:
| 18.0ms | (* x (/ 1 (+ (* x x) 1))) |
| 15.0ms | (/ 1 (+ (* x x) 1)) |
20 calls. Slowest were:
| 282.0ms | (+ (* (* x x) (* x x)) (- (* 1 1) (* (* x x) 1))) |
| 250.0ms | (+ (* (* x x) (* x x)) (- (* 1 1) (* (* x x) 1))) |
| 60.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 4 expressions with local error:
| 19.3b | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 0.4b | (/ 1 (pow x 3)) |
| 0.2b | (/ 1 (pow x 5)) |
| 0.0b | (+ (/ 1 (pow x 5)) (/ 1 x)) |
4 calls. Slowest were:
| 34.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 4.0ms | (+ (/ 1 (pow x 5)) (/ 1 x)) |
| 1.0ms | (/ 1 (pow x 3)) |
4 calls. Slowest were:
| 33.0ms | (+ (/ 1 (pow x 5)) (/ 1 x)) |
| 25.0ms | (/ 1 (pow x 5)) |
| 24.0ms | (/ 1 (pow x 3)) |
| 18.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
49 calls. Slowest were:
| 356.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 293.0ms | (* (- (/ 1 (pow x 5)) (/ 1 x)) (pow x 3)) |
| 214.0ms | (- (* (+ (* 1 x) (* (pow x 5) 1)) (pow x 3)) (* (* (pow x 5) x) 1)) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
100% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 15.2b