Commit 2026-11-15 09:57 f78acaf7
View on Github →feat(Algebra/Module/Lattice): improve lattice definition (#44365) Two changes to the definition of a lattice:
- No longer requires fullness:
IsLatticeis split intoIsLattice(finitely generated, andR-linear independence inMimpliesA-linear independence) andIsFullLattice(a lattice whoseA-span isV). - The new
IsLatticebehaves well whenAis not the fraction field ofR(e.g. whenR = ℤandA = ℝ). Over a fraction fieldIsFullLatticeagrees with the old definition. See the Zulip thread for more context.Mathlib/Algebra/Module/Lattice.leanbecomes a deprecated module. Every previous declaration is still available, with deprecated aliases where the name changed. The lemmaSubmodule.span_range_eq_top_of_injective_of_rank_lewas previously part of the lattice file. In the new setup, it's no longer needed, so it got moved into a more appropriate place. Since it's now unused, one could also argue for removing it.