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

33 declarations. Mathlib docs · Source

def CategoryTheory.CommShift₂Setup.ctorIdx E1 #

{D : Type u_5} →
  {inst : CategoryTheory.Category.{v_5, u_5} D} →
    {M : Type u_6} →
      {inst_1 : AddCommMonoid M} → {inst_2 : CategoryTheory.HasShift D M} → CategoryTheory.CommShift₂Setup D M → ℕ

def CategoryTheory.Functor.CommShift₂.ctorIdx E1 #

{C₁ : Type u_1} →
  {C₂ : Type u_3} →
    {D : Type u_5} →
      {inst : CategoryTheory.Category.{v_1, u_1} C₁} →
        {inst_1 : CategoryTheory.Category.{v_3, u_3} C₂} →
          {inst_2 : CategoryTheory.Category.{v_5, u_5} D} →
            {M : Type u_6} →
              {inst_3 : AddCommMonoid M} →
                {inst_4 : CategoryTheory.HasShift C₁ M} →
                  {inst_5 : CategoryTheory.HasShift C₂ M} →
                    {inst_6 : CategoryTheory.HasShift D M} →
                      {G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)} →
                        {h : CategoryTheory.CommShift₂Setup D M} → G.CommShift₂ h → ℕ

theorem CategoryTheory.CommShift₂Setup.mk.injEq E0 #

∀ {D : Type u_5} [inst : CategoryTheory.Category.{v_5, u_5} D] {M : Type u_6} [inst_1 : AddCommMonoid M]
  [inst_2 : CategoryTheory.HasShift D M]
  (toTwistShiftData :
    CategoryTheory.TwistShiftData (CategoryTheory.PullbackShift D (AddMonoidHom.fst M M + AddMonoidHom.snd M M))
      (M × M))
  (z_zero₁ :
    autoParam (∀ (m₁ m₂ : M), toTwistShiftData.z (0, m₁) (0, m₂) = 1) CategoryTheory.CommShift₂Setup.z_zero₁._autoParam)
  (z_zero₂ :
    autoParam (∀ (m₁ m₂ : M), toTwistShiftData.z (m₁, 0) (m₂, 0) = 1) CategoryTheory.CommShift₂Setup.z_zero₂._autoParam)
  (ε : M → M → (CategoryTheory.CatCenter D)ˣ)
  (hε :
    autoParam (∀ (m n : M), ε m n = (toTwistShiftData.z (0, n) (m, 0))⁻¹ * toTwistShiftData.z (m, 0) (0, n))
      CategoryTheory.CommShift₂Setup.hε._autoParam)
  (toTwistShiftData_1 :
    CategoryTheory.TwistShiftData (CategoryTheory.PullbackShift D (AddMonoidHom.fst M M + AddMonoidHom.snd M M))
      (M × M))
  (z_zero₁_1 :
    autoParam (∀ (m₁ m₂ : M), toTwistShiftData_1.z (0, m₁) (0, m₂) = 1)
      CategoryTheory.CommShift₂Setup.z_zero₁._autoParam)
  (z_zero₂_1 :
    autoParam (∀ (m₁ m₂ : M), toTwistShiftData_1.z (m₁, 0) (m₂, 0) = 1)
      CategoryTheory.CommShift₂Setup.z_zero₂._autoParam)
  (ε_1 : M → M → (CategoryTheory.CatCenter D)ˣ)
  (hε_1 :
    autoParam (∀ (m n : M), ε_1 m n = (toTwistShiftData_1.z (0, n) (m, 0))⁻¹ * toTwistShiftData_1.z (m, 0) (0, n))
      CategoryTheory.CommShift₂Setup.hε._autoParam),
  ({ toTwistShiftData := toTwistShiftData, z_zero₁ := z_zero₁, z_zero₂ := z_zero₂, ε := ε, hε := hε } =
      { toTwistShiftData := toTwistShiftData_1, z_zero₁ := z_zero₁_1, z_zero₂ := z_zero₂_1, ε := ε_1, hε := hε_1 }) =
    (toTwistShiftData = toTwistShiftData_1 ∧ ε = ε_1)

theorem CategoryTheory.CommShift₂Setup.mk.inj E1 #

