Commit 2022-10-12 13:05 73ccd02e
View on Github →refactor(set_theory/cardinal): review API about #α = 2
/nat.card α = 2
(#16899)
- Rename
cardinal.mk_eq_nat_iff_finset
tocardinal.mk_set_eq_nat_iff_finset
, add a version for types andcardinal.mk_eq_nat_iff_fintype
. - Add
cardinal.to_nat_eq_iff
, a more general version ofcardinal.to_nat_eq_one
. - Rename
cardinal.exists_not_mem_of_length_le
tocardinal.exists_not_mem_of_length_lt
. - Add
cardinal.mk_eq_two_iff
,cardinal.mk_eq_two_iff'
,nat.card_eq_two_iff
, andnat.card_eq_two_iff'
.