


Bits error versus g



Bits error versus a
Results
Initial program 15.3
rmApplied cbrt-div0.9
rmApplied *-un-lft-identity0.9
Applied associate-/l*0.9
rmApplied div-inv0.9
Taylor expanded around inf 33.9
Simplified0.9
Final simplification0.9
herbie shell --seed 2019022
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
(cbrt (/ g (* 2 a))))
Time bar (total: 9.6s)Debug log
| 20.0ms | 256× | body | 80 | valid |
| 16.0ms | 248× | body | 80 | nan |
| 2.0ms | (cbrt (/ g (* 2 a))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 18.6b
Found 1 expressions with local error:
| 18.6b | (cbrt (/ g (* 2 a))) |
| 4× | cbrt-prod |
| 2× | add-cube-cbrt |
| 2× | *-un-lft-identity |
| 2× | add-sqr-sqrt |
| 1× | add-log-exp |
| 1× | div-inv |
| 1× | add-exp-log |
| 1× | pow1/3 |
| 1× | add-cbrt-cube |
| 1× | cbrt-div |
| 1× | pow1 |
| 1.0ms | (cbrt (/ g (* 2 a))) |
| 133.0ms | (cbrt (/ g (* 2 a))) |
| 219.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g)))))) |
| 104.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g)))))) |
| 67.0ms | (* (cbrt 1/2) (exp (* 1/3 (- (log g) (log a))))) |
| 5.0ms | (cbrt (* (cbrt (/ g (* 2 a))) (cbrt (/ g (* 2 a))))) |
| 5.0ms | (cbrt (sqrt (/ g (* 2 a)))) |
9 alts after pruning (8 fresh and 1 done)
Merged error: 0.3b
Found 3 expressions with local error:
| 0.6b | (cbrt (* 2 a)) |
| 0.6b | (cbrt g) |
| 0.4b | (/ (cbrt g) (cbrt (* 2 a))) |
| 12× | add-cube-cbrt |
| 12× | times-frac |
| 12× | *-un-lft-identity |
| 12× | add-sqr-sqrt |
| 5× | add-exp-log |
| 5× | cbrt-prod |
| 4× | associate-/r* |
| 3× | add-log-exp |
| 3× | associate-/l* |
| 3× | add-cbrt-cube |
| 3× | pow1 |
| 2× | pow1/3 |
| 1× | div-inv |
| 1× | div-exp |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | cbrt-undiv |
| 6.0ms | (/ (cbrt g) (cbrt (* 2 a))) |
| 1.0ms | (cbrt (* 2 a)) |
| 0.0ms | (cbrt g) |
| 299.0ms | (cbrt (* 2 a)) |
| 281.0ms | (cbrt g) |
| 153.0ms | (/ (cbrt g) (cbrt (* 2 a))) |
| 154.0ms | (/ (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g))))) (cbrt 2)) |
| 123.0ms | (/ (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g))))) (cbrt -1)) (cbrt -2)) |
| 42.0ms | (/ (exp (* 1/3 (- (log g) (log a)))) (cbrt 2)) |
| 32.0ms | (/ (* (cbrt (cbrt g)) (cbrt (cbrt g))) (* (cbrt (cbrt (* 2 a))) (cbrt (cbrt (* 2 a))))) |
| 13.0ms | (/ (* (cbrt (cbrt g)) (cbrt (cbrt g))) (cbrt 2)) |
19 alts after pruning (18 fresh and 1 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 0.6b | (cbrt (* 2 a)) |
| 0.6b | (cbrt g) |
| 0.3b | (/ (cbrt (* 2 a)) (cbrt g)) |
| 0.3b | (/ 1 (/ (cbrt (* 2 a)) (cbrt g))) |
| 24× | times-frac |
| 21× | add-cube-cbrt |
| 21× | *-un-lft-identity |
| 21× | add-sqr-sqrt |
| 19× | associate-/r* |
| 9× | add-exp-log |
| 8× | cbrt-prod |
| 5× | pow1 |
| 4× | add-log-exp |
| 4× | associate-/l* |
| 4× | add-cbrt-cube |
| 3× | div-inv |
| 2× | div-exp |
| 2× | pow1/3 |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | rec-exp |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | associate-/r/ |
| 1× | cbrt-undiv |
| 3.0ms | (/ (cbrt (* 2 a)) (cbrt g)) |
| 1.0ms | (/ 1 (/ (cbrt (* 2 a)) (cbrt g))) |
| 0.0ms | (cbrt (* 2 a)) |
| 0.0ms | (cbrt g) |
| 322.0ms | (cbrt (* 2 a)) |
| 308.0ms | (cbrt g) |
| 178.0ms | (/ (cbrt (* 2 a)) (cbrt g)) |
| 161.0ms | (/ 1 (/ (cbrt (* 2 a)) (cbrt g))) |
| 175.0ms | (* (exp (* 1/3 (- (log (/ 1 g)) (log (/ 1 a))))) (cbrt 2)) |
| 147.0ms | (/ (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g))))) (cbrt 2)) |
| 144.0ms | (/ (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g))))) (cbrt -1)) (cbrt -2)) |
| 143.0ms | (/ (* (cbrt -2) (exp (* 1/3 (- (log (/ -1 g)) (log (/ -1 a)))))) (cbrt -1)) |
| 63.0ms | (* (exp (* 1/3 (- (log a) (log g)))) (cbrt 2)) |
19 alts after pruning (18 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.6b | (cbrt (* 2 a)) |
| 0.6b | (cbrt g) |
| 0.3b | (/ 1 (* (cbrt (* 2 a)) (/ 1 (cbrt g)))) |
| 0.3b | (/ 1 (cbrt g)) |
| 10× | add-exp-log |
| 8× | pow1 |
| 5× | add-cube-cbrt |
| 5× | *-un-lft-identity |
| 5× | rec-exp |
| 5× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | pow-flip |
| 4× | add-cbrt-cube |
| 4× | associate-/r* |
| 3× | pow1/3 |
| 2× | inv-pow |
| 2× | div-inv |
| 2× | associate-/r/ |
| 2× | prod-exp |
| 2× | frac-2neg |
| 2× | clear-num |
| 1× | un-div-inv |
| 1× | associate-*r/ |
| 1× | pow-prod-down |
| 1× | cbrt-prod |
| 7.0ms | (/ 1 (* (cbrt (* 2 a)) (/ 1 (cbrt g)))) |
| 1.0ms | (/ 1 (cbrt g)) |
| 1.0ms | (cbrt (* 2 a)) |
| 0.0ms | (cbrt g) |
| 309.0ms | (cbrt (* 2 a)) |
| 282.0ms | (/ 1 (cbrt g)) |
| 274.0ms | (cbrt g) |
| 154.0ms | (/ 1 (* (cbrt (* 2 a)) (/ 1 (cbrt g)))) |
| 166.0ms | (/ (exp (* 1/3 (- (log (/ 1 a)) (log (/ 1 g))))) (cbrt 2)) |
| 148.0ms | (/ (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 g))))) (cbrt -1)) (cbrt -2)) |
| 63.0ms | (/ (exp (* 1/3 (- (log g) (log a)))) (cbrt 2)) |
| 19.0ms | (* (/ 1 (cbrt -1)) (pow (/ -1 g) 1/3)) |
| 12.0ms | (* (pow (* a -1) 1/3) (cbrt -2)) |
20 alts after pruning (18 fresh and 2 done)
Merged error: 0.0b
0% (0.9b remaining)
Error of 0.9b against oracle of 0.0b and baseline of 0.9b
| 624.0ms | 8000× | body | 80 | valid |
| 572.0ms | 7878× | body | 80 | nan |