Commit 2021-04-27 05:47 2d8ed1f5
View on Github →chore(group_theory/eckmann_hilton): use mul_one_class and is_(left|right)_id (#7370)
This ties these theorems slightly more to the rest of mathlib.
The changes are:
eckmann_hilton.comm_monoidnow promotes amul_one_classto acomm_monoidrather than taking twois_unitalobjects. This makes it consistent witheckmann_hilton.comm_group.is_unitalis no longer aclass, since it never had any instances and was never used as a typeclass argument.is_unitalis now defined in terms ofis_left_idandis_right_id.add_group.is_unitalhas been renamed toeckmann_hilton.add_zero_class.is_unital- the missing namespace was an accident, and the definition works much more generally than it was originally stated for.