proposition: Lemma avgr_scalerDl p : left_distributive *:%R (fun x y : GRing.regular_lmodType R_ringType => x <|p|> y).
proof: Proof. by move=> x ? ?; rewrite avgrE scalerDl -2!scalerA. 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