


Bits error versus x
Results
Initial program 14.2
rmApplied flip--29.1
Applied associate-/r/29.2
Applied flip-+14.3
Applied associate-/r/14.2
Applied distribute-lft-out--13.6
Simplified13.6
Simplified0.3
Final simplification0.3
herbie shell --seed 2019016
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))
Time bar (total: 21.0s)Debug log
| 256× | (pre true 80) |
| 132× | (body real 80) |
| 58× | (body real 640) |
| 34× | (body real 160) |
| 32× | (body real 320) |
| 5.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 14.5b
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 |
| 5.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 1.0ms | (/ 1 (+ x 1)) |
| 1.0ms | (/ 1 (- x 1)) |
| 46.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 7.0ms | (/ 1 (+ x 1)) |
| 7.0ms | (/ 1 (- x 1)) |
| 423.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 387.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 183.0ms | (- (* 1 (- x 1)) (* (+ x 1) 1)) |
| 116.0ms | (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 2)) |
| 56.0ms | (- (+ x (+ (pow x 2) 1))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.1b
Found 1 expressions with local error:
| 0.1b | (/ 1 (+ -1 (* x x))) |
| 3× | associate-/r* |
| 2× | add-cube-cbrt |
| 2× | associate-/r/ |
| 2× | add-exp-log |
| 2× | *-un-lft-identity |
| 2× | pow1 |
| 2× | add-sqr-sqrt |
| 1× | add-log-exp |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | div-inv |
| 1× | flip-+ |
| 1× | add-cbrt-cube |
| 1× | flip3-+ |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rec-exp |
| 1.0ms | (/ 1 (+ -1 (* x x))) |
| 13.0ms | (/ 1 (+ -1 (* x x))) |
| 284.0ms | (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x)))) |
| 62.0ms | (- (+ (pow x 2) (+ (pow x 4) 1))) |
| 25.0ms | (sqrt (+ -1 (* x x))) |
| 15.0ms | (cbrt (+ -1 (* x x))) |
| 12.0ms | (+ (/ 1 (pow x 4)) (+ (/ 1 (pow x 6)) (/ 1 (pow x 2)))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 14.9b | (cbrt (+ -1 (* x x))) |
| 14.9b | (cbrt (+ -1 (* x x))) |
| 14.9b | (cbrt (+ -1 (* x x))) |
| 1.0b | (/ 1 (* (cbrt (+ -1 (* x x))) (cbrt (+ -1 (* x x))))) |
| 18× | cbrt-div |
| 10× | pow1 |
| 9× | flip-+ |
| 9× | flip3-+ |
| 9× | cbrt-prod |
| 8× | associate-/r/ |
| 7× | pow-flip |
| 7× | add-cube-cbrt |
| 7× | add-exp-log |
| 7× | pow1/3 |
| 7× | *-un-lft-identity |
| 7× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | add-cbrt-cube |
| 4× | frac-times |
| 2× | pow-prod-up |
| 2× | associate-*r/ |
| 2× | associate-*l/ |
| 2× | pow-prod-down |
| 2× | rec-exp |
| 1× | inv-pow |
| 1× | div-inv |
| 1× | prod-exp |
| 1× | pow-plus |
| 1× | frac-2neg |
| 1× | associate-/r* |
| 1× | clear-num |
| 1× | pow2 |
| 10.0ms | (/ 1 (* (cbrt (+ -1 (* x x))) (cbrt (+ -1 (* x x))))) |
| 1.0ms | (cbrt (+ -1 (* x x))) |
| 1.0ms | (cbrt (+ -1 (* x x))) |
| 1.0ms | (cbrt (+ -1 (* x x))) |
| 133.0ms | (/ 1 (* (cbrt (+ -1 (* x x))) (cbrt (+ -1 (* x x))))) |
| 128.0ms | (cbrt (+ -1 (* x x))) |
| 124.0ms | (cbrt (+ -1 (* x x))) |
| 105.0ms | (cbrt (+ -1 (* x x))) |
| 382.0ms | (* (cbrt (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x))))) (cbrt (- -1 (* x x)))) |
| 358.0ms | (cbrt (- (* -1 -1) (* (* x x) (* x x)))) |
| 358.0ms | (cbrt (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x))))) |
| 356.0ms | (* (cbrt (- -1 (* x x))) (cbrt (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x)))))) |
| 334.0ms | (cbrt (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x))))) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 14.9b | (cbrt (+ -1 (* x x))) |
| 14.9b | (cbrt (+ -1 (* x x))) |
| 0.2b | (pow (cbrt (+ -1 (* x x))) -2) |
| 0.1b | (/ (pow (cbrt (+ -1 (* x x))) -2) (cbrt (+ -1 (* x x)))) |
| 60× | cbrt-prod |
| 54× | times-frac |
| 49× | add-cube-cbrt |
| 49× | *-un-lft-identity |
| 49× | add-sqr-sqrt |
| 48× | unpow-prod-down |
| 10× | add-exp-log |
| 9× | associate-/l* |
| 6× | associate-/r* |
| 6× | cbrt-div |
| 6× | pow1 |
| 5× | add-cbrt-cube |
| 4× | add-log-exp |
| 3× | flip-+ |
| 3× | div-exp |
| 3× | pow1/3 |
| 3× | flip3-+ |
| 2× | associate-/r/ |
| 2× | pow-exp |
| 2× | pow-pow |
| 2× | pow-to-exp |
| 1× | pow-div |
| 1× | div-inv |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | cbrt-undiv |
| 11.0ms | (/ (pow (cbrt (+ -1 (* x x))) -2) (cbrt (+ -1 (* x x)))) |
| 3.0ms | (pow (cbrt (+ -1 (* x x))) -2) |
| 1.0ms | (cbrt (+ -1 (* x x))) |
| 1.0ms | (cbrt (+ -1 (* x x))) |
| 169.0ms | (pow (cbrt (+ -1 (* x x))) -2) |
| 142.0ms | (cbrt (+ -1 (* x x))) |
| 137.0ms | (cbrt (+ -1 (* x x))) |
| 22.0ms | (/ (pow (cbrt (+ -1 (* x x))) -2) (cbrt (+ -1 (* x x)))) |
| 418.0ms | (cbrt (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x))))) |
| 301.0ms | (cbrt (- (* -1 -1) (* (* x x) (* x x)))) |
| 261.0ms | (cbrt (- (* -1 -1) (* (* x x) (* x x)))) |
| 228.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 208.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0b
0% (0.1b remaining)
Error of 0.3b against oracle of 0.3b and baseline of 0.3b
| 8000× | (pre true 80) |
| 4202× | (body real 80) |
| 1895× | (body real 640) |
| 1225× | (body real 320) |
| 678× | (body real 160) |