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: IsLattice is split into IsLattice (finitely generated, and R-linear independence in M implies A-linear independence) and IsFullLattice (a lattice whose A-span is V).
  • The new IsLattice behaves well when A is not the fraction field of R (e.g. when R = ℤ and A = ℝ). Over a fraction field IsFullLattice agrees with the old definition. See the Zulip thread for more context. Mathlib/Algebra/Module/Lattice.lean becomes a deprecated module. Every previous declaration is still available, with deprecated aliases where the name changed. The lemma Submodule.span_range_eq_top_of_injective_of_rank_le was 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.

Estimated changes