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.Action

32 declarations and 3 deprecated aliases. Mathlib docs · Source

Actions as functors and as categories

From a multiplicative action M ↻ X, we can construct a functor from M to the category of types, mapping the single object of M to X and an element m : M to the map X → X given by multiplication by m. This functor induces a category structure on X -- a special case of the category of elements. A morphism x ⟶ y in this category is simply a scalar m : M such that m • x = y. In the case where M is a group, this category is a groupoid -- the action groupoid.

def CategoryTheory.actionAsFunctor E1 #

(M : Type u_1) →
  [inst : Monoid M] → (X : Type u) → [MulAction M X] → CategoryTheory.Functor (CategoryTheory.SingleObj M) (Type u)

A multiplicative action M ↻ X viewed as a functor mapping the single object of M to X and an element m : M to the map X → X given by multiplication by m.

theorem CategoryTheory.actionAsFunctor_map E0 #

∀ (M : Type u_1) [inst : Monoid M] (X : Type u) [inst_1 : MulAction M X] {X_1 Y : CategoryTheory.SingleObj M}
  (f : X_1 ⟶ Y), (CategoryTheory.actionAsFunctor M X).map f = TypeCat.ofHom fun x ↦ f • x

theorem CategoryTheory.actionAsFunctor_obj E0 #

∀ (M : Type u_1) [inst : Monoid M] (X : Type u) [inst_1 : MulAction M X] (x : CategoryTheory.SingleObj M),
  (CategoryTheory.actionAsFunctor M X).obj x = X

def CategoryTheory.ActionCategory E1 #

(M : Type u_1) → [inst : Monoid M] → (X : Type u) → [MulAction M X] → Type (max 0 u)

A multiplicative action M ↻ X induces a category structure on X, where a morphism from x to y is a scalar taking x to y. Due to implementation details, the object type of this category is not equal to X, but is in bijection with X.

instance CategoryTheory.instCategoryActionCategory E0 #

(M : Type u_1) →
  [inst : Monoid M] →
    (X : Type u_2) → [inst_1 : MulAction M X] → CategoryTheory.Category.{u_1, u_2} (CategoryTheory.ActionCategory M X)

def CategoryTheory.ActionCategory.π E1 #

(M : Type u_1) →
  [inst : Monoid M] →
    (X : Type u) →
      [inst_1 : MulAction M X] → CategoryTheory.Functor (CategoryTheory.ActionCategory M X) (CategoryTheory.SingleObj M)

The projection from the action category to the monoid, mapping a morphism to its label.

theorem CategoryTheory.ActionCategory.π_map E0 #

∀ (M : Type u_1) [inst : Monoid M] (X : Type u) [inst_1 : MulAction M X] (p q : CategoryTheory.ActionCategory M X)
  (f : p ⟶ q), (CategoryTheory.ActionCategory.π M X).map f = f.hom

theorem CategoryTheory.ActionCategory.π_obj E0 #

∀ (M : Type u_1) [inst : Monoid M] (X : Type u) [inst_1 : MulAction M X] (p : CategoryTheory.ActionCategory M X),
  (CategoryTheory.ActionCategory.π M X).obj p = CategoryTheory.SingleObj.star M

def CategoryTheory.ActionCategory.back E1 #

{M : Type u_1} → [inst : Monoid M] → {X : Type u} → [inst_1 : MulAction M X] → CategoryTheory.ActionCategory M X → X

The canonical map ActionCategory M X → X. It is given by fun x => x.snd, but has a more explicit type.

instance CategoryTheory.ActionCategory.instCoeTC E0 #

{M : Type u_1} →
  [inst : Monoid M] → {X : Type u} → [inst_1 : MulAction M X] → CoeTC X (CategoryTheory.ActionCategory M X)

theorem CategoryTheory.ActionCategory.coe_back E0 #

∀ {M : Type u_1} [inst : Monoid M] {X : Type u} [inst_1 : MulAction M X] (x : X),
  CategoryTheory.ActionCategory.back ((CategoryTheory.actionAsFunctor M X).elementsMk () x) = x

theorem CategoryTheory.ActionCategory.back_coe E0 #

∀ {M : Type u_1} [inst : Monoid M] {X : Type u} [inst_1 : MulAction M X] (x : CategoryTheory.ActionCategory M X),
  (CategoryTheory.actionAsFunctor M X).elementsMk () x.back = x

