Commit 2026-11-16 21:45 96f6b8b8

View on Github →

refactor(GroupTheory/FreeAbelianGroup): rename FreeAbelianGroup to FreeAddCommGroup (#46062) NB: This PR is the first in a series to multiplicativize FreeAbelianGroup which was originally a single PR [#45911](https://github.com/leanprover-community/mathlib4/pull/45911) but is being divided in ~3 PRs upon request.

  • Renames FreeAbelianGroup to FreeAddCommGroup, following Mathlib's CommGroup naming.
  • Renames every declaration in Mathlib containing FreeAbelianGroup in their names to have FreeAddCommGroup instead. All renamed declarations have deprecated aliases. The deprecated ring structure keeps its FreeAbelianGroup names, so that its deprecation schedule is unaffected.
  • FreeAddCommGroup.liftAddGroupHom is renamed to FreeAddCommGroup.liftAddMonoidHom, matching →+.
  • The file is not renamed in this PR. I do not know whether it would be necessary to, and may be best suited in a follow-up PR so that the diff is not too confusing.

Estimated changes

deleted theorem FreeAbelianGroup.coeff_of
deleted theorem FreeAbelianGroup.add_bind
deleted theorem FreeAbelianGroup.add_seq
deleted theorem FreeAbelianGroup.lift_add
deleted theorem FreeAbelianGroup.lift_ext
deleted theorem FreeAbelianGroup.lift_neg
deleted theorem FreeAbelianGroup.map_comp
deleted theorem FreeAbelianGroup.map_id
deleted theorem FreeAbelianGroup.map_of
deleted theorem FreeAbelianGroup.map_pure
modified theorem FreeAbelianGroup.mul_def
deleted theorem FreeAbelianGroup.neg_bind
deleted theorem FreeAbelianGroup.neg_seq
deleted def FreeAbelianGroup.of
modified theorem FreeAbelianGroup.of_mul
modified theorem FreeAbelianGroup.of_mul_of
modified theorem FreeAbelianGroup.of_one
modified theorem FreeAbelianGroup.one_def
deleted theorem FreeAbelianGroup.pure_seq
deleted theorem FreeAbelianGroup.seq_add
deleted theorem FreeAbelianGroup.seq_neg
deleted theorem FreeAbelianGroup.seq_sub
deleted theorem FreeAbelianGroup.seq_zero
deleted theorem FreeAbelianGroup.sub_bind
deleted theorem FreeAbelianGroup.sub_seq
deleted theorem FreeAbelianGroup.zero_seq
deleted def FreeAbelianGroup
added def FreeAddCommGroup