


Bits error versus B



Bits error versus x
Results
Initial program 0.2
Simplified0.2
rmApplied div-inv0.2
Final simplification0.2
herbie shell --seed 2019022
(FPCore (B x)
:name "VandenBroeck and Keller, Equation (24)"
(+ (- (* x (/ 1 (tan B)))) (/ 1 (sin B))))
Time bar (total: 15.6s)Debug log
| 187.0ms | 41× | body | 640 | valid |
| 124.0ms | 63× | body | 1280 | valid |
| 79.0ms | 155× | body | 80 | valid |
| 23.0ms | 24× | body | 320 | valid |
| 10.0ms | 14× | body | 160 | valid |
| 87.0ms | (+ (- (* x (/ 1 (tan B)))) (/ 1 (sin B))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.2b
Found 3 expressions with local error:
| 0.2b | (/ x (tan B)) |
| 0.2b | (/ 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 |
| 7.0ms | (- (/ 1 (sin B)) (/ x (tan B))) |
| 2.0ms | (/ x (tan B)) |
| 1.0ms | (/ 1 (sin B)) |
| 165.0ms | (/ x (tan B)) |
| 102.0ms | (- (/ 1 (sin B)) (/ x (tan B))) |
| 20.0ms | (/ 1 (sin B)) |
| 47.0ms | (+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3)))) |
| 44.0ms | (- (+ (* 1/6 B) (/ 1 B)) (/ x B)) |
| 42.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
| 40.0ms | (- (/ x B) (* 1/3 (* x B))) |
| 27.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.3b | (* x (/ 1 (tan B))) |
| 0.2b | (/ 1 (sin B)) |
| 0.2b | (/ 1 (tan 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 |
| 4.0ms | (- (/ 1 (sin B)) (* x (/ 1 (tan B)))) |
| 1.0ms | (* x (/ 1 (tan B))) |
| 1.0ms | (/ 1 (tan B)) |
| 1.0ms | (/ 1 (sin B)) |
| 146.0ms | (- (/ 1 (sin B)) (* x (/ 1 (tan B)))) |
| 144.0ms | (* x (/ 1 (tan B))) |
| 44.0ms | (/ 1 (tan B)) |
| 15.0ms | (/ 1 (sin B)) |
| 161.0ms | (- (/ 1 B) (+ (* 1/3 B) (* 1/45 (pow B 3)))) |
| 49.0ms | (+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3)))) |
| 48.0ms | (/ (exp (/ 1 (sin B))) (exp (* x (/ 1 (tan B))))) |
| 42.0ms | (- (/ x B) (* 1/3 (* x B))) |
| 36.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
10 alts after pruning (9 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.3b | (/ 1 (/ (tan B) x)) |
| 0.2b | (/ 1 (sin B)) |
| 0.1b | (/ (tan B) x) |
| 0.0b | (- (/ 1 (sin B)) (/ 1 (/ (tan B) x))) |
| 11× | *-un-lft-identity |
| 9× | add-sqr-sqrt |
| 8× | div-inv |
| 7× | add-cube-cbrt |
| 7× | associate-/r* |
| 6× | add-log-exp |
| 6× | add-exp-log |
| 6× | pow1 |
| 4× | distribute-lft-out-- |
| 4× | add-cbrt-cube |
| 3× | associate-/l* |
| 3× | frac-2neg |
| 3× | clear-num |
| 2× | inv-pow |
| 2× | pow-flip |
| 2× | rec-exp |
| 1× | associate-/l/ |
| 1× | difference-of-squares |
| 1× | flip-- |
| 1× | frac-sub |
| 1× | associate-/r/ |
| 1× | tan-quot |
| 1× | diff-log |
| 1× | flip3-- |
| 1× | sub-neg |
| 4.0ms | (- (/ 1 (sin B)) (/ 1 (/ (tan B) x))) |
| 3.0ms | (/ 1 (sin B)) |
| 2.0ms | (/ (tan B) x) |
| 1.0ms | (/ 1 (/ (tan B) x)) |
| 110.0ms | (- (/ 1 (sin B)) (/ 1 (/ (tan B) x))) |
| 79.0ms | (/ 1 (/ (tan B) x)) |
| 50.0ms | (/ (tan B) x) |
| 19.0ms | (/ 1 (sin B)) |
| 99.0ms | (+ (/ B x) (+ (* 1/3 (/ (pow B 3) x)) (* 2/15 (/ (pow B 5) x)))) |
| 51.0ms | (/ (exp (/ 1 (sin B))) (exp (/ 1 (/ (tan B) x)))) |
| 50.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
| 49.0ms | (- (* 1 (/ (tan B) x)) (* (sin B) 1)) |
| 41.0ms | (- (/ 1 (sin B)) (/ 1 (/ (tan B) x))) |
10 alts after pruning (8 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.3b | (* x (/ 1 (sin B))) |
| 0.2b | (* (* x (/ 1 (sin B))) (cos B)) |
| 0.2b | (/ 1 (sin B)) |
| 0.2b | (/ 1 (sin B)) |
| 8× | add-cube-cbrt |
| 8× | add-exp-log |
| 8× | *-un-lft-identity |
| 8× | pow1 |
| 8× | add-sqr-sqrt |
| 7× | associate-*r* |
| 6× | add-cbrt-cube |
| 6× | associate-/r* |
| 4× | add-log-exp |
| 3× | div-inv |
| 2× | inv-pow |
| 2× | pow-flip |
| 2× | *-commutative |
| 2× | un-div-inv |
| 2× | associate-*r/ |
| 2× | associate-*l/ |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | rec-exp |
| 1× | cbrt-unprod |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 1× | associate-*l* |
| 9.0ms | (* (* x (/ 1 (sin B))) (cos B)) |
| 2.0ms | (* x (/ 1 (sin B))) |
| 1.0ms | (/ 1 (sin B)) |
| 1.0ms | (/ 1 (sin B)) |
| 99.0ms | (* (* x (/ 1 (sin B))) (cos B)) |
| 76.0ms | (* x (/ 1 (sin B))) |
| 13.0ms | (/ 1 (sin B)) |
| 13.0ms | (/ 1 (sin B)) |
| 292.0ms | (* (* (* (* x (/ 1 (sin B))) (* x (/ 1 (sin B)))) (* x (/ 1 (sin B)))) (* (* (cos B) (cos B)) (cos B))) |
| 79.0ms | (+ (log (* x (/ 1 (sin B)))) (log (cos B))) |
| 76.0ms | (* (* x (/ 1 (sin B))) (cos B)) |
| 49.0ms | (+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3)))) |
| 40.0ms | (- (/ x B) (* 1/3 (* x B))) |
10 alts after pruning (7 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
| 4.0s | 1768× | body | 1280 | valid |
| 1.9s | 4926× | body | 80 | valid |
| 1.8s | 1401× | body | 640 | valid |
| 659.0ms | 708× | body | 320 | valid |
| 248.0ms | 351× | body | 160 | valid |