Finite sums for probability mass functions #
This file records the summation identities for probability mass functions that need a finiteness
hypothesis: the total mass on a finite type, and the finite-sum specializations of the marginal
formulas of TauCeti.Probability.ProbabilityMassFunction.Marginal.
Main results #
PMF.sum_toReal_eq_one: the real values of a PMF on a finite type sum to one.PMF.map_fst_apply_fintype,PMF.map_snd_apply_fintype: the two marginals of a product PMF are its row and column sums whenever the factor being summed over is finite.PMF.map_fst_eq_iff_fintype,PMF.map_snd_eq_iff_fintype: characterizations of prescribed marginals by those finite sums.