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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Shift.Opposite

28 declarations. Mathlib docs · Source

def CategoryTheory.HasShift.mkShiftCoreOp E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (A : Type u_2) → [inst_1 : AddMonoid A] → [CategoryTheory.HasShift C A] → CategoryTheory.ShiftMkCore Cᵒᵖ A

Construction of the naive shift on the opposite category of a category C: the shiftfunctor by n is (shiftFunctor C n).op.

def CategoryTheory.OppositeShift E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (A : Type u_3) → [inst_1 : AddMonoid A] → [CategoryTheory.HasShift C A] → Type (max 0 u_1)

The category OppositeShift C A is the opposite category Cᵒᵖ equipped with the naive shift: shiftFunctor (OppositeShift C A) n is (shiftFunctor C n).op.

instance CategoryTheory.instCategoryOppositeShift E0 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (A : Type u_2) →
      [inst_1 : AddMonoid A] →
        [inst_2 : CategoryTheory.HasShift C A] → CategoryTheory.Category.{v_1, u_1} (CategoryTheory.OppositeShift C A)

instance CategoryTheory.instHasShiftOppositeShift E0 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (A : Type u_2) →
      [inst_1 : AddMonoid A] →
        [inst_2 : CategoryTheory.HasShift C A] → CategoryTheory.HasShift (CategoryTheory.OppositeShift C A) A

instance CategoryTheory.instHasZeroObjectOppositeShift E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (A : Type u_2) [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] [CategoryTheory.Limits.HasZeroObject C],
  CategoryTheory.Limits.HasZeroObject (CategoryTheory.OppositeShift C A)

instance CategoryTheory.instPreadditiveOppositeShift E0 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (A : Type u_2) →
      [inst_1 : AddMonoid A] →
        [inst_2 : CategoryTheory.HasShift C A] →
          [CategoryTheory.Preadditive C] → CategoryTheory.Preadditive (CategoryTheory.OppositeShift C A)

instance CategoryTheory.instAdditiveOppositeShiftShiftFunctor E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (A : Type u_2) [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] [inst_3 : CategoryTheory.Preadditive C] (n : A)
  [(CategoryTheory.shiftFunctor C n).Additive],
  (CategoryTheory.shiftFunctor (CategoryTheory.OppositeShift C A) n).Additive

