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

66 declarations. Mathlib docs · Source

Adjoints commute with shifts

Given categories C and D that have shifts by an additive group A, functors F : C ⥤ D and G : C ⥤ D, an adjunction F ⊣ G and a CommShift structure on F, this file constructs a CommShift structure on G. We also do the construction in the other direction: given a CommShift structure on G, we construct a CommShift structure on G; we could do this using opposite categories, but the construction is simple enough that it is not really worth it. As an easy application, if E : C ≌ D is an equivalence and E.functor has a CommShift structure, we get a CommShift structure on E.inverse.

We now explain the construction of a CommShift structure on G given a CommShift structure on F; the other direction is similar. The CommShift structure on G must be compatible with the one on F in the following sense (cf. Adjunction.CommShift): for every a in A, the natural transformation adj.unit : 𝟭 C ⟶ G ⋙ F commutes with the isomorphism shiftFunctor C A ⋙ G ⋙ F ≅ G ⋙ F ⋙ shiftFunctor C A induces by F.commShiftIso a and G.commShiftIso a. We actually require a similar condition for adj.counit, but it follows from the one for adj.unit.

In order to simplify the construction of the CommShift structure on G, we first introduce the compatibility condition on adj.unit for a fixed a in A and for isomorphisms e₁ : shiftFunctor C a ⋙ F ≅ F ⋙ shiftFunctor D a and e₂ : shiftFunctor D a ⋙ G ≅ G ⋙ shiftFunctor C a. We then prove that:

  • If e₁ and e₂ satisfy this condition, then e₁ uniquely determines e₂ and vice versa.
  • If a = 0, the isomorphisms Functor.CommShift.isoZero F and Functor.CommShift.isoZero G satisfy the condition.
  • The condition is stable by addition on A, if we use Functor.CommShift.isoAdd to deduce commutation isomorphism for a + b from such isomorphism from a and b.
  • Given commutation isomorphisms for F, our candidate commutation isomorphisms for G, constructed in Adjunction.RightAdjointCommShift.iso, satisfy the compatibility condition.

Once we have established all this, the compatibility of the commutation isomorphism for F expressed in CommShift.zero and CommShift.add immediately implies the similar statements for the commutation isomorphisms for G.

abbrev CategoryTheory.Adjunction.CommShift.CompatibilityUnit 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] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              {A : Type u_3} →
                [inst_2 : AddMonoid A] →
                  [inst_3 : CategoryTheory.HasShift C A] →
                    [inst_4 : CategoryTheory.HasShift D A] →
                      {a : A} →
                        ((CategoryTheory.shiftFunctor C a).comp F ≅ F.comp (CategoryTheory.shiftFunctor D a)) →
                          ((CategoryTheory.shiftFunctor D a).comp G ≅ G.comp (CategoryTheory.shiftFunctor C a)) → Prop

Given an adjunction adj : F ⊣ G, a in A and commutation isomorphisms e₁ : shiftFunctor C a ⋙ F ≅ F ⋙ shiftFunctor D a and e₂ : shiftFunctor D a ⋙ G ≅ G ⋙ shiftFunctor C a, this expresses the compatibility of e₁ and e₂ with the unit of the adjunction adj.

abbrev CategoryTheory.Adjunction.CommShift.CompatibilityCounit 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] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              {A : Type u_3} →
                [inst_2 : AddMonoid A] →
                  [inst_3 : CategoryTheory.HasShift C A] →
                    [inst_4 : CategoryTheory.HasShift D A] →
                      {a : A} →
                        ((CategoryTheory.shiftFunctor C a).comp F ≅ F.comp (CategoryTheory.shiftFunctor D a)) →
                          ((CategoryTheory.shiftFunctor D a).comp G ≅ G.comp (CategoryTheory.shiftFunctor C a)) → Prop

Given an adjunction adj : F ⊣ G, a in A and commutation isomorphisms e₁ : shiftFunctor C a ⋙ F ≅ F ⋙ shiftFunctor D a and e₂ : shiftFunctor D a ⋙ G ≅ G ⋙ shiftFunctor C a, this expresses the compatibility of e₁ and e₂ with the counit of the adjunction adj.

theorem CategoryTheory.Adjunction.CommShift.compatibilityCounit_of_compatibilityUnit 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] {a : A}
  (e₁ : (CategoryTheory.shiftFunctor C a).comp F ≅ F.comp (CategoryTheory.shiftFunctor D a))
  (e₂ : (CategoryTheory.shiftFunctor D a).comp G ≅ G.comp (CategoryTheory.shiftFunctor C a)),
  CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj e₁ e₂ →
    CategoryTheory.Adjunction.CommShift.CompatibilityCounit adj e₁ e₂

Given an adjunction adj : F ⊣ G, a in A and commutation isomorphisms e₁ : shiftFunctor C a ⋙ F ≅ F ⋙ shiftFunctor D a and e₂ : shiftFunctor D a ⋙ G ≅ G ⋙ shiftFunctor C a, compatibility of e₁ and e₂ with the unit of the adjunction adj implies compatibility with the counit of adj.

