Category instances for Group, AddGroup, CommGroup, and AddCommGroup. #
We introduce the bundled categories:
Grp
AddGrp
CommGrp
AddCommGrp
along with the relevant forgetful functors between them, and to the bundled monoid categories.
Equations
Equations
Equations
- One or more equations did not get rendered due to their size.
Equations
- AddGrp.concreteCategory = id inferInstance
Equations
- Grp.concreteCategory = id inferInstance
Equations
- AddGrp.instCoeSortType = { coe := fun (X : AddGrp) => ↑X }
Equations
- Grp.instCoeSortType = { coe := fun (X : Grp) => ↑X }
Equations
- AddGrp.instInhabited = { default := AddGrp.of PUnit.{?u.1 + 1} }
Equations
- Grp.instInhabited = { default := Grp.of PUnit.{?u.1 + 1} }
Equations
- AddGrp.hasForgetToAddMonCat = CategoryTheory.BundledHom.forget₂ AddMonCat.AssocAddMonoidHom fun {α : Type ?u.7} (h : AddGroup α) => SubNegMonoid.toAddMonoid
Equations
- Grp.hasForgetToMonCat = CategoryTheory.BundledHom.forget₂ MonCat.AssocMonoidHom fun {α : Type ?u.7} (h : Group α) => DivInvMonoid.toMonoid
Equations
- AddGrp.instCoeMonCat = { coe := (CategoryTheory.forget₂ AddGrp AddMonCat).obj }
Equations
- Grp.instCoeMonCat = { coe := (CategoryTheory.forget₂ Grp MonCat).obj }
Typecheck an AddMonoidHom
as a morphism in AddGroup
.
Equations
- AddGrp.ofHom f = f
Equations
- AddGrp.ofUnique G = i
Equations
- Grp.ofUnique G = i
Universe lift functor for additive groups.
Equations
- One or more equations did not get rendered due to their size.
Universe lift functor for groups.
Equations
- One or more equations did not get rendered due to their size.
The category of additive commutative groups and group morphisms.
Equations
Ab
is an abbreviation for AddCommGroup
, for the sake of mathematicians' sanity.
Equations
Equations
- One or more equations did not get rendered due to their size.
Equations
- AddCommGrp.concreteCategory = id inferInstance
Equations
- CommGrp.concreteCategory = id inferInstance
Equations
- AddCommGrp.instCoeSortType = { coe := fun (X : AddCommGrp) => ↑X }
Equations
- CommGrp.instCoeSortType = { coe := fun (X : CommGrp) => ↑X }
Equations
- X.addCommGroupInstance = X.str
Equations
- X.commGroupInstance = X.str
Equations
- X.instFunLike Y = inferInstance
Construct a bundled AddCommGroup
from the underlying type and typeclass.
Equations
Construct a bundled CommGroup
from the underlying type and typeclass.
Equations
Equations
- AddCommGrp.instInhabited = { default := AddCommGrp.of PUnit.{?u.1 + 1} }
Equations
- CommGrp.instInhabited = { default := CommGrp.of PUnit.{?u.1 + 1} }
Equations
- AddCommGrp.ofUnique G = i
Equations
- CommGrp.ofUnique G = i
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- AddCommGrp.instCoeAddGrp = { coe := (CategoryTheory.forget₂ AddCommGrp AddGrp).obj }
Equations
- CommGrp.instCoeGrp = { coe := (CategoryTheory.forget₂ CommGrp Grp).obj }
Equations
Equations
- AddCommGrp.instCoeCommMonCat = { coe := (CategoryTheory.forget₂ AddCommGrp AddCommMonCat).obj }
Equations
- CommGrp.instCoeCommMonCat = { coe := (CategoryTheory.forget₂ CommGrp CommMonCat).obj }
Equations
- G.instZeroHom H = inferInstance
Typecheck an AddMonoidHom
as a morphism in AddCommGroup
.
Equations
- AddCommGrp.ofHom f = f
Typecheck a MonoidHom
as a morphism in CommGroup
.
Equations
- CommGrp.ofHom f = f
Universe lift functor for additive commutative groups.
Equations
- One or more equations did not get rendered due to their size.
Universe lift functor for commutative groups.
Equations
- One or more equations did not get rendered due to their size.
Any element of an abelian group gives a unique morphism from ℤ
sending
1
to that element.
Equations
- AddCommGrp.asHom g = (zmultiplesHom ↑G) g
Build an isomorphism in the category AddCommGrp
from an AddEquiv
between AddCommGroup
s.
Equations
- e.toAddCommGrpIso = { hom := e.toAddMonoidHom, inv := e.symm.toAddMonoidHom, hom_inv_id := ⋯, inv_hom_id := ⋯ }
Build an addEquiv
from an isomorphism in the category AddGroup
Equations
- i.addGroupIsoToAddEquiv = AddMonoidHom.toAddEquiv i.hom i.inv ⋯ ⋯
Build a MulEquiv
from an isomorphism in the category Grp
.
Equations
- i.groupIsoToMulEquiv = MonoidHom.toMulEquiv i.hom i.inv ⋯ ⋯
Build an AddEquiv
from an isomorphism in the category AddCommGroup
.
Equations
- i.addCommGroupIsoToAddEquiv = AddMonoidHom.toAddEquiv i.hom i.inv ⋯ ⋯
Build a MulEquiv
from an isomorphism in the category CommGroup
.
Equations
- i.commGroupIsoToMulEquiv = MonoidHom.toMulEquiv i.hom i.inv ⋯ ⋯
Additive equivalences between AddCommGroup
s are
the same as (isomorphic to) isomorphisms in AddCommGrp
.
The (bundled) group of automorphisms of a type is isomorphic to the (bundled) group of permutations.
Equations
- One or more equations did not get rendered due to their size.
Equations
Equations
Equations
Equations
An alias for AddCommGrp.{max u v}
, to deal around unification issues.
Equations
An alias for CommGrp.{max u v}
, to deal around unification issues.
Equations
An alias for AddCommGrp.{max u v}
, to deal around unification issues.
Equations
@[simp]
lemmas for MonoidHom.comp
and categorical identities.