


Bits error versus g



Bits error versus h



Bits error versus a
Results
Initial program 35.1
Initial simplification35.1
rmApplied cbrt-prod32.9
rmApplied cbrt-div31.2
Final simplification31.2
herbie shell --seed 2018360
(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: 27.8s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 33.4b
Found 4 expressions with local error:
| 29.4b | (sqrt (* (+ g h) (- g h))) |
| 29.4b | (sqrt (* (+ g h) (- g h))) |
| 9.8b | (cbrt (* (/ -1/2 a) (+ g (sqrt (* (+ g h) (- g h)))))) |
| 6.4b | (cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (* a 2))) |
4 calls. Slowest were:
| 4.0ms | (cbrt (* (/ -1/2 a) (+ g (sqrt (* (+ g h) (- g h)))))) |
| 4.0ms | (cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (* a 2))) |
| 3.0ms | (sqrt (* (+ g h) (- g h))) |
4 calls. Slowest were:
| 327.0ms | (cbrt (* (/ -1/2 a) (+ g (sqrt (* (+ g h) (- g h)))))) |
| 229.0ms | (cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (* a 2))) |
| 48.0ms | (sqrt (* (+ g h) (- g h))) |
| 47.0ms | (sqrt (* (+ g h) (- g h))) |
44 calls. Slowest were:
| 577.0ms | (sqrt (* (+ (pow g 3) (pow h 3)) (- g h))) |
| 410.0ms | (* (exp (* 1/3 (- (+ (log 2) (log (/ -1 a))) (log (/ -1 g))))) (cbrt -1/2)) |
| 394.0ms | (sqrt (* (+ g h) (- (* g g) (* h h)))) |
19 alts after pruning (19 fresh and 0 done)
Merged error: 30.1b
Found 4 expressions with local error:
| 29.4b | (sqrt (* (+ g h) (- g h))) |
| 29.4b | (sqrt (* (+ g h) (- g h))) |
| 6.4b | (cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (* a 2))) |
| 2.1b | (+ g (sqrt (* (+ g h) (- g h)))) |
4 calls. Slowest were:
| 4.0ms | (cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (* a 2))) |
| 3.0ms | (sqrt (* (+ g h) (- g h))) |
| 2.0ms | (sqrt (* (+ g h) (- g h))) |
4 calls. Slowest were:
| 268.0ms | (cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (* a 2))) |
| 56.0ms | (+ g (sqrt (* (+ g h) (- g h)))) |
| 50.0ms | (sqrt (* (+ g h) (- g h))) |
| 49.0ms | (sqrt (* (+ g h) (- g h))) |
38 calls. Slowest were:
| 407.0ms | (sqrt (* (+ g h) (- (* g g) (* h h)))) |
| 407.0ms | (* (exp (* 1/3 (- (+ (log 2) (log (/ -1 a))) (log (/ -1 g))))) (cbrt -1/2)) |
| 380.0ms | (sqrt (* (+ g h) (- (pow g 3) (pow h 3)))) |
20 alts after pruning (20 fresh and 0 done)
Merged error: 30.1b
Found 4 expressions with local error:
| 29.4b | (sqrt (* (+ g h) (- g h))) |
| 29.4b | (sqrt (* (+ g h) (- g h))) |
| 2.1b | (+ g (sqrt (* (+ g h) (- g h)))) |
| 1.3b | (- (sqrt (* (+ g h) (- g h))) g) |
4 calls. Slowest were:
| 5.0ms | (- (sqrt (* (+ g h) (- g h))) g) |
| 1.0ms | (sqrt (* (+ g h) (- g h))) |
| 1.0ms | (sqrt (* (+ g h) (- g h))) |
4 calls. Slowest were:
| 51.0ms | (+ g (sqrt (* (+ g h) (- g h)))) |
| 47.0ms | (- (sqrt (* (+ g h) (- g h))) g) |
| 46.0ms | (sqrt (* (+ g h) (- g h))) |
| 42.0ms | (sqrt (* (+ g h) (- g h))) |
30 calls. Slowest were:
| 395.0ms | (sqrt (* (+ g h) (- (* g g) (* h h)))) |
| 339.0ms | (sqrt (* (+ g h) (- (* g g) (* h h)))) |
| 302.0ms | (sqrt (* (+ g h) (- (pow g 3) (pow h 3)))) |
19 alts after pruning (19 fresh and 0 done)
Merged error: 30.1b
Found 4 expressions with local error:
| 29.4b | (sqrt (* (+ g h) (- g h))) |
| 29.4b | (sqrt (* (+ g h) (- g h))) |
| 2.1b | (+ g (sqrt (* (+ g h) (- g h)))) |
| 1.3b | (- (sqrt (* (+ g h) (- g h))) g) |
4 calls. Slowest were:
| 6.0ms | (- (sqrt (* (+ g h) (- g h))) g) |
| 3.0ms | (sqrt (* (+ g h) (- g h))) |
| 2.0ms | (sqrt (* (+ g h) (- g h))) |
4 calls. Slowest were:
| 44.0ms | (- (sqrt (* (+ g h) (- g h))) g) |
| 43.0ms | (+ g (sqrt (* (+ g h) (- g h)))) |
| 41.0ms | (sqrt (* (+ g h) (- g h))) |
| 34.0ms | (sqrt (* (+ g h) (- g h))) |
30 calls. Slowest were:
| 364.0ms | (sqrt (* (+ g h) (- (* g g) (* h h)))) |
| 327.0ms | (sqrt (* (+ g h) (- (pow g 3) (pow h 3)))) |
| 295.0ms | (sqrt (* (+ g h) (- (* g g) (* h h)))) |
18 alts after pruning (18 fresh and 0 done)
Merged error: 30.1b
0% (1.2b remaining)
Error of 31.2b against oracle of 29.9b and baseline of 31.2b