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

49 declarations. Mathlib docs · Source

Sequences of functors from a category equipped with a shift

Let F : C ⥤ A be a functor from a category C that is equipped with a shift by an additive monoid M. In this file, we define a typeclass F.ShiftSequence M which includes the data of a sequence of functors F.shift a : C ⥤ A for all a : A. For each a : A, we have an isomorphism F.isoShift a : shiftFunctor C a ⋙ F ≅ F.shift a which satisfies some coherence relations. This allows to state results (e.g. the long exact sequence of a homology functor (TODO)) using functors F.shift a rather than shiftFunctor C a ⋙ F. The reason for this design is that we can often choose functors F.shift a that have better definitional properties than shiftFunctor C a ⋙ F. For example, if C is the derived category (TODO) of an abelian category A and F is the homology functor in degree 0, then for any n : ℤ, we may choose F.shift n to be the homology functor in degree n.

theorem CategoryTheory.Functor.shiftMap.congr_simp E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] {X Y : C} {n : M} (f f_1 : X ⟶ Y⟦n⟧),
  f = f_1 → ∀ (a a' : M) (ha' : n + a = a'), F.shiftMap f a a' ha' = F.shiftMap f_1 a a' ha'

theorem CategoryTheory.Functor.shiftIso.congr_simp E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n a a' : M) (ha' : n + a = a'),
  F.shiftIso n a a' ha' = F.shiftIso n a a' ha'

def CategoryTheory.Functor.ShiftSequence.ctorIdx E1 #

{C : Type u_1} →
  {A : Type u_3} →
    {inst : CategoryTheory.Category.{v_1, u_1} C} →
      {inst_1 : CategoryTheory.Category.{v_3, u_3} A} →
        {F : CategoryTheory.Functor C A} →
          {M : Type u_4} → {inst_2 : AddMonoid M} → {inst_3 : CategoryTheory.HasShift C M} → F.ShiftSequence M → ℕ

class CategoryTheory.Functor.ShiftSequence E1 #

{C : Type u_1} →
  {A : Type u_3} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_3, u_3} A] →
        CategoryTheory.Functor C A →
          (M : Type u_4) →
            [inst_2 : AddMonoid M] → [CategoryTheory.HasShift C M] → Type (max (max (max (max u_1 u_3) u_4) v_1) v_3)

A shift sequence for a functor F : C ⥤ A when C is equipped with a shift by a monoid M involves a sequence of functor sequence n : C ⥤ A for all n : M which behave like shiftFunctor C n ⋙ F.

ctor CategoryTheory.Functor.ShiftSequence.mk E0 #

