Category instances for Monoid, AddMonoid, CommMonoid, and AddCommMonoid. #
We introduce the bundled categories:
along with the relevant forgetful functors between them.
Equations
Equations
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
Universe lift functor for monoids.
Equations
Instances For
Universe lift functor for additive monoids.
Equations
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.
Equations
Instances For
Construct a bundled AddCommMonCat from the underlying type and typeclass.
Equations
Instances For
Equations
Equations
Equations
Turn a morphism in AddCommMonCat back into an AddMonoidHom.
Equations
Instances For
Typecheck an AddMonoidHom as a morphism in AddCommMonCat.
Equations
Instances For
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
Equations
The forgetful functor from CommMonCat to MonCat is fully faithful.
Equations
Instances For
The forgetful functor from AddCommMonCat to AddMonCat is fully faithful.
Equations
Instances For
Universe lift functor for commutative monoids.
Equations
Instances For
Universe lift functor for additive commutative monoids.
Equations
Instances For
Build an isomorphism in the category CommMonCat from a MulEquiv between CommMonoids.
Equations
Instances For
Build an isomorphism in the category AddCommMonCat
from an AddEquiv between AddCommMonoids.
Equations
Instances For
multiplicative equivalences between CommMonoids are the same as (isomorphic to) isomorphisms
in CommMonCat
Equations
Instances For
additive equivalences between AddCommMonoids are
the same as (isomorphic to) isomorphisms in AddCommMonCat
Equations
Instances For
Ensure that forget₂ CommMonCat MonCat automatically reflects isomorphisms.
We could have used CategoryTheory.HasForget.ReflectsIso alternatively.
@[simp] lemmas for MonoidHom.comp and categorical identities.