Commit 2025-03-19 17:55 e64ff0f6
View on Github →chore(Data/Set): split some chunks off large file Data/Set/Lattice.lean (#23098)
This PR tries to split some meaningful chunks off of Mathlib.Data.Set.Lattice:
- The new file
Mathlib.Data.Set.BooleanAlgebracontains theCompleteAtomicBooleanAlgebra (Set ɑ)instance (and nothing more) - The new file
Mathlib.Data.Set.Lattice.Imagecontains results on the interaction between the complete lattice structure andimage,preimage,image2,MapsTo,InjOn, ... This leavesMathlib.Data.Set.Latticefocussed on interactions between the lattice operators themselves, more or less. (Although there is a bit that doesn't really fit with lattice theory and might move toData.Set.Sigmaexcept it would screw up the import direction...) I first tried designing this split by following the import structure but found nothing useful to guide us there: the lemmas that could be upstreamed or at least moved to another file seem to follow no real pattern. So I went instead by looking at the lemma contents entirely and hoped forlake exe shaketo catch some import improvements (we get a few tens of files with a few import reductions, and it happens that one of those,Mathlib.Data.Finset.Lattice.Foldis on the long pole).