def CategoryTheory.ActionCategory.objEquiv E1 #

(M : Type u_1) → [inst : Monoid M] → (X : Type u) → [inst_1 : MulAction M X] → X ≃ CategoryTheory.ActionCategory M X

An object of the action category given by M ↻ X corresponds to an element of X.

instance CategoryTheory.ActionCategory.instInhabited E0 #

(M : Type u_1) →
  [inst : Monoid M] →
    (X : Type u) → [inst_1 : MulAction M X] → [Inhabited X] → Inhabited (CategoryTheory.ActionCategory M X)

instance CategoryTheory.ActionCategory.instNonempty E0 #

∀ (M : Type u_1) [inst : Monoid M] (X : Type u) [inst_1 : MulAction M X] [Nonempty X],
  Nonempty (CategoryTheory.ActionCategory M X)

def CategoryTheory.ActionCategory.stabilizerIsoEnd E1 #

(M : Type u_1) →
  [inst : Monoid M] →
    {X : Type u} →
      [inst_1 : MulAction M X] →
        (x : X) →
          ↥(MulAction.stabilizerSubmonoid M x) ≃*
            CategoryTheory.End ((CategoryTheory.actionAsFunctor M X).elementsMk () x)

The stabilizer of a point is isomorphic to the endomorphism monoid at the corresponding point. In fact they are definitionally equivalent.

theorem CategoryTheory.ActionCategory.stabilizerIsoEnd_apply E0 #

∀ (M : Type u_1) [inst : Monoid M] {X : Type u} [inst_1 : MulAction M X] (x : X)
  (f : ↥(MulAction.stabilizerSubmonoid M x)), ((CategoryTheory.ActionCategory.stabilizerIsoEnd M x) f).asHom.hom = ↑f

theorem CategoryTheory.ActionCategory.stabilizerIsoEnd_symm_apply E0 #

∀ (M : Type u_1) [inst : Monoid M] {X : Type u} [inst_1 : MulAction M X] (x : X)
  (f : CategoryTheory.End ((CategoryTheory.actionAsFunctor M X).elementsMk () x)),
  (CategoryTheory.ActionCategory.stabilizerIsoEnd M x).symm f = ⟨f.asHom.hom, ⋯⟩

theorem CategoryTheory.ActionCategory.id_hom E0 #

∀ {M : Type u_1} [inst : Monoid M] {X : Type u} [inst_1 : MulAction M X] (x : CategoryTheory.ActionCategory M X),
  (CategoryTheory.CategoryStruct.id x).hom = 1

theorem CategoryTheory.ActionCategory.comp_hom E0 #

∀ {M : Type u_1} [inst : Monoid M] {X : Type u} [inst_1 : MulAction M X] {x y z : CategoryTheory.ActionCategory M X}
  (f : x ⟶ y) (g : y ⟶ z), (CategoryTheory.CategoryStruct.comp f g).hom = g.hom * f.hom

instance CategoryTheory.ActionCategory.instIsConnectedOfIsPretransitiveOfNonempty E0 #

∀ {M : Type u_1} [inst : Monoid M] {X : Type u} [inst_1 : MulAction M X] [MulAction.IsPretransitive M X] [Nonempty X],
  CategoryTheory.IsConnected (CategoryTheory.ActionCategory M X)

instance CategoryTheory.ActionCategory.instGroupoid E0 #

{X : Type u} →
  {G : Type u_2} →
    [inst : Group G] → [inst_1 : MulAction G X] → CategoryTheory.Groupoid (CategoryTheory.ActionCategory G X)

def CategoryTheory.ActionCategory.endMulEquivSubgroup E1 #

{G : Type u_2} →
  [inst : Group G] → (H : Subgroup G) → CategoryTheory.End ((CategoryTheory.ActionCategory.objEquiv G (G ⧸ H)) ↑1) ≃* ↥H

Any subgroup of G is a vertex group in its action groupoid.

def CategoryTheory.ActionCategory.homOfPair E1 #

{X : Type u} →
  {G : Type u_2} →
    [inst : Group G] →
      [inst_1 : MulAction G X] →
        (t : X) →
          (g : G) →
            (CategoryTheory.actionAsFunctor G X).elementsMk () (g⁻¹ • t) ⟶
              (CategoryTheory.actionAsFunctor G X).elementsMk () t

