


Bits error versus g



Bits error versus h



Bits error versus a
Results
if g < -7.173671306399909e-101Initial program 35.1
rmApplied associate-*l/35.1
Applied cbrt-div31.9
Simplified31.9
rmApplied flip--31.9
Applied frac-times32.6
Applied cbrt-div32.5
Simplified32.0
if -7.173671306399909e-101 < g Initial program 34.4
rmApplied cbrt-prod31.0
Simplified31.0
Final simplification31.5
herbie shell --seed 2019008
(FPCore (g h a)
:name "2-ancestry mixing, positive discriminant"
(+ (cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h)))))) (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))))
Time bar (total: 43.5s)Debug log
1 calls. Slowest were:
| 269.0ms | (+ (cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h)))))) (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 33.4b
Found 4 expressions with local error:
| 28.1b | (sqrt (- (* g g) (* h h))) |
| 28.1b | (sqrt (- (* g g) (* h h))) |
| 8.1b | (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h)))))) |
| 7.3b | (cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h)))))) |
4 calls. Slowest were:
| 7.0ms | (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h)))))) |
| 7.0ms | (cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h)))))) |
| 2.0ms | (sqrt (- (* g g) (* h h))) |
4 calls. Slowest were:
| 323.0ms | (cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h)))))) |
| 275.0ms | (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h)))))) |
| 29.0ms | (sqrt (- (* g g) (* h h))) |
| 24.0ms | (sqrt (- (* g g) (* h h))) |
38 calls. Slowest were:
| 661.0ms | (cbrt (* 1 (- (* (- g) (- g)) (* (sqrt (- (* g g) (* h h))) (sqrt (- (* g g) (* h h))))))) |
| 580.0ms | (cbrt (* 1 (- (* (- g) (- g)) (* (sqrt (- (* g g) (* h h))) (sqrt (- (* g g) (* h h))))))) |
| 452.0ms | (cbrt (* (/ 1 (* 2 a)) (- (* (- g) (- g)) (* (sqrt (- (* g g) (* h h))) (sqrt (- (* g g) (* h h))))))) |
16 alts after pruning (16 fresh and 0 done)
Merged error: 28.7b
Found 4 expressions with local error:
| 28.1b | (sqrt (- (* g g) (* h h))) |
| 28.1b | (sqrt (- (* g g) (* h h))) |
| 8.1b | (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h)))))) |
| 3.6b | (- (* g g) (* h h)) |
4 calls. Slowest were:
| 7.0ms | (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h)))))) |
| 4.0ms | (sqrt (- (* g g) (* h h))) |
| 3.0ms | (sqrt (- (* g g) (* h h))) |
4 calls. Slowest were:
| 344.0ms | (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h)))))) |
| 32.0ms | (sqrt (- (* g g) (* h h))) |
| 27.0ms | (- (* g g) (* h h)) |
| 27.0ms | (sqrt (- (* g g) (* h h))) |
35 calls. Slowest were:
| 539.0ms | (cbrt (* 1 (- (* (- g) (- g)) (* (sqrt (- (* g g) (* h h))) (sqrt (- (* g g) (* h h))))))) |
| 411.0ms | (cbrt (* (/ 1 (* 2 a)) (- (* (- g) (- g)) (* (sqrt (- (* g g) (* h h))) (sqrt (- (* g g) (* h h))))))) |
| 338.0ms | (* (exp (* 1/3 (- (+ (log (/ -1 g)) (+ (log 1/2) (log (/ -1 a)))) (* 2 (log (/ -1 h)))))) (cbrt -1/2)) |
17 alts after pruning (17 fresh and 0 done)
Merged error: 28.2b
Found 4 expressions with local error:
| 28.1b | (sqrt (* (- g h) (+ g h))) |
| 28.1b | (sqrt (- (* g g) (* h h))) |
| 8.1b | (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h)))))) |
| 3.6b | (- (* g g) (* h h)) |
4 calls. Slowest were:
| 14.0ms | (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h)))))) |
| 4.0ms | (- (* g g) (* h h)) |
| 4.0ms | (sqrt (- (* g g) (* h h))) |
4 calls. Slowest were:
| 324.0ms | (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h)))))) |
| 49.0ms | (sqrt (* (- g h) (+ g h))) |
| 44.0ms | (sqrt (- (* g g) (* h h))) |
| 17.0ms | (- (* g g) (* h h)) |
37 calls. Slowest were:
| 504.0ms | (cbrt (* 1 (- (* (- g) (- g)) (* (sqrt (- (* g g) (* h h))) (sqrt (- (* g g) (* h h))))))) |
| 479.0ms | (cbrt (* (/ 1 (* 2 a)) (- (* (- g) (- g)) (* (sqrt (- (* g g) (* h h))) (sqrt (- (* g g) (* h h))))))) |
| 417.0ms | (sqrt (* (- (* g g) (* h h)) (+ g h))) |
18 alts after pruning (18 fresh and 0 done)
Merged error: 28.2b
Found 4 expressions with local error:
| 28.1b | (sqrt (- (* g g) (* h h))) |
| 28.1b | (sqrt (- (* g g) (* h h))) |
| 28.1b | (sqrt (- (* g g) (* h h))) |
| 28.1b | (sqrt (- (* g g) (* h h))) |
4 calls. Slowest were:
| 2.0ms | (sqrt (- (* g g) (* h h))) |
| 2.0ms | (sqrt (- (* g g) (* h h))) |
| 2.0ms | (sqrt (- (* g g) (* h h))) |
4 calls. Slowest were:
| 30.0ms | (sqrt (- (* g g) (* h h))) |
| 25.0ms | (sqrt (- (* g g) (* h h))) |
| 25.0ms | (sqrt (- (* g g) (* h h))) |
| 24.0ms | (sqrt (- (* g g) (* h h))) |
40 calls. Slowest were:
| 142.0ms | (sqrt (- (pow (* g g) 3) (pow (* h h) 3))) |
| 129.0ms | (sqrt (- (pow (* g g) 3) (pow (* h h) 3))) |
| 123.0ms | (sqrt (- (pow (* g g) 3) (pow (* h h) 3))) |
19 alts after pruning (19 fresh and 0 done)
Merged error: 28.2b
47.9% (2.2b remaining)
Error of 31.5b against oracle of 29.3b and baseline of 33.5b