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 / V26. Homological algebra

Mathlib.CategoryTheory.GradedObject.Single

14 declarations. Mathlib docs · Source

def CategoryTheory.GradedObject.single E1 #

{J : Type u_1} →
  {C : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_2} C] →
      [CategoryTheory.Limits.HasInitial C] →
        [DecidableEq J] → J → CategoryTheory.Functor C (CategoryTheory.GradedObject J C)

The functor which sends X : C to the graded object which is X in degree j and the initial object in other degrees.

abbrev CategoryTheory.GradedObject.single₀ E1 #

(J : Type u_1) →
  {C : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_2} C] →
      [CategoryTheory.Limits.HasInitial C] →
        [DecidableEq J] → [Zero J] → CategoryTheory.Functor C (CategoryTheory.GradedObject J C)

The functor which sends X : C to the graded object which is X in degree 0 and the initial object in nonzero degrees.

def CategoryTheory.GradedObject.singleObjApplyIsoOfEq E1 #

{J : Type u_1} →
  {C : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_2} C] →
      [inst_1 : CategoryTheory.Limits.HasInitial C] →
        [inst_2 : DecidableEq J] →
          (j : J) → (X : C) → (i : J) → i = j → ((CategoryTheory.GradedObject.single j).obj X i ≅ X)

The canonical isomorphism (single j).obj X i ≅ X when i = j.

abbrev CategoryTheory.GradedObject.singleObjApplyIso E1 #

{J : Type u_1} →
  {C : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_2} C] →
      [inst_1 : CategoryTheory.Limits.HasInitial C] →
        [inst_2 : DecidableEq J] → (j : J) → (X : C) → (CategoryTheory.GradedObject.single j).obj X j ≅ X

The canonical isomorphism (single j).obj X j ≅ X.

def CategoryTheory.GradedObject.isInitialSingleObjApply E1 #

{J : Type u_1} →
  {C : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_2} C] →
      [inst_1 : CategoryTheory.Limits.HasInitial C] →
        [inst_2 : DecidableEq J] →
          (j : J) →
            (X : C) → (i : J) → i ≠ j → CategoryTheory.Limits.IsInitial ((CategoryTheory.GradedObject.single j).obj X i)

The object (single j).obj X i is initial when i ≠ j.

theorem CategoryTheory.GradedObject.singleObjApplyIsoOfEq_inv_single_map E1 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Limits.HasInitial C] [inst_2 : DecidableEq J] (j : J) {X Y : C} (f : X ⟶ Y) (i : J)
  (h : i = j),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.GradedObject.singleObjApplyIsoOfEq j X i h).inv
      ((CategoryTheory.GradedObject.single j).map f i) =
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.GradedObject.singleObjApplyIsoOfEq j Y i h).inv

theorem CategoryTheory.GradedObject.single_map_singleObjApplyIsoOfEq_hom E1 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Limits.HasInitial C] [inst_2 : DecidableEq J] (j : J) {X Y : C} (f : X ⟶ Y) (i : J)
  (h : i = j),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.GradedObject.single j).map f i)
      (CategoryTheory.GradedObject.singleObjApplyIsoOfEq j Y i h).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.GradedObject.singleObjApplyIsoOfEq j X i h).hom f

theorem CategoryTheory.GradedObject.singleObjApplyIso_inv_single_map E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Limits.HasInitial C] [inst_2 : DecidableEq J] (j : J) {X Y : C} (f : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.GradedObject.singleObjApplyIso j X).inv
      ((CategoryTheory.GradedObject.single j).map f j) =
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.GradedObject.singleObjApplyIso j Y).inv

theorem CategoryTheory.GradedObject.singleObjApplyIso_inv_single_map_assoc E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Limits.HasInitial C] [inst_2 : DecidableEq J] (j : J) {X Y : C} (f : X ⟶ Y) {Z : C}
  (h : (CategoryTheory.GradedObject.single j).obj Y j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.GradedObject.singleObjApplyIso j X).inv
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.GradedObject.single j).map f j) h) =
    CategoryTheory.CategoryStruct.comp f
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.GradedObject.singleObjApplyIso j Y).inv h)

theorem CategoryTheory.GradedObject.single_map_singleObjApplyIso_hom E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Limits.HasInitial C] [inst_2 : DecidableEq J] (j : J) {X Y : C} (f : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.GradedObject.single j).map f j)
      (CategoryTheory.GradedObject.singleObjApplyIso j Y).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.GradedObject.singleObjApplyIso j X).hom f

theorem CategoryTheory.GradedObject.single_map_singleObjApplyIso_hom_assoc E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Limits.HasInitial C] [inst_2 : DecidableEq J] (j : J) {X Y : C} (f : X ⟶ Y) {Z : C}
  (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.GradedObject.single j).map f j)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.GradedObject.singleObjApplyIso j Y).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.GradedObject.singleObjApplyIso j X).hom
      (CategoryTheory.CategoryStruct.comp f h)

def CategoryTheory.GradedObject.singleCompEval E1 #

{J : Type u_1} →
  (C : Type u_2) →
    [inst : CategoryTheory.Category.{v_1, u_2} C] →
      [inst_1 : CategoryTheory.Limits.HasInitial C] →
        [inst_2 : DecidableEq J] →
          (j : J) →
            (CategoryTheory.GradedObject.single j).comp (CategoryTheory.GradedObject.eval j) ≅
              CategoryTheory.Functor.id C

The composition of the single functor single j : C ⥤ GradedObject J C and the evaluation functor eval j identifies to the identity functor.

theorem CategoryTheory.GradedObject.singleCompEval_hom_app E0 #

∀ {J : Type u_1} (C : Type u_2) [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Limits.HasInitial C] [inst_2 : DecidableEq J] (j : J) (X : C),
  (CategoryTheory.GradedObject.singleCompEval C j).hom.app X = (CategoryTheory.GradedObject.singleObjApplyIso j X).hom

theorem CategoryTheory.GradedObject.singleCompEval_inv_app E0 #

∀ {J : Type u_1} (C : Type u_2) [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Limits.HasInitial C] [inst_2 : DecidableEq J] (j : J) (X : C),
  (CategoryTheory.GradedObject.singleCompEval C j).inv.app X = (CategoryTheory.GradedObject.singleObjApplyIso j X).inv