A target vertex t and a scalar g determine a morphism in the action groupoid.

theorem CategoryTheory.ActionCategory.homOfPair_hom E0 #

∀ {X : Type u} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] (t : X) (g : G),
  (CategoryTheory.ActionCategory.homOfPair t g).hom = g

def CategoryTheory.ActionCategory.cases E1 #

{X : Type u} →
  {G : Type u_2} →
    [inst : Group G] →
      [inst_1 : MulAction G X] →
        {P : ⦃a b : CategoryTheory.ActionCategory G X⦄ → (a ⟶ b) → Sort u_3} →
          ((t : X) → (g : G) → P (CategoryTheory.ActionCategory.homOfPair t g)) →
            ⦃a b : CategoryTheory.ActionCategory G X⦄ → (f : a ⟶ b) → P f

Any morphism in the action groupoid is given by some pair.

def CategoryTheory.ActionCategory.curry E1 #

{X : Type u} →
  {G : Type u_2} →
    [inst : Group G] →
      [inst_1 : MulAction G X] →
        {H : Type u_3} →
          [inst_2 : Group H] →
            CategoryTheory.Functor (CategoryTheory.ActionCategory G X) (CategoryTheory.SingleObj H) →
              G →* (X → H) ⋊[mulAutArrow] G

Given G acting on X, a functor from the corresponding action groupoid to a group H can be curried to a group homomorphism G →* (X → H) ⋊ G.

theorem CategoryTheory.ActionCategory.curry_apply_left E0 #

∀ {X : Type u} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] {H : Type u_3} [inst_2 : Group H]
  (F : CategoryTheory.Functor (CategoryTheory.ActionCategory G X) (CategoryTheory.SingleObj H)) (g : G) (b : X),
  ((CategoryTheory.ActionCategory.curry F) g).left b = F.map (CategoryTheory.ActionCategory.homOfPair b g)

theorem CategoryTheory.ActionCategory.curry_apply_right E0 #

∀ {X : Type u} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] {H : Type u_3} [inst_2 : Group H]
  (F : CategoryTheory.Functor (CategoryTheory.ActionCategory G X) (CategoryTheory.SingleObj H)) (g : G),
  ((CategoryTheory.ActionCategory.curry F) g).right = g

def CategoryTheory.ActionCategory.uncurry E1 #

{X : Type u} →
  {G : Type u_2} →
    [inst : Group G] →
      [inst_1 : MulAction G X] →
        {H : Type u_3} →
          [inst_2 : Group H] →
            (F : G →* (X → H) ⋊[mulAutArrow] G) →
              (∀ (g : G), (F g).right = g) →
                CategoryTheory.Functor (CategoryTheory.ActionCategory G X) (CategoryTheory.SingleObj H)

Given G acting on X, a group homomorphism φ : G →* (X → H) ⋊ G can be uncurried to a functor from the action groupoid to H, provided that φ g = (_, g) for all g.

theorem CategoryTheory.ActionCategory.uncurry_map E0 #

∀ {X : Type u} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] {H : Type u_3} [inst_2 : Group H]
  (F : G →* (X → H) ⋊[mulAutArrow] G) (sane : ∀ (g : G), (F g).right = g) {x b : CategoryTheory.ActionCategory G X}
  (f : x ⟶ b), (CategoryTheory.ActionCategory.uncurry F sane).map f = (F f.hom).left b.back

theorem CategoryTheory.ActionCategory.uncurry_obj E0 #

∀ {X : Type u} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] {H : Type u_3} [inst_2 : Group H]
  (F : G →* (X → H) ⋊[mulAutArrow] G) (sane : ∀ (g : G), (F g).right = g) (x : CategoryTheory.ActionCategory G X),
  (CategoryTheory.ActionCategory.uncurry F sane).obj x = ()

Deprecated aliases

NameNew nameSince
CategoryTheory.ActionCategory.comp_valCategoryTheory.ActionCategory.comp_hom2026-08-30
CategoryTheory.ActionCategory.homOfPair.valCategoryTheory.ActionCategory.homOfPair_hom2026-08-30
CategoryTheory.ActionCategory.id_valCategoryTheory.ActionCategory.id_hom2026-08-30