NNReal.sum_const_inv_card
Library · theorem
The uniform weights 1/\lvert \iota \rvert sum to one on a nonempty finite type: the normalisation hypothesis \sum_i p_i = 1 of a sampling law at uniform weights.
NNReal.sum_const_inv_card.{u_1} {ι : Type u_1} [Fintype ι] [Nonempty ι] :
∑ x, (↑(Fintype.card ι))⁻¹ = 1Import NLAlib.ForMathlib.Data.NNReal.Basic.