


Bits error versus g



Bits error versus a
Results
Initial program 15.3
rmApplied div-inv15.3
Applied cbrt-prod0.9
Taylor expanded around inf 33.9
Simplified0.8
Final simplification0.8
herbie shell --seed 2019005 +o rules:numerics
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
(cbrt (/ g (* 2 a))))
Time bar (total: 10.6s)Debug log
1 calls. Slowest were:
| 5.0ms | (cbrt (/ g (* 2 a))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 14.4b
Found 1 expressions with local error:
| 14.4b | (cbrt (/ g (* 2 a))) |
1 calls. Slowest were:
| 1.0ms | (cbrt (/ g (* 2 a))) |
1 calls. Slowest were:
| 130.0ms | (cbrt (/ g (* 2 a))) |
8 calls. Slowest were:
| 228.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g)))))) |
| 188.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g)))))) |
| 47.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log g) (log a))))) |
9 alts after pruning (8 fresh and 1 done)
Merged error: 0.2b
Found 3 expressions with local error:
| 0.6b | (cbrt g) |
| 0.6b | (cbrt (* 2 a)) |
| 0.4b | (/ (cbrt g) (cbrt (* 2 a))) |
3 calls. Slowest were:
| 6.0ms | (/ (cbrt g) (cbrt (* 2 a))) |
| 1.0ms | (cbrt (* 2 a)) |
| 0.0ms | (cbrt g) |
3 calls. Slowest were:
| 330.0ms | (cbrt (* 2 a)) |
| 297.0ms | (cbrt g) |
| 175.0ms | (/ (cbrt g) (cbrt (* 2 a))) |
42 calls. Slowest were:
| 272.0ms | (/ (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g))))) (cbrt 2)) |
| 155.0ms | (/ (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g))))) (cbrt -1)) (cbrt -2)) |
| 71.0ms | (/ (exp (* 1/3 (- (log g) (log a)))) (cbrt 2)) |
16 alts after pruning (15 fresh and 1 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 0.6b | (cbrt g) |
| 0.6b | (cbrt (* 2 a)) |
| 0.3b | (/ (cbrt (* 2 a)) (cbrt g)) |
| 0.3b | (/ 1 (/ (cbrt (* 2 a)) (cbrt g))) |
4 calls. Slowest were:
| 6.0ms | (/ (cbrt (* 2 a)) (cbrt g)) |
| 3.0ms | (/ 1 (/ (cbrt (* 2 a)) (cbrt g))) |
| 1.0ms | (cbrt (* 2 a)) |
4 calls. Slowest were:
| 316.0ms | (cbrt (* 2 a)) |
| 291.0ms | (cbrt g) |
| 161.0ms | (/ 1 (/ (cbrt (* 2 a)) (cbrt g))) |
| 107.0ms | (/ (cbrt (* 2 a)) (cbrt g)) |
63 calls. Slowest were:
| 245.0ms | (/ (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g))))) (cbrt 2)) |
| 200.0ms | (* (exp (* 1/3 (- (log (/ 1 g)) (log (/ 1 a))))) (cbrt 2)) |
| 199.0ms | (/ (* (cbrt -2) (exp (* 1/3 (- (log (/ -1 g)) (log (/ -1 a)))))) (cbrt -1)) |
17 alts after pruning (16 fresh and 1 done)
Merged error: 0.0b
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:
| 8.0ms | (* (cbrt g) (cbrt (/ 1 (* 2 a)))) |
| 1.0ms | (cbrt (/ 1 (* 2 a))) |
| 0.0ms | (cbrt g) |
3 calls. Slowest were:
| 322.0ms | (cbrt (/ 1 (* 2 a))) |
| 308.0ms | (cbrt g) |
| 116.0ms | (* (cbrt g) (cbrt (/ 1 (* 2 a)))) |
28 calls. Slowest were:
| 204.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g)))))) |
| 183.0ms | (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g))))) (* (cbrt -1) (cbrt -1/2))) |
| 80.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log g) (log a))))) |
18 alts after pruning (17 fresh and 1 done)
Merged error: 0.0b
0% (0.8b remaining)
Error of 0.8b against oracle of 0.1b and baseline of 0.8b