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

27 declarations. Mathlib docs · Source

theorem CategoryTheory.pullbackShiftIso.congr_simp E1 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B) (a : A) (b : B) (h : b = φ a),
  CategoryTheory.pullbackShiftIso C φ a b h = CategoryTheory.pullbackShiftIso C φ a b h

def CategoryTheory.PullbackShift E1 #

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

The category PullbackShift C φ is equipped with a shift such that for all a, the shift functor by a is shiftFunctor C (φ a).

instance CategoryTheory.instCategoryPullbackShift E0 #

(C : Type u_2) →
  [inst : CategoryTheory.Category.{u_1, u_2} C] →
    {A : Type u_3} →
      {B : Type u_4} →
        [inst_1 : AddMonoid A] →
          [inst_2 : AddMonoid B] →
            [inst_3 : CategoryTheory.HasShift C B] →
              (x : A →+ B) → CategoryTheory.Category.{u_1, u_2} (CategoryTheory.PullbackShift C x)

instance CategoryTheory.instHasShiftPullbackShift E0 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {A : Type u_2} →
      {B : Type u_3} →
        [inst_1 : AddMonoid A] →
          [inst_2 : AddMonoid B] →
            [inst_3 : CategoryTheory.HasShift C B] →
              (φ : A →+ B) → CategoryTheory.HasShift (CategoryTheory.PullbackShift C φ) A

The shift on PullbackShift C φ is obtained by precomposing the shift on C with the monoidal functor Discrete.addMonoidalFunctor φ : Discrete A ⥤ Discrete B.

instance CategoryTheory.instHasZeroObjectPullbackShift E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B) [CategoryTheory.Limits.HasZeroObject C],
  CategoryTheory.Limits.HasZeroObject (CategoryTheory.PullbackShift C φ)

instance CategoryTheory.instPreadditivePullbackShift E0 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {A : Type u_2} →
      {B : Type u_3} →
        [inst_1 : AddMonoid A] →
          [inst_2 : AddMonoid B] →
            [inst_3 : CategoryTheory.HasShift C B] →
              (φ : A →+ B) →
                [CategoryTheory.Preadditive C] → CategoryTheory.Preadditive (CategoryTheory.PullbackShift C φ)

instance CategoryTheory.instAdditivePullbackShiftShiftFunctorOfCoeAddMonoidHom E0 #

∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B) [inst_4 : CategoryTheory.Preadditive C]
  (a : A) [(CategoryTheory.shiftFunctor C (φ a)).Additive],
  (CategoryTheory.shiftFunctor (CategoryTheory.PullbackShift C φ) a).Additive

def CategoryTheory.pullbackShiftIso E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {A : Type u_2} →
      {B : Type u_3} →
        [inst_1 : AddMonoid A] →
          [inst_2 : AddMonoid B] →
            [inst_3 : CategoryTheory.HasShift C B] →
              (φ : A →+ B) →
                (a : A) →
                  (b : B) →
                    b = φ a →
                      (CategoryTheory.shiftFunctor (CategoryTheory.PullbackShift C φ) a ≅
                        CategoryTheory.shiftFunctor C b)

When b = φ a, this is the canonical isomorphism shiftFunctor (PullbackShift C φ) a ≅ shiftFunctor C b.

theorem CategoryTheory.pullbackShiftFunctorZero_inv_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B) (X : CategoryTheory.PullbackShift C φ),
  (CategoryTheory.shiftFunctorZero (CategoryTheory.PullbackShift C φ) A).inv.app X =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.shiftFunctorZero C B).inv.app X)
      ((CategoryTheory.pullbackShiftIso C φ 0 0 ⋯).inv.app X)

theorem CategoryTheory.pullbackShiftFunctorZero_hom_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B) (X : CategoryTheory.PullbackShift C φ),
  (CategoryTheory.shiftFunctorZero (CategoryTheory.PullbackShift C φ) A).hom.app X =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.pullbackShiftIso C φ 0 0 ⋯).hom.app X)
      ((CategoryTheory.shiftFunctorZero C B).hom.app X)

theorem CategoryTheory.pullbackShiftFunctorZero'_inv_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B) (X : CategoryTheory.PullbackShift C φ),
  (CategoryTheory.shiftFunctorZero (CategoryTheory.PullbackShift C φ) A).inv.app X =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.shiftFunctorZero' C (φ 0) ⋯).inv.app X)
      ((CategoryTheory.pullbackShiftIso C φ 0 (φ 0) ⋯).inv.app X)

