Commit 2025-02-10 05:14 1267df2e
View on Github →refactor: restate lemmas about ∑' _, c
using ENat.card
/Set.encard
(#21503)
Previously, someone trying to simplify away ∑' _, c
would stumble upon ENNReal.tsum_const_eq
, turning the expression into c * count univ
, and the only available rewrite from here would be count_apply
turning the expression into c * ∑' _, 1
!
Also remove _eq
from the relevant lemma names.
From LeanAPAP