


Bits error versus x
Results
Initial program 0.0
rmApplied flip3-+0.0
Final simplification0.0
herbie shell --seed 2019016
(FPCore (x)
:name "Asymptote B"
(+ (/ 1 (- x 1)) (/ x (+ x 1))))
Time bar (total: 20.6s)Debug log
| 256× | (pre true 80) |
| 256× | (body real 80) |
| 10.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)) |
| 8× | *-un-lft-identity |
| 6× | associate-/r* |
| 5× | add-log-exp |
| 5× | add-cube-cbrt |
| 5× | add-sqr-sqrt |
| 4× | associate-/r/ |
| 4× | add-exp-log |
| 4× | pow1 |
| 3× | div-inv |
| 3× | add-cbrt-cube |
| 2× | distribute-lft-out |
| 2× | flip-+ |
| 2× | flip3-+ |
| 2× | frac-2neg |
| 2× | clear-num |
| 1× | inv-pow |
| 1× | flip-- |
| 1× | pow-flip |
| 1× | frac-add |
| 1× | flip3-- |
| 1× | sum-log |
| 1× | rec-exp |
| 1× | +-commutative |
| 5.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 1.0ms | (/ 1 (- x 1)) |
| 0.0ms | (/ x (+ x 1)) |
| 37.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 10.0ms | (/ x (+ x 1)) |
| 7.0ms | (/ 1 (- x 1)) |
| 155.0ms | (+ (* 1 (+ x 1)) (* (- x 1) x)) |
| 88.0ms | (- (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 1))) |
| 73.0ms | (- (+ x (+ (pow x 2) 1))) |
| 63.0ms | (+ (* 2 (/ 1 (pow x 4))) (+ 1 (* 2 (/ 1 (pow x 2))))) |
| 53.0ms | (+ (* 2 (/ 1 (pow x 4))) (+ 1 (* 2 (/ 1 (pow x 2))))) |
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× | flip-+ |
| 4× | pow-prod-down |
| 4× | flip3-- |
| 4× | flip3-+ |
| 4× | pow-pow |
| 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 |
| 9.0ms | (* (/ 1 (- x 1)) (/ 1 (- x 1))) |
| 5.0ms | (* (/ x (+ x 1)) (/ x (+ x 1))) |
| 3.0ms | (pow (/ 1 (- x 1)) 3) |
| 2.0ms | (pow (/ x (+ x 1)) 3) |
| 19.0ms | (* (/ x (+ x 1)) (/ x (+ x 1))) |
| 18.0ms | (pow (/ x (+ x 1)) 3) |
| 12.0ms | (* (/ 1 (- x 1)) (/ 1 (- x 1))) |
| 9.0ms | (pow (/ 1 (- x 1)) 3) |
| 1.0s | (* (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1))) (* (* (/ x (+ x 1)) (/ x (+ x 1))) (/ x (+ x 1)))) |
| 528.0ms | (pow (/ 1 (- (* x x) (* 1 1))) 3) |
| 503.0ms | (pow (/ 1 (- (* x x) (* 1 1))) 3) |
| 424.0ms | (pow (/ x (+ (pow x 3) (pow 1 3))) 3) |
| 416.0ms | (pow (/ x (+ (pow x 3) (pow 1 3))) 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))) |
| 13× | *-un-lft-identity |
| 12× | exp-prod |
| 9× | add-cube-cbrt |
| 9× | log-pow |
| 9× | add-sqr-sqrt |
| 8× | pow1 |
| 6× | add-log-exp |
| 6× | associate-/r/ |
| 6× | log-prod |
| 5× | div-inv |
| 5× | add-exp-log |
| 4× | distribute-lft-out |
| 4× | add-cbrt-cube |
| 3× | flip-+ |
| 3× | flip3-+ |
| 3× | associate-/r* |
| 3× | associate-+r+ |
| 1× | rem-exp-log |
| 1× | inv-pow |
| 1× | flip-- |
| 1× | pow-flip |
| 1× | rem-log-exp |
| 1× | flip3-- |
| 1× | frac-2neg |
| 1× | sum-log |
| 1× | clear-num |
| 1× | rec-exp |
| 1× | +-commutative |
| 11.0ms | (+ (/ 1 (- x 1)) (log (exp (/ x (+ x 1))))) |
| 2.0ms | (log (exp (/ x (+ x 1)))) |
| 2.0ms | (exp (/ x (+ x 1))) |
| 1.0ms | (/ 1 (- x 1)) |
| 29.0ms | (exp (/ x (+ x 1))) |
| 29.0ms | (+ (/ 1 (- x 1)) (log (exp (/ x (+ x 1))))) |
| 11.0ms | (/ 1 (- x 1)) |
| 11.0ms | (log (exp (/ x (+ x 1)))) |
| 85.0ms | (- (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 1))) |
| 82.0ms | (- (+ x (+ (pow x 2) 1))) |
| 82.0ms | (+ (* 2 (/ 1 (pow x 4))) (+ 1 (* 2 (/ 1 (pow x 2))))) |
| 64.0ms | (- (+ (* 3/2 (/ E (pow x 2))) E) (/ E x)) |
| 51.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))) |
| 24× | cbrt-div |
| 23× | *-un-lft-identity |
| 11× | flip-+ |
| 11× | frac-add |
| 11× | flip3-+ |
| 10× | add-log-exp |
| 10× | distribute-lft-out |
| 10× | cbrt-prod |
| 9× | pow1 |
| 9× | frac-times |
| 8× | add-cube-cbrt |
| 8× | associate-*l* |
| 8× | associate-*r* |
| 8× | add-sqr-sqrt |
| 6× | add-exp-log |
| 5× | div-inv |
| 4× | pow1/3 |
| 4× | add-cbrt-cube |
| 3× | associate-*r/ |
| 3× | associate-*l/ |
| 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 |
| 30.0ms | (* (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1)))) (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1))))) |
| 5.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 5.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 5.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 189.0ms | (* (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1)))) (cbrt (+ (/ 1 (- x 1)) (/ x (+ x 1))))) |
| 26.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 24.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 23.0ms | (+ (/ 1 (- x 1)) (/ x (+ x 1))) |
| 489.0ms | (* (cbrt (- (* (/ 1 (- x 1)) (/ 1 (- x 1))) (* (/ x (+ x 1)) (/ x (+ x 1))))) (cbrt (+ (pow (/ 1 (- x 1)) 3) (pow (/ x (+ x 1)) 3)))) |
| 487.0ms | (* (cbrt (+ (pow (/ 1 (- x 1)) 3) (pow (/ x (+ x 1)) 3))) (cbrt (- (* (/ 1 (- x 1)) (/ 1 (- x 1))) (* (/ x (+ x 1)) (/ x (+ x 1)))))) |
| 473.0ms | (+ (* 4/3 (/ (pow (cbrt -1) 2) (pow x 2))) (+ (* 8/9 (/ (pow (cbrt -1) 2) (pow x 4))) (pow (cbrt -1) 2))) |
| 377.0ms | (* (cbrt (* (- x 1) (+ x 1))) (cbrt (- (/ 1 (- x 1)) (/ x (+ x 1))))) |
| 338.0ms | (* (cbrt (+ (pow (/ 1 (- x 1)) 3) (pow (/ x (+ x 1)) 3))) (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) |