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 of Set.Finite
  • Data/Set/Finite/Basic.lean knows only Set.Finite and Finset
  • Data/Finite/Prod.lean now contains finiteness results of products of sets
  • Data/Fintype/Pi.lean now contains finiteness results of sets of functions
  • Data/Set/Finite/Lattice.lean contains finiteness results of lattice operations on sets
  • Data/Set/Finite/List.lean contains finiteness results on lists converted to sets
  • Data/Set/Finite/Monad.lean also knows about the monad structure on Set
  • Data/Set/Finite/Powerset.lean contains finiteness results on powersets
  • Data/Set/Finite/Range.lean contains finiteness results on Set.range
  • Data/Set/Finite/Lemmas.lean is for lemmas about Set.Finite (and therefore does not contain any Finite instances itself).

Estimated changes

deleted theorem Equiv.set_finite_iff
deleted theorem Finite.Set.finite_biUnion
deleted theorem List.finite_length_eq
deleted theorem List.finite_length_le
deleted theorem List.finite_length_lt
deleted theorem Set.Finite.biUnion'
deleted theorem Set.Finite.biUnion
deleted theorem Set.Finite.bind
deleted theorem Set.Finite.fin_embedding
deleted theorem Set.Finite.fin_param
deleted theorem Set.Finite.finite_subsets
deleted theorem Set.Finite.iUnion
deleted theorem Set.Finite.induction_to
deleted theorem Set.Finite.of_prod_left
deleted theorem Set.Finite.of_prod_right
deleted theorem Set.Finite.pi'
deleted theorem Set.Finite.pi
deleted theorem Set.Finite.preimage'
deleted theorem Set.Finite.sInter
deleted theorem Set.Finite.sUnion
deleted theorem Set.Finite.seq'
deleted theorem Set.Finite.seq
deleted theorem Set.Finite.toFinset_prod
deleted theorem Set.Infinite.biUnion
deleted theorem Set.Infinite.sUnion
deleted theorem Set.exists_max_image
deleted theorem Set.exists_min_image
deleted theorem Set.finite_coe_iff
deleted theorem Set.finite_iUnion
deleted theorem Set.finite_image2
deleted theorem Set.finite_prod
deleted theorem Set.finite_pure
deleted theorem Set.finite_range
deleted theorem Set.finite_subset_iUnion
deleted def Set.fintypeBind
deleted theorem Set.iInf_iSup_of_antitone
deleted theorem Set.iInf_iSup_of_monotone
deleted theorem Set.iSup_iInf_of_antitone
deleted theorem Set.iSup_iInf_of_monotone
deleted theorem Set.iUnion_pi_of_monotone
deleted theorem Set.infinite_coe_iff
deleted theorem Set.infinite_iUnion
deleted theorem Set.infinite_image2
deleted theorem Set.map_finite_biInf
deleted theorem Set.map_finite_biSup
deleted theorem Set.map_finite_iInf
deleted theorem Set.map_finite_iSup
deleted theorem Set.not_infinite
deleted theorem Set.toFinite
deleted theorem Set.toFinset_iUnion
added theorem Set.Finite.biUnion'
added theorem Set.Finite.biUnion
added theorem Set.Finite.iUnion
added theorem Set.Finite.preimage'
added theorem Set.Finite.sInter
added theorem Set.Finite.sUnion
added theorem Set.Infinite.biUnion
added theorem Set.Infinite.sUnion
added theorem Set.finite_iUnion
added theorem Set.infinite_iUnion
added theorem Set.map_finite_biInf
added theorem Set.map_finite_biSup
added theorem Set.map_finite_iInf
added theorem Set.map_finite_iSup
added theorem Set.toFinset_iUnion