


Bits error versus g



Bits error versus a
Results
Initial program 15.6
Initial simplification15.6
rmApplied cbrt-div0.8
Final simplification0.8
herbie shell --seed 2018360 +o rules:numerics
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
(cbrt (/ g (* 2 a))))
Time bar (total: 9.3s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 16.0b
Found 1 expressions with local error:
| 16.0b | (cbrt (/ g (* a 2))) |
1 calls. Slowest were:
| 1.0ms | (cbrt (/ g (* a 2))) |
1 calls. Slowest were:
| 150.0ms | (cbrt (/ g (* a 2))) |
8 calls. Slowest were:
| 332.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g)))))) |
| 194.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g)))))) |
| 68.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log g) (log a))))) |
8 alts after pruning (7 fresh and 1 done)
Merged error: 0.2b
Found 3 expressions with local error:
| 0.6b | (cbrt g) |
| 0.5b | (cbrt (* a 2)) |
| 0.4b | (/ (cbrt g) (cbrt (* a 2))) |
3 calls. Slowest were:
| 5.0ms | (/ (cbrt g) (cbrt (* a 2))) |
| 0.0ms | (cbrt (* a 2)) |
| 0.0ms | (cbrt g) |
3 calls. Slowest were:
| 328.0ms | (cbrt (* a 2)) |
| 308.0ms | (cbrt g) |
| 140.0ms | (/ (cbrt g) (cbrt (* a 2))) |
42 calls. Slowest were:
| 414.0ms | (/ (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g))))) (cbrt -1)) (cbrt -2)) |
| 207.0ms | (/ (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g))))) (cbrt 2)) |
| 70.0ms | (/ (exp (* 1/3 (- (log g) (log a)))) (cbrt 2)) |
16 alts after pruning (14 fresh and 2 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 0.6b | (cbrt g) |
| 0.5b | (cbrt (* a 2)) |
| 0.3b | (/ (cbrt (* a 2)) (cbrt g)) |
| 0.2b | (/ 1 (/ (cbrt (* a 2)) (cbrt g))) |
4 calls. Slowest were:
| 6.0ms | (/ (cbrt (* a 2)) (cbrt g)) |
| 3.0ms | (/ 1 (/ (cbrt (* a 2)) (cbrt g))) |
| 1.0ms | (cbrt (* a 2)) |
4 calls. Slowest were:
| 310.0ms | (cbrt (* a 2)) |
| 302.0ms | (cbrt g) |
| 169.0ms | (/ 1 (/ (cbrt (* a 2)) (cbrt g))) |
| 146.0ms | (/ (cbrt (* a 2)) (cbrt g)) |
63 calls. Slowest were:
| 423.0ms | (/ (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g))))) (cbrt -1)) (cbrt -2)) |
| 196.0ms | (* (exp (* 1/3 (- (log (/ 1 g)) (log (/ 1 a))))) (cbrt 2)) |
| 163.0ms | (/ (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g))))) (cbrt 2)) |
17 alts after pruning (15 fresh and 2 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 0.6b | (cbrt g) |
| 0.6b | (cbrt (/ 1 (* a 2))) |
| 0.3b | (* (cbrt g) (cbrt (/ 1 (* a 2)))) |
3 calls. Slowest were:
| 8.0ms | (* (cbrt g) (cbrt (/ 1 (* a 2)))) |
| 1.0ms | (cbrt (/ 1 (* a 2))) |
| 0.0ms | (cbrt g) |
3 calls. Slowest were:
| 323.0ms | (cbrt (/ 1 (* a 2))) |
| 296.0ms | (cbrt g) |
| 139.0ms | (* (cbrt g) (cbrt (/ 1 (* a 2)))) |
28 calls. Slowest were:
| 396.0ms | (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g))))) (* (cbrt -1) (cbrt -1/2))) |
| 190.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g)))))) |
| 76.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log g) (log a))))) |
16 alts after pruning (14 fresh and 2 done)
Merged error: 0.0b
0% (0.8b remaining)
Error of 0.8b against oracle of 0.1b and baseline of 0.8b