Mathlib v3 is deprecated. Go to Mathlib v4

Theorem finset.sum_centroid_weights_eq_one_of_card_eq_add_one

Modification history