The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V24. Category theory

Mathlib.CategoryTheory.Endomorphism

69 declarations and 4 deprecated aliases. Mathlib docs · Source

Endomorphisms

Definition and basic properties of endomorphisms and automorphisms of an object in a category.

For each X : C, we define a monoid CategoryTheory.End X which is a 1-field structure that is equipped with a bijection with X ⟶ X. Similarly, we define the group CategoryTheory.Aut X, which is equipped with a bijection with X ≅ X.

def CategoryTheory.Aut.ctorIdx E1 #

{C : Type u} → {inst : CategoryTheory.Category.{v, u} C} → {X : C} → CategoryTheory.Aut X → ℕ

def CategoryTheory.End.ctorIdx E1 #

{C : Type u} → {inst : CategoryTheory.CategoryStruct.{v, u} C} → {X : C} → CategoryTheory.End X → ℕ

theorem CategoryTheory.Aut.of.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (asIso asIso_1 : X ≅ X),
  ({ asIso := asIso } = { asIso := asIso_1 }) = (asIso = asIso_1)

theorem CategoryTheory.End.of.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.CategoryStruct.{v, u} C} {X : C} {asHom asHom_1 : X ⟶ X},
  { asHom := asHom } = { asHom := asHom_1 } → asHom = asHom_1

theorem CategoryTheory.Aut.of.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {asIso asIso_1 : X ≅ X},
  { asIso := asIso } = { asIso := asIso_1 } → asIso = asIso_1

theorem CategoryTheory.End.of.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.CategoryStruct.{v, u} C] {X : C} (asHom asHom_1 : X ⟶ X),
  ({ asHom := asHom } = { asHom := asHom_1 }) = (asHom = asHom_1)

structure CategoryTheory.End E1 #

{C : Type u} → [CategoryTheory.CategoryStruct.{v, u} C] → C → Type v

Endomorphisms of an object in a category. Arguments order in multiplication agrees with Function.comp, not with CategoryTheory.CategoryStruct.comp.

theorem CategoryTheory.End.ext_iff E0 #

∀ {C : Type u} {inst : CategoryTheory.CategoryStruct.{v, u} C} {X : C} {x y : CategoryTheory.End X},
  x = y ↔ x.asHom = y.asHom

theorem CategoryTheory.End.ext E1 #

∀ {C : Type u} {inst : CategoryTheory.CategoryStruct.{v, u} C} {X : C} {x y : CategoryTheory.End X},
  x.asHom = y.asHom → x = y

ctor CategoryTheory.End.of E0 #

{C : Type u} → [inst : CategoryTheory.CategoryStruct.{v, u} C] → {X : C} → (X ⟶ X) → CategoryTheory.End X

abbrev CategoryTheory.End.asHom E1 #

{C : Type u} → [inst : CategoryTheory.CategoryStruct.{v, u} C] → {X : C} → CategoryTheory.End X → (X ⟶ X)

the underlying morphism of an endomorphism

def CategoryTheory.End.homEquiv E1 #

{C : Type u} → [inst : CategoryTheory.CategoryStruct.{v, u} C] → {X : C} → CategoryTheory.End X ≃ (X ⟶ X)

The bijection End X ≃ (X ⟶ X).

theorem CategoryTheory.End.homEquiv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.CategoryStruct.{v, u} C] {X : C} (self : CategoryTheory.End X),
  CategoryTheory.End.homEquiv self = self.asHom

theorem CategoryTheory.End.homEquiv_symm_apply_asHom E0 #

∀ {C : Type u} [inst : CategoryTheory.CategoryStruct.{v, u} C] {X : C} (asHom : X ⟶ X),
  (CategoryTheory.End.homEquiv.symm asHom).asHom = asHom

theorem CategoryTheory.End.one_asHom E0 #

∀ {C : Type u} [inst : CategoryTheory.CategoryStruct.{v, u} C] (X : C),
  CategoryTheory.End.asHom 1 = CategoryTheory.CategoryStruct.id X

instance CategoryTheory.End.instOne E0 #

{C : Type u} → [inst : CategoryTheory.CategoryStruct.{v, u} C] → (X : C) → One (CategoryTheory.End X)

instance CategoryTheory.End.inhabited E0 #