∀ {D : Type u_5} {inst : CategoryTheory.Category.{v_5, u_5} D} {M : Type u_6} {inst_1 : AddCommMonoid M}
  {inst_2 : CategoryTheory.HasShift D M}
  {toTwistShiftData :
    CategoryTheory.TwistShiftData (CategoryTheory.PullbackShift D (AddMonoidHom.fst M M + AddMonoidHom.snd M M))
      (M × M)}
  {z_zero₁ :
    autoParam (∀ (m₁ m₂ : M), toTwistShiftData.z (0, m₁) (0, m₂) = 1) CategoryTheory.CommShift₂Setup.z_zero₁._autoParam}
  {z_zero₂ :
    autoParam (∀ (m₁ m₂ : M), toTwistShiftData.z (m₁, 0) (m₂, 0) = 1) CategoryTheory.CommShift₂Setup.z_zero₂._autoParam}
  {ε : M → M → (CategoryTheory.CatCenter D)ˣ}
  {hε :
    autoParam (∀ (m n : M), ε m n = (toTwistShiftData.z (0, n) (m, 0))⁻¹ * toTwistShiftData.z (m, 0) (0, n))
      CategoryTheory.CommShift₂Setup.hε._autoParam}
  {toTwistShiftData_1 :
    CategoryTheory.TwistShiftData (CategoryTheory.PullbackShift D (AddMonoidHom.fst M M + AddMonoidHom.snd M M))
      (M × M)}
  {z_zero₁_1 :
    autoParam (∀ (m₁ m₂ : M), toTwistShiftData_1.z (0, m₁) (0, m₂) = 1)
      CategoryTheory.CommShift₂Setup.z_zero₁._autoParam}
  {z_zero₂_1 :
    autoParam (∀ (m₁ m₂ : M), toTwistShiftData_1.z (m₁, 0) (m₂, 0) = 1)
      CategoryTheory.CommShift₂Setup.z_zero₂._autoParam}
  {ε_1 : M → M → (CategoryTheory.CatCenter D)ˣ}
  {hε_1 :
    autoParam (∀ (m n : M), ε_1 m n = (toTwistShiftData_1.z (0, n) (m, 0))⁻¹ * toTwistShiftData_1.z (m, 0) (0, n))
      CategoryTheory.CommShift₂Setup.hε._autoParam},
  { toTwistShiftData := toTwistShiftData, z_zero₁ := z_zero₁, z_zero₂ := z_zero₂, ε := ε, hε := hε } =
      { toTwistShiftData := toTwistShiftData_1, z_zero₁ := z_zero₁_1, z_zero₂ := z_zero₂_1, ε := ε_1, hε := hε_1 } →
    toTwistShiftData = toTwistShiftData_1 ∧ ε = ε_1

structure CategoryTheory.CommShift₂Setup E1 #

(D : Type u_5) →
  [inst : CategoryTheory.Category.{v_5, u_5} D] →
    (M : Type u_6) → [inst_1 : AddCommMonoid M] → [CategoryTheory.HasShift D M] → Type (max (max u_5 u_6) v_5)

Given a category D equipped with a shift by an additive monoid M, this structure CommShift₂Setup D M allows to define what it means for a bifunctor C₁ ⥤ C₂ ⥤ D to commute with shifts by M with respect to both variables. This structure consists of a TwistShiftData for the shift by M × M on D obtained by pulling back the addition map M × M →+ M, with two axioms z_zero₁ and z_zero₂. We also require an additional data of ε m n : (CatCenter D)ˣ for m and n: even though this is determined by the z field of TwistShiftData, we make it a separate field so as to have control on its definitional properties.

ctor CategoryTheory.CommShift₂Setup.mk E0 #

{D : Type u_5} →
  [inst : CategoryTheory.Category.{v_5, u_5} D] →
    {M : Type u_6} →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : CategoryTheory.HasShift D M] →
          (toTwistShiftData :
              CategoryTheory.TwistShiftData
                (CategoryTheory.PullbackShift D (AddMonoidHom.fst M M + AddMonoidHom.snd M M)) (M × M)) →
            autoParam (∀ (m₁ m₂ : M), toTwistShiftData.z (0, m₁) (0, m₂) = 1)
                CategoryTheory.CommShift₂Setup.z_zero₁._autoParam →
              autoParam (∀ (m₁ m₂ : M), toTwistShiftData.z (m₁, 0) (m₂, 0) = 1)
                  CategoryTheory.CommShift₂Setup.z_zero₂._autoParam →
                (ε : M → M → (CategoryTheory.CatCenter D)ˣ) →
                  autoParam
                      (∀ (m n : M), ε m n = (toTwistShiftData.z (0, n) (m, 0))⁻¹ * toTwistShiftData.z (m, 0) (0, n))
                      CategoryTheory.CommShift₂Setup.hε._autoParam →
                    CategoryTheory.CommShift₂Setup D M

abbrev CategoryTheory.CommShift₂Setup.toTwistShiftData E1 #

