


Bits error versus x
Results
Initial program 15.1
rmApplied frac-sub14.5
Simplified0.4
rmApplied associate-/r*0.1
Final simplification0.1
herbie shell --seed 323378853
(FPCore (x)
:name "2frac (problem 3.3.1)"
(- (/ 1 (+ x 1)) (/ 1 x)))
Time bar (total: 12.9s)Debug log
| 30.0ms | 62× | body | 640 | valid |
| 16.0ms | 134× | body | 80 | valid |
| 15.0ms | 41× | body | 320 | valid |
| 5.0ms | 19× | body | 160 | valid |
| 10.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 15.8b
Found 2 expressions with local error:
| 2.9b | (- (/ 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 |
| 12.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 2.0ms | (/ 1 (+ x 1)) |
| 22.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 12.0ms | (/ 1 (+ x 1)) |
| 95.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 89.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 64.0ms | (- (+ (/ 1 (pow x 3)) (/ 1 x)) (/ 1 (pow x 2))) |
| 64.0ms | (- (+ (/ 1 (pow x 3)) (/ 1 x)) (/ 1 (pow x 2))) |
| 55.0ms | (- 1 (+ x (/ 1 x))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.5b
Found 2 expressions with local error:
| 0.5b | (/ -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 |
| 6.0ms | (* (+ x 1) x) |
| 3.0ms | (/ -1 (* (+ x 1) x)) |
| 40.0ms | (* (+ x 1) x) |
| 18.0ms | (/ -1 (* (+ x 1) x)) |
| 141.0ms | (* (- (* x x) (* 1 1)) x) |
| 84.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 83.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 59.0ms | (- 1 (+ x (/ 1 x))) |
| 56.0ms | (+ (* x x) (- (* 1 1) (* x 1))) |
6 alts after pruning (4 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/ |
| 7.0ms | (/ (/ -1 (+ x 1)) x) |
| 1.0ms | (/ -1 (+ x 1)) |
| 17.0ms | (/ (/ -1 (+ x 1)) x) |
| 13.0ms | (/ -1 (+ x 1)) |
| 85.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 82.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 82.0ms | (- (/ 1 (pow x 2)) (+ (/ 1 (pow x 3)) (/ 1 x))) |
| 78.0ms | (- (/ 1 (pow x 2)) (+ (/ 1 (pow x 3)) (/ 1 x))) |
| 57.0ms | (/ -1 (- (* x x) (* 1 1))) |
6 alts after pruning (3 fresh and 3 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.4b | (cbrt (/ -1 (+ x 1))) |
| 0.4b | (cbrt (/ -1 (+ x 1))) |
| 0.4b | (cbrt (/ -1 (+ x 1))) |
| 0.2b | (* (cbrt (/ -1 (+ x 1))) (cbrt (/ -1 (+ x 1)))) |
| 30× | cbrt-prod |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 11× | add-sqr-sqrt |
| 10× | associate-/r/ |
| 9× | associate-*l* |
| 9× | associate-*r* |
| 9× | pow1 |
| 7× | pow1/3 |
| 7× | cbrt-div |
| 6× | add-exp-log |
| 5× | div-inv |
| 5× | flip-+ |
| 5× | flip3-+ |
| 4× | add-log-exp |
| 4× | add-cbrt-cube |
| 2× | pow-prod-up |
| 2× | pow-prod-down |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | associate-*r/ |
| 1× | prod-exp |
| 1× | associate-*l/ |
| 1× | pow-plus |
| 1× | frac-times |
| 1× | pow2 |
| 11.0ms | (* (cbrt (/ -1 (+ x 1))) (cbrt (/ -1 (+ x 1)))) |
| 1.0ms | (cbrt (/ -1 (+ x 1))) |
| 1.0ms | (cbrt (/ -1 (+ x 1))) |
| 1.0ms | (cbrt (/ -1 (+ x 1))) |
| 134.0ms | (* (cbrt (/ -1 (+ x 1))) (cbrt (/ -1 (+ x 1)))) |
| 111.0ms | (cbrt (/ -1 (+ x 1))) |
| 105.0ms | (cbrt (/ -1 (+ x 1))) |
| 101.0ms | (cbrt (/ -1 (+ x 1))) |
| 489.0ms | (- (+ (* 2/9 (* (pow x 2) (cbrt -1))) (cbrt -1)) (* 1/3 (* x (cbrt -1)))) |
| 485.0ms | (- (+ (* 2/9 (* (pow x 2) (cbrt -1))) (cbrt -1)) (* 1/3 (* x (cbrt -1)))) |
| 484.0ms | (- (+ (* 2/9 (* (pow x 2) (cbrt -1))) (cbrt -1)) (* 1/3 (* x (cbrt -1)))) |
| 480.0ms | (- (+ (* (pow (/ 1 (pow x 2)) 1/3) (pow (cbrt -1) 2)) (* 5/9 (* (pow (/ 1 (pow x 8)) 1/3) (pow (cbrt -1) 2)))) (* 2/3 (* (pow (/ 1 (pow x 5)) 1/3) (pow (cbrt -1) 2)))) |
| 472.0ms | (- (+ (* (pow (/ 1 (pow x 2)) 1/3) (pow (cbrt -1) 2)) (* 5/9 (* (pow (/ 1 (pow x 8)) 1/3) (pow (cbrt -1) 2)))) (* 2/3 (* (pow (/ 1 (pow x 5)) 1/3) (pow (cbrt -1) 2)))) |
7 alts after pruning (3 fresh and 4 done)
Merged error: 0b
0% (0.1b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 0.1b
| 1.1s | 1976× | body | 640 | valid |
| 516.0ms | 4133× | body | 80 | valid |
| 453.0ms | 1252× | body | 320 | valid |
| 188.0ms | 639× | body | 160 | valid |