Adjunctions regarding the category of monoids #
This file proves the adjunction between adjoining a unit to a semigroup and the forgetful functor from monoids to semigroups.
TODO #
- free-forgetful adjunction for monoids
- adjunctions related to commutative monoids
The functor of adjoining a neutral element one to a semigroup.
Instances For
The functor of adjoining a neutral element zero to a semigroup
Instances For
@[simp]
@[simp]
theorem
MonCat.adjoinOne_map
{X✝ Y✝ : Semigrp}
(f : X✝ ⟶ Y✝)
:
adjoinOne.map f = ofHom (WithOne.mapMulHom (Semigrp.Hom.hom f))
@[simp]
theorem
AddMonCat.adjoinZero_map
{X✝ Y✝ : AddSemigrp}
(f : X✝ ⟶ Y✝)
:
adjoinZero.map f = ofHom (WithZero.mapAddHom (AddSemigrp.Hom.hom f))
@[simp]
@[implicit_reducible]
@[implicit_reducible]
The adjoinZero-forgetful adjunction from AddSemigrp to AddMonCat
Instances For
The free functor Type u ⥤ MonCat sending a type X to the free monoid on X.
Instances For
The free functor Type u ⥤ AddMonCat sending a type X to the free additive monoid on X.
Instances For
The free-forgetful adjunction for monoids.
Instances For
The free-forgetful adjunction for additive monoids.
Instances For
The free functor Type u ⥤ AddCommMonCat
sending a type X to the free commutative monoid on X.
Instances For
@[simp]
theorem
AddCommMonCat.free_map
{X✝ Y✝ : Type u}
(f : X✝ ⟶ Y✝)
:
free.map f = ofHom (Finsupp.mapDomain.addMonoidHom f)
The free-forgetful adjunction for commutative monoids.