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.CopyDiscardCategory.Widesubcategory

9 declarations. Mathlib docs · Source

Copy-discard structures on wide subcategories

Given a monoidal category C, a morphism property P : MorphismProperty C satisfying P.IsMonoidalStable and a comonoid object c : C, we introduce a condition P. IsStableUnderComonoid c saying that c inherits a comonoid object structure in the category of WideSubcategory P. If C is a copy-discard category, if P is also stable under braiding and that this condition P. IsStableUnderComonoid holds for all objects c : C, we show that WideSubcategory P is also a copy-discard category.

class CategoryTheory.MorphismProperty.IsStableUnderComonoid E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] →
      CategoryTheory.MorphismProperty C → (c : C) → [CategoryTheory.ComonObj c] → Prop

A braided-stable morphism property stable under comonoid counit and comultiplication.

ctor CategoryTheory.MorphismProperty.IsStableUnderComonoid.mk E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.MonoidalCategory C]
  {P : CategoryTheory.MorphismProperty C} {c : C} [inst_2 : CategoryTheory.ComonObj c],
  P CategoryTheory.ComonObj.counit → P CategoryTheory.ComonObj.comul → P.IsStableUnderComonoid c

theorem CategoryTheory.MorphismProperty.IsStableUnderComonoid.counit_mem E1 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {inst_1 : CategoryTheory.MonoidalCategory C}
  (P : CategoryTheory.MorphismProperty C) {c : C} {inst_2 : CategoryTheory.ComonObj c}
  [self : P.IsStableUnderComonoid c], P CategoryTheory.ComonObj.counit

theorem CategoryTheory.MorphismProperty.IsStableUnderComonoid.comul_mem E1 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {inst_1 : CategoryTheory.MonoidalCategory C}
  (P : CategoryTheory.MorphismProperty C) {c : C} {inst_2 : CategoryTheory.ComonObj c}
  [self : P.IsStableUnderComonoid c], P CategoryTheory.ComonObj.comul

instance CategoryTheory.MorphismProperty.instComonObjWideSubcategoryOfIsStableUnderComonoidObj E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (P : CategoryTheory.MorphismProperty C) →
      [inst_1 : CategoryTheory.MonoidalCategory C] →
        [inst_2 : P.IsMonoidalStable] →
          (c : CategoryTheory.WideSubcategory P) →
            [inst_3 : CategoryTheory.ComonObj c.obj] → [P.IsStableUnderComonoid c.obj] → CategoryTheory.ComonObj c

theorem CategoryTheory.MorphismProperty.counit_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.MorphismProperty C)
  [inst_1 : CategoryTheory.MonoidalCategory C] [inst_2 : P.IsMonoidalStable] (c : CategoryTheory.WideSubcategory P)
  [inst_3 : CategoryTheory.ComonObj c.obj] [inst_4 : P.IsStableUnderComonoid c.obj],
  CategoryTheory.ComonObj.counit.hom = CategoryTheory.ComonObj.counit

theorem CategoryTheory.MorphismProperty.comul_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.MorphismProperty C)
  [inst_1 : CategoryTheory.MonoidalCategory C] [inst_2 : P.IsMonoidalStable] (c : CategoryTheory.WideSubcategory P)
  [inst_3 : CategoryTheory.ComonObj c.obj] [inst_4 : P.IsStableUnderComonoid c.obj],
  CategoryTheory.ComonObj.comul.hom = CategoryTheory.ComonObj.comul

instance CategoryTheory.MorphismProperty.instIsCommComonObjWideSubcategoryOfObj E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.MorphismProperty C)
  [inst_1 : CategoryTheory.MonoidalCategory C] [inst_2 : CategoryTheory.BraidedCategory C]
  [inst_3 : P.IsStableUnderBraiding] (c : CategoryTheory.WideSubcategory P) [inst_4 : CategoryTheory.ComonObj c.obj]
  [CategoryTheory.IsCommComonObj c.obj] [inst_6 : P.IsStableUnderComonoid c.obj], CategoryTheory.IsCommComonObj c

instance CategoryTheory.MorphismProperty.instCopyDiscardCategoryWideSubcategoryOfIsStableUnderComonoid E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (P : CategoryTheory.MorphismProperty C) →
      [inst_1 : CategoryTheory.MonoidalCategory C] →
        [inst_2 : CategoryTheory.CopyDiscardCategory C] →
          [inst_3 : P.IsStableUnderBraiding] →
            [∀ (c : C), P.IsStableUnderComonoid c] →
              CategoryTheory.CopyDiscardCategory (CategoryTheory.WideSubcategory P)