


Bits error versus x
Results
Initial program 14.3
rmApplied frac-sub13.6
Simplified0.4
rmApplied associate-/r*0.1
Final simplification0.1
herbie shell --seed 2019022
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))
Time bar (total: 53.2s)Debug log
| 22.0ms | 55× | body | 640 | valid |
| 14.0ms | 135× | body | 80 | valid |
| 14.0ms | 45× | body | 320 | valid |
| 4.0ms | 21× | body | 160 | valid |
| 9.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 15.0b
Found 3 expressions with local error:
| 4.1b | (- (/ 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 |
| 6.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 2.0ms | (/ 1 (- x 1)) |
| 2.0ms | (/ 1 (+ x 1)) |
| 54.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 11.0ms | (/ 1 (- x 1)) |
| 9.0ms | (/ 1 (+ x 1)) |
| 461.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 389.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 153.0ms | (- (* 1 (- x 1)) (* (+ x 1) 1)) |
| 79.0ms | (- (+ x (+ (pow x 2) 1))) |
| 65.0ms | (- (- x 1) (+ x 1)) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.1b
Found 2 expressions with local error:
| 0.1b | (/ -2 (* (+ x 1) (- x 1))) |
| 0.0b | (* (+ x 1) (- x 1)) |
| 8× | associate-/r/ |
| 8× | frac-times |
| 6× | flip-- |
| 6× | flip-+ |
| 6× | flip3-- |
| 6× | flip3-+ |
| 4× | add-cube-cbrt |
| 4× | add-exp-log |
| 4× | associate-*r/ |
| 4× | associate-*l/ |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | add-sqr-sqrt |
| 3× | associate-*l* |
| 3× | associate-*r* |
| 2× | add-log-exp |
| 2× | distribute-lft-in |
| 2× | sub-neg |
| 2× | distribute-rgt-in |
| 1× | div-inv |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 1× | frac-2neg |
| 1× | associate-/r* |
| 1× | clear-num |
| 8.0ms | (* (+ x 1) (- x 1)) |
| 3.0ms | (/ -2 (* (+ x 1) (- x 1))) |
| 42.0ms | (* (+ x 1) (- x 1)) |
| 31.0ms | (/ -2 (* (+ x 1) (- x 1))) |
| 1.3s | (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* (- x 1) (- x 1)) (- x 1))) |
| 445.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 328.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 268.0ms | (* (- (* x x) (* 1 1)) (- (* x x) (* 1 1))) |
| 234.0ms | (* (+ (pow x 3) (pow 1 3)) (- (* x x) (* 1 1))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 0.1b | (/ (/ -2 (+ x 1)) (- x 1)) |
| 0.0b | (/ -2 (+ x 1)) |
| 18× | times-frac |
| 14× | add-cube-cbrt |
| 14× | *-un-lft-identity |
| 14× | add-sqr-sqrt |
| 12× | associate-/r/ |
| 6× | associate-/l* |
| 6× | div-inv |
| 6× | associate-/r* |
| 5× | flip-+ |
| 5× | flip3-+ |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 2× | add-log-exp |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | pow1 |
| 1× | associate-/l/ |
| 1× | flip-- |
| 1× | div-exp |
| 1× | flip3-- |
| 1× | cbrt-undiv |
| 8.0ms | (/ (/ -2 (+ x 1)) (- x 1)) |
| 1.0ms | (/ -2 (+ x 1)) |
| 26.0ms | (/ (/ -2 (+ x 1)) (- x 1)) |
| 7.0ms | (/ -2 (+ x 1)) |
| 452.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 442.0ms | (/ (/ -2 (- (* x x) (* 1 1))) (sqrt (- x 1))) |
| 426.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 362.0ms | (- (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 3))) (* 2 (/ 1 x)))) |
| 326.0ms | (/ (* (* (/ -2 (+ x 1)) (/ -2 (+ x 1))) (/ -2 (+ x 1))) (* (* (- x 1) (- x 1)) (- x 1))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0b
Found 4 expressions with local error:
| 13.7b | (/ (- x 1) (+ (* x x) (- (* 1 1) (* x 1)))) |
| 3.4b | (/ (/ -2 (+ 1 (pow x 3))) (/ (- x 1) (+ (* x x) (- (* 1 1) (* x 1))))) |
| 0.2b | (/ -2 (+ 1 (pow x 3))) |
| 0.0b | (+ (* x x) (- (* 1 1) (* x 1))) |
| 162× | times-frac |
| 78× | add-cube-cbrt |
| 78× | *-un-lft-identity |
| 78× | add-sqr-sqrt |
| 51× | associate-/r/ |
| 26× | div-inv |
| 26× | flip-+ |
| 26× | flip3-+ |
| 21× | associate-/r* |
| 11× | add-exp-log |
| 11× | add-cbrt-cube |
| 9× | add-log-exp |
| 9× | associate-/l* |
| 4× | div-exp |
| 4× | cbrt-undiv |
| 4× | pow1 |
| 3× | associate-/l/ |
| 3× | frac-2neg |
| 3× | clear-num |
| 2× | sum-log |
| 2× | associate-+r+ |
| 1× | flip-- |
| 1× | div-sub |
| 1× | diff-log |
| 1× | flip3-- |
| 1× | sub-neg |
| 1× | associate-+r- |
| 1× | +-commutative |
| 21.0ms | (/ (- x 1) (+ (* x x) (- (* 1 1) (* x 1)))) |
| 20.0ms | (/ (/ -2 (+ 1 (pow x 3))) (/ (- x 1) (+ (* x x) (- (* 1 1) (* x 1))))) |
| 9.0ms | (+ (* x x) (- (* 1 1) (* x 1))) |
| 1.0ms | (/ -2 (+ 1 (pow x 3))) |
| 62.0ms | (/ (/ -2 (+ 1 (pow x 3))) (/ (- x 1) (+ (* x x) (- (* 1 1) (* x 1))))) |
| 35.0ms | (/ -2 (+ 1 (pow x 3))) |
| 30.0ms | (/ (- x 1) (+ (* x x) (- (* 1 1) (* x 1)))) |
| 12.0ms | (+ (* x x) (- (* 1 1) (* x 1))) |
| 671.0ms | (/ (/ -2 (- (* 1 1) (* (pow x 3) (pow x 3)))) (/ (* (cbrt (- x 1)) (cbrt (- x 1))) 1)) |
| 670.0ms | (/ (+ (* 1 1) (- (* (pow x 3) (pow x 3)) (* 1 (pow x 3)))) (/ (cbrt (- x 1)) (cbrt (+ (* x x) (- (* 1 1) (* x 1)))))) |
| 560.0ms | (/ (sqrt (/ -2 (+ 1 (pow x 3)))) (+ (* (* x x) (* x x)) (- (* (- (* 1 1) (* x 1)) (- (* 1 1) (* x 1))) (* (* x x) (- (* 1 1) (* x 1)))))) |
| 516.0ms | (/ (/ -2 (- (* 1 1) (* (pow x 3) (pow x 3)))) (/ 1 (* (cbrt (+ (* x x) (- (* 1 1) (* x 1)))) (cbrt (+ (* x x) (- (* 1 1) (* x 1))))))) |
| 511.0ms | (/ (cbrt (/ -2 (+ 1 (pow x 3)))) (+ (* (* x x) (* x x)) (- (* (- (* 1 1) (* x 1)) (- (* 1 1) (* x 1))) (* (* x x) (- (* 1 1) (* x 1)))))) |
5 alts after pruning (2 fresh and 3 done)
Merged error: 0b
0% (0.1b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 0.1b
| 804.0ms | 4232× | body | 80 | valid |
| 738.0ms | 1841× | body | 640 | valid |
| 341.0ms | 1289× | body | 320 | valid |
| 100.0ms | 638× | body | 160 | valid |