{C : Type u} → [inst : CategoryTheory.CategoryStruct.{v, u} C] → (X : C) → Inhabited (CategoryTheory.End X)

instance CategoryTheory.End.instMul E0 #

{C : Type u} → [inst : CategoryTheory.CategoryStruct.{v, u} C] → (X : C) → Mul (CategoryTheory.End X)

Multiplication of endomorphisms agrees with Function.comp, not with CategoryTheory.CategoryStruct.comp.

theorem CategoryTheory.End.mul_asHom E0 #

∀ {C : Type u} [inst : CategoryTheory.CategoryStruct.{v, u} C] (X : C) (f g : CategoryTheory.End X),
  (f * g).asHom = CategoryTheory.CategoryStruct.comp g.asHom f.asHom

instance CategoryTheory.End.monoid E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X : C} → Monoid (CategoryTheory.End X)

Endomorphisms of an object form a monoid

instance CategoryTheory.End.instSMulHom E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → SMul (CategoryTheory.End Y) (X ⟶ Y)

instance CategoryTheory.End.instSMulMulOppositeHom E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → SMul (CategoryTheory.End X)ᵐᵒᵖ (X ⟶ Y)

theorem CategoryTheory.End.smul_right E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {r : CategoryTheory.End Y} {f : X ⟶ Y},
  r • f = CategoryTheory.CategoryStruct.comp f r.asHom

theorem CategoryTheory.End.smul_left E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {r : (CategoryTheory.End X)ᵐᵒᵖ} {f : X ⟶ Y},
  r • f = CategoryTheory.CategoryStruct.comp (MulOpposite.unop r).asHom f

instance CategoryTheory.End.mulActionRight E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → MulAction (CategoryTheory.End Y) (X ⟶ Y)

instance CategoryTheory.End.mulActionLeft E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → MulAction (CategoryTheory.End X)ᵐᵒᵖ (X ⟶ Y)

instance CategoryTheory.End.group E0 #

{C : Type u} → [inst : CategoryTheory.Groupoid C] → (X : C) → Group (CategoryTheory.End X)

In a groupoid, endomorphisms form a group

theorem CategoryTheory.isUnit_iff_isIso E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (f : CategoryTheory.End X),
  IsUnit f ↔ CategoryTheory.IsIso f.asHom

structure CategoryTheory.Aut E1 #

{C : Type u} → [CategoryTheory.Category.{v, u} C] → C → Type v

Automorphisms of an object in a category.

The order of arguments in multiplication agrees with Function.comp, not with CategoryTheory.CategoryStruct.comp.

theorem CategoryTheory.Aut.ext_iff E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {x y : CategoryTheory.Aut X}, x = y ↔ x.asIso = y.asIso

theorem CategoryTheory.Aut.ext E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {x y : CategoryTheory.Aut X}, x.asIso = y.asIso → x = y

ctor CategoryTheory.Aut.of E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X : C} → (X ≅ X) → CategoryTheory.Aut X

abbrev CategoryTheory.Aut.asIso E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X : C} → CategoryTheory.Aut X → (X ≅ X)

the underlying isomorphism of an automorphism

def CategoryTheory.Aut.isoEquiv E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X : C} → CategoryTheory.Aut X ≃ (X ≅ X)

The bijection Aut X ≃ (X ≅ X).

theorem CategoryTheory.Aut.isoEquiv_symm_apply_asIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (asIso : X ≅ X),
  (CategoryTheory.Aut.isoEquiv.symm asIso).asIso = asIso

theorem CategoryTheory.Aut.isoEquiv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (self : CategoryTheory.Aut X),
  CategoryTheory.Aut.isoEquiv self = self.asIso

instance CategoryTheory.Aut.inhabited E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (X : C) → Inhabited (CategoryTheory.Aut X)

instance CategoryTheory.Aut.instOne E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (X : C) → One (CategoryTheory.Aut X)

theorem CategoryTheory.Aut.one_asIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C), CategoryTheory.Aut.asIso 1 = CategoryTheory.Iso.refl X

instance CategoryTheory.Aut.instInv E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (X : C) → Inv (CategoryTheory.Aut X)

theorem CategoryTheory.Aut.inv_asIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) (e : CategoryTheory.Aut X), e⁻¹.asIso = e.asIso.symm