{D : Type u_5} →
  [inst : CategoryTheory.Category.{v_5, u_5} D] →
    {M : Type u_6} →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : CategoryTheory.HasShift D M] →
          CategoryTheory.CommShift₂Setup D M →
            CategoryTheory.TwistShiftData (CategoryTheory.PullbackShift D (AddMonoidHom.fst M M + AddMonoidHom.snd M M))
              (M × M)

theorem CategoryTheory.CommShift₂Setup.z_zero₁ E1 #

∀ {D : Type u_5} [inst : CategoryTheory.Category.{v_5, u_5} D] {M : Type u_6} [inst_1 : AddCommMonoid M]
  [inst_2 : CategoryTheory.HasShift D M] (self : CategoryTheory.CommShift₂Setup D M) (m₁ m₂ : M),
  self.z (0, m₁) (0, m₂) = 1

theorem CategoryTheory.CommShift₂Setup.z_zero₂ E1 #

∀ {D : Type u_5} [inst : CategoryTheory.Category.{v_5, u_5} D] {M : Type u_6} [inst_1 : AddCommMonoid M]
  [inst_2 : CategoryTheory.HasShift D M] (self : CategoryTheory.CommShift₂Setup D M) (m₁ m₂ : M),
  self.z (m₁, 0) (m₂, 0) = 1

abbrev CategoryTheory.CommShift₂Setup.ε E1 #

{D : Type u_5} →
  [inst : CategoryTheory.Category.{v_5, u_5} D] →
    {M : Type u_6} →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : CategoryTheory.HasShift D M] →
          CategoryTheory.CommShift₂Setup D M → M → M → (CategoryTheory.CatCenter D)ˣ

The invertible elements in the center of D that are equal to (z (0, n) (m, 0))⁻¹ * z (m, 0) (0, n).

theorem CategoryTheory.CommShift₂Setup.hε E1 #

∀ {D : Type u_5} [inst : CategoryTheory.Category.{v_5, u_5} D] {M : Type u_6} [inst_1 : AddCommMonoid M]
  [inst_2 : CategoryTheory.HasShift D M] (self : CategoryTheory.CommShift₂Setup D M) (m n : M),
  self.ε m n = (self.z (0, n) (m, 0))⁻¹ * self.z (m, 0) (0, n)

def CategoryTheory.CommShift₂Setup.int E1 #

{D : Type u_5} →
  [inst : CategoryTheory.Category.{v_5, u_5} D] →
    [inst_1 : CategoryTheory.Preadditive D] →
      [inst_2 : CategoryTheory.HasShift D ℤ] →
        [∀ (n : ℤ), (CategoryTheory.shiftFunctor D n).Additive] → CategoryTheory.CommShift₂Setup D ℤ

The standard setup for the commutation of bifunctors with shifts by ℤ.

theorem CategoryTheory.CommShift₂Setup.int_ε E0 #

∀ {D : Type u_5} [inst : CategoryTheory.Category.{v_5, u_5} D] [inst_1 : CategoryTheory.Preadditive D]
  [inst_2 : CategoryTheory.HasShift D ℤ] [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor D n).Additive] (p q : ℤ),
  CategoryTheory.CommShift₂Setup.int.ε p q = (-1) ^ (p * q)

theorem CategoryTheory.CommShift₂Setup.int_z E0 #

∀ {D : Type u_5} [inst : CategoryTheory.Category.{v_5, u_5} D] [inst_1 : CategoryTheory.Preadditive D]
  [inst_2 : CategoryTheory.HasShift D ℤ] [inst_3 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor D n).Additive] (m n : ℤ × ℤ),
  CategoryTheory.CommShift₂Setup.int.z m n = (-1) ^ (m.1 * n.2)

class CategoryTheory.Functor.CommShift₂ E1 #

{C₁ : Type u_1} →
  {C₂ : Type u_3} →
    {D : Type u_5} →
      [inst : CategoryTheory.Category.{v_1, u_1} C₁] →
        [inst_1 : CategoryTheory.Category.{v_3, u_3} C₂] →
          [inst_2 : CategoryTheory.Category.{v_5, u_5} D] →
            {M : Type u_6} →
              [inst_3 : AddCommMonoid M] →
                [CategoryTheory.HasShift C₁ M] →
                  [CategoryTheory.HasShift C₂ M] →
                    [inst_6 : CategoryTheory.HasShift D M] →
                      CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D) →
                        CategoryTheory.CommShift₂Setup D M → Type (max (max (max u_1 u_3) u_6) v_5)