theorem CategoryTheory.Adjunction.CommShift.compatibilityUnit_right 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] {a : A}
  (e₁ : (CategoryTheory.shiftFunctor C a).comp F ≅ F.comp (CategoryTheory.shiftFunctor D a))
  (e₂ : (CategoryTheory.shiftFunctor D a).comp G ≅ G.comp (CategoryTheory.shiftFunctor C a)),
  CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj e₁ e₂ →
    ∀ (Y : D),
      e₂.inv.app Y =
        CategoryTheory.CategoryStruct.comp (adj.unit.app (G.obj Y⟦a⟧))
          (CategoryTheory.CategoryStruct.comp (G.map (e₁.hom.app (G.obj Y))) (G.map (adj.counit.app Y⟦a⟧')))

Given an adjunction adj : F ⊣ G, a in A and commutation isomorphisms e₁ : shiftFunctor C a ⋙ F ≅ F ⋙ shiftFunctor D a and e₂ : shiftFunctor D a ⋙ G ≅ G ⋙ shiftFunctor C a, if e₁ and e₂ are compatible with the unit of the adjunction adj, then we get a formula for e₂.inv in terms of e₁.

theorem CategoryTheory.Adjunction.CommShift.compatibilityCounit_left 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] {a : A}
  (e₁ : (CategoryTheory.shiftFunctor C a).comp F ≅ F.comp (CategoryTheory.shiftFunctor D a))
  (e₂ : (CategoryTheory.shiftFunctor D a).comp G ≅ G.comp (CategoryTheory.shiftFunctor C a)),
  CategoryTheory.Adjunction.CommShift.CompatibilityCounit adj e₁ e₂ →
    ∀ (X : C),
      e₁.hom.app X =
        CategoryTheory.CategoryStruct.comp (F.map (adj.unit.app X⟦a⟧'))
          (CategoryTheory.CategoryStruct.comp (F.map (e₂.inv.app (F.obj X))) (adj.counit.app (F.obj X⟦a⟧)))

Given an adjunction adj : F ⊣ G, a in A and commutation isomorphisms e₁ : shiftFunctor C a ⋙ F ≅ F ⋙ shiftFunctor D a and e₂ : shiftFunctor D a ⋙ G ≅ G ⋙ shiftFunctor C a, if e₁ and e₂ are compatible with the counit of the adjunction adj, then we get a formula for e₁.hom in terms of e₂.

theorem CategoryTheory.Adjunction.CommShift.compatibilityUnit_unique_right 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] {a : A}
  (e₁ : (CategoryTheory.shiftFunctor C a).comp F ≅ F.comp (CategoryTheory.shiftFunctor D a))
  (e₂ e₂' : (CategoryTheory.shiftFunctor D a).comp G ≅ G.comp (CategoryTheory.shiftFunctor C a)),
  CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj e₁ e₂ →
    CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj e₁ e₂' → e₂ = e₂'

Given an adjunction adj : F ⊣ G, a in A and commutation isomorphisms e₁ : shiftFunctor C a ⋙ F ≅ F ⋙ shiftFunctor D a and e₂ : shiftFunctor D a ⋙ G ≅ G ⋙ shiftFunctor C a, if e₁ and e₂ are compatible with the unit of the adjunction adj, then e₁ uniquely determines e₂.

theorem CategoryTheory.Adjunction.CommShift.compatibilityUnit_unique_left 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] {a : A}
  (e₁ e₁' : (CategoryTheory.shiftFunctor C a).comp F ≅ F.comp (CategoryTheory.shiftFunctor D a))
  (e₂ : (CategoryTheory.shiftFunctor D a).comp G ≅ G.comp (CategoryTheory.shiftFunctor C a)),
  CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj e₁ e₂ →
    CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj e₁' e₂ → e₁ = e₁'

Given an adjunction adj : F ⊣ G, a in A and commutation isomorphisms e₁ : shiftFunctor C a ⋙ F ≅ F ⋙ shiftFunctor D a and e₂ : shiftFunctor D a ⋙ G ≅ G ⋙ shiftFunctor C a, if e₁ and e₂ are compatible with the unit of the adjunction adj, then e₂ uniquely determines e₁.

theorem CategoryTheory.Adjunction.CommShift.compatibilityUnit_isoZero 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A],
  CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj (CategoryTheory.Functor.CommShift.isoZero F A)
    (CategoryTheory.Functor.CommShift.isoZero G A)

The isomorphisms Functor.CommShift.isoZero F and Functor.CommShift.isoZero G are compatible with the unit of an adjunction F ⊣ G.

theorem CategoryTheory.Adjunction.CommShift.compatibilityUnit_isoAdd 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] {a b : A}
  (e₁ : (CategoryTheory.shiftFunctor C a).comp F ≅ F.comp (CategoryTheory.shiftFunctor D a))
  (f₁ : (CategoryTheory.shiftFunctor C b).comp F ≅ F.comp (CategoryTheory.shiftFunctor D b))
  (e₂ : (CategoryTheory.shiftFunctor D a).comp G ≅ G.comp (CategoryTheory.shiftFunctor C a))
  (f₂ : (CategoryTheory.shiftFunctor D b).comp G ≅ G.comp (CategoryTheory.shiftFunctor C b)),
  CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj e₁ e₂ →
    CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj f₁ f₂ →
      CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj (CategoryTheory.Functor.CommShift.isoAdd e₁ f₁)
        (CategoryTheory.Functor.CommShift.isoAdd e₂ f₂)

Given an adjunction adj : F ⊣ G, a, b in A and commutation isomorphisms between shifts by a (resp. b) and F and G, if these commutation isomorphisms are compatible with the unit of adj, then so are the commutation isomorphisms between shifts by a + b and F and G constructed by Functor.CommShift.isoAdd.

class CategoryTheory.Adjunction.CommShift 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] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              (A : Type u_3) →
                [inst_2 : AddMonoid A] →
                  [inst_3 : CategoryTheory.HasShift C A] →
                    [inst_4 : CategoryTheory.HasShift D A] → [F.CommShift A] → [G.CommShift A] → Prop

The property for CommShift structures on F and G to be compatible with an adjunction F ⊣ G.

ctor CategoryTheory.Adjunction.CommShift.mk 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  {adj : F ⊣ G} {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A],
  autoParam (CategoryTheory.NatTrans.CommShift adj.unit A)
      CategoryTheory.Adjunction.CommShift.commShift_unit._autoParam →
    autoParam (CategoryTheory.NatTrans.CommShift adj.counit A)
        CategoryTheory.Adjunction.CommShift.commShift_counit._autoParam →
      adj.CommShift A

instance CategoryTheory.Adjunction.CommShift.commShift_unit 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} {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  {adj : F ⊣ G} {A : Type u_3} {inst_2 : AddMonoid A} {inst_3 : CategoryTheory.HasShift C A}
  {inst_4 : CategoryTheory.HasShift D A} {inst_5 : F.CommShift A} {inst_6 : G.CommShift A} [self : adj.CommShift A],
  CategoryTheory.NatTrans.CommShift adj.unit A

instance CategoryTheory.Adjunction.CommShift.commShift_counit 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} {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  {adj : F ⊣ G} {A : Type u_3} {inst_2 : AddMonoid A} {inst_3 : CategoryTheory.HasShift C A}
  {inst_4 : CategoryTheory.HasShift D A} {inst_5 : F.CommShift A} {inst_6 : G.CommShift A} [self : adj.CommShift A],
  CategoryTheory.NatTrans.CommShift adj.counit A

theorem CategoryTheory.Adjunction.unit_app_commShiftIso_hom_app_assoc 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (X : C) {Z : C} (h : G.obj (F.obj X)⟦a⟧ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (adj.unit.app (X⟦a⟧))
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (F.comp G) a).hom.app X) h) =
    CategoryTheory.CategoryStruct.comp (adj.unit.app X⟦a⟧') h

theorem CategoryTheory.Adjunction.unit_app_commShiftIso_hom_app 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (X : C),
  CategoryTheory.CategoryStruct.comp (adj.unit.app (X⟦a⟧))
      ((CategoryTheory.Functor.commShiftIso (F.comp G) a).hom.app X) =
    adj.unit.app X⟦a⟧'

theorem CategoryTheory.Adjunction.unit_app_shift_commShiftIso_inv_app 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (X : C),
  CategoryTheory.CategoryStruct.comp (adj.unit.app X⟦a⟧')
      ((CategoryTheory.Functor.commShiftIso (F.comp G) a).inv.app X) =
    adj.unit.app (X⟦a⟧)

theorem CategoryTheory.Adjunction.unit_app_shift_commShiftIso_inv_app_assoc 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (X : C) {Z : C} (h : G.obj (F.obj (X⟦a⟧)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (adj.unit.app X⟦a⟧')
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (F.comp G) a).inv.app X) h) =
    CategoryTheory.CategoryStruct.comp (adj.unit.app (X⟦a⟧)) h

theorem CategoryTheory.Adjunction.commShiftIso_hom_app_counit_app_shift_assoc 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (Y : D) {Z : D} (h : Y⟦a⟧ ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.comp F) a).hom.app Y)
      (CategoryTheory.CategoryStruct.comp (adj.counit.app Y⟦a⟧') h) =
    CategoryTheory.CategoryStruct.comp (adj.counit.app (Y⟦a⟧)) h

theorem CategoryTheory.Adjunction.commShiftIso_hom_app_counit_app_shift 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (Y : D),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.comp F) a).hom.app Y)
      (adj.counit.app Y⟦a⟧') =
    adj.counit.app (Y⟦a⟧)

theorem CategoryTheory.Adjunction.commShiftIso_inv_app_counit_app_assoc 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (Y : D) {Z : D} (h : Y⟦a⟧ ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.comp F) a).inv.app Y)
      (CategoryTheory.CategoryStruct.comp (adj.counit.app (Y⟦a⟧)) h) =
    CategoryTheory.CategoryStruct.comp (adj.counit.app Y⟦a⟧') h

theorem CategoryTheory.Adjunction.commShiftIso_inv_app_counit_app 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (Y : D),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.comp F) a).inv.app Y)
      (adj.counit.app (Y⟦a⟧)) =
    adj.counit.app Y⟦a⟧'

