


Bits error versus F



Bits error versus B



Bits error versus x
Results
if F < -47046153.7534666Initial program 24.0
Simplified24.0
rmApplied associate-*r/18.3
Taylor expanded around -inf 0.2
if -47046153.7534666 < F < 47804.79889858376Initial program 0.4
Simplified0.3
rmApplied add-sqr-sqrt0.3
Applied unpow-prod-down0.3
if 47804.79889858376 < F Initial program 24.6
Simplified24.6
rmApplied associate-*r/19.1
Taylor expanded around inf 0.1
Final simplification0.2
herbie shell --seed 2019002
(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: 29.4s)Debug log
1 calls. Slowest were:
| 169.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: 12.5b
Found 4 expressions with local error:
| 16.5b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 4.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 0.2b | (/ x (tan B)) |
| 0.2b | (/ F (sin B)) |
4 calls. Slowest were:
| 22.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 11.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 1.0ms | (/ x (tan B)) |
4 calls. Slowest were:
| 112.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 110.0ms | (/ x (tan B)) |
| 85.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 66.0ms | (/ F (sin B)) |
38 calls. Slowest were:
| 255.0ms | (- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2)))))) |
| 172.0ms | (- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2))))) |
| 146.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)))) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 16.5b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.3b | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 0.2b | (/ x (tan B)) |
4 calls. Slowest were:
| 23.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 13.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 9.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
4 calls. Slowest were:
| 173.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 126.0ms | (/ x (tan B)) |
| 65.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 64.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
38 calls. Slowest were:
| 584.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 | (- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2))))) |
| 194.0ms | (- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8))))) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 16.5b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.3b | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 0.2b | (/ (* x (cos B)) (sin B)) |
4 calls. Slowest were:
| 15.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 9.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 9.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
4 calls. Slowest were:
| 116.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 93.0ms | (/ (* x (cos B)) (sin B)) |
| 63.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 38.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
45 calls. Slowest were:
| 602.0ms | (/ (* (* (* x (cos B)) (* x (cos B))) (* x (cos B))) (* (* (sin B) (sin B)) (sin B))) |
| 513.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))) |
| 179.0ms | (- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2)))))) |
10 alts after pruning (9 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 16.5b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.3b | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 0.3b | (/ 1 (/ (tan B) x)) |
4 calls. Slowest were:
| 19.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 18.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 8.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
4 calls. Slowest were:
| 123.0ms | (/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B)) |
| 86.0ms | (/ 1 (/ (tan B) x)) |
| 76.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 37.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
39 calls. Slowest were:
| 590.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))) |
| 272.0ms | (- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8))))) |
| 229.0ms | (- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2))))) |
11 alts after pruning (9 fresh and 2 done)
Merged error: 0.0b
98.2% (0.2b remaining)
Error of 0.2b against oracle of 0.1b and baseline of 10.1b