theorem CategoryTheory.oppositeShiftFunctorZero_inv_app E1 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (A : Type u_2) [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (X : CategoryTheory.OppositeShift C A),
  (CategoryTheory.shiftFunctorZero (CategoryTheory.OppositeShift C A) A).inv.app X =
    ((CategoryTheory.shiftFunctorZero C A).hom.app (Opposite.unop X)).op

theorem CategoryTheory.oppositeShiftFunctorZero_hom_app E1 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (A : Type u_2) [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (X : CategoryTheory.OppositeShift C A),
  (CategoryTheory.shiftFunctorZero (CategoryTheory.OppositeShift C A) A).hom.app X =
    ((CategoryTheory.shiftFunctorZero C A).inv.app (Opposite.unop X)).op

theorem CategoryTheory.oppositeShiftFunctorAdd_inv_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (X : CategoryTheory.OppositeShift C A) (a b : A),
  (CategoryTheory.shiftFunctorAdd (CategoryTheory.OppositeShift C A) a b).inv.app X =
    ((CategoryTheory.shiftFunctorAdd C a b).hom.app (Opposite.unop X)).op

theorem CategoryTheory.oppositeShiftFunctorAdd_hom_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (X : CategoryTheory.OppositeShift C A) (a b : A),
  (CategoryTheory.shiftFunctorAdd (CategoryTheory.OppositeShift C A) a b).hom.app X =
    ((CategoryTheory.shiftFunctorAdd C a b).inv.app (Opposite.unop X)).op

theorem CategoryTheory.oppositeShiftFunctorAdd'_inv_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (X : CategoryTheory.OppositeShift C A) (a b c : A) (h : a + b = c),
  (CategoryTheory.shiftFunctorAdd' (CategoryTheory.OppositeShift C A) a b c h).inv.app X =
    ((CategoryTheory.shiftFunctorAdd' C a b c h).hom.app (Opposite.unop X)).op

theorem CategoryTheory.oppositeShiftFunctorAdd'_hom_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (X : CategoryTheory.OppositeShift C A) (a b c : A) (h : a + b = c),
  (CategoryTheory.shiftFunctorAdd' (CategoryTheory.OppositeShift C A) a b c h).hom.app X =
    ((CategoryTheory.shiftFunctorAdd' C a b c h).inv.app (Opposite.unop X)).op

def CategoryTheory.OppositeShift.functor E1 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        (A : Type u_3) →
          [inst_2 : AddMonoid A] →
            [inst_3 : CategoryTheory.HasShift C A] →
              [inst_4 : CategoryTheory.HasShift D A] →
                CategoryTheory.Functor C D →
                  CategoryTheory.Functor (CategoryTheory.OppositeShift C A) (CategoryTheory.OppositeShift D A)

The functor F.op, seen as a functor from OppositeShift C A to OppositeShift D A. (We will use this to carry a CommShift instance for the naive shifts on the opposite category. Then, in the pretriangulated case, we will be able to put a CommShift instance on F.op for the modified shifts and not deal with instance clashes.)

def CategoryTheory.OppositeShift.natTrans E1 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        (A : Type u_3) →
          [inst_2 : AddMonoid A] →
            [inst_3 : CategoryTheory.HasShift C A] →
              [inst_4 : CategoryTheory.HasShift D A] →
                {F G : CategoryTheory.Functor C D} →
                  (F ⟶ G) → (CategoryTheory.OppositeShift.functor A G ⟶ CategoryTheory.OppositeShift.functor A F)

The natural transformation τ, seen as a natural transformation from OppositeShift.functor F A to OppositeShift.functor G A..

instance CategoryTheory.Functor.commShiftOp E0 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        (A : Type u_3) →
          [inst_2 : AddMonoid A] →
            [inst_3 : CategoryTheory.HasShift C A] →
              [inst_4 : CategoryTheory.HasShift D A] →
                (F : CategoryTheory.Functor C D) →
                  [F.CommShift A] → (CategoryTheory.OppositeShift.functor A F).CommShift A

Given a CommShift structure on F, this is the corresponding CommShift structure on OppositeShift.functor F (for the naive shifts on the opposite categories).

theorem CategoryTheory.Functor.commShiftOp_iso_eq E0 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] (F : CategoryTheory.Functor C D)
  [inst_5 : F.CommShift A] (a : A),
  CategoryTheory.Functor.commShiftIso (CategoryTheory.OppositeShift.functor A F) a =
    (CategoryTheory.NatIso.op (CategoryTheory.Functor.commShiftIso F a)).symm

def CategoryTheory.Functor.commShiftUnop E1 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        (A : Type u_3) →
          [inst_2 : AddMonoid A] →
            [inst_3 : CategoryTheory.HasShift C A] →
              [inst_4 : CategoryTheory.HasShift D A] →
                (F : CategoryTheory.Functor C D) →
                  [(CategoryTheory.OppositeShift.functor A F).CommShift A] → F.CommShift A

Given a CommShift structure on OppositeShift.functor F (for the naive shifts on the opposite categories), this is the corresponding CommShift structure on F.

theorem CategoryTheory.Functor.commShiftUnop_commShiftIso E1 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] (F : CategoryTheory.Functor C D)
  [inst_5 : (CategoryTheory.OppositeShift.functor A F).CommShift A] (a : A),
  CategoryTheory.Functor.commShiftIso F a =
    CategoryTheory.NatIso.removeOp
      (CategoryTheory.Functor.commShiftIso (CategoryTheory.OppositeShift.functor A F) a).symm

instance CategoryTheory.NatTrans.commShift_op E0 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] {F G : CategoryTheory.Functor C D}
  [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] (τ : F ⟶ G) [CategoryTheory.NatTrans.CommShift τ A],
  CategoryTheory.NatTrans.CommShift (CategoryTheory.OppositeShift.natTrans A τ) A

def CategoryTheory.NatTrans.OppositeShift.natIsoId E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (A : Type u_3) →
      [inst_1 : AddMonoid A] →
        [inst_2 : CategoryTheory.HasShift C A] →
          CategoryTheory.Functor.id (CategoryTheory.OppositeShift C A) ≅
            CategoryTheory.OppositeShift.functor A (CategoryTheory.Functor.id C)

The obvious isomorphism between the identity of OppositeShift C A and OppositeShift.functor (𝟙 C).

instance CategoryTheory.NatTrans.instCommShiftOppositeShiftHomFunctorNatIsoId E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (A : Type u_3) [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A],
  CategoryTheory.NatTrans.CommShift (CategoryTheory.NatTrans.OppositeShift.natIsoId C A).hom A

The natural isomorphism NatTrans.OppositeShift.natIsoId C A commutes with shifts.

def CategoryTheory.NatTrans.OppositeShift.natIsoComp E1 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        (A : Type u_3) →
          [inst_2 : AddMonoid A] →
            [inst_3 : CategoryTheory.HasShift C A] →
              [inst_4 : CategoryTheory.HasShift D A] →
                (F : CategoryTheory.Functor C D) →
                  {E : Type u_4} →
                    [inst_5 : CategoryTheory.Category.{v_3, u_4} E] →
                      [inst_6 : CategoryTheory.HasShift E A] →
                        (G : CategoryTheory.Functor D E) →
                          CategoryTheory.OppositeShift.functor A (F.comp G) ≅
                            (CategoryTheory.OppositeShift.functor A F).comp (CategoryTheory.OppositeShift.functor A G)

The obvious isomorphism between OppositeShift.functor (F ⋙ G) and the composition of OppositeShift.functor F and OppositeShift.functor G.

instance CategoryTheory.NatTrans.instCommShiftOppositeShiftHomFunctorNatIsoComp E0 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] (F : CategoryTheory.Functor C D)
  {E : Type u_4} [inst_5 : CategoryTheory.Category.{v_3, u_4} E] [inst_6 : CategoryTheory.HasShift E A]
  (G : CategoryTheory.Functor D E) [inst_7 : F.CommShift A] [inst_8 : G.CommShift A],
  CategoryTheory.NatTrans.CommShift (CategoryTheory.NatTrans.OppositeShift.natIsoComp A F G).hom A

def CategoryTheory.OppositeShift.adjunction E1 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        (A : Type u_3) →
          [inst_2 : AddMonoid A] →
            [inst_3 : CategoryTheory.HasShift C A] →
              [inst_4 : CategoryTheory.HasShift D A] →
                {F : CategoryTheory.Functor C D} →
                  {G : CategoryTheory.Functor D C} →
                    (F ⊣ G) → (CategoryTheory.OppositeShift.functor A G ⊣ CategoryTheory.OppositeShift.functor A F)

The adjunction adj, seen as an adjunction between OppositeShift.functor G and OppositeShift.functor F.

theorem CategoryTheory.OppositeShift.adjunction_unit E1 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] {F : CategoryTheory.Functor C D}
  {G : CategoryTheory.Functor D C} (adj : F ⊣ G),
  (CategoryTheory.OppositeShift.adjunction A adj).unit =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.NatTrans.OppositeShift.natIsoId D A).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.OppositeShift.natTrans A adj.counit)
        (CategoryTheory.NatTrans.OppositeShift.natIsoComp A G F).hom)

theorem CategoryTheory.OppositeShift.adjunction_counit E1 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] {F : CategoryTheory.Functor C D}
  {G : CategoryTheory.Functor D C} (adj : F ⊣ G),
  (CategoryTheory.OppositeShift.adjunction A adj).counit =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.NatTrans.OppositeShift.natIsoComp A F G).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.OppositeShift.natTrans A adj.unit)
        (CategoryTheory.NatTrans.OppositeShift.natIsoId C A).inv)

instance CategoryTheory.Adjunction.commShift_op E0 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] {F : CategoryTheory.Functor C D}
  {G : CategoryTheory.Functor D C} (adj : F ⊣ G) [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A],
  (CategoryTheory.OppositeShift.adjunction A adj).CommShift A

If an adjunction F ⊣ G is compatible with CommShift structures on F and G, then the opposite adjunction OppositeShift.adjunction adj is compatible with the opposite CommShift structures.