theorem CategoryTheory.Adjunction.CommShift.mk' 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A],
  CategoryTheory.NatTrans.CommShift adj.unit A → adj.CommShift A

Constructor for Adjunction.CommShift.

instance CategoryTheory.Adjunction.CommShift.instId 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.Adjunction.id.CommShift A

The identity adjunction is compatible with the trivial CommShift structure on the identity functor.

instance CategoryTheory.Adjunction.CommShift.instComp 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] {E : Type u_4}
  [inst_7 : CategoryTheory.Category.{v_3, u_4} E] {F' : CategoryTheory.Functor D E} {G' : CategoryTheory.Functor E D}
  (adj' : F' ⊣ G') [inst_8 : CategoryTheory.HasShift E A] [inst_9 : F'.CommShift A] [inst_10 : G'.CommShift A]
  [adj.CommShift A] [adj'.CommShift A], (adj.comp adj').CommShift A

Compatibility of Adjunction.Commshift with the composition of adjunctions.

theorem CategoryTheory.Adjunction.shift_unit_app 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (X : C),
  adj.unit.app X⟦a⟧' =
    CategoryTheory.CategoryStruct.comp (adj.unit.app (X⟦a⟧))
      (CategoryTheory.CategoryStruct.comp (G.map ((CategoryTheory.Functor.commShiftIso F a).hom.app X))
        ((CategoryTheory.Functor.commShiftIso G a).hom.app (F.obj X)))

theorem CategoryTheory.Adjunction.shift_unit_app_assoc 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (X : C) {Z : C} (h : G.obj (F.obj X)⟦a⟧ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (adj.unit.app X⟦a⟧') h =
    CategoryTheory.CategoryStruct.comp (adj.unit.app (X⟦a⟧))
      (CategoryTheory.CategoryStruct.comp (G.map ((CategoryTheory.Functor.commShiftIso F a).hom.app X))
        (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso G a).hom.app (F.obj X)) h))

theorem CategoryTheory.Adjunction.shift_counit_app 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (Y : D),
  adj.counit.app Y⟦a⟧' =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso F a).inv.app (G.obj Y))
      (CategoryTheory.CategoryStruct.comp (F.map ((CategoryTheory.Functor.commShiftIso G a).inv.app Y))
        (adj.counit.app (Y⟦a⟧)))

theorem CategoryTheory.Adjunction.shift_counit_app_assoc 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddMonoid A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] [inst_6 : G.CommShift A] [adj.CommShift A] (a : A)
  (Y : D) {Z : D} (h : Y⟦a⟧ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (adj.counit.app Y⟦a⟧') h =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso F a).inv.app (G.obj Y))
      (CategoryTheory.CategoryStruct.comp (F.map ((CategoryTheory.Functor.commShiftIso G a).inv.app Y))
        (CategoryTheory.CategoryStruct.comp (adj.counit.app (Y⟦a⟧)) h))

def CategoryTheory.Adjunction.RightAdjointCommShift.iso' 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] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              {A : Type u_3} →
                [inst_2 : AddGroup A] →
                  [inst_3 : CategoryTheory.HasShift C A] →
                    [inst_4 : CategoryTheory.HasShift D A] →
                      (a b : A) →
                        b + a = 0 →
                          [F.CommShift A] →
                            (CategoryTheory.shiftFunctor D a).comp G ≅ G.comp (CategoryTheory.shiftFunctor C a)

Auxiliary definition for iso.

def CategoryTheory.Adjunction.RightAdjointCommShift.iso 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] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              {A : Type u_3} →
                [inst_2 : AddGroup A] →
                  [inst_3 : CategoryTheory.HasShift C A] →
                    [inst_4 : CategoryTheory.HasShift D A] →
                      (a : A) →
                        [F.CommShift A] →
                          (CategoryTheory.shiftFunctor D a).comp G ≅ G.comp (CategoryTheory.shiftFunctor C a)

Given an adjunction F ⊣ G and a CommShift structure on F, these are the candidate CommShift.iso a isomorphisms for a compatible CommShift structure on G.

theorem CategoryTheory.Adjunction.RightAdjointCommShift.iso_hom_app_assoc 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] (a b : A) (h : b + a = 0) [inst_5 : F.CommShift A] (X : D) {Z : C}
  (h_1 : G.obj X⟦a⟧ ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Adjunction.RightAdjointCommShift.iso adj a).hom.app X) h_1 =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.shiftFunctorCompIsoId C b a h).inv.app (G.obj (X⟦a⟧)))
      (CategoryTheory.CategoryStruct.comp (adj.unit.app (G.obj (X⟦a⟧)⟦b⟧)⟦a⟧')
        (CategoryTheory.CategoryStruct.comp
          (G.map ((CategoryTheory.Functor.commShiftIso F b).hom.app (G.obj (X⟦a⟧)))⟦a⟧')
          (CategoryTheory.CategoryStruct.comp (G.map (adj.counit.app (X⟦a⟧)⟦b⟧')⟦a⟧')
            (CategoryTheory.CategoryStruct.comp (G.map ((CategoryTheory.shiftFunctorCompIsoId D a b ⋯).hom.app X)⟦a⟧')
              h_1))))

theorem CategoryTheory.Adjunction.RightAdjointCommShift.iso_hom_app 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] (a b : A) (h : b + a = 0) [inst_5 : F.CommShift A] (X : D),
  (CategoryTheory.Adjunction.RightAdjointCommShift.iso adj a).hom.app X =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.shiftFunctorCompIsoId C b a h).inv.app (G.obj (X⟦a⟧)))
      (CategoryTheory.CategoryStruct.comp (adj.unit.app (G.obj (X⟦a⟧)⟦b⟧)⟦a⟧')
        (CategoryTheory.CategoryStruct.comp
          (G.map ((CategoryTheory.Functor.commShiftIso F b).hom.app (G.obj (X⟦a⟧)))⟦a⟧')
          (CategoryTheory.CategoryStruct.comp (G.map (adj.counit.app (X⟦a⟧)⟦b⟧')⟦a⟧')
            (G.map ((CategoryTheory.shiftFunctorCompIsoId D a b ⋯).hom.app X)⟦a⟧'))))

theorem CategoryTheory.Adjunction.RightAdjointCommShift.iso_inv_app 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] (a b : A) (h : b + a = 0) [inst_5 : F.CommShift A] (Y : D),
  (CategoryTheory.Adjunction.RightAdjointCommShift.iso adj a).inv.app Y =
    CategoryTheory.CategoryStruct.comp (adj.unit.app (G.obj Y⟦a⟧))
      (CategoryTheory.CategoryStruct.comp
        (G.map ((CategoryTheory.shiftFunctorCompIsoId D b a h).inv.app (F.obj (G.obj Y⟦a⟧))))
        (CategoryTheory.CategoryStruct.comp
          (G.map ((CategoryTheory.Functor.commShiftIso F a).hom.app (G.obj Y)⟦b⟧'⟦a⟧'))
          (CategoryTheory.CategoryStruct.comp
            (G.map ((CategoryTheory.shiftFunctorCompIsoId D a b ⋯).hom.app (F.obj (G.obj Y))⟦a⟧'))
            (G.map (adj.counit.app Y⟦a⟧')))))

theorem CategoryTheory.Adjunction.RightAdjointCommShift.iso_inv_app_assoc 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] (a b : A) (h : b + a = 0) [inst_5 : F.CommShift A] (Y : D) {Z : C}
  (h_1 : G.obj (Y⟦a⟧) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Adjunction.RightAdjointCommShift.iso adj a).inv.app Y) h_1 =
    CategoryTheory.CategoryStruct.comp (adj.unit.app (G.obj Y⟦a⟧))
      (CategoryTheory.CategoryStruct.comp
        (G.map ((CategoryTheory.shiftFunctorCompIsoId D b a h).inv.app (F.obj (G.obj Y⟦a⟧))))
        (CategoryTheory.CategoryStruct.comp
          (G.map ((CategoryTheory.Functor.commShiftIso F a).hom.app (G.obj Y)⟦b⟧'⟦a⟧'))
          (CategoryTheory.CategoryStruct.comp
            (G.map ((CategoryTheory.shiftFunctorCompIsoId D a b ⋯).hom.app (F.obj (G.obj Y))⟦a⟧'))
            (CategoryTheory.CategoryStruct.comp (G.map (adj.counit.app Y⟦a⟧')) h_1))))

theorem CategoryTheory.Adjunction.RightAdjointCommShift.compatibilityUnit_iso 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] (a : A),
  CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj (CategoryTheory.Functor.commShiftIso F a)
    (CategoryTheory.Adjunction.RightAdjointCommShift.iso adj a)

The commutation isomorphisms of Adjunction.RightAdjointCommShift.iso are compatible with the unit of the adjunction.

def CategoryTheory.Adjunction.rightAdjointCommShift 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] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              (A : Type u_3) →
                [inst_2 : AddGroup A] →
                  [inst_3 : CategoryTheory.HasShift C A] →
                    [inst_4 : CategoryTheory.HasShift D A] → [F.CommShift A] → G.CommShift A

Given an adjunction F ⊣ G and a CommShift structure on F, this constructs the unique compatible CommShift structure on G.

theorem CategoryTheory.Adjunction.rightAdjointCommShift_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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A] (a : A),
  CategoryTheory.Functor.commShiftIso G a = CategoryTheory.Adjunction.RightAdjointCommShift.iso adj a

theorem CategoryTheory.Adjunction.commShift_of_leftAdjoint 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : F.CommShift A], adj.CommShift A

def CategoryTheory.Adjunction.LeftAdjointCommShift.iso' 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] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              {A : Type u_3} →
                [inst_2 : AddGroup A] →
                  [inst_3 : CategoryTheory.HasShift C A] →
                    [inst_4 : CategoryTheory.HasShift D A] →
                      (a b : A) →
                        a + b = 0 →
                          [G.CommShift A] →
                            (CategoryTheory.shiftFunctor C a).comp F ≅ F.comp (CategoryTheory.shiftFunctor D a)

Auxiliary definition for iso.

def CategoryTheory.Adjunction.LeftAdjointCommShift.iso 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] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              {A : Type u_3} →
                [inst_2 : AddGroup A] →
                  [inst_3 : CategoryTheory.HasShift C A] →
                    [inst_4 : CategoryTheory.HasShift D A] →
                      (a : A) →
                        [G.CommShift A] →
                          (CategoryTheory.shiftFunctor C a).comp F ≅ F.comp (CategoryTheory.shiftFunctor D a)

Given an adjunction F ⊣ G and a CommShift structure on G, these are the candidate CommShift.iso a isomorphisms for a compatible CommShift structure on F.

theorem CategoryTheory.Adjunction.LeftAdjointCommShift.iso_hom_app_assoc 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] (a b : A) (h : a + b = 0) [inst_5 : G.CommShift A] (X : C) {Z : D}
  (h_1 : F.obj X⟦a⟧ ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Adjunction.LeftAdjointCommShift.iso adj a).hom.app X) h_1 =
    CategoryTheory.CategoryStruct.comp (F.map (adj.unit.app X⟦a⟧'))
      (CategoryTheory.CategoryStruct.comp
        (F.map (G.map ((CategoryTheory.shiftFunctorCompIsoId D a b h).inv.app (F.obj X))⟦a⟧'))
        (CategoryTheory.CategoryStruct.comp (F.map ((CategoryTheory.Functor.commShiftIso G b).hom.app (F.obj X⟦a⟧)⟦a⟧'))
          (CategoryTheory.CategoryStruct.comp
            (F.map ((CategoryTheory.shiftFunctorCompIsoId C b a ⋯).hom.app (G.obj (F.obj X⟦a⟧))))
            (CategoryTheory.CategoryStruct.comp (adj.counit.app (F.obj X⟦a⟧)) h_1))))

theorem CategoryTheory.Adjunction.LeftAdjointCommShift.iso_hom_app 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] (a b : A) (h : a + b = 0) [inst_5 : G.CommShift A] (X : C),
  (CategoryTheory.Adjunction.LeftAdjointCommShift.iso adj a).hom.app X =
    CategoryTheory.CategoryStruct.comp (F.map (adj.unit.app X⟦a⟧'))
      (CategoryTheory.CategoryStruct.comp
        (F.map (G.map ((CategoryTheory.shiftFunctorCompIsoId D a b h).inv.app (F.obj X))⟦a⟧'))
        (CategoryTheory.CategoryStruct.comp (F.map ((CategoryTheory.Functor.commShiftIso G b).hom.app (F.obj X⟦a⟧)⟦a⟧'))
          (CategoryTheory.CategoryStruct.comp
            (F.map ((CategoryTheory.shiftFunctorCompIsoId C b a ⋯).hom.app (G.obj (F.obj X⟦a⟧))))
            (adj.counit.app (F.obj X⟦a⟧)))))

theorem CategoryTheory.Adjunction.LeftAdjointCommShift.iso_inv_app_assoc 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] (a b : A) (h : a + b = 0) [inst_5 : G.CommShift A] (Y : C) {Z : D}
  (h_1 : F.obj (Y⟦a⟧) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Adjunction.LeftAdjointCommShift.iso adj a).inv.app Y) h_1 =
    CategoryTheory.CategoryStruct.comp (F.map ((CategoryTheory.shiftFunctorCompIsoId C a b h).inv.app Y)⟦a⟧')
      (CategoryTheory.CategoryStruct.comp (F.map (adj.unit.app (Y⟦a⟧)⟦b⟧')⟦a⟧')
        (CategoryTheory.CategoryStruct.comp
          (F.map ((CategoryTheory.Functor.commShiftIso G b).inv.app (F.obj (Y⟦a⟧)))⟦a⟧')
          (CategoryTheory.CategoryStruct.comp (adj.counit.app (F.obj (Y⟦a⟧)⟦b⟧)⟦a⟧')
            (CategoryTheory.CategoryStruct.comp ((CategoryTheory.shiftFunctorCompIsoId D b a ⋯).hom.app (F.obj (Y⟦a⟧)))
              h_1))))

theorem CategoryTheory.Adjunction.LeftAdjointCommShift.iso_inv_app 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] (a b : A) (h : a + b = 0) [inst_5 : G.CommShift A] (Y : C),
  (CategoryTheory.Adjunction.LeftAdjointCommShift.iso adj a).inv.app Y =
    CategoryTheory.CategoryStruct.comp (F.map ((CategoryTheory.shiftFunctorCompIsoId C a b h).inv.app Y)⟦a⟧')
      (CategoryTheory.CategoryStruct.comp (F.map (adj.unit.app (Y⟦a⟧)⟦b⟧')⟦a⟧')
        (CategoryTheory.CategoryStruct.comp
          (F.map ((CategoryTheory.Functor.commShiftIso G b).inv.app (F.obj (Y⟦a⟧)))⟦a⟧')
          (CategoryTheory.CategoryStruct.comp (adj.counit.app (F.obj (Y⟦a⟧)⟦b⟧)⟦a⟧')
            ((CategoryTheory.shiftFunctorCompIsoId D b a ⋯).hom.app (F.obj (Y⟦a⟧))))))

theorem CategoryTheory.Adjunction.LeftAdjointCommShift.compatibilityUnit_iso 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) {A : Type u_3} [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : G.CommShift A] (a : A),
  CategoryTheory.Adjunction.CommShift.CompatibilityUnit adj (CategoryTheory.Adjunction.LeftAdjointCommShift.iso adj a)
    (CategoryTheory.Functor.commShiftIso G a)

The commutation isomorphisms of Adjunction.LeftAdjointCommShift.iso are compatible with the unit of the adjunction.

def CategoryTheory.Adjunction.leftAdjointCommShift 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] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              (A : Type u_3) →
                [inst_2 : AddGroup A] →
                  [inst_3 : CategoryTheory.HasShift C A] →
                    [inst_4 : CategoryTheory.HasShift D A] → [G.CommShift A] → F.CommShift A

Given an adjunction F ⊣ G and a CommShift structure on G, this constructs the unique compatible CommShift structure on F.

theorem CategoryTheory.Adjunction.leftAdjointCommShift_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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : G.CommShift A] (a : A),
  CategoryTheory.Functor.commShiftIso F a = CategoryTheory.Adjunction.LeftAdjointCommShift.iso adj a

theorem CategoryTheory.Adjunction.commShift_of_rightAdjoint 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] {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C}
  (adj : F ⊣ G) (A : Type u_3) [inst_2 : AddGroup A] [inst_3 : CategoryTheory.HasShift C A]
  [inst_4 : CategoryTheory.HasShift D A] [inst_5 : G.CommShift A], adj.CommShift A

abbrev CategoryTheory.Equivalence.CommShift 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] →
        (E : C ≌ D) →
          (A : Type u_3) →
            [inst_2 : AddMonoid A] →
              [inst_3 : CategoryTheory.HasShift C A] →
                [inst_4 : CategoryTheory.HasShift D A] → [E.functor.CommShift A] → [E.inverse.CommShift A] → Prop

If E : C ≌ D is an equivalence, this expresses the compatibility of CommShift structures on E.functor and E.inverse.

instance CategoryTheory.Equivalence.CommShift.instCommShiftHomFunctorUnitIso 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] (E : C ≌ D) (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] [inst_5 : E.functor.CommShift A]
  [inst_6 : E.inverse.CommShift A] [E.CommShift A], CategoryTheory.NatTrans.CommShift E.unitIso.hom A

instance CategoryTheory.Equivalence.CommShift.instCommShiftHomFunctorCounitIso 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] (E : C ≌ D) (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] [inst_5 : E.functor.CommShift A]
  [inst_6 : E.inverse.CommShift A] [E.CommShift A], CategoryTheory.NatTrans.CommShift E.counitIso.hom A

instance CategoryTheory.Equivalence.CommShift.instCommShiftInverseSymm 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] →
        (E : C ≌ D) →
          (A : Type u_3) →
            [inst_2 : AddMonoid A] →
              [inst_3 : CategoryTheory.HasShift C A] →
                [inst_4 : CategoryTheory.HasShift D A] → [E.functor.CommShift A] → E.symm.inverse.CommShift A

instance CategoryTheory.Equivalence.CommShift.instCommShiftFunctorSymm 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] →
        (E : C ≌ D) →
          (A : Type u_3) →
            [inst_2 : AddMonoid A] →
              [inst_3 : CategoryTheory.HasShift C A] →
                [inst_4 : CategoryTheory.HasShift D A] → [E.inverse.CommShift A] → E.symm.functor.CommShift A

theorem CategoryTheory.Equivalence.CommShift.mk' 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] (E : C ≌ D) (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] [inst_5 : E.functor.CommShift A]
  [inst_6 : E.inverse.CommShift A], CategoryTheory.NatTrans.CommShift E.unitIso.hom A → E.CommShift A

Constructor for Equivalence.CommShift.

instance CategoryTheory.Equivalence.CommShift.instCommShiftFunctorRefl 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.Equivalence.refl.functor.CommShift A

The forward functor of the identity equivalence is compatible with shifts.

instance CategoryTheory.Equivalence.CommShift.instCommShiftInverseRefl 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.Equivalence.refl.inverse.CommShift A

The inverse functor of the identity equivalence is compatible with shifts.

instance CategoryTheory.Equivalence.CommShift.instRefl 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.Equivalence.refl.CommShift A

The identity equivalence is compatible with shifts.

instance CategoryTheory.Equivalence.CommShift.instSymm 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] (E : C ≌ D) (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] [inst_5 : E.functor.CommShift A]
  [inst_6 : E.inverse.CommShift A] [E.CommShift A], E.symm.CommShift A

If an equivalence E : C ≌ D is compatible with shifts, so is E.symm.

theorem CategoryTheory.Equivalence.CommShift.mk'' 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] (E : C ≌ D) (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] [inst_5 : E.functor.CommShift A]
  [inst_6 : E.inverse.CommShift A], CategoryTheory.NatTrans.CommShift E.counitIso.hom A → E.CommShift A

Constructor for Equivalence.CommShift.

instance CategoryTheory.Equivalence.CommShift.instCommShiftFunctorTrans 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] →
        (E : C ≌ D) →
          (A : Type u_3) →
            [inst_2 : AddMonoid A] →
              [inst_3 : CategoryTheory.HasShift C A] →
                [inst_4 : CategoryTheory.HasShift D A] →
                  [E.functor.CommShift A] →
                    {F : Type u_4} →
                      [inst_6 : CategoryTheory.Category.{v_3, u_4} F] →
                        [inst_7 : CategoryTheory.HasShift F A] →
                          {E' : D ≌ F} → [E'.functor.CommShift A] → (E.trans E').functor.CommShift A

If E : C ≌ D and E' : D ≌ F are equivalences whose forward functors are compatible with shifts, so is (E.trans E').functor.

instance CategoryTheory.Equivalence.CommShift.instCommShiftInverseTrans 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] →
        (E : C ≌ D) →
          (A : Type u_3) →
            [inst_2 : AddMonoid A] →
              [inst_3 : CategoryTheory.HasShift C A] →
                [inst_4 : CategoryTheory.HasShift D A] →
                  [E.inverse.CommShift A] →
                    {F : Type u_4} →
                      [inst_6 : CategoryTheory.Category.{v_3, u_4} F] →
                        [inst_7 : CategoryTheory.HasShift F A] →
                          {E' : D ≌ F} → [E'.inverse.CommShift A] → (E.trans E').inverse.CommShift A

If E : C ≌ D and E' : D ≌ F are equivalences whose inverse functors are compatible with shifts, so is (E.trans E').inverse.

instance CategoryTheory.Equivalence.CommShift.instTrans 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] (E : C ≌ D) (A : Type u_3) [inst_2 : AddMonoid A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] [inst_5 : E.functor.CommShift A]
  [inst_6 : E.inverse.CommShift A] {F : Type u_4} [inst_7 : CategoryTheory.Category.{v_3, u_4} F]
  [inst_8 : CategoryTheory.HasShift F A] {E' : D ≌ F} [E.CommShift A] [inst_10 : E'.functor.CommShift A]
  [inst_11 : E'.inverse.CommShift A] [E'.CommShift A], (E.trans E').CommShift A

If equivalences E : C ≌ D and E' : D ≌ F are compatible with shifts, so is E.trans E'.

def CategoryTheory.Equivalence.commShiftInverse 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] →
        (E : C ≌ D) →
          (A : Type u_3) →
            [inst_2 : AddGroup A] →
              [inst_3 : CategoryTheory.HasShift C A] →
                [inst_4 : CategoryTheory.HasShift D A] → [E.functor.CommShift A] → E.inverse.CommShift A

If E : C ≌ D is an equivalence and we have a CommShift structure on E.functor, this constructs the unique compatible CommShift structure on E.inverse.

theorem CategoryTheory.Equivalence.commShift_of_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] (E : C ≌ D) (A : Type u_3) [inst_2 : AddGroup A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] [inst_5 : E.functor.CommShift A],
  E.CommShift A

def CategoryTheory.Equivalence.commShiftFunctor 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] →
        (E : C ≌ D) →
          (A : Type u_3) →
            [inst_2 : AddGroup A] →
              [inst_3 : CategoryTheory.HasShift C A] →
                [inst_4 : CategoryTheory.HasShift D A] → [E.inverse.CommShift A] → E.functor.CommShift A

If E : C ≌ D is an equivalence and we have a CommShift structure on E.inverse, this constructs the unique compatible CommShift structure on E.functor.

theorem CategoryTheory.Equivalence.commShift_of_inverse 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] (E : C ≌ D) (A : Type u_3) [inst_2 : AddGroup A]
  [inst_3 : CategoryTheory.HasShift C A] [inst_4 : CategoryTheory.HasShift D A] [inst_5 : E.inverse.CommShift A],
  E.CommShift A