proposition: Lemma avg1 a b : avg 1%:pr a b = a.
proof: Proof. by case a;case b=>b' a';rewrite/avg/unbox/=conv1. 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