proposition: Lemma weight_barycenter (pts : seq (scaled A)) : weight (barycenter pts) = \sum_(x <- pts) weight x.
proof: Proof. by rewrite (big_morph weight weight_addpt weight0). 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