Commit 2024-03-17 08:48 2fbad35e
View on Github →refactor(Algebra/Group/AddChar): reimplement using structures (#11375)
Following discussion at #11313 this is an attempt to refactor Algebra/Group/AddChar.lean
such that AddChar A M
is a structure in its own right rather than a type synonym for Multiplicative A →* M
.
We also relax typeclass assumptions considerably (only assuming commutativity, etc, where it is really needed) and add some new functionality, e.g. composition with monoid morphisms on either side (MonoidHom.compAddChar
and AddChar.compAddMonoidHom
).