


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.0s)Debug log
| 120.0ms | 63× | body | 1280 | valid |
| 43.0ms | 41× | body | 640 | valid |
| 40.0ms | 155× | body | 80 | valid |
| 20.0ms | 24× | body | 320 | valid |
| 8.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 |
| 9.0ms | (- (/ 1 (sin B)) (/ x (tan B))) |
| 2.0ms | (/ 1 (sin B)) |
| 1.0ms | (/ x (tan B)) |
| 175.0ms | (/ x (tan B)) |
| 123.0ms | (- (/ 1 (sin B)) (/ x (tan B))) |
| 17.0ms | (/ 1 (sin B)) |
| 45.0ms | (+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3)))) |
| 35.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
| 30.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
| 28.0ms | (/ (exp (/ 1 (sin B))) (exp (/ x (tan B)))) |
| 21.0ms | (- (/ x B) (* 1/3 (* x 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 |
| 9.0ms | (- (/ 1 (sin B)) (* x (/ 1 (tan B)))) |
| 1.0ms | (/ 1 (tan B)) |
| 1.0ms | (/ 1 (sin B)) |
| 1.0ms | (* x (/ 1 (tan B))) |
| 163.0ms | (* x (/ 1 (tan B))) |
| 138.0ms | (- (/ 1 (sin B)) (* x (/ 1 (tan B)))) |
| 26.0ms | (/ 1 (tan B)) |
| 13.0ms | (/ 1 (sin B)) |
| 173.0ms | (- (/ 1 B) (+ (* 1/3 B) (* 1/45 (pow B 3)))) |
| 43.0ms | (/ (exp (/ 1 (sin B))) (exp (* x (/ 1 (tan B))))) |
| 31.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
| 25.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
| 23.0ms | (+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3)))) |
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))) |
| 2.0ms | (/ (tan B) x) |
| 1.0ms | (/ 1 (/ (tan B) x)) |
| 1.0ms | (/ 1 (sin B)) |
| 123.0ms | (- (/ 1 (sin B)) (/ 1 (/ (tan B) x))) |
| 91.0ms | (/ 1 (/ (tan B) x)) |
| 71.0ms | (/ (tan B) x) |
| 19.0ms | (/ 1 (sin B)) |
| 75.0ms | (+ (/ B x) (+ (* 1/3 (/ (pow B 3) x)) (* 2/15 (/ (pow B 5) x)))) |
| 47.0ms | (- (/ 1 (sin B)) (/ 1 (/ (tan B) x))) |
| 45.0ms | (- (/ 1 (sin B)) (/ 1 (/ (tan B) x))) |
| 43.0ms | (- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
| 42.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* |
| 4.0ms | (* (* x (/ 1 (sin B))) (cos B)) |
| 1.0ms | (* x (/ 1 (sin B))) |
| 1.0ms | (/ 1 (sin B)) |
| 1.0ms | (/ 1 (sin B)) |
| 113.0ms | (* (* x (/ 1 (sin B))) (cos B)) |
| 75.0ms | (* x (/ 1 (sin B))) |
| 15.0ms | (/ 1 (sin B)) |
| 13.0ms | (/ 1 (sin B)) |
| 365.0ms | (* (* (* (* x (/ 1 (sin B))) (* x (/ 1 (sin B)))) (* x (/ 1 (sin B)))) (* (* (cos B) (cos B)) (cos B))) |
| 77.0ms | (+ (log (* x (/ 1 (sin B)))) (log (cos B))) |
| 50.0ms | (* (* x (/ 1 (sin B))) (cos B)) |
| 47.0ms | (+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3)))) |
| 33.0ms | (+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3)))) |
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
| 3.8s | 1768× | body | 1280 | valid |
| 2.3s | 1401× | body | 640 | valid |
| 1.5s | 4926× | body | 80 | valid |
| 615.0ms | 708× | body | 320 | valid |
| 265.0ms | 351× | body | 160 | valid |