Commit 2022-07-07 16:57 7428bd9b
View on Github →refactor(data/finite/set,data/set/finite): move most contents of one file to another (#15166)
- move most content of
data.finite.settodata.set.finite; - use
casesI nonempty_fintype _instead ofletI := fintype.of_finite; sometimes it lets us avoidclassical.choice; - merge
set.finite.of_fintype,set.finite_of_fintype, andset.finite_of_finiteintoset.to_finite; - rewrite
set.finite_univ_iffandfinite.of_finite_univin terms ofset.finite; - replace some assumptions
[fintype (plift _)]with[finite _]; - generalize
set.cod_restrictand some lemmas to allow domain inSort*, use it forfinite.of_injective_finite.range.