



Bits error versus x
Results
| Original | 15.4 |
|---|---|
| Target | 0.1 |
| Herbie | 0.0 |
if x < -37260.24691373008 or 391.16595692723325 < x Initial program 31.0
rmApplied flip-+48.0
Applied associate-/r/48.0
rmApplied flip--55.6
Applied associate-/r/55.6
Applied associate-*l*55.7
Simplified55.7
Taylor expanded around -inf 0.0
if -37260.24691373008 < x < 391.16595692723325Initial program 0.0
rmApplied flip-+0.0
Applied associate-/r/0.0
rmApplied flip--0.0
Applied associate-/r/0.0
Applied associate-*l*0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019007
(FPCore (x)
:name "x / (x^2 + 1)"
:herbie-target
(/ 1 (+ x (/ 1 x)))
(/ x (+ (* x x) 1)))
Time bar (total: 29.6s)Debug log
1 calls. Slowest were:
| 4.0ms | (/ x (+ (* x x) 1)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 17.0b
Found 1 expressions with local error:
| 17.0b | (/ x (+ (* x x) 1)) |
1 calls. Slowest were:
| 2.0ms | (/ x (+ (* x x) 1)) |
1 calls. Slowest were:
| 22.0ms | (/ x (+ (* x x) 1)) |
8 calls. Slowest were:
| 250.0ms | (+ (* (* x x) (* x x)) (- (* 1 1) (* (* x x) 1))) |
| 47.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 39.0ms | (- (+ x (pow x 5)) (pow x 3)) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0b
Found 3 expressions with local error:
| 21.4b | (* (/ x (- (* (* x x) (* x x)) (* 1 1))) (- (* x x) 1)) |
| 1.8b | (/ x (- (* (* x x) (* x x)) (* 1 1))) |
| 0.1b | (* (* x x) (* x x)) |
3 calls. Slowest were:
| 10.0ms | (* (/ x (- (* (* x x) (* x x)) (* 1 1))) (- (* x x) 1)) |
| 3.0ms | (/ x (- (* (* x x) (* x x)) (* 1 1))) |
| 3.0ms | (* (* x x) (* x x)) |
3 calls. Slowest were:
| 55.0ms | (/ x (- (* (* x x) (* x x)) (* 1 1))) |
| 47.0ms | (* (/ x (- (* (* x x) (* x x)) (* 1 1))) (- (* x x) 1)) |
| 13.0ms | (* (* x x) (* x x)) |
45 calls. Slowest were:
| 1.6s | (* (* (* (/ x (- (* (* x x) (* x x)) (* 1 1))) (/ x (- (* (* x x) (* x x)) (* 1 1)))) (/ x (- (* (* x x) (* x x)) (* 1 1)))) (* (* (- (* x x) 1) (- (* x x) 1)) (- (* x x) 1))) |
| 745.0ms | (* (- 1) (/ x (- (* (* x x) (* x x)) (* 1 1)))) |
| 668.0ms | (* (- 1) (/ x (- (* (* x x) (* x x)) (* 1 1)))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 25.8b | (* (/ x (+ (* (pow x 7) x) -1)) (* (+ (* (* x x) (* x x)) (* 1 1)) (- (* x x) 1))) |
| 0.7b | (/ x (+ (* (pow x 7) x) -1)) |
| 0.1b | (* (* x x) (* x x)) |
| 0.1b | (* (+ (* (* x x) (* x x)) (* 1 1)) (- (* x x) 1)) |
4 calls. Slowest were:
| 52.0ms | (* (/ x (+ (* (pow x 7) x) -1)) (* (+ (* (* x x) (* x x)) (* 1 1)) (- (* x x) 1))) |
| 13.0ms | (* (+ (* (* x x) (* x x)) (* 1 1)) (- (* x x) 1)) |
| 3.0ms | (* (* x x) (* x x)) |
4 calls. Slowest were:
| 72.0ms | (* (/ x (+ (* (pow x 7) x) -1)) (* (+ (* (* x x) (* x x)) (* 1 1)) (- (* x x) 1))) |
| 54.0ms | (/ x (+ (* (pow x 7) x) -1)) |
| 36.0ms | (* (+ (* (* x x) (* x x)) (* 1 1)) (- (* x x) 1)) |
| 23.0ms | (* (* x x) (* x x)) |
94 calls. Slowest were:
| 868.0ms | (* (- (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* 1 1) (* 1 1))) (- (* x x) 1)) |
| 628.0ms | (* (- (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* 1 1) (* 1 1))) (- (pow (* x x) 3) (pow 1 3))) |
| 524.0ms | (* (* (+ (* (* x x) (* x x)) (* 1 1)) (- 1)) (/ x (+ (* (pow x 7) x) -1))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 4 expressions with local error:
| 19.1b | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 0.2b | (/ 1 (pow x 3)) |
| 0.1b | (/ 1 (pow x 5)) |
| 0.0b | (+ (/ 1 (pow x 5)) (/ 1 x)) |
4 calls. Slowest were:
| 30.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 11.0ms | (+ (/ 1 (pow x 5)) (/ 1 x)) |
| 1.0ms | (/ 1 (pow x 3)) |
4 calls. Slowest were:
| 49.0ms | (+ (/ 1 (pow x 5)) (/ 1 x)) |
| 26.0ms | (/ 1 (pow x 5)) |
| 16.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 13.0ms | (/ 1 (pow x 3)) |
49 calls. Slowest were:
| 297.0ms | (* (- (/ 1 (pow x 5)) (/ 1 x)) (pow x 3)) |
| 296.0ms | (- (* (+ (* 1 x) (* (pow x 5) 1)) (pow x 3)) (* (* (pow x 5) x) 1)) |
| 265.0ms | (- (* (+ (pow (/ 1 (pow x 5)) 3) (pow (/ 1 x) 3)) (pow x 3)) (* (+ (* (/ 1 (pow x 5)) (/ 1 (pow x 5))) (- (* (/ 1 x) (/ 1 x)) (* (/ 1 (pow x 5)) (/ 1 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 23.8b