


Bits error versus g



Bits error versus h
Results
Initial program 1.0
Simplified1.0
rmApplied distribute-frac-neg1.0
Applied acos-neg1.0
Applied div-sub1.0
Applied associate-+l-1.0
Applied cos-diff0.1
Simplified0.1
rmApplied acos-asin0.1
Applied div-sub0.1
Applied associate--l-0.0
Simplified0.0
rmApplied add-log-exp0.0
Final simplification0.0
herbie shell --seed 2019007
(FPCore (g h)
:name "2-ancestry mixing, negative discriminant"
(* 2 (cos (+ (/ (* 2 PI) 3) (/ (acos (/ (- g) h)) 3)))))
Time bar (total: 12.4s)Debug log
1 calls. Slowest were:
| 19.0ms | (* 2 (cos (+ (/ (* 2 PI) 3) (/ (acos (/ (- g) h)) 3)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 1.0b
Found 4 expressions with local error:
| 1.0b | (/ PI 3/2) |
| 1.0b | (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2)) |
| 1.0b | (cos (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2))) |
| 0.9b | (/ (acos (/ (- g) h)) 3) |
4 calls. Slowest were:
| 12.0ms | (cos (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2))) |
| 5.0ms | (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2)) |
| 4.0ms | (/ (acos (/ (- g) h)) 3) |
4 calls. Slowest were:
| 102.0ms | (cos (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2))) |
| 23.0ms | (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2)) |
| 11.0ms | (/ (acos (/ (- g) h)) 3) |
| 0.0ms | (/ PI 3/2) |
23 calls. Slowest were:
| 51.0ms | (* (cos (/ (/ PI 2) 3)) (cos (- (/ (asin (/ (- g) h)) 3) (/ PI 3/2)))) |
| 36.0ms | (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) |
| 35.0ms | (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 56.5b | (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) |
| 1.0b | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
| 1.0b | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
| 1.0b | (sin (/ PI 3)) |
4 calls. Slowest were:
| 8.0ms | (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) |
| 5.0ms | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
| 5.0ms | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
4 calls. Slowest were:
| 91.0ms | (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) |
| 43.0ms | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
| 42.0ms | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
| 0.0ms | (sin (/ PI 3)) |
28 calls. Slowest were:
| 234.0ms | (* (+ (* (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) 1/2) (* (sin (/ PI 3)) (sin (- (/ (acos (/ g h)) 3) (/ PI 3/2))))) 2) |
| 35.0ms | (/ (exp (/ (acos (/ g h)) 3)) (exp (/ PI 3/2))) |
| 33.0ms | (/ (exp (/ (acos (/ g h)) 3)) (exp (/ PI 3/2))) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 56.5b | (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))) |
| 1.0b | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
| 1.0b | (sin (/ PI 3)) |
| 1.0b | (/ PI 3/2) |
4 calls. Slowest were:
| 28.0ms | (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))) |
| 5.0ms | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
| 1.0ms | (sin (/ PI 3)) |
4 calls. Slowest were:
| 102.0ms | (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))) |
| 27.0ms | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
| 0.0ms | (sin (/ PI 3)) |
| 0.0ms | (/ PI 3/2) |
20 calls. Slowest were:
| 210.0ms | (* (+ (* (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))) 1/2) (* (sin (/ PI 3)) (sin (- (/ (acos (/ g h)) 3) (/ PI 3/2))))) 2) |
| 164.0ms | (* (+ (* (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))) 1/2) (* (sin (/ PI 3)) (sin (- (/ (acos (/ g h)) 3) (/ PI 3/2))))) 2) |
| 54.0ms | (* (cos (/ PI 6)) (cos (- (+ (/ (asin (/ g h)) 3) (/ PI 3/2))))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 59.7b | (log (exp (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))))) |
| 56.5b | (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))) |
| 1.0b | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
| 1.0b | (sin (/ PI 3)) |
4 calls. Slowest were:
| 46.0ms | (log (exp (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))))) |
| 28.0ms | (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))) |
| 11.0ms | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
4 calls. Slowest were:
| 137.0ms | (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))) |
| 108.0ms | (log (exp (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))))) |
| 44.0ms | (- (/ (acos (/ g h)) 3) (/ PI 3/2)) |
| 0.0ms | (sin (/ PI 3)) |
32 calls. Slowest were:
| 70.0ms | (log (* (cbrt (exp (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))))) (cbrt (exp (cos (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2)))))))) |
| 62.0ms | (- (/ PI 6) (+ (/ (asin (/ g h)) 3) (/ PI 3/2))) |
| 57.0ms | (log (exp (* (cos (/ PI 6)) (cos (- (+ (/ (asin (/ g h)) 3) (/ PI 3/2))))))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b