proposition: Lemma fdistmap_comp (g : A -> B) (h : C -> A) (P : fdist R C) : fdistmap g (fdistmap h P) = fdistmap (g \o h) P.
proof: Proof. rewrite /fdistmap fdistbindA; congr (_ >>= _). by rewrite boolp.funeqE => x; rewrite fdist1bind. 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