A bifunctor G : C₁ ⥤ C₂ ⥤ D commutes with the shifts by M if all functors G.obj X₁ and G.flip X₂ are equipped with Functor.CommShift structures, in a way that is natural in X₁ and X₂, and that these isomorphisms commute up to the multiplication with an element in (CatCenter D)ˣ which is determined by a CommShift₂Setup D M structure. (In most cases, one should use the abbreviation CommShift₂Int.)

ctor CategoryTheory.Functor.CommShift₂.mk E0 #

{C₁ : Type u_1} →
  {C₂ : Type u_3} →
    {D : Type u_5} →
      [inst : CategoryTheory.Category.{v_1, u_1} C₁] →
        [inst_1 : CategoryTheory.Category.{v_3, u_3} C₂] →
          [inst_2 : CategoryTheory.Category.{v_5, u_5} D] →
            {M : Type u_6} →
              [inst_3 : AddCommMonoid M] →
                [inst_4 : CategoryTheory.HasShift C₁ M] →
                  [inst_5 : CategoryTheory.HasShift C₂ M] →
                    [inst_6 : CategoryTheory.HasShift D M] →
                      {G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)} →
                        {h : CategoryTheory.CommShift₂Setup D M} →
                          (commShiftObj :
                              autoParam ((X₁ : C₁) → (G.obj X₁).CommShift M)
                                CategoryTheory.Functor.CommShift₂.commShiftObj._autoParam) →
                            autoParam (∀ {X₁ Y₁ : C₁} (f : X₁ ⟶ Y₁), CategoryTheory.NatTrans.CommShift (G.map f) M)
                                CategoryTheory.Functor.CommShift₂.commShift_map._autoParam →
                              (commShiftFlipObj :
                                  autoParam ((X₂ : C₂) → (G.flip.obj X₂).CommShift M)
                                    CategoryTheory.Functor.CommShift₂.commShiftFlipObj._autoParam) →
                                autoParam
                                    (∀ {X₂ Y₂ : C₂} (g : X₂ ⟶ Y₂), CategoryTheory.NatTrans.CommShift (G.flip.map g) M)
                                    CategoryTheory.Functor.CommShift₂.commShift_flip_map._autoParam →
                                  (∀ (X₁ : C₁) (X₂ : C₂) (m n : M),
                                      CategoryTheory.CategoryStruct.comp
                                          ((CategoryTheory.Functor.commShiftIso (G.obj (X₁⟦m⟧)) n).hom.app X₂)
                                          ((CategoryTheory.Functor.commShiftIso (G.flip.obj X₂) m).hom.app X₁⟦n⟧') =
                                        CategoryTheory.CategoryStruct.comp
                                          ((CategoryTheory.Functor.commShiftIso (G.flip.obj (X₂⟦n⟧)) m).hom.app X₁)
                                          (CategoryTheory.CategoryStruct.comp
                                            ((CategoryTheory.Functor.commShiftIso (G.obj X₁) n).hom.app X₂⟦m⟧')
                                            (CategoryTheory.CategoryStruct.comp
                                              (CategoryTheory.shiftComm ((G.obj X₁).obj X₂) m n).inv
                                              ((↑(h.ε m n)).app ((G.obj X₁).obj X₂⟦m⟧⟦n⟧))))) →
                                    G.CommShift₂ h

instance CategoryTheory.Functor.CommShift₂.commShiftObj E0 #

{C₁ : Type u_1} →
  {C₂ : Type u_3} →
    {D : Type u_5} →
      {inst : CategoryTheory.Category.{v_1, u_1} C₁} →
        {inst_1 : CategoryTheory.Category.{v_3, u_3} C₂} →
          {inst_2 : CategoryTheory.Category.{v_5, u_5} D} →
            {M : Type u_6} →
              {inst_3 : AddCommMonoid M} →
                {inst_4 : CategoryTheory.HasShift C₁ M} →
                  {inst_5 : CategoryTheory.HasShift C₂ M} →
                    {inst_6 : CategoryTheory.HasShift D M} →
                      {G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)} →
                        (h : CategoryTheory.CommShift₂Setup D M) →
                          [self : G.CommShift₂ h] → (X₁ : C₁) → (G.obj X₁).CommShift M

instance CategoryTheory.Functor.CommShift₂.commShift_map E0 #

∀ {C₁ : Type u_1} {C₂ : Type u_3} {D : Type u_5} {inst : CategoryTheory.Category.{v_1, u_1} C₁}
  {inst_1 : CategoryTheory.Category.{v_3, u_3} C₂} {inst_2 : CategoryTheory.Category.{v_5, u_5} D} {M : Type u_6}
  {inst_3 : AddCommMonoid M} {inst_4 : CategoryTheory.HasShift C₁ M} {inst_5 : CategoryTheory.HasShift C₂ M}
  {inst_6 : CategoryTheory.HasShift D M} {G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)}
  {h : CategoryTheory.CommShift₂Setup D M} [self : G.CommShift₂ h] {X₁ Y₁ : C₁} (f : X₁ ⟶ Y₁),
  CategoryTheory.NatTrans.CommShift (G.map f) M

