


Bits error versus x
Initial program 0.0
rmApplied flip--0.0
Applied associate-/r/0.0
Applied fma-def0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019022 +o rules:numerics
(FPCore (x)
:name "Asymptote B"
(+ (/ 1 (- x 1)) (/ x (+ x 1))))
Time bar (total: 7.0s)Debug log
| 21.0ms | 256× | body | 80 | valid |
| 5.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 0.0b | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 0.0b | (/ 1 (- x 1)) |
| 0.0b | (/ x (+ x 1)) |
| 9× | *-un-lft-identity |
| 6× | add-cube-cbrt |
| 6× | associate-/r/ |
| 6× | fma-def |
| 6× | associate-/r* |
| 6× | add-sqr-sqrt |
| 5× | add-log-exp |
| 4× | div-inv |
| 4× | add-exp-log |
| 4× | pow1 |
| 3× | log1p-expm1-u |
| 3× | add-cbrt-cube |
| 3× | expm1-log1p-u |
| 2× | distribute-lft-out |
| 2× | flip-- |
| 2× | flip-+ |
| 2× | flip3-- |
| 2× | flip3-+ |
| 2× | frac-2neg |
| 2× | clear-num |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | frac-add |
| 1× | sum-log |
| 1× | rec-exp |
| 1× | +-commutative |
| 10.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 2.0ms | (/ 1 (- x 1)) |
| 1.0ms | (/ x (+ x 1)) |
| 38.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 24.0ms | (/ x (+ x 1)) |
| 11.0ms | (/ 1 (- x 1)) |
| 198.0ms | (- (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 1))) |
| 155.0ms | (- (+ x (+ (pow x 2) 1))) |
| 133.0ms | (+ (* 2 (/ 1 (pow x 4))) (+ 1 (* 2 (/ 1 (pow x 2))))) |
| 123.0ms | (+ (* 1 (+ x 1)) (* (- x 1) x)) |
| 89.0ms | (+ (* 2 (/ 1 (pow x 4))) (+ 1 (* 2 (/ 1 (pow x 2))))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0b
Found 3 expressions with local error:
| 0.1b | (/ 1 (fma x x -1)) |
| 0.0b | (fma (/ 1 (fma x x -1)) (+ x 1) (/ x (+ x 1))) |
| 0.0b | (/ x (+ x 1)) |
| 6× | associate-/r* |
| 5× | add-cube-cbrt |
| 5× | *-un-lft-identity |
| 5× | add-sqr-sqrt |
| 4× | add-exp-log |
| 4× | pow1 |
| 3× | add-log-exp |
| 3× | log1p-expm1-u |
| 3× | add-cbrt-cube |
| 3× | expm1-log1p-u |
| 2× | div-inv |
| 2× | associate-/r/ |
| 2× | frac-2neg |
| 2× | clear-num |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | fma-udef |
| 1× | flip-+ |
| 1× | flip3-+ |
| 1× | rec-exp |
| 1.0ms | (/ 1 (fma x x -1)) |
| 0.0ms | (/ x (+ x 1)) |
| 0.0ms | (fma (/ 1 (fma x x -1)) (+ x 1) (/ x (+ x 1))) |
| 43.0ms | (fma (/ 1 (fma x x -1)) (+ x 1) (/ x (+ x 1))) |
| 15.0ms | (/ 1 (fma x x -1)) |
| 13.0ms | (/ x (+ x 1)) |
| 148.0ms | (- (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 1))) |
| 87.0ms | (+ (* 2 (/ 1 (pow x 4))) (+ 1 (* 2 (/ 1 (pow x 2))))) |
| 87.0ms | (+ (* 2 (/ 1 (pow x 4))) (+ 1 (* 2 (/ 1 (pow x 2))))) |
| 82.0ms | (- (+ x (pow x 3)) (pow x 2)) |
| 77.0ms | (- (+ (pow x 2) (+ (pow x 4) 1))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 14.0b | (cbrt (/ 1 (fma x x -1))) |
| 14.0b | (cbrt (/ 1 (fma x x -1))) |
| 14.0b | (cbrt (/ 1 (fma x x -1))) |
| 0.2b | (* (cbrt (/ 1 (fma x x -1))) (cbrt (/ 1 (fma x x -1)))) |
| 20× | cbrt-prod |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 11× | add-sqr-sqrt |
| 9× | pow1 |
| 7× | associate-*l* |
| 7× | associate-*r* |
| 7× | pow1/3 |
| 7× | cbrt-div |
| 6× | add-exp-log |
| 5× | div-inv |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cbrt-cube |
| 4× | expm1-log1p-u |
| 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 |
| 5.0ms | (* (cbrt (/ 1 (fma x x -1))) (cbrt (/ 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))) |
| 136.0ms | (cbrt (/ 1 (fma x x -1))) |
| 123.0ms | (cbrt (/ 1 (fma x x -1))) |
| 113.0ms | (* (cbrt (/ 1 (fma x x -1))) (cbrt (/ 1 (fma x x -1)))) |
| 105.0ms | (cbrt (/ 1 (fma x x -1))) |
| 181.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 157.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 124.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 106.0ms | (* (/ 1 (fma x x -1)) (/ 1 (fma x x -1))) |
| 77.0ms | (* (cbrt (cbrt (/ 1 (fma x x -1)))) (cbrt (cbrt (/ 1 (fma x x -1))))) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b
| 677.0ms | 8000× | body | 80 | valid |