Commit 2025-06-18 19:19 392e014a
View on Github →feat(Pointwise): cardinality of product set in GroupWithZero (#24578) This PR:
- generalises the assumptions to
card_le_card_image₂_left
andcard_le_card_image₂_right
and golf these: they previously required injectivity everywhere despite using it in only one place. (These lemmas were also used in exactly one place each in mathlib) - adds
card_le_card_mul_left_of_injective
andcard_le_card_mul_right_of_injective
which generalise the typeclass assumptions on the existingcard_le_card_mul_left
andcard_le_card_mul_right
- uses the above to add versions of
card_le_card_mul_left
andcard_le_card_mul_right
in groups with zero. This is useful for applying the pointwise constructions to fields In fact, the first versions of all the above lemmas were written in this generality, but that was seemingly lost during an upstream.