


Bits error versus B



Bits error versus x
Results
Initial program 0.2
Simplified0.2
rmApplied tan-quot0.2
Applied associate-/r/0.2
Final simplification0.2
herbie shell --seed 2019016
(FPCore (B x)
:name "VandenBroeck and Keller, Equation (24)"
(+ (- (* x (/ 1 (tan B)))) (/ 1 (sin B))))
Time bar (total: 16.5s)Debug log
| 293× | (pre true 80) |
| 154× | (body real 80) |
| 64× | (body real 1280) |
| 40× | (body real 640) |
| 25× | (body real 320) |
| 10× | (body real 160) |
| 116.0ms | (+ (- (* x (/ 1 (tan B)))) (/ 1 (sin B))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.1b
Found 3 expressions with local error:
| 0.2b | (/ x (tan B)) |
| 0.1b | (/ 1 (sin B)) |
| 0.0b | (- (/ 1 (sin B)) (/ x (tan B))) |
| 8× | *-un-lft-identity |
| 7× | add-sqr-sqrt |
| 6× | associate-/r* |
| 5× | add-log-exp |
| 5× | add-cube-cbrt |
| 4× | add-exp-log |
| 4× | pow1 |
| 3× | div-inv |
| 3× | add-cbrt-cube |
| 2× | distribute-lft-out-- |
| 2× | frac-2neg |
| 2× | clear-num |
| 1× | difference-of-squares |
| 1× | inv-pow |
| 1× | flip-- |
| 1× | pow-flip |
| 1× | frac-sub |
| 1× | associate-/r/ |
| 1× | tan-quot |
| 1× | diff-log |
| 1× | flip3-- |
| 1× | sub-neg |
| 1× | rec-exp |
| 5.0ms | (- (/ 1 (sin B)) (/ x (tan B))) |
| 2.0ms | (/ x (tan B)) |
| 1.0ms | (/ 1 (sin B)) |
| 138.0ms | (/ x (tan B)) |
| 114.0ms | (- (/ 1 (sin B)) (/ x (tan B))) |
| 16.0ms | (/ 1 (sin B)) |
| 54.0ms | (+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3)))) |
| 33.0ms | (- (+ (* 1/6 B) (/ 1 B)) (/ x B)) |
| 29.0ms | (/ (exp (/ 1 (sin B))) (exp (/ x (tan B)))) |
| 26.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
| 26.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
8 alts after pruning (8 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.2b | (* (/ x (sin B)) (cos B)) |
| 0.1b | (/ x (sin B)) |
| 0.1b | (/ 1 (sin B)) |
| 0.0b | (- (/ 1 (sin B)) (* (/ x (sin B)) (cos B))) |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 7× | add-exp-log |
| 7× | pow1 |
| 6× | add-log-exp |
| 6× | add-cbrt-cube |
| 6× | associate-/r* |
| 4× | associate-*l* |
| 3× | div-inv |
| 3× | associate-*l/ |
| 3× | associate-*r* |
| 2× | frac-2neg |
| 2× | clear-num |
| 1× | sub-div |
| 1× | inv-pow |
| 1× | flip-- |
| 1× | pow-flip |
| 1× | cbrt-unprod |
| 1× | frac-sub |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 1× | diff-log |
| 1× | flip3-- |
| 1× | sub-neg |
| 1× | rec-exp |
| 12.0ms | (- (/ 1 (sin B)) (* (/ x (sin B)) (cos B))) |
| 7.0ms | (* (/ x (sin B)) (cos B)) |
| 2.0ms | (/ 1 (sin B)) |
| 1.0ms | (/ x (sin B)) |
| 127.0ms | (- (/ 1 (sin B)) (* (/ x (sin B)) (cos B))) |
| 109.0ms | (* (/ x (sin B)) (cos B)) |
| 60.0ms | (/ x (sin B)) |
| 17.0ms | (/ 1 (sin B)) |
| 165.0ms | (- (* 1 (sin B)) (* (sin B) (* x (cos B)))) |
| 164.0ms | (* (* (* (/ x (sin B)) (/ x (sin B))) (/ x (sin B))) (* (* (cos B) (cos B)) (cos B))) |
| 57.0ms | (/ (exp (/ 1 (sin B))) (exp (* (/ x (sin B)) (cos B)))) |
| 53.0ms | (+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3)))) |
| 36.0ms | (- (+ (* 1/6 B) (/ 1 B)) (/ x B)) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 0.2b | (* x (cos B)) |
| 0.1b | (/ (- 1 (* x (cos B))) (sin B)) |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 11× | add-sqr-sqrt |
| 9× | times-frac |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 3× | associate-/l* |
| 3× | associate-*r* |
| 3× | associate-/r* |
| 2× | associate-/l/ |
| 2× | add-log-exp |
| 2× | pow1 |
| 1× | flip-- |
| 1× | div-inv |
| 1× | *-commutative |
| 1× | div-exp |
| 1× | div-sub |
| 1× | flip3-- |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | cbrt-undiv |
| 3.0ms | (/ (- 1 (* x (cos B))) (sin B)) |
| 1.0ms | (* x (cos B)) |
| 83.0ms | (/ (- 1 (* x (cos B))) (sin B)) |
| 34.0ms | (* x (cos B)) |
| 234.0ms | (- (pow 1 3) (pow (* x (cos B)) 3)) |
| 219.0ms | (/ (* (* (- 1 (* x (cos B))) (- 1 (* x (cos B)))) (- 1 (* x (cos B)))) (* (* (sin B) (sin B)) (sin B))) |
| 67.0ms | (- (* 1 1) (* (* x (cos B)) (* x (cos B)))) |
| 55.0ms | (/ (- 1 (* x (cos B))) (cbrt (sin B))) |
| 53.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
6 alts after pruning (4 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.3b | (* x (/ 1 (tan B))) |
| 0.2b | (/ 1 (tan B)) |
| 0.1b | (/ 1 (sin B)) |
| 0.0b | (- (/ 1 (sin B)) (* x (/ 1 (tan B)))) |
| 7× | add-cube-cbrt |
| 7× | *-un-lft-identity |
| 7× | add-sqr-sqrt |
| 6× | add-log-exp |
| 6× | add-exp-log |
| 6× | associate-/r* |
| 6× | pow1 |
| 5× | associate-*r* |
| 4× | add-cbrt-cube |
| 3× | div-inv |
| 2× | inv-pow |
| 2× | pow-flip |
| 2× | frac-sub |
| 2× | un-div-inv |
| 2× | associate-/r/ |
| 2× | associate-*r/ |
| 2× | tan-quot |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | rec-exp |
| 1× | flip-- |
| 1× | *-commutative |
| 1× | diff-log |
| 1× | flip3-- |
| 1× | sub-neg |
| 5.0ms | (- (/ 1 (sin B)) (* x (/ 1 (tan B)))) |
| 1.0ms | (* x (/ 1 (tan B))) |
| 1.0ms | (/ 1 (tan B)) |
| 1.0ms | (/ 1 (sin B)) |
| 125.0ms | (- (/ 1 (sin B)) (* x (/ 1 (tan B)))) |
| 105.0ms | (* x (/ 1 (tan B))) |
| 43.0ms | (/ 1 (tan B)) |
| 26.0ms | (/ 1 (sin B)) |
| 132.0ms | (- (/ 1 B) (+ (* 1/3 B) (* 1/45 (pow B 3)))) |
| 55.0ms | (+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3)))) |
| 52.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
| 51.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
| 48.0ms | (- (+ (* 1/6 B) (/ 1 B)) (/ x B)) |
6 alts after pruning (3 fresh and 3 done)
Merged error: 0.0b
0% (0.2b remaining)
Error of 0.2b against oracle of 0.0b and baseline of 0.2b
| 9115× | (pre true 80) |
| 4899× | (body real 80) |
| 1754× | (body real 1280) |
| 1403× | (body real 640) |
| 694× | (body real 320) |
| 365× | (body real 160) |