instance CategoryTheory.Functor.CommShift₂.commShiftFlipObj E0 #

{C₁ : Type u_1} →
  {C₂ : Type u_3} →
    {D : Type u_5} →
      {inst : CategoryTheory.Category.{v_1, u_1} C₁} →
        {inst_1 : CategoryTheory.Category.{v_3, u_3} C₂} →
          {inst_2 : CategoryTheory.Category.{v_5, u_5} D} →
            {M : Type u_6} →
              {inst_3 : AddCommMonoid M} →
                {inst_4 : CategoryTheory.HasShift C₁ M} →
                  {inst_5 : CategoryTheory.HasShift C₂ M} →
                    {inst_6 : CategoryTheory.HasShift D M} →
                      {G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)} →
                        (h : CategoryTheory.CommShift₂Setup D M) →
                          [self : G.CommShift₂ h] → (X₂ : C₂) → (G.flip.obj X₂).CommShift M

instance CategoryTheory.Functor.CommShift₂.commShift_flip_map E0 #

∀ {C₁ : Type u_1} {C₂ : Type u_3} {D : Type u_5} {inst : CategoryTheory.Category.{v_1, u_1} C₁}
  {inst_1 : CategoryTheory.Category.{v_3, u_3} C₂} {inst_2 : CategoryTheory.Category.{v_5, u_5} D} {M : Type u_6}
  {inst_3 : AddCommMonoid M} {inst_4 : CategoryTheory.HasShift C₁ M} {inst_5 : CategoryTheory.HasShift C₂ M}
  {inst_6 : CategoryTheory.HasShift D M} {G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)}
  {h : CategoryTheory.CommShift₂Setup D M} [self : G.CommShift₂ h] {X₂ Y₂ : C₂} (g : X₂ ⟶ Y₂),
  CategoryTheory.NatTrans.CommShift (G.flip.map g) M

theorem CategoryTheory.Functor.CommShift₂.comm E1 #

∀ {C₁ : Type u_1} {C₂ : Type u_3} {D : Type u_5} {inst : CategoryTheory.Category.{v_1, u_1} C₁}
  {inst_1 : CategoryTheory.Category.{v_3, u_3} C₂} {inst_2 : CategoryTheory.Category.{v_5, u_5} D} {M : Type u_6}
  {inst_3 : AddCommMonoid M} {inst_4 : CategoryTheory.HasShift C₁ M} {inst_5 : CategoryTheory.HasShift C₂ M}
  {inst_6 : CategoryTheory.HasShift D M} (G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D))
  (h : CategoryTheory.CommShift₂Setup D M) [self : G.CommShift₂ h] (X₁ : C₁) (X₂ : C₂) (m n : M),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.obj (X₁⟦m⟧)) n).hom.app X₂)
      ((CategoryTheory.Functor.commShiftIso (G.flip.obj X₂) m).hom.app X₁⟦n⟧') =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.flip.obj (X₂⟦n⟧)) m).hom.app X₁)
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.obj X₁) n).hom.app X₂⟦m⟧')
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.shiftComm ((G.obj X₁).obj X₂) m n).inv
          ((↑(h.ε m n)).app ((G.obj X₁).obj X₂⟦m⟧⟦n⟧))))

theorem CategoryTheory.Functor.commShift₂_comm E1 #

∀ {C₁ : Type u_1} {C₂ : Type u_3} {D : Type u_5} {inst : CategoryTheory.Category.{v_1, u_1} C₁}
  {inst_1 : CategoryTheory.Category.{v_3, u_3} C₂} {inst_2 : CategoryTheory.Category.{v_5, u_5} D} {M : Type u_6}
  {inst_3 : AddCommMonoid M} {inst_4 : CategoryTheory.HasShift C₁ M} {inst_5 : CategoryTheory.HasShift C₂ M}
  {inst_6 : CategoryTheory.HasShift D M} (G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D))
  (h : CategoryTheory.CommShift₂Setup D M) [self : G.CommShift₂ h] (X₁ : C₁) (X₂ : C₂) (m n : M),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.obj (X₁⟦m⟧)) n).hom.app X₂)
      ((CategoryTheory.Functor.commShiftIso (G.flip.obj X₂) m).hom.app X₁⟦n⟧') =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.flip.obj (X₂⟦n⟧)) m).hom.app X₁)
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.obj X₁) n).hom.app X₂⟦m⟧')
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.shiftComm ((G.obj X₁).obj X₂) m n).inv
          ((↑(h.ε m n)).app ((G.obj X₁).obj X₂⟦m⟧⟦n⟧))))

