


Bits error versus x
Results
Initial program 14.4
rmApplied frac-sub13.8
Simplified0.3
rmApplied associate-/r*0.1
Final simplification0.1
herbie shell --seed 2019010
(FPCore (x)
:name "2frac (problem 3.3.1)"
(- (/ 1 (+ x 1)) (/ 1 x)))
Time bar (total: 3.7s)Debug log
| 5.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 15.9b
Found 2 expressions with local error:
| 3.6b | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 0.0b | (/ 1 (+ x 1)) |
| 7× | *-un-lft-identity |
| 5× | div-inv |
| 5× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | distribute-lft-out-- |
| 3× | add-cube-cbrt |
| 3× | add-exp-log |
| 3× | associate-/r* |
| 3× | pow1 |
| 2× | associate-/r/ |
| 2× | add-cbrt-cube |
| 1× | difference-of-squares |
| 1× | inv-pow |
| 1× | flip-- |
| 1× | pow-flip |
| 1× | flip-+ |
| 1× | frac-sub |
| 1× | diff-log |
| 1× | flip3-- |
| 1× | flip3-+ |
| 1× | frac-2neg |
| 1× | sub-neg |
| 1× | clear-num |
| 1× | rec-exp |
| 5.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 1.0ms | (/ 1 (+ x 1)) |
| 13.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 12.0ms | (/ 1 (+ x 1)) |
| 73.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 73.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 51.0ms | (- 1 (+ x (/ 1 x))) |
| 44.0ms | (+ (* x x) (- (* 1 1) (* x 1))) |
| 39.0ms | (- (+ (/ 1 (pow x 3)) (/ 1 x)) (/ 1 (pow x 2))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.2b
Found 2 expressions with local error:
| 0.3b | (/ -1 (* (+ x 1) x)) |
| 0.0b | (* (+ x 1) x) |
| 4× | associate-*l/ |
| 3× | add-cube-cbrt |
| 3× | associate-*l* |
| 3× | *-un-lft-identity |
| 3× | add-sqr-sqrt |
| 2× | add-log-exp |
| 2× | flip-+ |
| 2× | associate-/r/ |
| 2× | add-exp-log |
| 2× | add-cbrt-cube |
| 2× | flip3-+ |
| 2× | pow1 |
| 1× | div-inv |
| 1× | *-commutative |
| 1× | frac-2neg |
| 1× | associate-/r* |
| 1× | clear-num |
| 2.0ms | (* (+ x 1) x) |
| 1.0ms | (/ -1 (* (+ x 1) x)) |
| 19.0ms | (* (+ x 1) x) |
| 9.0ms | (/ -1 (* (+ x 1) x)) |
| 103.0ms | (* (- (* x x) (* 1 1)) x) |
| 46.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 40.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 25.0ms | (+ (* x x) (- (* 1 1) (* x 1))) |
| 25.0ms | (* (+ (pow x 3) (pow 1 3)) x) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 0.1b | (/ (/ -1 (+ x 1)) x) |
| 0.0b | (/ -1 (+ x 1)) |
| 6× | associate-/l* |
| 4× | add-cube-cbrt |
| 4× | associate-/r/ |
| 4× | *-un-lft-identity |
| 4× | add-sqr-sqrt |
| 3× | div-inv |
| 3× | associate-/r* |
| 2× | add-log-exp |
| 2× | flip-+ |
| 2× | add-exp-log |
| 2× | add-cbrt-cube |
| 2× | flip3-+ |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | pow1 |
| 1× | associate-/l/ |
| 3.0ms | (/ (/ -1 (+ x 1)) x) |
| 0.0ms | (/ -1 (+ x 1)) |
| 9.0ms | (/ (/ -1 (+ x 1)) x) |
| 7.0ms | (/ -1 (+ x 1)) |
| 76.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)))) |
| 51.0ms | (- (/ 1 (pow x 2)) (+ (/ 1 (pow x 3)) (/ 1 x))) |
| 50.0ms | (- 1 (+ x (/ 1 x))) |
| 45.0ms | (- (/ 1 (pow x 2)) (+ (/ 1 (pow x 3)) (/ 1 x))) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0.0b
0% (0.1b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 0.1b