{C : Type u_1} →
  {A : Type u_3} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_3, u_3} A] →
        {F : CategoryTheory.Functor C A} →
          {M : Type u_4} →
            [inst_2 : AddMonoid M] →
              [inst_3 : CategoryTheory.HasShift C M] →
                (sequence : M → CategoryTheory.Functor C A) →
                  (sequence 0 ≅ F) →
                    (shiftIso :
                        (n a a' : M) →
                          n + a = a' → ((CategoryTheory.shiftFunctor C n).comp (sequence a) ≅ sequence a')) →
                      (∀ (a : M),
                          shiftIso 0 a a ⋯ =
                            CategoryTheory.Functor.isoWhiskerRight (CategoryTheory.shiftFunctorZero C M) (sequence a) ≪≫
                              (sequence a).leftUnitor) →
                        (∀ (n m a a' a'' : M) (ha' : n + a = a') (ha'' : m + a' = a''),
                            shiftIso (m + n) a a'' ⋯ =
                              CategoryTheory.Functor.isoWhiskerRight (CategoryTheory.shiftFunctorAdd C m n)
                                  (sequence a) ≪≫
                                (CategoryTheory.shiftFunctor C m).associator (CategoryTheory.shiftFunctor C n)
                                    (sequence a) ≪≫
                                  (CategoryTheory.shiftFunctor C m).isoWhiskerLeft (shiftIso n a a' ha') ≪≫
                                    shiftIso m a' a'' ha'') →
                          F.ShiftSequence M

abbrev CategoryTheory.Functor.ShiftSequence.sequence E1 #

{C : Type u_1} →
  {A : Type u_3} →
    {inst : CategoryTheory.Category.{v_1, u_1} C} →
      {inst_1 : CategoryTheory.Category.{v_3, u_3} A} →
        (F : CategoryTheory.Functor C A) →
          {M : Type u_4} →
            {inst_2 : AddMonoid M} →
              {inst_3 : CategoryTheory.HasShift C M} → [self : F.ShiftSequence M] → M → CategoryTheory.Functor C A

a sequence of functors

abbrev CategoryTheory.Functor.ShiftSequence.isoZero E1 #

{C : Type u_1} →
  {A : Type u_3} →
    {inst : CategoryTheory.Category.{v_1, u_1} C} →
      {inst_1 : CategoryTheory.Category.{v_3, u_3} A} →
        {F : CategoryTheory.Functor C A} →
          {M : Type u_4} →
            {inst_2 : AddMonoid M} →
              {inst_3 : CategoryTheory.HasShift C M} →
                [self : F.ShiftSequence M] → CategoryTheory.Functor.ShiftSequence.sequence F 0 ≅ F

sequence 0 identifies to the given functor

abbrev CategoryTheory.Functor.ShiftSequence.shiftIso E1 #

{C : Type u_1} →
  {A : Type u_3} →
    {inst : CategoryTheory.Category.{v_1, u_1} C} →
      {inst_1 : CategoryTheory.Category.{v_3, u_3} A} →
        {F : CategoryTheory.Functor C A} →
          {M : Type u_4} →
            {inst_2 : AddMonoid M} →
              {inst_3 : CategoryTheory.HasShift C M} →
                [self : F.ShiftSequence M] →
                  (n a a' : M) →
                    n + a = a' →
                      ((CategoryTheory.shiftFunctor C n).comp (CategoryTheory.Functor.ShiftSequence.sequence F a) ≅
                        CategoryTheory.Functor.ShiftSequence.sequence F a')

compatibility isomorphism with the shift

theorem CategoryTheory.Functor.ShiftSequence.shiftIso_zero E1 #

∀ {C : Type u_1} {A : Type u_3} {inst : CategoryTheory.Category.{v_1, u_1} C}
  {inst_1 : CategoryTheory.Category.{v_3, u_3} A} {F : CategoryTheory.Functor C A} {M : Type u_4} {inst_2 : AddMonoid M}
  {inst_3 : CategoryTheory.HasShift C M} [self : F.ShiftSequence M] (a : M),
  CategoryTheory.Functor.ShiftSequence.shiftIso 0 a a ⋯ =
    CategoryTheory.Functor.isoWhiskerRight (CategoryTheory.shiftFunctorZero C M)
        (CategoryTheory.Functor.ShiftSequence.sequence F a) ≪≫
      (CategoryTheory.Functor.ShiftSequence.sequence F a).leftUnitor

theorem CategoryTheory.Functor.ShiftSequence.shiftIso_add E1 #

∀ {C : Type u_1} {A : Type u_3} {inst : CategoryTheory.Category.{v_1, u_1} C}
  {inst_1 : CategoryTheory.Category.{v_3, u_3} A} {F : CategoryTheory.Functor C A} {M : Type u_4} {inst_2 : AddMonoid M}
  {inst_3 : CategoryTheory.HasShift C M} [self : F.ShiftSequence M] (n m a a' a'' : M) (ha' : n + a = a')
  (ha'' : m + a' = a''),
  CategoryTheory.Functor.ShiftSequence.shiftIso (m + n) a a'' ⋯ =
    CategoryTheory.Functor.isoWhiskerRight (CategoryTheory.shiftFunctorAdd C m n)
        (CategoryTheory.Functor.ShiftSequence.sequence F a) ≪≫
      (CategoryTheory.shiftFunctor C m).associator (CategoryTheory.shiftFunctor C n)
          (CategoryTheory.Functor.ShiftSequence.sequence F a) ≪≫
        (CategoryTheory.shiftFunctor C m).isoWhiskerLeft (CategoryTheory.Functor.ShiftSequence.shiftIso n a a' ha') ≪≫
          CategoryTheory.Functor.ShiftSequence.shiftIso m a' a'' ha''

def CategoryTheory.Functor.ShiftSequence.tautological E1 #

{C : Type u_1} →
  {A : Type u_3} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_3, u_3} A] →
        (F : CategoryTheory.Functor C A) →
          (M : Type u_4) → [inst_2 : AddMonoid M] → [inst_3 : CategoryTheory.HasShift C M] → F.ShiftSequence M

The tautological shift sequence on a functor.

def CategoryTheory.Functor.shift E1 #

{C : Type u_1} →
  {A : Type u_3} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_3, u_3} A] →
        (F : CategoryTheory.Functor C A) →
          {M : Type u_4} →
            [inst_2 : AddMonoid M] →
              [inst_3 : CategoryTheory.HasShift C M] → [F.ShiftSequence M] → M → CategoryTheory.Functor C A

The shifted functors given by the shift sequence.

def CategoryTheory.Functor.shiftIso E1 #

{C : Type u_1} →
  {A : Type u_3} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_3, u_3} A] →
        (F : CategoryTheory.Functor C A) →
          {M : Type u_4} →
            [inst_2 : AddMonoid M] →
              [inst_3 : CategoryTheory.HasShift C M] →
                [inst_4 : F.ShiftSequence M] →
                  (n a a' : M) → n + a = a' → ((CategoryTheory.shiftFunctor C n).comp (F.shift a) ≅ F.shift a')

Compatibility isomorphism shiftFunctor C n ⋙ F.shift a ≅ F.shift a' when n + a = a'.

theorem CategoryTheory.Functor.shiftIso_hom_naturality_assoc E0 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] {X Y : C} (n a a' : M) (ha' : n + a = a')
  (f : X ⟶ Y) {Z : A} (h : (F.shift a').obj Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((F.shift a).map (f⟦n⟧'))
      (CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').hom.app Y) h) =
    CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').hom.app X)
      (CategoryTheory.CategoryStruct.comp ((F.shift a').map f) h)

theorem CategoryTheory.Functor.shiftIso_hom_naturality E0 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] {X Y : C} (n a a' : M) (ha' : n + a = a')
  (f : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp ((F.shift a).map (f⟦n⟧')) ((F.shiftIso n a a' ha').hom.app Y) =
    CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').hom.app X) ((F.shift a').map f)

theorem CategoryTheory.Functor.shiftIso_inv_naturality E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] {X Y : C} (n a a' : M) (ha' : n + a = a')
  (f : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp ((F.shift a').map f) ((F.shiftIso n a a' ha').inv.app Y) =
    CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').inv.app X) ((F.shift a).map (f⟦n⟧'))

theorem CategoryTheory.Functor.shiftIso_inv_naturality_assoc E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] {X Y : C} (n a a' : M) (ha' : n + a = a')
  (f : X ⟶ Y) {Z : A} (h : (F.shift a).obj (Y⟦n⟧) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((F.shift a').map f)
      (CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').inv.app Y) h) =
    CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').inv.app X)
      (CategoryTheory.CategoryStruct.comp ((F.shift a).map (f⟦n⟧')) h)

def CategoryTheory.Functor.isoShiftZero E1 #

{C : Type u_1} →
  {A : Type u_3} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_3, u_3} A] →
        (F : CategoryTheory.Functor C A) →
          (M : Type u_4) →
            [inst_2 : AddMonoid M] →
              [inst_3 : CategoryTheory.HasShift C M] → [inst_4 : F.ShiftSequence M] → F.shift 0 ≅ F

The canonical isomorphism F.shift 0 ≅ F.

def CategoryTheory.Functor.isoShift E1 #

{C : Type u_1} →
  {A : Type u_3} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_3, u_3} A] →
        (F : CategoryTheory.Functor C A) →
          {M : Type u_4} →
            [inst_2 : AddMonoid M] →
              [inst_3 : CategoryTheory.HasShift C M] →
                [inst_4 : F.ShiftSequence M] → (n : M) → (CategoryTheory.shiftFunctor C n).comp F ≅ F.shift n

The canonical isomorphism shiftFunctor C n ⋙ F ≅ F.shift n.

theorem CategoryTheory.Functor.isoShift_hom_naturality E0 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n : M) {X Y : C} (f : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp (F.map (f⟦n⟧')) ((F.isoShift n).hom.app Y) =
    CategoryTheory.CategoryStruct.comp ((F.isoShift n).hom.app X) ((F.shift n).map f)

theorem CategoryTheory.Functor.isoShift_hom_naturality_assoc E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n : M) {X Y : C} (f : X ⟶ Y) {Z : A}
  (h : (F.shift n).obj Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map (f⟦n⟧')) (CategoryTheory.CategoryStruct.comp ((F.isoShift n).hom.app Y) h) =
    CategoryTheory.CategoryStruct.comp ((F.isoShift n).hom.app X)
      (CategoryTheory.CategoryStruct.comp ((F.shift n).map f) h)

theorem CategoryTheory.Functor.isoShift_inv_naturality_assoc E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n : M) {X Y : C} (f : X ⟶ Y) {Z : A}
  (h : F.obj (Y⟦n⟧) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((F.shift n).map f)
      (CategoryTheory.CategoryStruct.comp ((F.isoShift n).inv.app Y) h) =
    CategoryTheory.CategoryStruct.comp ((F.isoShift n).inv.app X) (CategoryTheory.CategoryStruct.comp (F.map (f⟦n⟧')) h)

theorem CategoryTheory.Functor.isoShift_inv_naturality E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n : M) {X Y : C} (f : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp ((F.shift n).map f) ((F.isoShift n).inv.app Y) =
    CategoryTheory.CategoryStruct.comp ((F.isoShift n).inv.app X) (F.map (f⟦n⟧'))

theorem CategoryTheory.Functor.shiftIso_zero E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (a : M),
  F.shiftIso 0 a a ⋯ =
    CategoryTheory.Functor.isoWhiskerRight (CategoryTheory.shiftFunctorZero C M) (F.shift a) ≪≫ (F.shift a).leftUnitor

theorem CategoryTheory.Functor.shiftIso_zero_hom_app E0 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (a : M) (X : C),
  (F.shiftIso 0 a a ⋯).hom.app X = (F.shift a).map ((CategoryTheory.shiftFunctorZero C M).hom.app X)

theorem CategoryTheory.Functor.shiftIso_zero_inv_app E0 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (a : M) (X : C),
  (F.shiftIso 0 a a ⋯).inv.app X = (F.shift a).map ((CategoryTheory.shiftFunctorZero C M).inv.app X)

theorem CategoryTheory.Functor.shiftIso_add E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n m a a' a'' : M) (ha' : n + a = a')
  (ha'' : m + a' = a''),
  F.shiftIso (m + n) a a'' ⋯ =
    CategoryTheory.Functor.isoWhiskerRight (CategoryTheory.shiftFunctorAdd C m n) (F.shift a) ≪≫
      (CategoryTheory.shiftFunctor C m).associator (CategoryTheory.shiftFunctor C n) (F.shift a) ≪≫
        (CategoryTheory.shiftFunctor C m).isoWhiskerLeft (F.shiftIso n a a' ha') ≪≫ F.shiftIso m a' a'' ha''

theorem CategoryTheory.Functor.shiftIso_add_hom_app E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n m a a' a'' : M) (ha' : n + a = a')
  (ha'' : m + a' = a'') (X : C),
  (F.shiftIso (m + n) a a'' ⋯).hom.app X =
    CategoryTheory.CategoryStruct.comp ((F.shift a).map ((CategoryTheory.shiftFunctorAdd C m n).hom.app X))
      (CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').hom.app (X⟦m⟧))
        ((F.shiftIso m a' a'' ha'').hom.app X))

theorem CategoryTheory.Functor.shiftIso_add_inv_app E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n m a a' a'' : M) (ha' : n + a = a')
  (ha'' : m + a' = a'') (X : C),
  (F.shiftIso (m + n) a a'' ⋯).inv.app X =
    CategoryTheory.CategoryStruct.comp ((F.shiftIso m a' a'' ha'').inv.app X)
      (CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').inv.app (X⟦m⟧))
        ((F.shift a).map ((CategoryTheory.shiftFunctorAdd C m n).inv.app X)))

theorem CategoryTheory.Functor.shiftIso_add' E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n m mn : M) (hnm : m + n = mn) (a a' a'' : M)
  (ha' : n + a = a') (ha'' : m + a' = a''),
  F.shiftIso mn a a'' ⋯ =
    CategoryTheory.Functor.isoWhiskerRight (CategoryTheory.shiftFunctorAdd' C m n mn hnm) (F.shift a) ≪≫
      (CategoryTheory.shiftFunctor C m).associator (CategoryTheory.shiftFunctor C n) (F.shift a) ≪≫
        (CategoryTheory.shiftFunctor C m).isoWhiskerLeft (F.shiftIso n a a' ha') ≪≫ F.shiftIso m a' a'' ha''

theorem CategoryTheory.Functor.shiftIso_add'_hom_app E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n m mn : M) (hnm : m + n = mn) (a a' a'' : M)
  (ha' : n + a = a') (ha'' : m + a' = a'') (X : C),
  (F.shiftIso mn a a'' ⋯).hom.app X =
    CategoryTheory.CategoryStruct.comp ((F.shift a).map ((CategoryTheory.shiftFunctorAdd' C m n mn hnm).hom.app X))
      (CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').hom.app (X⟦m⟧))
        ((F.shiftIso m a' a'' ha'').hom.app X))

theorem CategoryTheory.Functor.shiftIso_add'_inv_app E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n m mn : M) (hnm : m + n = mn) (a a' a'' : M)
  (ha' : n + a = a') (ha'' : m + a' = a'') (X : C),
  (F.shiftIso mn a a'' ⋯).inv.app X =
    CategoryTheory.CategoryStruct.comp ((F.shiftIso m a' a'' ha'').inv.app X)
      (CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').inv.app (X⟦m⟧))
        ((F.shift a).map ((CategoryTheory.shiftFunctorAdd' C m n mn hnm).inv.app X)))

theorem CategoryTheory.Functor.shiftIso_hom_app_comp E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n m mn : M) (hnm : m + n = mn) (a a' a'' : M)
  (ha' : n + a = a') (ha'' : m + a' = a'') (X : C),
  CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').hom.app (X⟦m⟧)) ((F.shiftIso m a' a'' ha'').hom.app X) =
    CategoryTheory.CategoryStruct.comp ((F.shift a).map ((CategoryTheory.shiftFunctorAdd' C m n mn hnm).inv.app X))
      ((F.shiftIso mn a a'' ⋯).hom.app X)

theorem CategoryTheory.Functor.shiftIso_hom_app_comp_assoc E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] (n m mn : M) (hnm : m + n = mn) (a a' a'' : M)
  (ha' : n + a = a') (ha'' : m + a' = a'') (X : C) {Z : A} (h : (F.shift a'').obj X ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').hom.app (X⟦m⟧))
      (CategoryTheory.CategoryStruct.comp ((F.shiftIso m a' a'' ha'').hom.app X) h) =
    CategoryTheory.CategoryStruct.comp ((F.shift a).map ((CategoryTheory.shiftFunctorAdd' C m n mn hnm).inv.app X))
      (CategoryTheory.CategoryStruct.comp ((F.shiftIso mn a a'' ⋯).hom.app X) h)

def CategoryTheory.Functor.shiftMap E1 #

{C : Type u_1} →
  {A : Type u_3} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_3, u_3} A] →
        (F : CategoryTheory.Functor C A) →
          {M : Type u_4} →
            [inst_2 : AddMonoid M] →
              [inst_3 : CategoryTheory.HasShift C M] →
                [inst_4 : F.ShiftSequence M] →
                  {X Y : C} → {n : M} → (X ⟶ Y⟦n⟧) → (a a' : M) → n + a = a' → ((F.shift a).obj X ⟶ (F.shift a').obj Y)

The morphism (F.shift a).obj X ⟶ (F.shift a').obj Y induced by a morphism f : X ⟶ Y⟦n⟧ when n + a = a'.

theorem CategoryTheory.Functor.shiftMap_comp E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] {X Y Z : C} {n : M} (f : X ⟶ Y⟦n⟧) (g : Y ⟶ Z)
  (a a' : M) (ha' : n + a = a'),
  F.shiftMap (CategoryTheory.CategoryStruct.comp f (g⟦n⟧')) a a' ha' =
    CategoryTheory.CategoryStruct.comp (F.shiftMap f a a' ha') ((F.shift a').map g)

theorem CategoryTheory.Functor.shiftMap_comp_assoc E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] {X Y Z : C} {n : M} (f : X ⟶ Y⟦n⟧) (g : Y ⟶ Z)
  (a a' : M) (ha' : n + a = a') {Z_1 : A} (h : (F.shift a').obj Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (F.shiftMap (CategoryTheory.CategoryStruct.comp f (g⟦n⟧')) a a' ha') h =
    CategoryTheory.CategoryStruct.comp (F.shiftMap f a a' ha')
      (CategoryTheory.CategoryStruct.comp ((F.shift a').map g) h)

theorem CategoryTheory.Functor.shiftMap_comp' E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] {X Y Z : C} {n : M} (f : X ⟶ Y) (g : Y ⟶ Z⟦n⟧)
  (a a' : M) (ha' : n + a = a'),
  F.shiftMap (CategoryTheory.CategoryStruct.comp f g) a a' ha' =
    CategoryTheory.CategoryStruct.comp ((F.shift a).map f) (F.shiftMap g a a' ha')

theorem CategoryTheory.Functor.shiftMap_comp'_assoc E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] {X Y Z : C} {n : M} (f : X ⟶ Y) (g : Y ⟶ Z⟦n⟧)
  (a a' : M) (ha' : n + a = a') {Z_1 : A} (h : (F.shift a').obj Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (F.shiftMap (CategoryTheory.CategoryStruct.comp f g) a a' ha') h =
    CategoryTheory.CategoryStruct.comp ((F.shift a).map f)
      (CategoryTheory.CategoryStruct.comp (F.shiftMap g a a' ha') h)

theorem CategoryTheory.Functor.shiftIso_hom_app_comp_shiftMap E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] {X Y : C} {m : M} (f : X ⟶ Y⟦m⟧) (n mn : M)
  (hnm : m + n = mn) (a a' a'' : M) (ha' : n + a = a') (ha'' : m + a' = a''),
  CategoryTheory.CategoryStruct.comp ((F.shiftIso n a a' ha').hom.app X) (F.shiftMap f a' a'' ha'') =
    CategoryTheory.CategoryStruct.comp ((F.shift a).map (f⟦n⟧'))
      (CategoryTheory.CategoryStruct.comp ((F.shift a).map ((CategoryTheory.shiftFunctorAdd' C m n mn hnm).inv.app Y))
        ((F.shiftIso mn a a'' ⋯).hom.app Y))

When f : X ⟶ Y⟦m⟧, m + n = mn, n + a = a' and ha'' : m + a' = a'', this lemma relates the two morphisms F.shiftMap f a' a'' ha'' and (F.shift a).map (f⟦n⟧'). Indeed, via canonical isomorphisms, they both identify to morphisms (F.shift a').obj X ⟶ (F.shift a'').obj Y.

theorem CategoryTheory.Functor.shiftIso_hom_app_comp_shiftMap_of_add_eq_zero E1 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {G : Type u_5} [inst_2 : AddGroup G]
  [inst_3 : CategoryTheory.HasShift C G] [inst_4 : F.ShiftSequence G] {X Y : C} {m : G} (f : X ⟶ Y⟦m⟧) (n : G)
  (hnm : n + m = 0) (a a' : G) (ha' : m + a = a'),
  CategoryTheory.CategoryStruct.comp ((F.shiftIso n a' a ⋯).hom.app X) (F.shiftMap f a a' ha') =
    (F.shift a').map
      (CategoryTheory.CategoryStruct.comp (f⟦n⟧') ((CategoryTheory.shiftFunctorCompIsoId C m n ⋯).hom.app Y))

If f : X ⟶ Y⟦m⟧, n + m = 0 and ha' : m + a = a', this lemma relates the two morphisms F.shiftMap f a a' ha' and (F.shift a').map (f⟦n⟧'). Indeed, via canonical isomorphisms, they both identify to morphisms (F.shift a).obj X ⟶ (F.shift a').obj Y.

instance CategoryTheory.Functor.instPreservesZeroMorphismsShift E0 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M]
  [inst_5 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_6 : CategoryTheory.Limits.HasZeroMorphisms A]
  [F.PreservesZeroMorphisms] [∀ (n : M), (CategoryTheory.shiftFunctor C n).PreservesZeroMorphisms] (n : M),
  (F.shift n).PreservesZeroMorphisms

theorem CategoryTheory.Functor.shiftMap_zero E0 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M]
  [inst_5 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_6 : CategoryTheory.Limits.HasZeroMorphisms A]
  [F.PreservesZeroMorphisms] [∀ (n : M), (CategoryTheory.shiftFunctor C n).PreservesZeroMorphisms] (X Y : C)
  (n a a' : M) (ha' : n + a = a'), F.shiftMap 0 a a' ha' = 0

instance CategoryTheory.Functor.instAdditiveShift E0 #

∀ {C : Type u_1} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_3, u_3} A] (F : CategoryTheory.Functor C A) {M : Type u_4} [inst_2 : AddMonoid M]
  [inst_3 : CategoryTheory.HasShift C M] [inst_4 : F.ShiftSequence M] [inst_5 : CategoryTheory.Preadditive C]
  [inst_6 : CategoryTheory.Preadditive A] [F.Additive] [∀ (n : M), (CategoryTheory.shiftFunctor C n).Additive] (n : M),
  (F.shift n).Additive

def CategoryTheory.Functor.ShiftSequence.leftComp E1 #

{C : Type u_1} →
  {D : Type u_2} →
    {A : Type u_3} →
      [inst : CategoryTheory.Category.{v_1, u_1} C] →
        [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
          [inst_2 : CategoryTheory.Category.{v_3, u_3} A] →
            {F : CategoryTheory.Functor C A} →
              {π : CategoryTheory.Functor C D} →
                {H : CategoryTheory.Functor D A} →
                  (π.comp H ≅ F) →
                    (M : Type u_4) →
                      [inst_3 : AddMonoid M] →
                        [inst_4 : CategoryTheory.HasShift C M] →
                          [inst_5 : CategoryTheory.HasShift D M] →
                            [π.CommShift M] → [H.ShiftSequence M] → F.ShiftSequence M

Given an isomorphism π ⋙ H ≅ F, where π is a functor which commutes with the shift by M and H is equipped with a shift sequence, then this is the shift sequence for F induced by composition.

theorem CategoryTheory.Functor.ShiftSequence.leftComp_isoZero E0 #

∀ {C : Type u_1} {D : Type u_2} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} A]
  {F : CategoryTheory.Functor C A} {π : CategoryTheory.Functor C D} {H : CategoryTheory.Functor D A} (e : π.comp H ≅ F)
  (M : Type u_4) [inst_3 : AddMonoid M] [inst_4 : CategoryTheory.HasShift C M] [inst_5 : CategoryTheory.HasShift D M]
  [inst_6 : π.CommShift M] [inst_7 : H.ShiftSequence M],
  CategoryTheory.Functor.ShiftSequence.isoZero = π.isoWhiskerLeft (H.isoShiftZero M) ≪≫ e

theorem CategoryTheory.Functor.ShiftSequence.leftComp_sequence E0 #

∀ {C : Type u_1} {D : Type u_2} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} A]
  {F : CategoryTheory.Functor C A} {π : CategoryTheory.Functor C D} {H : CategoryTheory.Functor D A} (e : π.comp H ≅ F)
  (M : Type u_4) [inst_3 : AddMonoid M] [inst_4 : CategoryTheory.HasShift C M] [inst_5 : CategoryTheory.HasShift D M]
  [inst_6 : π.CommShift M] [inst_7 : H.ShiftSequence M] (n : M),
  CategoryTheory.Functor.ShiftSequence.sequence F n = π.comp (H.shift n)

theorem CategoryTheory.Functor.ShiftSequence.leftComp_shiftIso E0 #

∀ {C : Type u_1} {D : Type u_2} {A : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} A]
  {F : CategoryTheory.Functor C A} {π : CategoryTheory.Functor C D} {H : CategoryTheory.Functor D A} (e : π.comp H ≅ F)
  (M : Type u_4) [inst_3 : AddMonoid M] [inst_4 : CategoryTheory.HasShift C M] [inst_5 : CategoryTheory.HasShift D M]
  [inst_6 : π.CommShift M] [inst_7 : H.ShiftSequence M] (n a a' : M) (ha' : n + a = a'),
  CategoryTheory.Functor.ShiftSequence.shiftIso n a a' ha' =
    ((CategoryTheory.shiftFunctor C n).associator π (H.shift a)).symm ≪≫
      CategoryTheory.Functor.isoWhiskerRight (CategoryTheory.Functor.commShiftIso π n) (H.shift a) ≪≫
        π.associator (CategoryTheory.shiftFunctor D n) (H.shift a) ≪≫ π.isoWhiskerLeft (H.shiftIso n a a' ha')

instance CategoryTheory.Functor.ShiftSequence.instCompOfCommShift E0 #

{C : Type u_1} →
  {D : Type u_2} →
    {A : Type u_3} →
      [inst : CategoryTheory.Category.{v_1, u_1} C] →
        [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
          [inst_2 : CategoryTheory.Category.{v_3, u_3} A] →
            {π : CategoryTheory.Functor C D} →
              {H : CategoryTheory.Functor D A} →
                (M : Type u_4) →
                  [inst_3 : AddMonoid M] →
                    [inst_4 : CategoryTheory.HasShift C M] →
                      [inst_5 : CategoryTheory.HasShift D M] →
                        [π.CommShift M] → [H.ShiftSequence M] → (π.comp H).ShiftSequence M