instance CategoryTheory.Aut.instMul E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (X : C) → Mul (CategoryTheory.Aut X)

theorem CategoryTheory.Aut.mul_asIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) (x y : CategoryTheory.Aut X),
  (x * y).asIso = y.asIso ≪≫ x.asIso

instance CategoryTheory.Aut.instGroup E0 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (X : C) → Group (CategoryTheory.Aut X)

def CategoryTheory.Aut.toEnd E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X : C} → CategoryTheory.Aut X →* CategoryTheory.End X

The inclusion of Aut X in End X as a monoid homomorphism.

theorem CategoryTheory.Aut.toEnd_apply_asHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (e : CategoryTheory.Aut X),
  (CategoryTheory.Aut.toEnd e).asHom = e.asIso.hom

def CategoryTheory.Aut.unitsEndEquivAut E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (X : C) → (CategoryTheory.End X)ˣ ≃* CategoryTheory.Aut X

Units in the monoid of endomorphisms of an object are (multiplicatively) equivalent to automorphisms of that object.

theorem CategoryTheory.Aut.val_inv_unitsEndEquivAut_symm_apply_asHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) (f : CategoryTheory.Aut X),
  (↑((CategoryTheory.Aut.unitsEndEquivAut X).symm f)⁻¹).asHom = f.asIso.inv

theorem CategoryTheory.Aut.unitsEndEquivAut_apply_asIso_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) (f : (CategoryTheory.End X)ˣ),
  ((CategoryTheory.Aut.unitsEndEquivAut X) f).asIso.inv = f.inv.asHom

theorem CategoryTheory.Aut.unitsEndEquivAut_apply_asIso_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) (f : (CategoryTheory.End X)ˣ),
  ((CategoryTheory.Aut.unitsEndEquivAut X) f).asIso.hom = (↑f).asHom

theorem CategoryTheory.Aut.val_unitsEndEquivAut_symm_apply_asHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) (f : CategoryTheory.Aut X),
  (↑((CategoryTheory.Aut.unitsEndEquivAut X).symm f)).asHom = f.asIso.hom

def CategoryTheory.Aut.autMulEquivOfIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → (X ≅ Y) → CategoryTheory.Aut X ≃* CategoryTheory.Aut Y

Isomorphisms induce isomorphisms of the automorphism group

theorem CategoryTheory.Aut.autMulEquivOfIso_symm_apply_asIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (h : X ≅ Y) (e : CategoryTheory.Aut Y),
  ((CategoryTheory.Aut.autMulEquivOfIso h).symm e).asIso = h ≪≫ e.asIso ≪≫ h.symm

theorem CategoryTheory.Aut.autMulEquivOfIso_apply_asIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (h : X ≅ Y) (e : CategoryTheory.Aut X),
  ((CategoryTheory.Aut.autMulEquivOfIso h) e).asIso = h.symm ≪≫ e.asIso ≪≫ h

def CategoryTheory.Functor.mapEnd E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : C) →
      {D : Type u'} →
        [inst_1 : CategoryTheory.Category.{v', u'} D] →
          (f : CategoryTheory.Functor C D) → CategoryTheory.End X →* CategoryTheory.End (f.obj X)

f.map as a monoid hom between endomorphism monoids.

theorem CategoryTheory.Functor.mapEnd_apply_asHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) {D : Type u'}
  [inst_1 : CategoryTheory.Category.{v', u'} D] (f : CategoryTheory.Functor C D) (e : CategoryTheory.End X),
  ((CategoryTheory.Functor.mapEnd X f) e).asHom = f.map e.asHom

def CategoryTheory.Functor.mapAut E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : C) →
      {D : Type u'} →
        [inst_1 : CategoryTheory.Category.{v', u'} D] →
          (f : CategoryTheory.Functor C D) → CategoryTheory.Aut X →* CategoryTheory.Aut (f.obj X)

f.mapIso as a group hom between automorphism groups.

theorem CategoryTheory.Functor.mapAut_apply_asIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) {D : Type u'}
  [inst_1 : CategoryTheory.Category.{v', u'} D] (f : CategoryTheory.Functor C D) (e : CategoryTheory.Aut X),
  ((CategoryTheory.Functor.mapAut X f) e).asIso = f.mapIso e.asIso

def CategoryTheory.Functor.FullyFaithful.mulEquivEnd E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} D] →
        {f : CategoryTheory.Functor C D} →
          f.FullyFaithful → (X : C) → CategoryTheory.End X ≃* CategoryTheory.End (f.obj X)