theorem CategoryTheory.pullbackShiftFunctorZero'_hom_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B) (X : CategoryTheory.PullbackShift C φ),
  (CategoryTheory.shiftFunctorZero (CategoryTheory.PullbackShift C φ) A).hom.app X =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.pullbackShiftIso C φ 0 (φ 0) ⋯).hom.app X)
      ((CategoryTheory.shiftFunctorZero' C (φ 0) ⋯).hom.app X)

theorem CategoryTheory.pullbackShiftFunctorAdd'_inv_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B) (X : CategoryTheory.PullbackShift C φ)
  (a₁ a₂ a₃ : A) (h : a₁ + a₂ = a₃) (b₁ b₂ b₃ : B) (h₁ : b₁ = φ a₁) (h₂ : b₂ = φ a₂) (h₃ : b₃ = φ a₃),
  (CategoryTheory.shiftFunctorAdd' (CategoryTheory.PullbackShift C φ) a₁ a₂ a₃ h).inv.app X =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.pullbackShiftIso C φ a₁ b₁ h₁).hom.app X⟦a₂⟧')
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.pullbackShiftIso C φ a₂ b₂ h₂).hom.app (X⟦b₁⟧))
        (CategoryTheory.CategoryStruct.comp ((CategoryTheory.shiftFunctorAdd' C b₁ b₂ b₃ ⋯).inv.app X)
          ((CategoryTheory.pullbackShiftIso C φ a₃ b₃ h₃).inv.app X)))

theorem CategoryTheory.pullbackShiftFunctorAdd'_hom_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B) (X : CategoryTheory.PullbackShift C φ)
  (a₁ a₂ a₃ : A) (h : a₁ + a₂ = a₃) (b₁ b₂ b₃ : B) (h₁ : b₁ = φ a₁) (h₂ : b₂ = φ a₂) (h₃ : b₃ = φ a₃),
  (CategoryTheory.shiftFunctorAdd' (CategoryTheory.PullbackShift C φ) a₁ a₂ a₃ h).hom.app X =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.pullbackShiftIso C φ a₃ b₃ h₃).hom.app X)
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.shiftFunctorAdd' C b₁ b₂ b₃ ⋯).hom.app X)
        (CategoryTheory.CategoryStruct.comp ((CategoryTheory.pullbackShiftIso C φ a₂ b₂ h₂).inv.app (X⟦b₁⟧))
          ((CategoryTheory.pullbackShiftIso C φ a₁ b₁ h₁).inv.app X⟦a₂⟧')))

def CategoryTheory.PullbackShift.functor E1 #

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

The functor F, seen as a functor from PullbackShift C φ to PullbackShift D φ. Then a CommShift B instance on F will define a CommShift A instance on PullbackShift.functor F φ, and we won't have to juggle with two CommShift instances on F.

def CategoryTheory.PullbackShift.natTrans E1 #

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

The natural transformation τ, seen as a natural transformation from PullbackShift.functor F φ to PullbackShift.functor G φ. Then a CommShift B instance on τ will define a CommShift A instance on PullbackShift.natTrans τ φ, and we won't have to juggle with two CommShift instances on τ.

instance CategoryTheory.Functor.commShiftPullback E0 #

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

If F : C ⥤ D commutes with the shifts on C and D, then PullbackShift.functor F φ commutes with their pullbacks by an additive map φ.

theorem CategoryTheory.Functor.commShiftPullback_iso_eq E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B) {D : Type u_4}
  [inst_4 : CategoryTheory.Category.{v_2, u_4} D] [inst_5 : CategoryTheory.HasShift D B]
  (F : CategoryTheory.Functor C D) [inst_6 : F.CommShift B] (a : A) (b : B) (h : b = φ a),
  CategoryTheory.Functor.commShiftIso (CategoryTheory.PullbackShift.functor φ F) a =
    CategoryTheory.Functor.isoWhiskerRight (CategoryTheory.pullbackShiftIso C φ a b h) F ≪≫
      CategoryTheory.Functor.commShiftIso F b ≪≫ F.isoWhiskerLeft (CategoryTheory.pullbackShiftIso D φ a b h).symm

instance CategoryTheory.NatTrans.commShiftPullback E0 #

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

def CategoryTheory.NatTrans.PullbackShift.natIsoId E1 #

(C : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {A : Type u_2} →
      {B : Type u_3} →
        [inst_1 : AddMonoid A] →
          [inst_2 : AddMonoid B] →
            [inst_3 : CategoryTheory.HasShift C B] →
              (φ : A →+ B) →
                CategoryTheory.Functor.id (CategoryTheory.PullbackShift C φ) ≅
                  CategoryTheory.PullbackShift.functor φ (CategoryTheory.Functor.id C)

The natural isomorphism between the identity of PullbackShift C φ and the pullback of the identity of C.

instance CategoryTheory.NatTrans.instCommShiftPullbackShiftHomFunctorNatIsoId E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {A : Type u_2} {B : Type u_3} [inst_1 : AddMonoid A]
  [inst_2 : AddMonoid B] [inst_3 : CategoryTheory.HasShift C B] (φ : A →+ B),
  CategoryTheory.NatTrans.CommShift (CategoryTheory.NatTrans.PullbackShift.natIsoId C φ).hom A

This expresses the compatibility between two CommShift structures by A on (synonyms of) 𝟭 C: the canonical CommShift structure on 𝟭 (PullbackShift C φ), and the CommShift structure on PullbackShift.functor (𝟭 C) φ (i.e the pullback of the canonical CommShift structure on 𝟭 C).

def CategoryTheory.NatTrans.PullbackShift.natIsoComp E1 #

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

The natural isomorphism between the pullback of F ⋙ G and the composition of the pullbacks of F and G.

instance CategoryTheory.NatTrans.instCommShiftPullbackShiftHomFunctorNatIsoComp E0 #

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

def CategoryTheory.PullbackShift.adjunction E1 #

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

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

theorem CategoryTheory.PullbackShift.adjunction_counit E1 #

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

theorem CategoryTheory.PullbackShift.adjunction_unit E1 #

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

instance CategoryTheory.Adjunction.commShiftPullback E0 #

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

If an adjunction F ⊣ G is compatible with CommShift structures on F and G, then it is also compatible with the pulled back CommShift structures by an additive map φ : B →+ A.