This alias for Functor.CommShift₂.comm allows to use the dot notation.

theorem CategoryTheory.Functor.commShift₂_comm_assoc E1 #

∀ {C₁ : Type u_1} {C₂ : Type u_3} {D : Type u_5} {inst : CategoryTheory.Category.{v_1, u_1} C₁}
  {inst_1 : CategoryTheory.Category.{v_3, u_3} C₂} {inst_2 : CategoryTheory.Category.{v_5, u_5} D} {M : Type u_6}
  {inst_3 : AddCommMonoid M} {inst_4 : CategoryTheory.HasShift C₁ M} {inst_5 : CategoryTheory.HasShift C₂ M}
  {inst_6 : CategoryTheory.HasShift D M} (G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D))
  (h : CategoryTheory.CommShift₂Setup D M) [self : G.CommShift₂ h] (X₁ : C₁) (X₂ : C₂) (m n : M) {Z : D}
  (h_1 : (G.flip.obj X₂).obj X₁⟦m⟧⟦n⟧ ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.obj (X₁⟦m⟧)) n).hom.app X₂)
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.flip.obj X₂) m).hom.app X₁⟦n⟧')
        h_1) =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.flip.obj (X₂⟦n⟧)) m).hom.app X₁)
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.commShiftIso (G.obj X₁) n).hom.app X₂⟦m⟧')
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.shiftComm ((G.obj X₁).obj X₂) m n).inv
          (CategoryTheory.CategoryStruct.comp ((↑(h.ε m n)).app ((G.obj X₁).obj X₂⟦m⟧⟦n⟧)) h_1)))

This alias for Functor.CommShift₂.comm allows to use the dot notation.

abbrev CategoryTheory.Functor.CommShift₂Int E1 #

{C₁ : Type u_1} →
  {C₂ : Type u_3} →
    {D : Type u_5} →
      [inst : CategoryTheory.Category.{v_1, u_1} C₁] →
        [inst_1 : CategoryTheory.Category.{v_3, u_3} C₂] →
          [inst_2 : CategoryTheory.Category.{v_5, u_5} D] →
            [CategoryTheory.HasShift C₁ ℤ] →
              [CategoryTheory.HasShift C₂ ℤ] →
                [inst_5 : CategoryTheory.HasShift D ℤ] →
                  [inst_6 : CategoryTheory.Preadditive D] →
                    [∀ (n : ℤ), (CategoryTheory.shiftFunctor D n).Additive] →
                      CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D) → Type (max (max u_1 u_3) v_5)

A bifunctor G : C₁ ⥤ C₂ ⥤ D commutes with the shifts by ℤ if all functors G.obj X₁ and G.flip X₂ are equipped with Functor.CommShift structures, in a way that is natural in X₁ and X₂, and that these isomorphisms for the shift by p on the first variable and the shift by q on the second variable commute up to the sign (-1) ^ (p * q).

instance CategoryTheory.Functor.CommShift₂.precomp₁ E0 #