mulEquivEnd as an isomorphism between endomorphism monoids.

theorem CategoryTheory.Functor.FullyFaithful.mulEquivEnd_apply_asHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
  {f : CategoryTheory.Functor C D} (hf : f.FullyFaithful) (X : C) (a : CategoryTheory.End X),
  ((hf.mulEquivEnd X) a).asHom = f.map a.asHom

theorem CategoryTheory.Functor.FullyFaithful.mulEquivEnd_symm_apply_asHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
  {f : CategoryTheory.Functor C D} (hf : f.FullyFaithful) (X : C) (a : CategoryTheory.End (f.obj X)),
  ((hf.mulEquivEnd X).symm a).asHom = hf.preimage a.asHom

def CategoryTheory.Functor.FullyFaithful.autMulEquivOfFullyFaithful E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} D] →
        {f : CategoryTheory.Functor C D} →
          f.FullyFaithful → (X : C) → CategoryTheory.Aut X ≃* CategoryTheory.Aut (f.obj X)

mulEquivAut as an isomorphism between automorphism groups.

theorem CategoryTheory.Functor.FullyFaithful.autMulEquivOfFullyFaithful_apply_asIso_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
  {f : CategoryTheory.Functor C D} (hf : f.FullyFaithful) (X : C) (a : CategoryTheory.Aut X),
  ((hf.autMulEquivOfFullyFaithful X) a).asIso.inv = f.map a.asIso.inv

theorem CategoryTheory.Functor.FullyFaithful.autMulEquivOfFullyFaithful_symm_apply_asIso_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
  {f : CategoryTheory.Functor C D} (hf : f.FullyFaithful) (X : C) (a : CategoryTheory.Aut (f.obj X)),
  ((hf.autMulEquivOfFullyFaithful X).symm a).asIso.inv = hf.preimage a.asIso.inv

theorem CategoryTheory.Functor.FullyFaithful.autMulEquivOfFullyFaithful_apply_asIso_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
  {f : CategoryTheory.Functor C D} (hf : f.FullyFaithful) (X : C) (a : CategoryTheory.Aut X),
  ((hf.autMulEquivOfFullyFaithful X) a).asIso.hom = f.map a.asIso.hom

theorem CategoryTheory.Functor.FullyFaithful.autMulEquivOfFullyFaithful_symm_apply_asIso_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
  {f : CategoryTheory.Functor C D} (hf : f.FullyFaithful) (X : C) (a : CategoryTheory.Aut (f.obj X)),
  ((hf.autMulEquivOfFullyFaithful X).symm a).asIso.hom = hf.preimage a.asIso.hom

def CategoryTheory.InducedCategory.endEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      {F : D → C} → {X : CategoryTheory.InducedCategory C F} → CategoryTheory.End X ≃* CategoryTheory.End (F X)

The multiplicative bijection End X ≃* End (F X) when X : InducedCategory C F.

theorem CategoryTheory.InducedCategory.endEquiv_symm_apply_asHom_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} {F : D → C}
  {X : CategoryTheory.InducedCategory C F} (a : CategoryTheory.End (F X)),
  (CategoryTheory.InducedCategory.endEquiv.symm a).asHom.hom = a.asHom

theorem CategoryTheory.InducedCategory.endEquiv_apply_asHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} {F : D → C}
  {X : CategoryTheory.InducedCategory C F} (a : CategoryTheory.End X),
  (CategoryTheory.InducedCategory.endEquiv a).asHom = a.asHom.hom

Deprecated aliases

NameNew nameSince
CategoryTheory.Aut.Aut_inv_defCategoryTheory.Aut.inv_asIso2026-09-12
CategoryTheory.Aut.Aut_mul_defCategoryTheory.Aut.mul_asIso2026-09-12
CategoryTheory.End.mul_defCategoryTheory.End.mul_asHom2026-09-12
CategoryTheory.End.one_defCategoryTheory.End.one_asHom2026-09-12