proposition: Lemma avgC p x y : avg p x y = avg (Prob.p p).~%:pr y x.
proof: Proof. by case x;case y=>y' x'; rewrite/avg/unbox/=convC. Qed.
imports: HB(structures) mathcomp(all_ssreflect ssralg fingroup perm matrix) mathcomp(mathcomp_extra boolp classical_sets Rstruct) mathcomp(ssrnum ereal) mathcomp(lra Rstruct reals) Reals ssrR Reals_ext Ranalysis_ext ssr_ext ssralg_ext logb realType_ext fdist