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.Monoidal.CommComon_

26 declarations. Mathlib docs · Source

theorem CategoryTheory.CommComon.mk.injEq E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C] (X : C) [comon : CategoryTheory.ComonObj X]
  [comm : CategoryTheory.IsCommComonObj X] (X_1 : C) (comon_1 : CategoryTheory.ComonObj X_1)
  (comm_1 : CategoryTheory.IsCommComonObj X_1),
  ({ X := X, comon := comon, comm := comm } = { X := X_1, comon := comon_1, comm := comm_1 }) =
    (X = X_1 ∧ comon ≍ comon_1)

theorem CategoryTheory.CommComon.mk.inj E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.MonoidalCategory C}
  {inst_2 : CategoryTheory.BraidedCategory C} {X : C} {comon : CategoryTheory.ComonObj X}
  {comm : CategoryTheory.IsCommComonObj X} {X_1 : C} {comon_1 : CategoryTheory.ComonObj X_1}
  {comm_1 : CategoryTheory.IsCommComonObj X_1},
  { X := X, comon := comon, comm := comm } = { X := X_1, comon := comon_1, comm := comm_1 } → X = X_1 ∧ comon ≍ comon_1

def CategoryTheory.CommComon.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {inst_1 : CategoryTheory.MonoidalCategory C} →
      {inst_2 : CategoryTheory.BraidedCategory C} → CategoryTheory.CommComon C → ℕ

structure CategoryTheory.CommComon E1 #

(C : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] → [CategoryTheory.BraidedCategory C] → Type (max u₁ v₁)

A commutative comonoid object internal to a monoidal category.

ctor CategoryTheory.CommComon.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] →
      [inst_2 : CategoryTheory.BraidedCategory C] →
        (X : C) →
          [comon : CategoryTheory.ComonObj X] → [comm : CategoryTheory.IsCommComonObj X] → CategoryTheory.CommComon C

abbrev CategoryTheory.CommComon.X E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] →
      [inst_2 : CategoryTheory.BraidedCategory C] → CategoryTheory.CommComon C → C

The underlying object in the ambient monoidal category

instance CategoryTheory.CommComon.comon E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] →
      [inst_2 : CategoryTheory.BraidedCategory C] → (self : CategoryTheory.CommComon C) → CategoryTheory.ComonObj self.X

instance CategoryTheory.CommComon.comm E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C] (self : CategoryTheory.CommComon C), CategoryTheory.IsCommComonObj self.X

def CategoryTheory.CommComon.toComon E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] →
      [inst_2 : CategoryTheory.BraidedCategory C] → CategoryTheory.CommComon C → CategoryTheory.Comon C

A commutative comonoid object is a comonoid object.

theorem CategoryTheory.CommComon.toComon_X E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C] (A : CategoryTheory.CommComon C), A.toComon.X = A.X

instance CategoryTheory.CommComon.instCommComonObjUnit E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C],
  CategoryTheory.IsCommComonObj (CategoryTheory.MonoidalCategoryStruct.tensorUnit C)

The trivial comonoid on the unit object is commutative.

def CategoryTheory.CommComon.trivial E1 #

(C : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] →
      [inst_2 : CategoryTheory.BraidedCategory C] → CategoryTheory.CommComon C

The trivial commutative comonoid object. We later show this is initial in CommComon C.

theorem CategoryTheory.CommComon.trivial_comon_comul E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C],
  CategoryTheory.ComonObj.comul =
    (CategoryTheory.MonoidalCategoryStruct.leftUnitor (CategoryTheory.MonoidalCategoryStruct.tensorUnit C)).inv

theorem CategoryTheory.CommComon.trivial_comon_counit E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C],
  CategoryTheory.ComonObj.counit = CategoryTheory.CategoryStruct.id (CategoryTheory.MonoidalCategoryStruct.tensorUnit C)

theorem CategoryTheory.CommComon.trivial_X E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C],
  (CategoryTheory.CommComon.trivial C).X = CategoryTheory.MonoidalCategoryStruct.tensorUnit C

instance CategoryTheory.CommComon.instInhabited E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] →
      [inst_2 : CategoryTheory.BraidedCategory C] → Inhabited (CategoryTheory.CommComon C)

instance CategoryTheory.CommComon.instCategory E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] →
      [inst_2 : CategoryTheory.BraidedCategory C] → CategoryTheory.Category.{v₁, max u₁ v₁} (CategoryTheory.CommComon C)

theorem CategoryTheory.CommComon.id_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C] (A : CategoryTheory.CommComon C),
  (CategoryTheory.CategoryStruct.id A).hom.hom = CategoryTheory.CategoryStruct.id A.X

theorem CategoryTheory.CommComon.comp_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C] {R S T : CategoryTheory.CommComon C} (f : R ⟶ S) (g : S ⟶ T),
  (CategoryTheory.CategoryStruct.comp f g).hom.hom = CategoryTheory.CategoryStruct.comp f.hom.hom g.hom.hom

theorem CategoryTheory.CommComon.hom_ext_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C] {A B : CategoryTheory.CommComon C} {f g : A ⟶ B},
  f = g ↔ f.hom.hom = g.hom.hom

theorem CategoryTheory.CommComon.hom_ext E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C] {A B : CategoryTheory.CommComon C} (f g : A ⟶ B),
  f.hom.hom = g.hom.hom → f = g

def CategoryTheory.CommComon.forget₂Comon E1 #

(C : Type u₁) →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] →
      [inst_2 : CategoryTheory.BraidedCategory C] →
        CategoryTheory.Functor (CategoryTheory.CommComon C) (CategoryTheory.Comon C)

The forgetful functor from commutative comonoid objects to comonoid objects.

theorem CategoryTheory.CommComon.forget₂Comon_map E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C]
  {X Y : CategoryTheory.InducedCategory (CategoryTheory.Comon C) CategoryTheory.CommComon.toComon} (f : X ⟶ Y),
  (CategoryTheory.CommComon.forget₂Comon C).map f = f.hom

theorem CategoryTheory.CommComon.forget₂Comon_obj_comon E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C] (A : CategoryTheory.CommComon C),
  ((CategoryTheory.CommComon.forget₂Comon C).obj A).comon = A.comon

theorem CategoryTheory.CommComon.forget₂Comon_obj_X E0 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.BraidedCategory C] (A : CategoryTheory.CommComon C),
  ((CategoryTheory.CommComon.forget₂Comon C).obj A).X = A.X

instance CategoryTheory.instIsCommComonObjTensorObj E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  [inst_2 : CategoryTheory.SymmetricCategory C] (A B : C) [inst_3 : CategoryTheory.ComonObj A]
  [inst_4 : CategoryTheory.ComonObj B] [CategoryTheory.IsCommComonObj A] [CategoryTheory.IsCommComonObj B],
  CategoryTheory.IsCommComonObj (CategoryTheory.MonoidalCategoryStruct.tensorObj A B)