proposition: Lemma fdist_addE i : fdist_add i = match fintype.split i with inl a => (p : R) * d1 a | inr a => (Prob.p p).~ * d2 a end.
proof: Proof. by rewrite /fdist_add; unlock; rewrite ffunE. Qed.
imports: mathcomp(all_ssreflect ssralg fingroup perm matrix) mathcomp(all_algebra vector reals normedtype) mathcomp(mathcomp_extra boolp) mathcomp(Rstruct) ssrR logb realType_ext ssr_ext ssralg_ext bigop_ext