proposition: Lemma distribution_dRV_enum (n : nat) : n \in dRV_dom X -> distribution P X [set dRV_enum X n] = enum_prob X n.
proof: Proof. by move=> nX; rewrite /distribution/= /enum_prob/= patchE nX. Qed.
imports: mathcomp(all_ssreflect) mathcomp(ssralg poly ssrnum ssrint interval finmap) mathcomp(mathcomp_extra boolp classical_sets functions) mathcomp(cardinality) HB(structures) exp numfun lebesgue_measure lebesgue_integral reals ereal signed topology normedtype sequences esum measure exp numfun lebesgue_measure lebesgue_integral