{C₁ : Type u_1} →
  {C₁' : Type u_2} →
    {C₂ : Type u_3} →
      {D : Type u_5} →
        [inst : CategoryTheory.Category.{v_1, u_1} C₁] →
          [inst_1 : CategoryTheory.Category.{v_2, u_2} C₁'] →
            [inst_2 : CategoryTheory.Category.{v_3, u_3} C₂] →
              [inst_3 : CategoryTheory.Category.{v_5, u_5} D] →
                {M : Type u_6} →
                  [inst_4 : AddCommMonoid M] →
                    [inst_5 : CategoryTheory.HasShift C₁ M] →
                      [inst_6 : CategoryTheory.HasShift C₁' M] →
                        [inst_7 : CategoryTheory.HasShift C₂ M] →
                          [inst_8 : CategoryTheory.HasShift D M] →
                            (F : CategoryTheory.Functor C₁' C₁) →
                              [F.CommShift M] →
                                (G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)) →
                                  (h : CategoryTheory.CommShift₂Setup D M) → [G.CommShift₂ h] → (F.comp G).CommShift₂ h

instance CategoryTheory.Functor.CommShift₂.precomp₂ E0 #

{C₁ : Type u_1} →
  {C₂ : Type u_3} →
    {C₂' : Type u_4} →
      {D : Type u_5} →
        [inst : CategoryTheory.Category.{v_1, u_1} C₁] →
          [inst_1 : CategoryTheory.Category.{v_3, u_3} C₂] →
            [inst_2 : CategoryTheory.Category.{v_4, u_4} C₂'] →
              [inst_3 : CategoryTheory.Category.{v_5, u_5} D] →
                {M : Type u_6} →
                  [inst_4 : AddCommMonoid M] →
                    [inst_5 : CategoryTheory.HasShift C₁ M] →
                      [inst_6 : CategoryTheory.HasShift C₂' M] →
                        [inst_7 : CategoryTheory.HasShift C₂ M] →
                          [inst_8 : CategoryTheory.HasShift D M] →
                            (F : CategoryTheory.Functor C₂' C₂) →
                              [F.CommShift M] →
                                (G : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)) →
                                  (h : CategoryTheory.CommShift₂Setup D M) →
                                    [G.CommShift₂ h] →
                                      (G.comp ((CategoryTheory.Functor.whiskeringLeft C₂' C₂ D).obj F)).CommShift₂ h

class CategoryTheory.NatTrans.CommShift₂ E1 #

{C₁ : Type u_1} →
  {C₂ : Type u_3} →
    {D : Type u_5} →
      [inst : CategoryTheory.Category.{v_1, u_1} C₁] →
        [inst_1 : CategoryTheory.Category.{v_3, u_3} C₂] →
          [inst_2 : CategoryTheory.Category.{v_5, u_5} D] →
            {M : Type u_6} →
              [inst_3 : AddCommMonoid M] →
                [inst_4 : CategoryTheory.HasShift C₁ M] →
                  [inst_5 : CategoryTheory.HasShift C₂ M] →
                    [inst_6 : CategoryTheory.HasShift D M] →
                      {G₁ G₂ : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)} →
                        (G₁ ⟶ G₂) →
                          (h : CategoryTheory.CommShift₂Setup D M) → [G₁.CommShift₂ h] → [G₂.CommShift₂ h] → Prop

If τ : G₁ ⟶ G₂ is a natural transformation between two bifunctors which commute shifts on both variables, this typeclass asserts a compatibility of τ with these shifts.

ctor CategoryTheory.NatTrans.CommShift₂.mk E0 #

∀ {C₁ : Type u_1} {C₂ : Type u_3} {D : Type u_5} [inst : CategoryTheory.Category.{v_1, u_1} C₁]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} C₂] [inst_2 : CategoryTheory.Category.{v_5, u_5} D] {M : Type u_6}
  [inst_3 : AddCommMonoid M] [inst_4 : CategoryTheory.HasShift C₁ M] [inst_5 : CategoryTheory.HasShift C₂ M]
  [inst_6 : CategoryTheory.HasShift D M] {G₁ G₂ : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)} {τ : G₁ ⟶ G₂}
  {h : CategoryTheory.CommShift₂Setup D M} [inst_7 : G₁.CommShift₂ h] [inst_8 : G₂.CommShift₂ h],
  autoParam (∀ (X₁ : C₁), CategoryTheory.NatTrans.CommShift (τ.app X₁) M)
      CategoryTheory.NatTrans.CommShift₂.commShift_app._autoParam →
    autoParam (∀ (X₂ : C₂), CategoryTheory.NatTrans.CommShift (CategoryTheory.NatTrans.flipApp τ X₂) M)
        CategoryTheory.NatTrans.CommShift₂.commShift_flipApp._autoParam →
      CategoryTheory.NatTrans.CommShift₂ τ h

instance CategoryTheory.NatTrans.CommShift₂.commShift_app E0 #

∀ {C₁ : Type u_1} {C₂ : Type u_3} {D : Type u_5} {inst : CategoryTheory.Category.{v_1, u_1} C₁}
  {inst_1 : CategoryTheory.Category.{v_3, u_3} C₂} {inst_2 : CategoryTheory.Category.{v_5, u_5} D} {M : Type u_6}
  {inst_3 : AddCommMonoid M} {inst_4 : CategoryTheory.HasShift C₁ M} {inst_5 : CategoryTheory.HasShift C₂ M}
  {inst_6 : CategoryTheory.HasShift D M} {G₁ G₂ : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)} {τ : G₁ ⟶ G₂}
  {h : CategoryTheory.CommShift₂Setup D M} {inst_7 : G₁.CommShift₂ h} {inst_8 : G₂.CommShift₂ h}
  [self : CategoryTheory.NatTrans.CommShift₂ τ h] (X₁ : C₁), CategoryTheory.NatTrans.CommShift (τ.app X₁) M

instance CategoryTheory.NatTrans.CommShift₂.commShift_flipApp E0 #

∀ {C₁ : Type u_1} {C₂ : Type u_3} {D : Type u_5} {inst : CategoryTheory.Category.{v_1, u_1} C₁}
  {inst_1 : CategoryTheory.Category.{v_3, u_3} C₂} {inst_2 : CategoryTheory.Category.{v_5, u_5} D} {M : Type u_6}
  {inst_3 : AddCommMonoid M} {inst_4 : CategoryTheory.HasShift C₁ M} {inst_5 : CategoryTheory.HasShift C₂ M}
  {inst_6 : CategoryTheory.HasShift D M} {G₁ G₂ : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)} {τ : G₁ ⟶ G₂}
  {h : CategoryTheory.CommShift₂Setup D M} {inst_7 : G₁.CommShift₂ h} {inst_8 : G₂.CommShift₂ h}
  [self : CategoryTheory.NatTrans.CommShift₂ τ h] (X₂ : C₂),
  CategoryTheory.NatTrans.CommShift (CategoryTheory.NatTrans.flipApp τ X₂) M

instance CategoryTheory.NatTrans.CommShift₂.instIdFunctor E0 #

∀ {C₁ : Type u_1} {C₂ : Type u_3} {D : Type u_5} [inst : CategoryTheory.Category.{v_1, u_1} C₁]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} C₂] [inst_2 : CategoryTheory.Category.{v_5, u_5} D] {M : Type u_6}
  [inst_3 : AddCommMonoid M] [inst_4 : CategoryTheory.HasShift C₁ M] [inst_5 : CategoryTheory.HasShift C₂ M]
  [inst_6 : CategoryTheory.HasShift D M] {G₁ : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)}
  (h : CategoryTheory.CommShift₂Setup D M) [inst_7 : G₁.CommShift₂ h],
  CategoryTheory.NatTrans.CommShift₂ (CategoryTheory.CategoryStruct.id G₁) h

