


Bits error versus x
Results
Initial program 14.6
rmApplied frac-sub14.0
Simplified0.4
rmApplied associate-/r*0.1
Final simplification0.1
herbie shell --seed 2019004
(FPCore (x)
:name "2frac (problem 3.3.1)"
(- (/ 1 (+ x 1)) (/ 1 x)))
Time bar (total: 20.4s)Debug log
1 calls. Slowest were:
| 6.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 15.1b
Found 2 expressions with local error:
| 3.9b | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 0.0b | (/ 1 (+ x 1)) |
2 calls. Slowest were:
| 9.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 2.0ms | (/ 1 (+ x 1)) |
2 calls. Slowest were:
| 18.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 10.0ms | (/ 1 (+ x 1)) |
21 calls. Slowest were:
| 59.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 49.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 38.0ms | (+ (* x x) (- (* 1 1) (* x 1))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.5b
Found 1 expressions with local error:
| 0.5b | (/ -1 (* (+ x 1) x)) |
1 calls. Slowest were:
| 1.0ms | (/ -1 (* (+ x 1) x)) |
1 calls. Slowest were:
| 13.0ms | (/ -1 (* (+ x 1) x)) |
5 calls. Slowest were:
| 72.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 47.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 37.0ms | (- 1 (+ x (/ 1 x))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 0.1b | (/ (/ -1 (+ x 1)) x) |
| 0.0b | (/ -1 (+ x 1)) |
2 calls. Slowest were:
| 3.0ms | (/ (/ -1 (+ x 1)) x) |
| 0.0ms | (/ -1 (+ x 1)) |
2 calls. Slowest were:
| 11.0ms | (/ (/ -1 (+ x 1)) x) |
| 7.0ms | (/ -1 (+ x 1)) |
15 calls. Slowest were:
| 62.0ms | (- (/ 1 (pow x 2)) (+ (/ 1 (pow x 3)) (/ 1 x))) |
| 51.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 48.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 4 expressions with local error:
| 17.8b | (/ x (+ (* x x) (- (* 1 1) (* x 1)))) |
| 4.7b | (/ (/ -1 (+ 1 (pow x 3))) (/ x (+ (* x x) (- (* 1 1) (* x 1))))) |
| 0.3b | (/ -1 (+ 1 (pow x 3))) |
| 0.0b | (+ (* x x) (- (* 1 1) (* x 1))) |
4 calls. Slowest were:
| 9.0ms | (+ (* x x) (- (* 1 1) (* x 1))) |
| 8.0ms | (/ (/ -1 (+ 1 (pow x 3))) (/ x (+ (* x x) (- (* 1 1) (* x 1))))) |
| 7.0ms | (/ x (+ (* x x) (- (* 1 1) (* x 1)))) |
4 calls. Slowest were:
| 41.0ms | (/ -1 (+ 1 (pow x 3))) |
| 29.0ms | (/ (/ -1 (+ 1 (pow x 3))) (/ x (+ (* x x) (- (* 1 1) (* x 1))))) |
| 19.0ms | (/ x (+ (* x x) (- (* 1 1) (* x 1)))) |
| 10.0ms | (+ (* x x) (- (* 1 1) (* x 1))) |
112 calls. Slowest were:
| 639.0ms | (/ 1 (/ x (+ (pow (* x x) 3) (pow (- (* 1 1) (* x 1)) 3)))) |
| 623.0ms | (/ (sqrt (/ -1 (+ 1 (pow x 3)))) (/ x (+ (pow (* x x) 3) (pow (- (* 1 1) (* x 1)) 3)))) |
| 576.0ms | (/ -1 (/ x (+ (pow (* x x) 3) (pow (- (* 1 1) (* x 1)) 3)))) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
0% (0.1b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 0.1b