


Bits error versus F



Bits error versus B



Bits error versus x
Results
if F < -6.860224735929818e+41Initial program 27.5
Simplified27.5
rmApplied associate-*r/21.4
rmApplied add-sqr-sqrt21.4
Applied unpow-prod-down21.5
Applied associate-*l*21.5
Taylor expanded around -inf 0.2
if -6.860224735929818e+41 < F < 293756.7212820923Initial program 0.4
Simplified0.3
Taylor expanded around -inf 0.4
if 293756.7212820923 < F Initial program 24.6
Simplified24.5
rmApplied associate-*r/19.0
rmApplied add-sqr-sqrt19.0
Applied unpow-prod-down19.1
Applied associate-*l*19.1
Taylor expanded around inf 0.2
Final simplification0.3
herbie shell --seed 2019005
(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: 33.4s)Debug log
1 calls. Slowest were:
| 149.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: 13.9b
Found 4 expressions with local error:
| 16.3b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 6.9b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 0.1b | (/ x (tan B)) |
| 0.1b | (/ F (sin B)) |
4 calls. Slowest were:
| 24.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 21.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 1.0ms | (/ x (tan B)) |
4 calls. Slowest were:
| 176.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 135.0ms | (/ x (tan B)) |
| 101.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 67.0ms | (/ F (sin B)) |
38 calls. Slowest were:
| 249.0ms | (- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2))))) |
| 244.0ms | (- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2)))))) |
| 199.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)))) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 16.3b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.7b | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.1b | (/ x (tan B)) |
4 calls. Slowest were:
| 18.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 12.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 5.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
4 calls. Slowest were:
| 157.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 142.0ms | (/ x (tan B)) |
| 61.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 45.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
38 calls. Slowest were:
| 640.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))) |
| 278.0ms | (- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8))))) |
| 226.0ms | (- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2)))))) |
9 alts after pruning (9 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 16.2b | (sqrt (+ (+ 2 (* F F)) (* 2 x))) |
| 16.2b | (sqrt (+ (+ 2 (* F F)) (* 2 x))) |
| 0.7b | (/ (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) F)) (sin B)) |
| 0.3b | (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) F)) |
4 calls. Slowest were:
| 38.0ms | (/ (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) F)) (sin B)) |
| 27.0ms | (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) F)) |
| 4.0ms | (sqrt (+ (+ 2 (* F F)) (* 2 x))) |
4 calls. Slowest were:
| 160.0ms | (/ (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) F)) (sin B)) |
| 56.0ms | (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) F)) |
| 35.0ms | (sqrt (+ (+ 2 (* F F)) (* 2 x))) |
| 31.0ms | (sqrt (+ (+ 2 (* F F)) (* 2 x))) |
52 calls. Slowest were:
| 720.0ms | (sqrt (+ (pow (+ 2 (* F F)) 3) (pow (* 2 x) 3))) |
| 688.0ms | (sqrt (+ (pow (+ 2 (* F F)) 3) (pow (* 2 x) 3))) |
| 483.0ms | (* (* (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2)) (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2)) (* (* (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) F) (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) F)) (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) F))) |
8 alts after pruning (8 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 16.3b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.7b | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.3b | (/ 1 (/ (tan B) x)) |
4 calls. Slowest were:
| 16.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 11.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 8.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
4 calls. Slowest were:
| 175.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 79.0ms | (/ 1 (/ (tan B) x)) |
| 74.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 51.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
39 calls. Slowest were:
| 525.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))) |
| 276.0ms | (- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8))))) |
| 252.0ms | (- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2)))))) |
8 alts after pruning (8 fresh and 0 done)
Merged error: 0.0b
98% (0.2b remaining)
Error of 0.3b against oracle of 0.1b and baseline of 10.5b