instance CategoryTheory.NatTrans.CommShift₂.instCompFunctor E0 #

∀ {C₁ : Type u_1} {C₂ : Type u_3} {D : Type u_5} [inst : CategoryTheory.Category.{v_1, u_1} C₁]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} C₂] [inst_2 : CategoryTheory.Category.{v_5, u_5} D] {M : Type u_6}
  [inst_3 : AddCommMonoid M] [inst_4 : CategoryTheory.HasShift C₁ M] [inst_5 : CategoryTheory.HasShift C₂ M]
  [inst_6 : CategoryTheory.HasShift D M] {G₁ G₂ G₃ : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)}
  (τ : G₁ ⟶ G₂) (τ' : G₂ ⟶ G₃) (h : CategoryTheory.CommShift₂Setup D M) [inst_7 : G₁.CommShift₂ h]
  [inst_8 : G₂.CommShift₂ h] [inst_9 : G₃.CommShift₂ h] [CategoryTheory.NatTrans.CommShift₂ τ h]
  [CategoryTheory.NatTrans.CommShift₂ τ' h],
  CategoryTheory.NatTrans.CommShift₂ (CategoryTheory.CategoryStruct.comp τ τ') h

abbrev CategoryTheory.NatTrans.CommShift₂Int E1 #

{C₁ : Type u_1} →
  {C₂ : Type u_3} →
    {D : Type u_5} →
      [inst : CategoryTheory.Category.{v_1, u_1} C₁] →
        [inst_1 : CategoryTheory.Category.{v_3, u_3} C₂] →
          [inst_2 : CategoryTheory.Category.{v_5, u_5} D] →
            [inst_3 : CategoryTheory.HasShift C₁ ℤ] →
              [inst_4 : CategoryTheory.HasShift C₂ ℤ] →
                [inst_5 : CategoryTheory.HasShift D ℤ] →
                  [inst_6 : CategoryTheory.Preadditive D] →
                    [inst_7 : ∀ (n : ℤ), (CategoryTheory.shiftFunctor D n).Additive] →
                      {G₁ G₂ : CategoryTheory.Functor C₁ (CategoryTheory.Functor C₂ D)} →
                        [G₁.CommShift₂Int] → [G₂.CommShift₂Int] → (G₁ ⟶ G₂) → Prop

If τ : G₁ ⟶ G₂ is a natural transformation between two bifunctors which commute shifts on both variables, this typeclass asserts a compatibility of τ with these shifts.