


Bits error versus g



Bits error versus a
Results
Initial program 15.7
Initial simplification15.7
rmApplied div-inv15.7
Applied cbrt-prod0.8
Taylor expanded around 0 0.8
rmApplied cbrt-div0.9
rmApplied associate-*r/0.9
Final simplification0.9
herbie shell --seed 2018365 +o rules:numerics
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
(cbrt (/ g (* 2 a))))
Time bar (total: 8.3s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 16.4b
Found 1 expressions with local error:
| 16.4b | (cbrt (/ g (* a 2))) |
1 calls. Slowest were:
| 1.0ms | (cbrt (/ g (* a 2))) |
1 calls. Slowest were:
| 126.0ms | (cbrt (/ g (* a 2))) |
8 calls. Slowest were:
| 188.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g)))))) |
| 154.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g)))))) |
| 41.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log g) (log a))))) |
9 alts after pruning (8 fresh and 1 done)
Merged error: 0.4b
Found 4 expressions with local error:
| 0.6b | (cbrt (/ 1 (* a 2))) |
| 0.6b | (cbrt g) |
| 0.3b | (* (cbrt g) (cbrt (/ 1 (* a 2)))) |
| 0.2b | (/ 1 (* a 2)) |
4 calls. Slowest were:
| 4.0ms | (* (cbrt g) (cbrt (/ 1 (* a 2)))) |
| 1.0ms | (cbrt (/ 1 (* a 2))) |
| 1.0ms | (/ 1 (* a 2)) |
4 calls. Slowest were:
| 295.0ms | (cbrt (/ 1 (* a 2))) |
| 261.0ms | (cbrt g) |
| 125.0ms | (* (cbrt g) (cbrt (/ 1 (* a 2)))) |
| 7.0ms | (/ 1 (* a 2)) |
32 calls. Slowest were:
| 217.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g)))))) |
| 175.0ms | (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g))))) (* (cbrt -1) (cbrt -1/2))) |
| 68.0ms | (* g (/ 1 (* a 2))) |
17 alts after pruning (17 fresh and 0 done)
Merged error: 0.1b
Found 3 expressions with local error:
| 0.6b | (cbrt (/ 1/2 a)) |
| 0.6b | (cbrt g) |
| 0.3b | (* (cbrt g) (cbrt (/ 1/2 a))) |
3 calls. Slowest were:
| 4.0ms | (* (cbrt g) (cbrt (/ 1/2 a))) |
| 1.0ms | (cbrt (/ 1/2 a)) |
| 0.0ms | (cbrt g) |
3 calls. Slowest were:
| 306.0ms | (cbrt g) |
| 271.0ms | (cbrt (/ 1/2 a)) |
| 117.0ms | (* (cbrt g) (cbrt (/ 1/2 a))) |
28 calls. Slowest were:
| 245.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g)))))) |
| 155.0ms | (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g))))) (* (cbrt -1) (cbrt -1/2))) |
| 61.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log g) (log a))))) |
13 alts after pruning (13 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.6b | (cbrt g) |
| 0.5b | (cbrt a) |
| 0.5b | (/ (cbrt 1/2) (cbrt a)) |
| 0.3b | (* (cbrt g) (/ (cbrt 1/2) (cbrt a))) |
4 calls. Slowest were:
| 6.0ms | (* (cbrt g) (/ (cbrt 1/2) (cbrt a))) |
| 3.0ms | (/ (cbrt 1/2) (cbrt a)) |
| 0.0ms | (cbrt g) |
4 calls. Slowest were:
| 364.0ms | (/ (cbrt 1/2) (cbrt a)) |
| 334.0ms | (cbrt g) |
| 318.0ms | (cbrt a) |
| 117.0ms | (* (cbrt g) (/ (cbrt 1/2) (cbrt a))) |
58 calls. Slowest were:
| 290.0ms | (* g (* (* (/ (cbrt 1/2) (cbrt a)) (/ (cbrt 1/2) (cbrt a))) (/ (cbrt 1/2) (cbrt a)))) |
| 211.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g)))))) |
| 186.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g)))))) |
16 alts after pruning (16 fresh and 0 done)
Merged error: 0.0b
0% (0.8b remaining)
Error of 0.9b against oracle of 0.1b and baseline of 0.9b