


Bits error versus x
Results
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
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))
Time bar (total: 14.0s)Debug log
| 11.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)) |
| 9× | *-un-lft-identity |
| 7× | add-sqr-sqrt |
| 6× | div-inv |
| 6× | associate-/r/ |
| 6× | associate-/r* |
| 5× | add-log-exp |
| 5× | distribute-lft-out-- |
| 5× | add-cube-cbrt |
| 5× | add-exp-log |
| 5× | pow1 |
| 3× | flip-- |
| 3× | add-cbrt-cube |
| 2× | inv-pow |
| 2× | pow-flip |
| 2× | flip-+ |
| 2× | flip3-- |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | rec-exp |
| 1× | difference-of-squares |
| 1× | frac-sub |
| 1× | diff-log |
| 1× | flip3-+ |
| 1× | sub-neg |
| 10.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 2.0ms | (/ 1 (- x 1)) |
| 2.0ms | (/ 1 (+ x 1)) |
| 52.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 12.0ms | (/ 1 (- x 1)) |
| 11.0ms | (/ 1 (+ x 1)) |
| 424.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 408.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 196.0ms | (- (* 1 (- x 1)) (* (+ x 1) 1)) |
| 80.0ms | (- (+ x (+ (pow x 2) 1))) |
| 71.0ms | (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 2)) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.3b
Found 2 expressions with local error:
| 0.3b | (/ 1 (+ -1 (* x x))) |
| 0.0b | (* (/ 1 (+ -1 (* x x))) -2) |
| 6× | associate-*l* |
| 4× | add-cube-cbrt |
| 4× | associate-/r/ |
| 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× | flip-+ |
| 2× | add-cbrt-cube |
| 2× | flip3-+ |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | *-commutative |
| 1× | associate-*l/ |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rec-exp |
| 3.0ms | (* (/ 1 (+ -1 (* x x))) -2) |
| 1.0ms | (/ 1 (+ -1 (* x x))) |
| 14.0ms | (/ 1 (+ -1 (* x x))) |
| 13.0ms | (* (/ 1 (+ -1 (* x x))) -2) |
| 395.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 391.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 330.0ms | (/ 1 (- (* -1 -1) (* (* x x) (* x x)))) |
| 281.0ms | (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x)))) |
| 79.0ms | (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 2)) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 12.8b | (cbrt (/ 1 (+ -1 (* x x)))) |
| 12.8b | (cbrt (/ 1 (+ -1 (* x x)))) |
| 12.8b | (cbrt (/ 1 (+ -1 (* x x)))) |
| 0.3b | (/ 1 (+ -1 (* x x))) |
| 18× | cbrt-prod |
| 8× | add-cube-cbrt |
| 8× | associate-/r/ |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 5× | add-exp-log |
| 5× | pow1 |
| 4× | add-log-exp |
| 4× | div-inv |
| 4× | flip-+ |
| 4× | add-cbrt-cube |
| 4× | flip3-+ |
| 3× | pow1/3 |
| 3× | associate-/r* |
| 3× | cbrt-div |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rec-exp |
| 1.0ms | (/ 1 (+ -1 (* x x))) |
| 1.0ms | (cbrt (/ 1 (+ -1 (* x x)))) |
| 1.0ms | (cbrt (/ 1 (+ -1 (* x x)))) |
| 1.0ms | (cbrt (/ 1 (+ -1 (* x x)))) |
| 147.0ms | (cbrt (/ 1 (+ -1 (* x x)))) |
| 133.0ms | (cbrt (/ 1 (+ -1 (* x x)))) |
| 130.0ms | (cbrt (/ 1 (+ -1 (* x x)))) |
| 21.0ms | (/ 1 (+ -1 (* x x))) |
| 348.0ms | (cbrt (/ 1 (- (* -1 -1) (* (* x x) (* x x))))) |
| 330.0ms | (cbrt (/ 1 (- (* -1 -1) (* (* x x) (* x x))))) |
| 323.0ms | (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x)))) |
| 315.0ms | (cbrt (/ 1 (- (* -1 -1) (* (* x x) (* x x))))) |
| 117.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 13.0b | (cbrt (+ -1 (* x x))) |
| 12.8b | (cbrt (/ 1 (+ -1 (* x x)))) |
| 12.8b | (cbrt (/ 1 (+ -1 (* x x)))) |
| 0.3b | (/ 1 (+ -1 (* x x))) |
| 15× | cbrt-prod |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 6× | associate-/r/ |
| 5× | add-exp-log |
| 5× | pow1 |
| 4× | add-log-exp |
| 4× | flip-+ |
| 4× | add-cbrt-cube |
| 4× | flip3-+ |
| 4× | cbrt-div |
| 3× | div-inv |
| 3× | pow1/3 |
| 3× | associate-/r* |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rec-exp |
| 2.0ms | (/ 1 (+ -1 (* x x))) |
| 1.0ms | (cbrt (/ 1 (+ -1 (* x x)))) |
| 1.0ms | (cbrt (/ 1 (+ -1 (* x x)))) |
| 1.0ms | (cbrt (+ -1 (* x x))) |
| 154.0ms | (cbrt (/ 1 (+ -1 (* x x)))) |
| 144.0ms | (cbrt (/ 1 (+ -1 (* x x)))) |
| 98.0ms | (cbrt (+ -1 (* x x))) |
| 21.0ms | (/ 1 (+ -1 (* x x))) |
| 364.0ms | (- (pow (/ 1 x) -2/3) (+ (* 1/9 (pow (/ 1 (pow x 10)) 1/3)) (* 1/3 (pow (/ 1 (pow x 4)) 1/3)))) |
| 344.0ms | (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x)))) |
| 327.0ms | (cbrt (- (* -1 -1) (* (* x x) (* x x)))) |
| 303.0ms | (cbrt (/ 1 (- (* -1 -1) (* (* x x) (* x x))))) |
| 293.0ms | (cbrt (/ 1 (- (* -1 -1) (* (* x x) (* x x))))) |
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