


Bits error versus x
Initial program 14.3
rmApplied flip--28.8
Applied associate-/r/28.8
Applied flip-+14.3
Applied associate-/r/14.3
Applied distribute-lft-out--13.6
Simplified13.6
Simplified0.4
Final simplification0.4
herbie shell --seed 2019022 +o rules:numerics
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))
Time bar (total: 28.9s)Debug log
| 15.0ms | 55× | body | 640 | valid |
| 10.0ms | 135× | body | 80 | valid |
| 9.0ms | 45× | body | 320 | valid |
| 3.0ms | 21× | body | 160 | valid |
| 11.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 15.0b
Found 3 expressions with local error:
| 4.1b | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 0.0b | (/ 1 (- x 1)) |
| 0.0b | (/ 1 (+ x 1)) |
| 36× | prod-diff |
| 32× | associate-/r/ |
| 22× | *-un-lft-identity |
| 20× | add-sqr-sqrt |
| 19× | div-inv |
| 18× | add-cube-cbrt |
| 9× | flip-- |
| 9× | flip-+ |
| 8× | flip3-- |
| 8× | flip3-+ |
| 6× | fma-neg |
| 6× | associate-/r* |
| 5× | add-log-exp |
| 5× | distribute-lft-out-- |
| 5× | add-exp-log |
| 5× | pow1 |
| 3× | log1p-expm1-u |
| 3× | add-cbrt-cube |
| 3× | expm1-log1p-u |
| 2× | inv-pow |
| 2× | pow-flip |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | rec-exp |
| 1× | difference-of-squares |
| 1× | frac-sub |
| 1× | diff-log |
| 1× | sub-neg |
| 7.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 1.0ms | (/ 1 (- x 1)) |
| 1.0ms | (/ 1 (+ x 1)) |
| 32.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 10.0ms | (/ 1 (- x 1)) |
| 10.0ms | (/ 1 (+ x 1)) |
| 1.4s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 1.0s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 978.0ms | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 952.0ms | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 914.0ms | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.1b
Found 2 expressions with local error:
| 0.1b | (/ 1 (fma x x -1)) |
| 0.0b | (* (/ 1 (fma x x -1)) -2) |
| 4× | add-cube-cbrt |
| 4× | associate-*l* |
| 4× | *-un-lft-identity |
| 4× | add-sqr-sqrt |
| 3× | add-exp-log |
| 3× | associate-/r* |
| 3× | pow1 |
| 2× | add-log-exp |
| 2× | div-inv |
| 2× | log1p-expm1-u |
| 2× | add-cbrt-cube |
| 2× | expm1-log1p-u |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | *-commutative |
| 1× | associate-*l/ |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rec-exp |
| 5.0ms | (* (/ 1 (fma x x -1)) -2) |
| 2.0ms | (/ 1 (fma x x -1)) |
| 18.0ms | (* (/ 1 (fma x x -1)) -2) |
| 15.0ms | (/ 1 (fma x x -1)) |
| 740.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 729.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 87.0ms | (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 2)) |
| 77.0ms | (- (+ (pow x 2) (+ (pow x 4) 1))) |
| 53.0ms | (* (cbrt (/ 1 (fma x x -1))) (cbrt (/ 1 (fma x x -1)))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 14.0b | (cbrt (fma x x -1)) |
| 14.0b | (cbrt (fma x x -1)) |
| 14.0b | (cbrt (fma x x -1)) |
| 0.5b | (/ 1 (* (cbrt (fma x x -1)) (cbrt (fma x x -1)))) |
| 10× | pow1 |
| 9× | cbrt-prod |
| 7× | pow-flip |
| 7× | add-cube-cbrt |
| 7× | add-exp-log |
| 7× | pow1/3 |
| 7× | *-un-lft-identity |
| 7× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cbrt-cube |
| 4× | expm1-log1p-u |
| 2× | pow-prod-up |
| 2× | pow-prod-down |
| 2× | rec-exp |
| 1× | inv-pow |
| 1× | div-inv |
| 1× | prod-exp |
| 1× | pow-plus |
| 1× | frac-2neg |
| 1× | associate-/r* |
| 1× | clear-num |
| 1× | pow2 |
| 9.0ms | (/ 1 (* (cbrt (fma x x -1)) (cbrt (fma x x -1)))) |
| 1.0ms | (cbrt (fma x x -1)) |
| 1.0ms | (cbrt (fma x x -1)) |
| 1.0ms | (cbrt (fma x x -1)) |
| 134.0ms | (/ 1 (* (cbrt (fma x x -1)) (cbrt (fma x x -1)))) |
| 110.0ms | (cbrt (fma x x -1)) |
| 107.0ms | (cbrt (fma x x -1)) |
| 102.0ms | (cbrt (fma x x -1)) |
| 240.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 222.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 206.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 110.0ms | (- (pow (/ -1 x) -2/3) (+ (* 1/9 (pow (/ 1 (pow x 10)) 1/3)) (* 1/3 (pow (/ 1 (pow x 4)) 1/3)))) |
| 109.0ms | (- (pow (/ 1 x) -2/3) (+ (* 1/9 (pow (/ 1 (pow x 10)) 1/3)) (* 1/3 (pow (/ 1 (pow x 4)) 1/3)))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 14.0b | (cbrt (fma x x -1)) |
| 14.0b | (cbrt (fma x x -1)) |
| 14.0b | (cbrt (fma x x -1)) |
| 14.0b | (cbrt (fma x x -1)) |
| 12× | cbrt-prod |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-exp-log |
| 4× | pow1/3 |
| 4× | add-cbrt-cube |
| 4× | pow1 |
| 4× | expm1-log1p-u |
| 1.0ms | (cbrt (fma x x -1)) |
| 1.0ms | (cbrt (fma x x -1)) |
| 1.0ms | (cbrt (fma x x -1)) |
| 1.0ms | (cbrt (fma x x -1)) |
| 122.0ms | (cbrt (fma x x -1)) |
| 118.0ms | (cbrt (fma x x -1)) |
| 117.0ms | (cbrt (fma x x -1)) |
| 105.0ms | (cbrt (fma x x -1)) |
| 253.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 246.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 202.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 184.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 127.0ms | (- (pow (/ -1 x) -2/3) (+ (* 1/9 (pow (/ 1 (pow x 10)) 1/3)) (* 1/3 (pow (/ 1 (pow x 4)) 1/3)))) |
5 alts after pruning (2 fresh and 3 done)
Merged error: 0.1b
0% (0.0b remaining)
Error of 0.4b against oracle of 0.3b and baseline of 0.4b
| 1.0s | 1841× | body | 640 | valid |
| 457.0ms | 4232× | body | 80 | valid |
| 287.0ms | 1289× | body | 320 | valid |
| 159.0ms | 638× | body | 160 | valid |