


Bits error versus x
Results
Initial program 14.2
rmApplied frac-sub13.6
Simplified0.4
rmApplied associate-/r*0.1
Final simplification0.1
herbie shell --seed 2018362
(FPCore (x)
:name "2frac (problem 3.3.1)"
(- (/ 1 (+ x 1)) (/ 1 x)))
Time bar (total: 3.3s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 10.6b
Found 2 expressions with local error:
| 1.6b | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 0.0b | (/ 1 (+ x 1)) |
2 calls. Slowest were:
| 10.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 2.0ms | (/ 1 (+ x 1)) |
2 calls. Slowest were:
| 28.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 11.0ms | (/ 1 (+ x 1)) |
21 calls. Slowest were:
| 75.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 48.0ms | (- 1 (+ x (/ 1 x))) |
| 37.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.1b
Found 2 expressions with local error:
| 0.1b | (/ -1 (* (+ x 1) x)) |
| 0.0b | (* (+ x 1) x) |
2 calls. Slowest were:
| 5.0ms | (* (+ x 1) x) |
| 2.0ms | (/ -1 (* (+ x 1) x)) |
2 calls. Slowest were:
| 33.0ms | (* (+ x 1) x) |
| 16.0ms | (/ -1 (* (+ x 1) x)) |
12 calls. Slowest were:
| 89.0ms | (* (- (* x x) (* 1 1)) x) |
| 75.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 74.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
5 alts after pruning (5 fresh and 0 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.1b | (/ (/ -1 (+ x 1)) x) |
| 0.0b | (/ -1 (+ x 1)) |
2 calls. Slowest were:
| 7.0ms | (/ (/ -1 (+ x 1)) x) |
| 1.0ms | (/ -1 (+ x 1)) |
2 calls. Slowest were:
| 9.0ms | (/ (/ -1 (+ x 1)) x) |
| 7.0ms | (/ -1 (+ x 1)) |
15 calls. Slowest were:
| 74.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 70.0ms | (- (/ 1 (pow x 2)) (+ (/ 1 (pow x 3)) (/ 1 x))) |
| 69.0ms | (- (/ 1 (pow x 2)) (+ (/ 1 (pow x 3)) (/ 1 x))) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.1b | (/ -1 (* x (+ x 1))) |
| 0.0b | (* x (+ x 1)) |
2 calls. Slowest were:
| 2.0ms | (* x (+ x 1)) |
| 1.0ms | (/ -1 (* x (+ x 1))) |
2 calls. Slowest were:
| 31.0ms | (* x (+ x 1)) |
| 15.0ms | (/ -1 (* x (+ x 1))) |
16 calls. Slowest were:
| 73.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 50.0ms | (- 1 (+ x (/ 1 x))) |
| 45.0ms | (+ (* x x) (- (* 1 1) (* x 1))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0b
0% (0.1b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 0.1b