Commit 2025-01-20 16:09 b823988b

View on Github →

feat: use to_additive for Monoid.End (#19687)

  • Rename Monoid.coe_one and Monoid.coe_mul to Monoid.End.coe_one and Monoid.End.coe_mul, which is already the name for AddMonoid.End. I made the deprecations protected in order to not cause overloading issues.
  • Change some instance names to increase consistency in names (no deprecations added)

Estimated changes

deleted theorem AddMonoid.End.coe_mul
deleted theorem AddMonoid.End.coe_one
deleted theorem AddMonoid.End.coe_pow
added theorem Monoid.End.coe_mul
added theorem Monoid.End.coe_one
modified theorem Monoid.End.coe_pow
deleted theorem Monoid.coe_mul
deleted theorem Monoid.coe_one