Commit 2024-11-16 08:30 9a9cb189
View on Github →chore(Data/Set): split Finite.lean into Defs
, Basic
, Lemmas
(#18619)
Data.Set.Finite
had a lot of imports and in turn was imported often. So let's split it up along import lines:
Data/Finite/Defs.lean
now contains the definition ofSet.Finite
Data/Set/Finite/Basic.lean
knows onlySet.Finite
andFinset
Data/Finite/Prod.lean
now contains finiteness results of products of setsData/Fintype/Pi.lean
now contains finiteness results of sets of functionsData/Set/Finite/Lattice.lean
contains finiteness results of lattice operations on setsData/Set/Finite/List.lean
contains finiteness results on lists converted to setsData/Set/Finite/Monad.lean
also knows about the monad structure onSet
Data/Set/Finite/Powerset.lean
contains finiteness results on powersetsData/Set/Finite/Range.lean
contains finiteness results onSet.range
Data/Set/Finite/Lemmas.lean
is for lemmas aboutSet.Finite
(and therefore does not contain anyFinite
instances itself).