Zulip Chat Archive
Stream: new members
Topic: Help proving with a sum over a subtype
Robert Shlyakhtenko (Aug 24 2025 at 04:10):
I would like to prove the following statement:
∑' (i : { x // x ∈ l.permutations }), 1 = (l.permutations.toFinset.card : ENNReal)
However, I'm having a hard time finding any theorems with Moogle/Loogle that would be helpful, and I haven't found a clean way to prove this myself. Does anyone have any suggestions?
Kevin Buzzard (Aug 24 2025 at 08:18):
My suggestion is to write a #mwe so that people can understand the question you're asking.
Aaron Liu (Aug 24 2025 at 13:16):
@loogle tsum, Finset.sum, |- _ = _
Aaron Liu (Aug 24 2025 at 13:16):
@loogle tsum, Finset.sum, |- _ = _
loogle (Aug 24 2025 at 13:16):
:search: tsum_fintype, sum_eq_tsum_indicator, and 36 more
Aaron Liu (Aug 24 2025 at 13:17):
@loogle Finset.sum, 1, Finset.card
loogle (Aug 24 2025 at 13:17):
:search: Finset.card_eq_sum_ones, Finset.eq_of_card_le_one_of_sum_eq, and 49 more
Aaron Liu (Aug 24 2025 at 13:19):
Try using docs#tsum_fintype and the reverse of docs#Finset.card_eq_sum_ones
Aaron Liu (Aug 24 2025 at 13:19):
This will get rid of the sum
Last updated: Dec 20 2025 at 21:32 UTC