Category instances for Monoid, AddMonoid, CommMonoid, and AddCommMonoid. #
We introduce the bundled categories:
along with the relevant forgetful functors between them.
Construct a bundled AddMonCat from the underlying type and typeclass.
Instances For
Use the ConcreteCategory.hom projection for @[simps] lemmas.
Instances For
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
Universe lift functor for monoids.
Instances For
Universe lift functor for additive monoids.
Instances For
The category of additive commutative monoids and monoid morphisms.
- carrier : Type u
The underlying type.
- str : AddCommMonoid ↑self
Instances For
The category of commutative monoids and monoid morphisms.
- carrier : Type u
The underlying type.
- str : CommMonoid ↑self
Instances For
Construct a bundled CommMonCat from the underlying type and typeclass.
Instances For
Construct a bundled AddCommMonCat from the underlying type and typeclass.
Instances For
Typecheck an AddMonoidHom as a morphism in AddCommMonCat.
Instances For
Use the ConcreteCategory.hom projection for @[simps] lemmas.
Instances For
Use the ConcreteCategory.hom projection for @[simps] lemmas.
Instances For
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
The forgetful functor from CommMonCat to MonCat is fully faithful.
Instances For
The forgetful functor from AddCommMonCat to AddMonCat is fully faithful.
Instances For
Universe lift functor for commutative monoids.
Instances For
Universe lift functor for additive commutative monoids.
Instances For
Build an isomorphism in the category CommMonCat from a MulEquiv between CommMonoids.
Instances For
Build an isomorphism in the category AddCommMonCat
from an AddEquiv between AddCommMonoids.
Instances For
Build a MulEquiv from an isomorphism in the category CommMonCat.
Instances For
Build an AddEquiv from an isomorphism in the category
AddCommMonCat.
Instances For
multiplicative equivalences between CommMonoids are the same as (isomorphic to) isomorphisms
in CommMonCat
Instances For
additive equivalences between AddCommMonoids are
the same as (isomorphic to) isomorphisms in AddCommMonCat
Instances For
Ensure that forget₂ CommMonCat MonCat automatically reflects isomorphisms.
@[simp] lemmas for MonoidHom.comp and categorical identities.
The equivalence between AddCommMonCat and CommMonCat.