


Bits error versus x
Results
Initial program 0.0
rmApplied flip3-+0.0
Final simplification0.0
herbie shell --seed 2019016 +o rules:numerics
(FPCore (x)
:name "Asymptote B"
(+ (/ 1 (- x 1)) (/ x (+ x 1))))
Time bar (total: 26.4s)Debug log
| 256× | (pre true 80) |
| 256× | (body real 80) |
| 6.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 |
| 11.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 2.0ms | (/ 1 (- x 1)) |
| 1.0ms | (/ x (+ x 1)) |
| 32.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 10.0ms | (/ x (+ x 1)) |
| 9.0ms | (/ 1 (- x 1)) |
| 155.0ms | (- (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 1))) |
| 118.0ms | (+ (* 2 (/ 1 (pow x 4))) (+ 1 (* 2 (/ 1 (pow x 2))))) |
| 112.0ms | (+ (* 2 (/ 1 (pow x 4))) (+ 1 (* 2 (/ 1 (pow x 2))))) |
| 110.0ms | (- (+ x (+ (pow x 2) 1))) |
| 110.0ms | (+ (* 1 (+ x 1)) (* (- x 1) x)) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.1b | (* (/ 1 (- x 1)) (/ 1 (- x 1))) |
| 0.1b | (pow (/ 1 (- x 1)) 3) |
| 0.0b | (pow (/ x (+ x 1)) 3) |
| 0.0b | (* (/ x (+ x 1)) (/ x (+ x 1))) |
| 23× | pow1 |
| 17× | add-exp-log |
| 16× | associate-/r/ |
| 12× | add-cube-cbrt |
| 12× | associate-*l* |
| 12× | associate-*r* |
| 12× | cube-prod |
| 12× | *-un-lft-identity |
| 12× | unpow-prod-down |
| 12× | add-sqr-sqrt |
| 10× | add-cbrt-cube |
| 8× | div-inv |
| 7× | inv-pow |
| 7× | pow-flip |
| 6× | pow-prod-up |
| 5× | prod-exp |
| 5× | rec-exp |
| 4× | add-log-exp |
| 4× | flip-- |
| 4× | log1p-expm1-u |
| 4× | flip-+ |
| 4× | pow-prod-down |
| 4× | flip3-- |
| 4× | flip3-+ |
| 4× | pow-pow |
| 4× | expm1-log1p-u |
| 3× | pow-exp |
| 2× | rem-cube-cbrt |
| 2× | cbrt-unprod |
| 2× | *-commutative |
| 2× | associate-*r/ |
| 2× | associate-*l/ |
| 2× | unpow3 |
| 2× | pow-plus |
| 2× | pow-to-exp |
| 2× | frac-times |
| 2× | cube-mult |
| 2× | pow2 |
| 2× | cube-div |
| 1× | un-div-inv |
| 8.0ms | (* (/ 1 (- x 1)) (/ 1 (- x 1))) |
| 4.0ms | (* (/ x (+ x 1)) (/ x (+ x 1))) |
| 2.0ms | (pow (/ 1 (- x 1)) 3) |
| 1.0ms | (pow (/ x (+ x 1)) 3) |
| 20.0ms | (pow (/ x (+ x 1)) 3) |
| 18.0ms | (* (/ x (+ x 1)) (/ x (+ x 1))) |
| 15.0ms | (pow (/ 1 (- x 1)) 3) |
| 12.0ms | (* (/ 1 (- x 1)) (/ 1 (- x 1))) |
| 853.0ms | (* (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1))) (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 695.0ms | (pow (/ x (+ (pow x 3) (pow 1 3))) 3) |
| 660.0ms | (pow (/ x (+ (pow x 3) (pow 1 3))) 3) |
| 560.0ms | (pow (/ x (- (* x x) (* 1 1))) 3) |
| 523.0ms | (pow (/ x (- (* x x) (* 1 1))) 3) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 3.7b | (log (exp (/ x (+ x 1)))) |
| 0.0b | (+ (/ 1 (- x 1)) (log (exp (/ x (+ x 1))))) |
| 0.0b | (/ 1 (- x 1)) |
| 0.0b | (exp (/ x (+ x 1))) |
| 14× | *-un-lft-identity |
| 12× | exp-prod |
| 10× | add-cube-cbrt |
| 10× | add-sqr-sqrt |
| 9× | log-pow |
| 8× | associate-/r/ |
| 8× | pow1 |
| 6× | add-log-exp |
| 6× | div-inv |
| 6× | fma-def |
| 6× | log-prod |
| 5× | add-exp-log |
| 4× | distribute-lft-out |
| 4× | log1p-expm1-u |
| 4× | add-cbrt-cube |
| 4× | expm1-log1p-u |
| 3× | flip-+ |
| 3× | flip3-+ |
| 3× | associate-/r* |
| 3× | associate-+r+ |
| 2× | flip-- |
| 2× | flip3-- |
| 1× | rem-exp-log |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | rem-log-exp |
| 1× | frac-2neg |
| 1× | sum-log |
| 1× | clear-num |
| 1× | rec-exp |
| 1× | +-commutative |
| 15.0ms | (+ (/ 1 (- x 1)) (log (exp (/ x (+ x 1))))) |
| 5.0ms | (log (exp (/ x (+ x 1)))) |
| 2.0ms | (exp (/ x (+ x 1))) |
| 1.0ms | (/ 1 (- x 1)) |
| 30.0ms | (+ (/ 1 (- x 1)) (log (exp (/ x (+ x 1))))) |
| 30.0ms | (exp (/ x (+ x 1))) |
| 11.0ms | (/ 1 (- x 1)) |
| 11.0ms | (log (exp (/ x (+ x 1)))) |
| 387.0ms | (- (+ x 1) (* 1/2 (pow x 2))) |
| 195.0ms | (- (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 1))) |
| 161.0ms | (- (+ x (+ (pow x 2) 1))) |
| 104.0ms | (- (+ (* 3/2 (/ E (pow x 2))) E) (/ E x)) |
| 94.0ms | (+ (* 2 (/ 1 (pow x 4))) (+ 1 (* 2 (/ 1 (pow x 2))))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (* (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1)))) (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1))))) |
| 0.0b | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 0.0b | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 0.0b | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 26× | *-un-lft-identity |
| 24× | cbrt-div |
| 18× | fma-def |
| 11× | flip-+ |
| 11× | add-cube-cbrt |
| 11× | frac-add |
| 11× | flip3-+ |
| 11× | add-sqr-sqrt |
| 10× | add-log-exp |
| 10× | distribute-lft-out |
| 10× | cbrt-prod |
| 9× | pow1 |
| 9× | frac-times |
| 8× | div-inv |
| 8× | associate-*l* |
| 8× | associate-*r* |
| 6× | associate-/r/ |
| 6× | add-exp-log |
| 4× | log1p-expm1-u |
| 4× | pow1/3 |
| 4× | add-cbrt-cube |
| 4× | expm1-log1p-u |
| 3× | flip-- |
| 3× | associate-*r/ |
| 3× | associate-*l/ |
| 3× | flip3-- |
| 3× | sum-log |
| 3× | +-commutative |
| 2× | pow-prod-up |
| 2× | pow-prod-down |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-plus |
| 1× | pow2 |
| 34.0ms | (* (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1)))) (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1))))) |
| 11.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 10.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 10.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 194.0ms | (* (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1)))) (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1))))) |
| 38.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 38.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 35.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 683.0ms | (* (cbrt (* (- x 1) (+ x 1))) (cbrt (- (/ 1 (- x 1)) (/ x (+ x 1))))) |
| 582.0ms | (* (cbrt (- (/ 1 (- x 1)) (/ x (+ x 1)))) (cbrt (* (- x 1) (+ x 1)))) |
| 490.0ms | (* (cbrt (- (* (/ 1 (- x 1)) (/ 1 (- x 1))) (* (/ x (+ x 1)) (/ x (+ x 1))))) (cbrt (- (* (/ 1 (- x 1)) (/ 1 (- x 1))) (* (/ x (+ x 1)) (/ x (+ x 1)))))) |
| 467.0ms | (* (cbrt (* (- x 1) (+ x 1))) (cbrt (* (- x 1) (+ x 1)))) |
| 451.0ms | (* (cbrt (- (* (/ 1 (- x 1)) (/ 1 (- x 1))) (* (/ x (+ x 1)) (/ x (+ x 1))))) (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1))))) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b
| 8000× | (pre true 80) |
| 8000× | (body real 80) |