Commit 2023-01-19 11:44 cd8f5ab3

View on Github →

feat: port Data.Fintype.Card (#1668)

Estimated changes

added theorem Fin.cast_eq_cast'
added theorem Fin.equiv_iff_eq
added theorem Finite.of_injective
added theorem Finite.of_surjective
added theorem Finset.card_compl
added theorem Finset.card_fin
added theorem Finset.card_le_univ
added theorem Finset.card_univ
added theorem Finset.card_univ_diff
added theorem Finset.eq_univ_of_card
added theorem Finset.exists_maximal
added theorem Finset.exists_minimal
added def Fintype.card
added theorem Fintype.card_Prop
added theorem Fintype.card_bool
added theorem Fintype.card_coe
added theorem Fintype.card_compl_set
added theorem Fintype.card_congr'
added theorem Fintype.card_congr
added theorem Fintype.card_empty
added theorem Fintype.card_eq
added theorem Fintype.card_eq_zero
added theorem Fintype.card_fin
added theorem Fintype.card_lex
added theorem Fintype.card_ne_zero
added theorem Fintype.card_of_finset
added theorem Fintype.card_pempty
added theorem Fintype.card_plift
added theorem Fintype.card_pos
added theorem Fintype.card_pos_iff
added theorem Fintype.card_punit
added theorem Fintype.card_range
added theorem Fintype.card_range_le
added theorem Fintype.card_subtype
added theorem Fintype.card_ulift
added theorem Fintype.card_unique
added theorem Fintype.card_unit
added theorem Fintype.ofEquiv_card
added theorem Fintype.one_lt_card
added theorem Fintype.subtype_card
added theorem Infinite.of_injective
added theorem Infinite.of_surjective
added theorem Set.toFinset_card
added theorem card_finset_fin_le
added theorem fin_injective
added theorem is_empty_fintype
added theorem nonempty_fintype
added def truncOfCardPos