


Bits error versus x
Initial program 14.4
rmApplied flip--28.6
Applied associate-/r/28.6
Applied flip-+14.5
Applied associate-/r/14.4
Applied distribute-lft-out--13.8
Simplified13.8
Simplified0.3
Final simplification0.3
herbie shell --seed 2019010 +o rules:numerics
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))
Time bar (total: 27.9s)Debug log
| 12.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 15.9b
Found 3 expressions with local error:
| 3.5b | (- (/ 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 |
| 15.0ms | (/ 1 (+ x 1)) |
| 14.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 2.0ms | (/ 1 (- x 1)) |
| 27.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 9.0ms | (/ 1 (+ x 1)) |
| 6.0ms | (/ 1 (- x 1)) |
| 1.4s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 1.1s | (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))))) |
| 977.0ms | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 923.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.3b
Found 2 expressions with local error:
| 0.3b | (/ 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 |
| 3.0ms | (* (/ 1 (fma x x -1)) -2) |
| 1.0ms | (/ 1 (fma x x -1)) |
| 15.0ms | (* (/ 1 (fma x x -1)) -2) |
| 15.0ms | (/ 1 (fma x x -1)) |
| 751.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 715.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 111.0ms | (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 2)) |
| 75.0ms | (* (cbrt (/ 1 (fma x x -1))) (cbrt (/ 1 (fma x x -1)))) |
| 59.0ms | (- (+ (pow x 2) (+ (pow x 4) 1))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 12.8b | (cbrt (/ 1 (fma x x -1))) |
| 12.8b | (cbrt (/ 1 (fma x x -1))) |
| 12.8b | (cbrt (/ 1 (fma x x -1))) |
| 0.3b | (/ 1 (fma x x -1)) |
| 12× | cbrt-prod |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 5× | add-exp-log |
| 5× | pow1 |
| 4× | add-log-exp |
| 4× | div-inv |
| 4× | log1p-expm1-u |
| 4× | add-cbrt-cube |
| 4× | expm1-log1p-u |
| 3× | pow1/3 |
| 3× | associate-/r* |
| 3× | cbrt-div |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rec-exp |
| 2.0ms | (/ 1 (fma x x -1)) |
| 1.0ms | (cbrt (/ 1 (fma x x -1))) |
| 1.0ms | (cbrt (/ 1 (fma x x -1))) |
| 1.0ms | (cbrt (/ 1 (fma x x -1))) |
| 146.0ms | (cbrt (/ 1 (fma x x -1))) |
| 134.0ms | (cbrt (/ 1 (fma x x -1))) |
| 131.0ms | (cbrt (/ 1 (fma x x -1))) |
| 21.0ms | (/ 1 (fma x x -1)) |
| 198.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 149.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 131.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 83.0ms | (cbrt (* (cbrt (/ 1 (fma x x -1))) (cbrt (/ 1 (fma x x -1))))) |
| 67.0ms | (- (+ (pow x 2) (+ (pow x 4) 1))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 13.0b | (cbrt (fma x x -1)) |
| 12.8b | (cbrt (/ 1 (fma x x -1))) |
| 12.8b | (cbrt (/ 1 (fma x x -1))) |
| 0.3b | (/ 1 (fma x x -1)) |
| 11× | cbrt-prod |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 5× | add-exp-log |
| 5× | pow1 |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cbrt-cube |
| 4× | expm1-log1p-u |
| 3× | div-inv |
| 3× | pow1/3 |
| 3× | associate-/r* |
| 2× | cbrt-div |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rec-exp |
| 1.0ms | (/ 1 (fma x x -1)) |
| 1.0ms | (cbrt (/ 1 (fma x x -1))) |
| 1.0ms | (cbrt (/ 1 (fma x x -1))) |
| 1.0ms | (cbrt (fma x x -1)) |
| 137.0ms | (cbrt (/ 1 (fma x x -1))) |
| 125.0ms | (cbrt (/ 1 (fma x x -1))) |
| 122.0ms | (cbrt (fma x x -1)) |
| 20.0ms | (/ 1 (fma x x -1)) |
| 232.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 165.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 131.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 118.0ms | (- (pow (/ -1 x) -2/3) (+ (* 1/9 (pow (/ 1 (pow x 10)) 1/3)) (* 1/3 (pow (/ 1 (pow x 4)) 1/3)))) |
| 102.0ms | (- (pow (/ 1 x) -2/3) (+ (* 1/9 (pow (/ 1 (pow x 10)) 1/3)) (* 1/3 (pow (/ 1 (pow x 4)) 1/3)))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0.2b
0% (0.0b remaining)
Error of 0.3b against oracle of 0.3b and baseline of 0.3b