


Bits error versus F



Bits error versus B



Bits error versus x
Results
if F < -15994.809278368788Initial program 24.3
Simplified24.3
rmApplied associate-*r/19.2
Taylor expanded around -inf 0.1
if -15994.809278368788 < F < 85996869.67002515Initial program 0.4
Simplified0.3
Taylor expanded around inf 0.3
if 85996869.67002515 < F Initial program 25.7
Simplified25.7
rmApplied associate-*r/20.6
Taylor expanded around inf 0.1
Final simplification0.2
herbie shell --seed 2019022
(FPCore (F B x)
:name "VandenBroeck and Keller, Equation (23)"
(+ (- (* x (/ 1 (tan B)))) (* (/ F (sin B)) (pow (+ (+ (* F F) 2) (* 2 x)) (- (/ 1 2))))))
Time bar (total: 27.6s)Debug log
| 124.0ms | 149× | body | 80 | valid |
| 102.0ms | 54× | body | 1280 | valid |
| 56.0ms | 44× | body | 640 | valid |
| 21.0ms | 24× | body | 320 | valid |
| 15.0ms | 48× | body | 80 | nan |
| 9.0ms | 14× | body | 160 | valid |
| 131.0ms | (+ (- (* x (/ 1 (tan B)))) (* (/ F (sin B)) (pow (+ (+ (* F F) 2) (* 2 x)) (- (/ 1 2))))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 15.1b
Found 4 expressions with local error:
| 17.3b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 7.1b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 0.2b | (/ x (tan B)) |
| 0.2b | (/ F (sin B)) |
| 10× | add-cube-cbrt |
| 10× | add-exp-log |
| 10× | *-un-lft-identity |
| 10× | add-sqr-sqrt |
| 6× | associate-*l* |
| 6× | add-cbrt-cube |
| 6× | unpow-prod-down |
| 6× | associate-/r* |
| 5× | pow1 |
| 4× | add-log-exp |
| 4× | associate-*r* |
| 3× | div-inv |
| 3× | prod-exp |
| 2× | pow-exp |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | pow-to-exp |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | associate-/r/ |
| 1× | associate-*r/ |
| 1× | tan-quot |
| 1× | pow-pow |
| 23.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 21.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 1.0ms | (/ x (tan B)) |
| 1.0ms | (/ F (sin B)) |
| 150.0ms | (/ x (tan B)) |
| 149.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 99.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 70.0ms | (/ F (sin B)) |
| 227.0ms | (- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2)))))) |
| 175.0ms | (- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2))))) |
| 171.0ms | (* (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)) (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)) (* (* (/ F (sin B)) (/ F (sin B))) (/ F (sin B)))) |
| 58.0ms | (+ (* (log (+ (+ 2 (* F F)) (* 2 x))) -1/2) (log (/ F (sin B)))) |
| 57.0ms | (+ (* (log (+ (+ 2 (* F F)) (* 2 x))) -1/2) (log (/ F (sin B)))) |
12 alts after pruning (12 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 17.3b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.2b | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 0.2b | (/ x (tan B)) |
| 10× | add-cube-cbrt |
| 10× | *-un-lft-identity |
| 10× | add-sqr-sqrt |
| 7× | add-exp-log |
| 6× | associate-*l* |
| 6× | add-cbrt-cube |
| 6× | unpow-prod-down |
| 6× | associate-/r* |
| 5× | pow1 |
| 4× | add-log-exp |
| 3× | times-frac |
| 2× | div-inv |
| 2× | frac-2neg |
| 2× | clear-num |
| 1× | associate-/l* |
| 1× | *-commutative |
| 1× | associate-/r/ |
| 1× | tan-quot |
| 1× | pow-exp |
| 1× | div-exp |
| 1× | pow-pow |
| 1× | cbrt-undiv |
| 1× | pow-to-exp |
| 12.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 11.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 4.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 1.0ms | (/ x (tan B)) |
| 146.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 111.0ms | (/ x (tan B)) |
| 56.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 46.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 469.0ms | (/ (* (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) (* (* (sin B) (sin B)) (sin B))) |
| 260.0ms | (- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2))))) |
| 239.0ms | (- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2)))))) |
| 201.0ms | (- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8))))) |
| 44.0ms | (* (cbrt (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)) (cbrt (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2))) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 17.3b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.2b | (/ x (tan B)) |
| 0.2b | (/ 1 (/ (sin B) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F))) |
| 10× | add-cube-cbrt |
| 10× | *-un-lft-identity |
| 10× | associate-/r* |
| 10× | add-sqr-sqrt |
| 8× | add-exp-log |
| 6× | associate-*l* |
| 6× | unpow-prod-down |
| 6× | pow1 |
| 4× | add-log-exp |
| 4× | add-cbrt-cube |
| 3× | div-inv |
| 3× | times-frac |
| 2× | associate-/r/ |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | rec-exp |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | *-commutative |
| 1× | tan-quot |
| 1× | pow-exp |
| 1× | div-exp |
| 1× | pow-pow |
| 1× | pow-to-exp |
| 18.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 10.0ms | (/ 1 (/ (sin B) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F))) |
| 8.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 1.0ms | (/ x (tan B)) |
| 132.0ms | (/ x (tan B)) |
| 120.0ms | (/ 1 (/ (sin B) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F))) |
| 76.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 36.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 280.0ms | (- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8))))) |
| 248.0ms | (- (+ (* 1/6 (* F (* B (sqrt 1/2)))) (/ (* F (sqrt 1/2)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2))))) |
| 203.0ms | (- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2))))) |
| 43.0ms | (/ (sin B) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) |
| 42.0ms | (pow (* (cbrt (+ (+ 2 (* F F)) (* 2 x))) (cbrt (+ (+ 2 (* F F)) (* 2 x)))) -1/2) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 17.3b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.2b | (* (/ x (sin B)) (cos B)) |
| 0.2b | (/ 1 (/ (sin B) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F))) |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 11× | add-sqr-sqrt |
| 10× | add-exp-log |
| 10× | associate-*l* |
| 8× | pow1 |
| 7× | associate-/r* |
| 6× | add-cbrt-cube |
| 6× | unpow-prod-down |
| 4× | add-log-exp |
| 3× | div-inv |
| 3× | associate-*r* |
| 3× | times-frac |
| 2× | *-commutative |
| 2× | rec-exp |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | cbrt-unprod |
| 1× | associate-/r/ |
| 1× | prod-exp |
| 1× | pow-exp |
| 1× | associate-*l/ |
| 1× | pow-prod-down |
| 1× | div-exp |
| 1× | frac-2neg |
| 1× | pow-pow |
| 1× | clear-num |
| 1× | pow-to-exp |
| 11.0ms | (/ 1 (/ (sin B) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F))) |
| 8.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 7.0ms | (* (/ x (sin B)) (cos B)) |
| 6.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 147.0ms | (/ 1 (/ (sin B) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F))) |
| 129.0ms | (* (/ x (sin B)) (cos B)) |
| 64.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 63.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 248.0ms | (- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8))))) |
| 211.0ms | (- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2))))) |
| 205.0ms | (- (+ (* 1/6 (* F (* B (sqrt 1/2)))) (/ (* F (sqrt 1/2)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2))))) |
| 168.0ms | (* (* (* (/ x (sin B)) (/ x (sin B))) (/ x (sin B))) (* (* (cos B) (cos B)) (cos B))) |
| 47.0ms | (pow (* (cbrt (+ (+ 2 (* F F)) (* 2 x))) (cbrt (+ (+ 2 (* F F)) (* 2 x)))) -1/2) |
10 alts after pruning (9 fresh and 1 done)
Merged error: 0.0b
98.3% (0.2b remaining)
Error of 0.2b against oracle of 0.0b and baseline of 10.9b
| 5.7s | 1695× | body | 1280 | valid |
| 3.8s | 1373× | body | 640 | valid |
| 2.4s | 4804× | body | 80 | valid |
| 1.0s | 677× | body | 320 | valid |
| 753.0ms | 1629× | body | 80 | nan |
| 403.0ms | 349× | body | 160 | valid |