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 / V24. Category theory

Mathlib.CategoryTheory.Bicategory.NaturalTransformation.Pseudo

73 declarations. Mathlib docs · Source

Strong transformations of pseudofunctors

There are three types of transformations between pseudofunctors, depending on the direction or invertibility of the 2-morphism witnessing the naturality condition.

In this file we define strong transformations, which require the 2-morphism to be invertible.

Main definitions

  • Pseudofunctor.StrongTrans F G: strong transformations between pseudofunctors F and G.
  • Pseudofunctor.StrongTrans.mkOfOplax η: given a strong transformation η between the underlying oplax functors, mkOfOplax lifts this to a strong transformation between the pseudofunctors.
  • Pseudofunctor.StrongTrans.vcomp η θ: the vertical composition of strong transformations η and θ.

Using this, we obtain a (scoped) CategoryStruct on pseudofunctors, where the arrows are given by strong transformations. To access this instance, run open scoped Pseudofunctor.StrongTrans. See Pseudofunctor.StrongTrans.categoryStruct.

References

theorem CategoryTheory.Pseudofunctor.StrongTrans.mk.inj E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.Pseudofunctor B C} {app : (a : B) → F.obj a ⟶ G.obj a}
  {naturality :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (F.map f) (app b) ≅ CategoryTheory.CategoryStruct.comp (app a) (G.map f)}
  {naturality_naturality :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b))
            (naturality g).hom =
          CategoryTheory.CategoryStruct.comp (naturality f).hom
            (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η)))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality._autoParam}
  {naturality_id :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (naturality (CategoryTheory.CategoryStruct.id a)).hom
            (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a).hom) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (app a))
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).hom
              (CategoryTheory.Bicategory.rightUnitor (app a)).inv))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_id._autoParam}
  {naturality_comp :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (naturality (CategoryTheory.CategoryStruct.comp f g)).hom
            (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g).hom) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (app c))
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).hom
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g).hom)
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).inv
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.whiskerRight (naturality f).hom (G.map g))
                    (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).hom)))))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp._autoParam}
  {app_1 : (a : B) → F.obj a ⟶ G.obj a}
  {naturality_1 :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (F.map f) (app_1 b) ≅ CategoryTheory.CategoryStruct.comp (app_1 a) (G.map f)}
  {naturality_naturality_1 :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app_1 b))
            (naturality_1 g).hom =
          CategoryTheory.CategoryStruct.comp (naturality_1 f).hom
            (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.map₂ η)))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality._autoParam}
  {naturality_id_1 :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (naturality_1 (CategoryTheory.CategoryStruct.id a)).hom
            (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapId a).hom) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (app_1 a))
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app_1 a)).hom
              (CategoryTheory.Bicategory.rightUnitor (app_1 a)).inv))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_id._autoParam}
  {naturality_comp_1 :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (naturality_1 (CategoryTheory.CategoryStruct.comp f g)).hom
            (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapComp f g).hom) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (app_1 c))
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app_1 c)).hom
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality_1 g).hom)
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.associator (F.map f) (app_1 b) (G.map g)).inv
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.whiskerRight (naturality_1 f).hom (G.map g))
                    (CategoryTheory.Bicategory.associator (app_1 a) (G.map f) (G.map g)).hom)))))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp._autoParam},
  { app := app, naturality := naturality, naturality_naturality := naturality_naturality,
        naturality_id := naturality_id, naturality_comp := naturality_comp } =
      { app := app_1, naturality := naturality_1, naturality_naturality := naturality_naturality_1,
        naturality_id := naturality_id_1, naturality_comp := naturality_comp_1 } →
    app = app_1 ∧ naturality ≍ naturality_1

theorem CategoryTheory.Pseudofunctor.StrongTrans.mk.injEq E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (app : (a : B) → F.obj a ⟶ G.obj a)
  (naturality :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (F.map f) (app b) ≅ CategoryTheory.CategoryStruct.comp (app a) (G.map f))
  (naturality_naturality :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b))
            (naturality g).hom =
          CategoryTheory.CategoryStruct.comp (naturality f).hom
            (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η)))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality._autoParam)
  (naturality_id :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (naturality (CategoryTheory.CategoryStruct.id a)).hom
            (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a).hom) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (app a))
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).hom
              (CategoryTheory.Bicategory.rightUnitor (app a)).inv))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_id._autoParam)
  (naturality_comp :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (naturality (CategoryTheory.CategoryStruct.comp f g)).hom
            (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g).hom) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (app c))
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).hom
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g).hom)
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).inv
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.whiskerRight (naturality f).hom (G.map g))
                    (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).hom)))))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp._autoParam)
  (app_1 : (a : B) → F.obj a ⟶ G.obj a)
  (naturality_1 :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (F.map f) (app_1 b) ≅ CategoryTheory.CategoryStruct.comp (app_1 a) (G.map f))
  (naturality_naturality_1 :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app_1 b))
            (naturality_1 g).hom =
          CategoryTheory.CategoryStruct.comp (naturality_1 f).hom
            (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.map₂ η)))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality._autoParam)
  (naturality_id_1 :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (naturality_1 (CategoryTheory.CategoryStruct.id a)).hom
            (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapId a).hom) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (app_1 a))
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app_1 a)).hom
              (CategoryTheory.Bicategory.rightUnitor (app_1 a)).inv))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_id._autoParam)
  (naturality_comp_1 :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (naturality_1 (CategoryTheory.CategoryStruct.comp f g)).hom
            (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapComp f g).hom) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (app_1 c))
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app_1 c)).hom
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality_1 g).hom)
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.associator (F.map f) (app_1 b) (G.map g)).inv
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.whiskerRight (naturality_1 f).hom (G.map g))
                    (CategoryTheory.Bicategory.associator (app_1 a) (G.map f) (G.map g)).hom)))))
      CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp._autoParam),
  ({ app := app, naturality := naturality, naturality_naturality := naturality_naturality,
        naturality_id := naturality_id, naturality_comp := naturality_comp } =
      { app := app_1, naturality := naturality_1, naturality_naturality := naturality_naturality_1,
        naturality_id := naturality_id_1, naturality_comp := naturality_comp_1 }) =
    (app = app_1 ∧ naturality ≍ naturality_1)

def CategoryTheory.Pseudofunctor.StrongTrans.ctorIdx E1 #

{B : Type u₁} →
  {inst : CategoryTheory.Bicategory B} →
    {C : Type u₂} →
      {inst_1 : CategoryTheory.Bicategory C} → {F G : CategoryTheory.Pseudofunctor B C} → F.StrongTrans G → ℕ

structure CategoryTheory.Pseudofunctor.StrongTrans E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        CategoryTheory.Pseudofunctor B C → CategoryTheory.Pseudofunctor B C → Type (max (max (max u₁ v₁) v₂) w₂)

A strong transformation between pseudofunctors F and G is a natural transformation that is "natural up to 2-isomorphisms". More precisely, it consists of the following:

  • a 1-morphism η.app a : F.obj a ⟶ G.obj a for each object a : B.
  • a 2-isomorphism η.naturality f : F.map f ≫ app b ≅ app a ≫ G.map f for each 1-morphism f : a ⟶ b.
  • These 2-isomorphisms satisfy the naturality condition, and preserve the identities and the compositions modulo some adjustments of domains and codomains of 2-morphisms.

ctor CategoryTheory.Pseudofunctor.StrongTrans.mk E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.Pseudofunctor B C} →
          (app : (a : B) → F.obj a ⟶ G.obj a) →
            (naturality :
                {a b : B} →
                  (f : a ⟶ b) →
                    CategoryTheory.CategoryStruct.comp (F.map f) (app b) ≅
                      CategoryTheory.CategoryStruct.comp (app a) (G.map f)) →
              autoParam
                  (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
                    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b))
                        (naturality g).hom =
                      CategoryTheory.CategoryStruct.comp (naturality f).hom
                        (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η)))
                  CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality._autoParam →
                autoParam
                    (∀ (a : B),
                      CategoryTheory.CategoryStruct.comp (naturality (CategoryTheory.CategoryStruct.id a)).hom
                          (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a).hom) =
                        CategoryTheory.CategoryStruct.comp
                          (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (app a))
                          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).hom
                            (CategoryTheory.Bicategory.rightUnitor (app a)).inv))
                    CategoryTheory.Pseudofunctor.StrongTrans.naturality_id._autoParam →
                  autoParam
                      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
                        CategoryTheory.CategoryStruct.comp (naturality (CategoryTheory.CategoryStruct.comp f g)).hom
                            (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g).hom) =
                          CategoryTheory.CategoryStruct.comp
                            (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (app c))
                            (CategoryTheory.CategoryStruct.comp
                              (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).hom
                              (CategoryTheory.CategoryStruct.comp
                                (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g).hom)
                                (CategoryTheory.CategoryStruct.comp
                                  (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).inv
                                  (CategoryTheory.CategoryStruct.comp
                                    (CategoryTheory.Bicategory.whiskerRight (naturality f).hom (G.map g))
                                    (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).hom)))))
                      CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp._autoParam →
                    F.StrongTrans G

abbrev CategoryTheory.Pseudofunctor.StrongTrans.app E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.Pseudofunctor B C} → F.StrongTrans G → (a : B) → F.obj a ⟶ G.obj a

The component 1-morphisms of a strong transformation.

abbrev CategoryTheory.Pseudofunctor.StrongTrans.naturality E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.Pseudofunctor B C} →
          (self : F.StrongTrans G) →
            {a b : B} →
              (f : a ⟶ b) →
                CategoryTheory.CategoryStruct.comp (F.map f) (self.app b) ≅
                  CategoryTheory.CategoryStruct.comp (self.app a) (G.map f)

The 2-isomorphisms underlying the strong naturality constraint.

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (self : F.StrongTrans G) {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (self.app b))
      (self.naturality g).hom =
    CategoryTheory.CategoryStruct.comp (self.naturality f).hom
      (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.map₂ η))

Naturality of the strong naturality constraint.

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (self : F.StrongTrans G) (a : B),
  CategoryTheory.CategoryStruct.comp (self.naturality (CategoryTheory.CategoryStruct.id a)).hom
      (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapId a).hom) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (self.app a))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.app a)).hom
        (CategoryTheory.Bicategory.rightUnitor (self.app a)).inv)

Oplax unity.

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (self : F.StrongTrans G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (self.naturality (CategoryTheory.CategoryStruct.comp f g)).hom
      (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapComp f g).hom) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (self.app c))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (self.app c)).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.naturality g).hom)
          (CategoryTheory.CategoryStruct.comp
            (CategoryTheory.Bicategory.associator (F.map f) (self.app b) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (self.naturality f).hom (G.map g))
              (CategoryTheory.Bicategory.associator (self.app a) (G.map f) (G.map g)).hom))))

Oplax functoriality.

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (self : F.StrongTrans G) (a : B) {Z : F.obj a ⟶ G.obj a}
  (h : CategoryTheory.CategoryStruct.comp (self.app a) (CategoryTheory.CategoryStruct.id (G.obj a)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (self.naturality (CategoryTheory.CategoryStruct.id a)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapId a).hom) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (self.app a))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.app a)).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.app a)).inv h))

Oplax unity.

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (self : F.StrongTrans G) {a b : B} {f g : a ⟶ b} (η : f ⟶ g)
  {Z : F.obj a ⟶ G.obj b} (h : CategoryTheory.CategoryStruct.comp (self.app a) (G.map g) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (self.app b))
      (CategoryTheory.CategoryStruct.comp (self.naturality g).hom h) =
    CategoryTheory.CategoryStruct.comp (self.naturality f).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.map₂ η)) h)

Naturality of the strong naturality constraint.

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (self : F.StrongTrans G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c)
  {Z : F.obj a ⟶ G.obj c}
  (h : CategoryTheory.CategoryStruct.comp (self.app a) (CategoryTheory.CategoryStruct.comp (G.map f) (G.map g)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (self.naturality (CategoryTheory.CategoryStruct.comp f g)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapComp f g).hom) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (self.app c))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (self.app c)).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.naturality g).hom)
          (CategoryTheory.CategoryStruct.comp
            (CategoryTheory.Bicategory.associator (F.map f) (self.app b) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (self.naturality f).hom (G.map g))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (self.app a) (G.map f) (G.map g)).hom h)))))

Oplax functoriality.

def CategoryTheory.Pseudofunctor.StrongTrans.toOplax E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.Pseudofunctor B C} →
          F.StrongTrans G → CategoryTheory.Oplax.StrongTrans F.toOplax G.toOplax

The strong transformation of oplax functors induced by a strong transformation of pseudofunctors.

theorem CategoryTheory.Pseudofunctor.StrongTrans.toOplax_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (η : F.StrongTrans G) (a : B), η.toOplax.app a = η.app a

theorem CategoryTheory.Pseudofunctor.StrongTrans.toOplax_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (η : F.StrongTrans G) {a b : B} (f : a ⟶ b),
  η.toOplax.naturality f = η.naturality f

instance CategoryTheory.Pseudofunctor.StrongTrans.hasCoeToOplax E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.Pseudofunctor B C} →
          Coe (F.StrongTrans G) (CategoryTheory.Oplax.StrongTrans F.toOplax G.toOplax)

def CategoryTheory.Pseudofunctor.StrongTrans.mkOfOplax E3 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.Pseudofunctor B C} →
          CategoryTheory.Oplax.StrongTrans F.toOplax G.toOplax → F.StrongTrans G

Construct a strong transformation of pseudofunctors from a strong transformation of the underlying oplax functors.

theorem CategoryTheory.Pseudofunctor.StrongTrans.mkOfOplax_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (η : CategoryTheory.Oplax.StrongTrans F.toOplax G.toOplax) (a : B),
  (CategoryTheory.Pseudofunctor.StrongTrans.mkOfOplax η).app a = η.app a

theorem CategoryTheory.Pseudofunctor.StrongTrans.mkOfOplax_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (η : CategoryTheory.Oplax.StrongTrans F.toOplax G.toOplax) {a b : B}
  (f : a ⟶ b), (CategoryTheory.Pseudofunctor.StrongTrans.mkOfOplax η).naturality f = η.naturality f

def CategoryTheory.Pseudofunctor.StrongTrans.id E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} → [inst_1 : CategoryTheory.Bicategory C] → (F : CategoryTheory.Pseudofunctor B C) → F.StrongTrans F

The identity strong transformation.

instance CategoryTheory.Pseudofunctor.StrongTrans.instInhabited E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] → {F : CategoryTheory.Pseudofunctor B C} → Inhabited (F.StrongTrans F)

def CategoryTheory.Pseudofunctor.StrongTrans.vcomp E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G H : CategoryTheory.Pseudofunctor B C} → F.StrongTrans G → G.StrongTrans H → F.StrongTrans H

Vertical composition of strong transformations.

def CategoryTheory.Pseudofunctor.StrongTrans.categoryStruct E3 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        CategoryTheory.CategoryStruct.{max (max (max u₁ v₂) v₁) w₂, max (max (max (max (max u₂ u₁) v₂) v₁) w₂) w₁}
          (CategoryTheory.Pseudofunctor B C)

CategoryStruct on B ⥤ᵖ C where the (1-)morphisms are given by strong transformations.

theorem CategoryTheory.Pseudofunctor.StrongTrans.categoryStruct_comp_naturality_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {X Y Z : CategoryTheory.Pseudofunctor B C} (η : X.StrongTrans Y) (θ : Y.StrongTrans Z) {a b : B} (f : a ⟶ b),
  ((CategoryTheory.CategoryStruct.comp η θ).naturality f).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (X.map f) (η.app b) (θ.app b)).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.naturality f).hom (θ.app b))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (Y.map f) (θ.app b)).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (η.app a) (θ.naturality f).hom)
            (CategoryTheory.Bicategory.associator (η.app a) (θ.app a) (Z.map f)).inv)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.categoryStruct_id_naturality_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) {a b : B} (f : a ⟶ b),
  ((CategoryTheory.CategoryStruct.id F).naturality f).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).hom
      (CategoryTheory.Bicategory.leftUnitor (F.map f)).inv

theorem CategoryTheory.Pseudofunctor.StrongTrans.categoryStruct_id_naturality_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) {a b : B} (f : a ⟶ b),
  ((CategoryTheory.CategoryStruct.id F).naturality f).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).hom
      (CategoryTheory.Bicategory.rightUnitor (F.map f)).inv

theorem CategoryTheory.Pseudofunctor.StrongTrans.categoryStruct_comp_naturality_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {X Y Z : CategoryTheory.Pseudofunctor B C} (η : X.StrongTrans Y) (θ : Y.StrongTrans Z) {a b : B} (f : a ⟶ b),
  ((CategoryTheory.CategoryStruct.comp η θ).naturality f).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (θ.app a) (Z.map f)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (η.app a) (θ.naturality f).inv)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (Y.map f) (θ.app b)).inv
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.naturality f).inv (θ.app b))
            (CategoryTheory.Bicategory.associator (X.map f) (η.app b) (θ.app b)).hom)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.categoryStruct_id_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) (a : B),
  (CategoryTheory.CategoryStruct.id F).app a = CategoryTheory.CategoryStruct.id (F.obj a)

theorem CategoryTheory.Pseudofunctor.StrongTrans.comp_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G H : CategoryTheory.Pseudofunctor B C} (η : F ⟶ G) (θ : G ⟶ H) (a : B),
  (CategoryTheory.CategoryStruct.comp η θ).app a = CategoryTheory.CategoryStruct.comp (η.app a) (θ.app a)

theorem CategoryTheory.Pseudofunctor.StrongTrans.id.toOplax E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C),
  CategoryTheory.Oplax.StrongTrans.id F.toOplax =
    CategoryTheory.Pseudofunctor.StrongTrans.toOplax (CategoryTheory.CategoryStruct.id F)

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerLeft_naturality_naturality_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {G H : CategoryTheory.Pseudofunctor B C} (θ : G ⟶ H) {a b : B} {a' : C} (f : a' ⟶ G.obj a) {g h : a ⟶ b} (β : g ⟶ h)
  {Z : a' ⟶ H.obj b}
  (h_1 : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (θ.app a) (H.map h)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight (G.map₂ β) (θ.app b)))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f (θ.naturality h).hom) h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f (θ.naturality g).hom)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft (θ.app a) (H.map₂ β))) h_1)

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerLeft_naturality_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {G H : CategoryTheory.Pseudofunctor B C} (θ : G ⟶ H) {a b : B} {a' : C} (f : a' ⟶ G.obj a) {g h : a ⟶ b} (β : g ⟶ h),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight (G.map₂ β) (θ.app b)))
      (CategoryTheory.Bicategory.whiskerLeft f (θ.naturality h).hom) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f (θ.naturality g).hom)
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft (θ.app a) (H.map₂ β)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerLeft_naturality_naturality_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {G H : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (θ : G ⟶ H) {a b : B} {a' : CategoryTheory.Cat} (f : a' ⟶ G.obj a) {g h : a ⟶ b} (β : g ⟶ h) (X : ↑a'),
  CategoryTheory.CategoryStruct.comp ((θ.app b).toFunctor.map ((G.map₂ β).toNatTrans.app (f.toFunctor.obj X)))
      ((θ.naturality h).hom.toNatTrans.app (f.toFunctor.obj X)) =
    CategoryTheory.CategoryStruct.comp ((θ.naturality g).hom.toNatTrans.app (f.toFunctor.obj X))
      ((H.map₂ β).toNatTrans.app ((θ.app a).toFunctor.obj (f.toFunctor.obj X)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerRight_naturality_naturality_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (η : F ⟶ G) {a b : B} {a' : C} {f g : a ⟶ b} (β : f ⟶ g) (h : G.obj b ⟶ a')
  {Z : F.obj a ⟶ a'}
  (h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp (η.app a) (G.map g)) h ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight (F.map₂ β) (η.app b)) h)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.naturality g).hom h) h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.naturality f).hom h)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (G.map f) h).hom
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerLeft (η.app a) (CategoryTheory.Bicategory.whiskerRight (G.map₂ β) h))
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (G.map g) h).inv h_1)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerRight_naturality_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (η : F ⟶ G) {a b : B} {a' : C} {f g : a ⟶ b} (β : f ⟶ g) (h : G.obj b ⟶ a'),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight (F.map₂ β) (η.app b)) h)
      (CategoryTheory.Bicategory.whiskerRight (η.naturality g).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.naturality f).hom h)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (G.map f) h).hom
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerLeft (η.app a) (CategoryTheory.Bicategory.whiskerRight (G.map₂ β) h))
          (CategoryTheory.Bicategory.associator (η.app a) (G.map g) h).inv))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerRight_naturality_naturality_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (η : F ⟶ G) {a b : B} {a' : CategoryTheory.Cat} {f g : a ⟶ b} (β : f ⟶ g) (h : G.obj b ⟶ a') (X : ↑(F.obj a)),
  CategoryTheory.CategoryStruct.comp (h.toFunctor.map ((η.app b).toFunctor.map ((F.map₂ β).toNatTrans.app X)))
      (h.toFunctor.map ((η.naturality g).hom.toNatTrans.app X)) =
    CategoryTheory.CategoryStruct.comp (h.toFunctor.map ((η.naturality f).hom.toNatTrans.app X))
      (h.toFunctor.map ((G.map₂ β).toNatTrans.app ((η.app a).toFunctor.obj X)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerLeft_naturality_comp_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {G H : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (θ : G ⟶ H) {a b c : B} {a' : CategoryTheory.Cat} (f : a' ⟶ G.obj a) (g : a ⟶ b) (h : b ⟶ c) (X : ↑a'),
  CategoryTheory.CategoryStruct.comp
      ((θ.naturality (CategoryTheory.CategoryStruct.comp g h)).hom.toNatTrans.app (f.toFunctor.obj X))
      ((H.mapComp g h).hom.toNatTrans.app ((θ.app a).toFunctor.obj (f.toFunctor.obj X))) =
    CategoryTheory.CategoryStruct.comp
      ((θ.app c).toFunctor.map ((G.mapComp g h).hom.toNatTrans.app (f.toFunctor.obj X)))
      (CategoryTheory.CategoryStruct.comp
        ((θ.naturality h).hom.toNatTrans.app ((G.map g).toFunctor.obj (f.toFunctor.obj X)))
        ((H.map h).toFunctor.map ((θ.naturality g).hom.toNatTrans.app (f.toFunctor.obj X))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerLeft_naturality_comp_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {G H : CategoryTheory.Pseudofunctor B C} (θ : G ⟶ H) {a b c : B} {a' : C} (f : a' ⟶ G.obj a) (g : a ⟶ b) (h : b ⟶ c)
  {Z : a' ⟶ H.obj c}
  (h_1 :
    CategoryTheory.CategoryStruct.comp f
        (CategoryTheory.CategoryStruct.comp (θ.app a) (CategoryTheory.CategoryStruct.comp (H.map g) (H.map h))) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (θ.naturality (CategoryTheory.CategoryStruct.comp g h)).hom)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft (θ.app a) (H.mapComp g h).hom))
        h_1) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight (G.mapComp g h).hom (θ.app c)))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f
          (CategoryTheory.Bicategory.associator (G.map g) (G.map h) (θ.app c)).hom)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerLeft f
            (CategoryTheory.Bicategory.whiskerLeft (G.map g) (θ.naturality h).hom))
          (CategoryTheory.CategoryStruct.comp
            (CategoryTheory.Bicategory.whiskerLeft f
              (CategoryTheory.Bicategory.associator (G.map g) (θ.app b) (H.map h)).inv)
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerLeft f
                (CategoryTheory.Bicategory.whiskerRight (θ.naturality g).hom (H.map h)))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.whiskerLeft f
                  (CategoryTheory.Bicategory.associator (θ.app a) (H.map g) (H.map h)).hom)
                h_1)))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerLeft_naturality_comp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {G H : CategoryTheory.Pseudofunctor B C} (θ : G ⟶ H) {a b c : B} {a' : C} (f : a' ⟶ G.obj a) (g : a ⟶ b) (h : b ⟶ c),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (θ.naturality (CategoryTheory.CategoryStruct.comp g h)).hom)
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft (θ.app a) (H.mapComp g h).hom)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight (G.mapComp g h).hom (θ.app c)))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f
          (CategoryTheory.Bicategory.associator (G.map g) (G.map h) (θ.app c)).hom)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerLeft f
            (CategoryTheory.Bicategory.whiskerLeft (G.map g) (θ.naturality h).hom))
          (CategoryTheory.CategoryStruct.comp
            (CategoryTheory.Bicategory.whiskerLeft f
              (CategoryTheory.Bicategory.associator (G.map g) (θ.app b) (H.map h)).inv)
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerLeft f
                (CategoryTheory.Bicategory.whiskerRight (θ.naturality g).hom (H.map h)))
              (CategoryTheory.Bicategory.whiskerLeft f
                (CategoryTheory.Bicategory.associator (θ.app a) (H.map g) (H.map h)).hom)))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerRight_naturality_comp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (η : F ⟶ G) {a b c : B} {a' : C} (f : a ⟶ b) (g : b ⟶ c) (h : G.obj c ⟶ a'),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (η.naturality (CategoryTheory.CategoryStruct.comp f g)).hom h)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (η.app a) (G.map (CategoryTheory.CategoryStruct.comp f g)) h).hom
        (CategoryTheory.Bicategory.whiskerLeft (η.app a)
          (CategoryTheory.Bicategory.whiskerRight (G.mapComp f g).hom h))) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (η.app c)) h)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (η.app c)).hom
          h)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.associator (F.map f) (CategoryTheory.CategoryStruct.comp (F.map g) (η.app c))
              h).hom
          (CategoryTheory.CategoryStruct.comp
            (CategoryTheory.Bicategory.whiskerLeft (F.map f)
              (CategoryTheory.Bicategory.whiskerRight (η.naturality g).hom h))
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.associator (F.map f) (CategoryTheory.CategoryStruct.comp (η.app b) (G.map g))
                  h).inv
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.whiskerRight
                  (CategoryTheory.Bicategory.associator (F.map f) (η.app b) (G.map g)).inv h)
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.whiskerRight
                    (CategoryTheory.Bicategory.whiskerRight (η.naturality f).hom (G.map g)) h)
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.whiskerRight
                      (CategoryTheory.Bicategory.associator (η.app a) (G.map f) (G.map g)).hom h)
                    (CategoryTheory.Bicategory.associator (η.app a)
                        (CategoryTheory.CategoryStruct.comp (G.map f) (G.map g)) h).hom)))))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerRight_naturality_comp_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (η : F ⟶ G) {a b c : B} {a' : CategoryTheory.Cat} (f : a ⟶ b) (g : b ⟶ c) (h : G.obj c ⟶ a') (X : ↑(F.obj a)),
  CategoryTheory.CategoryStruct.comp
      (h.toFunctor.map ((η.naturality (CategoryTheory.CategoryStruct.comp f g)).hom.toNatTrans.app X))
      (h.toFunctor.map ((G.mapComp f g).hom.toNatTrans.app ((η.app a).toFunctor.obj X))) =
    CategoryTheory.CategoryStruct.comp
      (h.toFunctor.map ((η.app c).toFunctor.map ((F.mapComp f g).hom.toNatTrans.app X)))
      (CategoryTheory.CategoryStruct.comp
        (h.toFunctor.map
          (CategoryTheory.CategoryStruct.id
            ((η.app c).toFunctor.obj ((F.map g).toFunctor.obj ((F.map f).toFunctor.obj X)))))
        (CategoryTheory.CategoryStruct.comp
          (h.toFunctor.map ((η.naturality g).hom.toNatTrans.app ((F.map f).toFunctor.obj X)))
          (CategoryTheory.CategoryStruct.comp
            (h.toFunctor.map
              (CategoryTheory.CategoryStruct.id
                ((G.map g).toFunctor.obj ((η.app b).toFunctor.obj ((F.map f).toFunctor.obj X)))))
            (CategoryTheory.CategoryStruct.comp
              (h.toFunctor.map ((G.map g).toFunctor.map ((η.naturality f).hom.toNatTrans.app X)))
              (h.toFunctor.map
                (CategoryTheory.CategoryStruct.id
                  ((G.map g).toFunctor.obj ((G.map f).toFunctor.obj ((η.app a).toFunctor.obj X)))))))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerRight_naturality_comp_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (η : F ⟶ G) {a b c : B} {a' : C} (f : a ⟶ b) (g : b ⟶ c) (h : G.obj c ⟶ a')
  {Z : F.obj a ⟶ a'}
  (h_1 :
    CategoryTheory.CategoryStruct.comp (η.app a)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp (G.map f) (G.map g)) h) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (η.naturality (CategoryTheory.CategoryStruct.comp f g)).hom h)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (η.app a) (G.map (CategoryTheory.CategoryStruct.comp f g)) h).hom
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerLeft (η.app a)
            (CategoryTheory.Bicategory.whiskerRight (G.mapComp f g).hom h))
          h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (η.app c)) h)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (η.app c)).hom
          h)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.associator (F.map f) (CategoryTheory.CategoryStruct.comp (F.map g) (η.app c))
              h).hom
          (CategoryTheory.CategoryStruct.comp
            (CategoryTheory.Bicategory.whiskerLeft (F.map f)
              (CategoryTheory.Bicategory.whiskerRight (η.naturality g).hom h))
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.associator (F.map f) (CategoryTheory.CategoryStruct.comp (η.app b) (G.map g))
                  h).inv
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.whiskerRight
                  (CategoryTheory.Bicategory.associator (F.map f) (η.app b) (G.map g)).inv h)
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.whiskerRight
                    (CategoryTheory.Bicategory.whiskerRight (η.naturality f).hom (G.map g)) h)
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.whiskerRight
                      (CategoryTheory.Bicategory.associator (η.app a) (G.map f) (G.map g)).hom h)
                    (CategoryTheory.CategoryStruct.comp
                      (CategoryTheory.Bicategory.associator (η.app a)
                          (CategoryTheory.CategoryStruct.comp (G.map f) (G.map g)) h).hom
                      h_1))))))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerLeft_naturality_id_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {G H : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (θ : G ⟶ H) {a : B} {a' : CategoryTheory.Cat} (f : a' ⟶ G.obj a) (X : ↑a'),
  CategoryTheory.CategoryStruct.comp
      ((θ.naturality (CategoryTheory.CategoryStruct.id a)).hom.toNatTrans.app (f.toFunctor.obj X))
      ((H.mapId a).hom.toNatTrans.app ((θ.app a).toFunctor.obj (f.toFunctor.obj X))) =
    (θ.app a).toFunctor.map ((G.mapId a).hom.toNatTrans.app (f.toFunctor.obj X))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerLeft_naturality_id_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {G H : CategoryTheory.Pseudofunctor B C} (θ : G ⟶ H) {a : B} {a' : C} (f : a' ⟶ G.obj a) {Z : a' ⟶ H.obj a}
  (h :
    CategoryTheory.CategoryStruct.comp f
        (CategoryTheory.CategoryStruct.comp (θ.app a) (CategoryTheory.CategoryStruct.id (H.obj a))) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (θ.naturality (CategoryTheory.CategoryStruct.id a)).hom)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft (θ.app a) (H.mapId a).hom)) h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight (G.mapId a).hom (θ.app a)))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor (θ.app a)).hom)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.rightUnitor (θ.app a)).inv) h))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerLeft_naturality_id E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {G H : CategoryTheory.Pseudofunctor B C} (θ : G ⟶ H) {a : B} {a' : C} (f : a' ⟶ G.obj a),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (θ.naturality (CategoryTheory.CategoryStruct.id a)).hom)
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft (θ.app a) (H.mapId a).hom)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight (G.mapId a).hom (θ.app a)))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor (θ.app a)).hom)
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.rightUnitor (θ.app a)).inv))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerRight_naturality_id_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (η : F ⟶ G) {a : B} {a' : C} (f : G.obj a ⟶ a') {Z : F.obj a ⟶ a'}
  (h :
    CategoryTheory.CategoryStruct.comp (η.app a)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id (G.obj a)) f) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (η.naturality (CategoryTheory.CategoryStruct.id a)).hom f)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (η.app a) (G.map (CategoryTheory.CategoryStruct.id a)) f).hom
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerLeft (η.app a) (CategoryTheory.Bicategory.whiskerRight (G.mapId a).hom f))
          h)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (η.app a)) f)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.leftUnitor (η.app a)).hom f)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor (η.app a)).inv f)
          (CategoryTheory.CategoryStruct.comp
            (CategoryTheory.Bicategory.associator (η.app a) (CategoryTheory.CategoryStruct.id (G.obj a)) f).hom h)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerRight_naturality_id_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (η : F ⟶ G) {a : B} {a' : CategoryTheory.Cat} (f : G.obj a ⟶ a') (X : ↑(F.obj a)),
  CategoryTheory.CategoryStruct.comp
      (f.toFunctor.map ((η.naturality (CategoryTheory.CategoryStruct.id a)).hom.toNatTrans.app X))
      (f.toFunctor.map ((G.mapId a).hom.toNatTrans.app ((η.app a).toFunctor.obj X))) =
    CategoryTheory.CategoryStruct.comp (f.toFunctor.map ((η.app a).toFunctor.map ((F.mapId a).hom.toNatTrans.app X)))
      (CategoryTheory.CategoryStruct.comp
        (f.toFunctor.map
          (CategoryTheory.CategoryStruct.id
            ((η.app a).toFunctor.obj ((CategoryTheory.CategoryStruct.id (F.obj a)).toFunctor.obj X))))
        (f.toFunctor.map (CategoryTheory.CategoryStruct.id ((η.app a).toFunctor.obj X))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.whiskerRight_naturality_id E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (η : F ⟶ G) {a : B} {a' : C} (f : G.obj a ⟶ a'),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (η.naturality (CategoryTheory.CategoryStruct.id a)).hom f)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (η.app a) (G.map (CategoryTheory.CategoryStruct.id a)) f).hom
        (CategoryTheory.Bicategory.whiskerLeft (η.app a) (CategoryTheory.Bicategory.whiskerRight (G.mapId a).hom f))) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (η.app a)) f)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.leftUnitor (η.app a)).hom f)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor (η.app a)).inv f)
          (CategoryTheory.Bicategory.associator (η.app a) (CategoryTheory.CategoryStruct.id (G.obj a)) f).hom))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id_hom_assoc E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) (a : B) {Z : F.obj a ⟶ G.obj a}
  (h : CategoryTheory.CategoryStruct.comp (α.app a) (G.map (CategoryTheory.CategoryStruct.id a)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (α.naturality (CategoryTheory.CategoryStruct.id a)).hom h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (α.app a))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (α.app a)).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (α.app a)).inv
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.mapId a).inv) h)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id_hom E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) (a : B),
  (α.naturality (CategoryTheory.CategoryStruct.id a)).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (α.app a))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (α.app a)).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (α.app a)).inv
          (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.mapId a).inv)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id_hom_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (α : F ⟶ G) (a : B) (X : ↑(F.obj a)),
  (α.naturality (CategoryTheory.CategoryStruct.id a)).hom.toNatTrans.app X =
    CategoryTheory.CategoryStruct.comp ((α.app a).toFunctor.map ((F.mapId a).hom.toNatTrans.app X))
      ((G.mapId a).inv.toNatTrans.app ((α.app a).toFunctor.obj X))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id_hom_app_assoc E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (α : F ⟶ G) (a : B) (X : ↑(F.obj a)) {Z : ↑(G.obj a)}
  (h : (G.map (CategoryTheory.CategoryStruct.id a)).toFunctor.obj ((α.app a).toFunctor.obj X) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((α.naturality (CategoryTheory.CategoryStruct.id a)).hom.toNatTrans.app X) h =
    CategoryTheory.CategoryStruct.comp ((α.app a).toFunctor.map ((F.mapId a).hom.toNatTrans.app X))
      (CategoryTheory.CategoryStruct.comp ((G.mapId a).inv.toNatTrans.app ((α.app a).toFunctor.obj X)) h)

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id_iso E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) (a : B),
  α.naturality (CategoryTheory.CategoryStruct.id a) =
    CategoryTheory.Bicategory.whiskerRightIso (F.mapId a) (α.app a) ≪≫
      CategoryTheory.Bicategory.leftUnitor (α.app a) ≪≫
        (CategoryTheory.Bicategory.rightUnitor (α.app a)).symm ≪≫
          CategoryTheory.Bicategory.whiskerLeftIso (α.app a) (G.mapId a).symm

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id_inv E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) (a : B),
  (α.naturality (CategoryTheory.CategoryStruct.id a)).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.mapId a).hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (α.app a)).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (α.app a)).inv
          (CategoryTheory.Bicategory.whiskerRight (F.mapId a).inv (α.app a))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id_inv_app_assoc E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (α : F ⟶ G) (a : B) (X : ↑(F.obj a)) {Z : ↑(G.obj a)}
  (h : (α.app a).toFunctor.obj ((F.map (CategoryTheory.CategoryStruct.id a)).toFunctor.obj X) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((α.naturality (CategoryTheory.CategoryStruct.id a)).inv.toNatTrans.app X) h =
    CategoryTheory.CategoryStruct.comp ((G.mapId a).hom.toNatTrans.app ((α.app a).toFunctor.obj X))
      (CategoryTheory.CategoryStruct.comp ((α.app a).toFunctor.map ((F.mapId a).inv.toNatTrans.app X)) h)

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id_inv_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (α : F ⟶ G) (a : B) (X : ↑(F.obj a)),
  (α.naturality (CategoryTheory.CategoryStruct.id a)).inv.toNatTrans.app X =
    CategoryTheory.CategoryStruct.comp ((G.mapId a).hom.toNatTrans.app ((α.app a).toFunctor.obj X))
      ((α.app a).toFunctor.map ((F.mapId a).inv.toNatTrans.app X))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_id_inv_assoc E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) (a : B) {Z : F.obj a ⟶ G.obj a}
  (h : CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.CategoryStruct.id a)) (α.app a) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (α.naturality (CategoryTheory.CategoryStruct.id a)).inv h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.mapId a).hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (α.app a)).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (α.app a)).inv
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).inv (α.app a)) h)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality_hom E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) {a b : B} {f g : a ⟶ b} (η : f ≅ g),
  (α.naturality g).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η.inv) (α.app b))
      (CategoryTheory.CategoryStruct.comp (α.naturality f).hom
        (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.map₂ η.hom)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality_hom_app_assoc E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (α : F ⟶ G) {a b : B} {f g : a ⟶ b} (η : f ≅ g) (X : ↑(F.obj a)) {Z : ↑(G.obj b)}
  (h : (G.map g).toFunctor.obj ((α.app a).toFunctor.obj X) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((α.naturality g).hom.toNatTrans.app X) h =
    CategoryTheory.CategoryStruct.comp ((α.app b).toFunctor.map ((F.map₂ η.inv).toNatTrans.app X))
      (CategoryTheory.CategoryStruct.comp ((α.naturality f).hom.toNatTrans.app X)
        (CategoryTheory.CategoryStruct.comp ((G.map₂ η.hom).toNatTrans.app ((α.app a).toFunctor.obj X)) h))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality_hom_assoc E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) {a b : B} {f g : a ⟶ b} (η : f ≅ g) {Z : F.obj a ⟶ G.obj b}
  (h : CategoryTheory.CategoryStruct.comp (α.app a) (G.map g) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (α.naturality g).hom h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η.inv) (α.app b))
      (CategoryTheory.CategoryStruct.comp (α.naturality f).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.map₂ η.hom)) h))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality_hom_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (α : F ⟶ G) {a b : B} {f g : a ⟶ b} (η : f ≅ g) (X : ↑(F.obj a)),
  (α.naturality g).hom.toNatTrans.app X =
    CategoryTheory.CategoryStruct.comp ((α.app b).toFunctor.map ((F.map₂ η.inv).toNatTrans.app X))
      (CategoryTheory.CategoryStruct.comp ((α.naturality f).hom.toNatTrans.app X)
        ((G.map₂ η.hom).toNatTrans.app ((α.app a).toFunctor.obj X)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality_iso E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) {a b : B} {f g : a ⟶ b} (η : f ≅ g),
  α.naturality g =
    CategoryTheory.Bicategory.whiskerRightIso (F.map₂Iso η.symm) (α.app b) ≪≫
      α.naturality f ≪≫ CategoryTheory.Bicategory.whiskerLeftIso (α.app a) (G.map₂Iso η)

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_naturality_inv E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) {a b : B} {f g : a ⟶ b} (η : f ≅ g),
  (α.naturality g).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.map₂ η.inv))
      (CategoryTheory.CategoryStruct.comp (α.naturality f).inv
        (CategoryTheory.Bicategory.whiskerRight (F.map₂ η.hom) (α.app b)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp_hom_app_assoc E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (α : F ⟶ G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c) (X : ↑(F.obj a)) {Z : ↑(G.obj c)}
  (h : (G.map (CategoryTheory.CategoryStruct.comp f g)).toFunctor.obj ((α.app a).toFunctor.obj X) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((α.naturality (CategoryTheory.CategoryStruct.comp f g)).hom.toNatTrans.app X) h =
    CategoryTheory.CategoryStruct.comp ((α.app c).toFunctor.map ((F.mapComp f g).hom.toNatTrans.app X))
      (CategoryTheory.CategoryStruct.comp ((α.naturality g).hom.toNatTrans.app ((F.map f).toFunctor.obj X))
        (CategoryTheory.CategoryStruct.comp ((G.map g).toFunctor.map ((α.naturality f).hom.toNatTrans.app X))
          (CategoryTheory.CategoryStruct.comp ((G.mapComp f g).inv.toNatTrans.app ((α.app a).toFunctor.obj X)) h)))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp_hom E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  (α.naturality (CategoryTheory.CategoryStruct.comp f g)).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (α.app c))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (α.app c)).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (α.naturality g).hom)
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (α.app b) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (α.naturality f).hom (G.map g))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (α.app a) (G.map f) (G.map g)).hom
                (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.mapComp f g).inv))))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp_hom_assoc E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : F.obj a ⟶ G.obj c}
  (h : CategoryTheory.CategoryStruct.comp (α.app a) (G.map (CategoryTheory.CategoryStruct.comp f g)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (α.naturality (CategoryTheory.CategoryStruct.comp f g)).hom h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).hom (α.app c))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (α.app c)).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (α.naturality g).hom)
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (α.app b) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (α.naturality f).hom (G.map g))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (α.app a) (G.map f) (G.map g)).hom
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.mapComp f g).inv) h))))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp_hom_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (α : F ⟶ G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c) (X : ↑(F.obj a)),
  (α.naturality (CategoryTheory.CategoryStruct.comp f g)).hom.toNatTrans.app X =
    CategoryTheory.CategoryStruct.comp ((α.app c).toFunctor.map ((F.mapComp f g).hom.toNatTrans.app X))
      (CategoryTheory.CategoryStruct.comp ((α.naturality g).hom.toNatTrans.app ((F.map f).toFunctor.obj X))
        (CategoryTheory.CategoryStruct.comp ((G.map g).toFunctor.map ((α.naturality f).hom.toNatTrans.app X))
          ((G.mapComp f g).inv.toNatTrans.app ((α.app a).toFunctor.obj X))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp_iso E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  α.naturality (CategoryTheory.CategoryStruct.comp f g) =
    CategoryTheory.Bicategory.whiskerRightIso (F.mapComp f g) (α.app c) ≪≫
      CategoryTheory.Bicategory.associator (F.map f) (F.map g) (α.app c) ≪≫
        CategoryTheory.Bicategory.whiskerLeftIso (F.map f) (α.naturality g) ≪≫
          (CategoryTheory.Bicategory.associator (F.map f) (α.app b) (G.map g)).symm ≪≫
            CategoryTheory.Bicategory.whiskerRightIso (α.naturality f) (G.map g) ≪≫
              CategoryTheory.Bicategory.associator (α.app a) (G.map f) (G.map g) ≪≫
                CategoryTheory.Bicategory.whiskerLeftIso (α.app a) (G.mapComp f g).symm

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp_inv E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  (α.naturality (CategoryTheory.CategoryStruct.comp f g)).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.mapComp f g).hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (α.app a) (G.map f) (G.map g)).inv
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (α.naturality f).inv (G.map g))
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (α.app b) (G.map g)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (α.naturality g).inv)
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (α.app c)).inv
                (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).inv (α.app c)))))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp_inv_assoc E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.Pseudofunctor B C} (α : F ⟶ G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : F.obj a ⟶ G.obj c}
  (h : CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.CategoryStruct.comp f g)) (α.app c) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (α.naturality (CategoryTheory.CategoryStruct.comp f g)).inv h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (α.app a) (G.mapComp f g).hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (α.app a) (G.map f) (G.map g)).inv
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (α.naturality f).inv (G.map g))
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (α.app b) (G.map g)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (α.naturality g).inv)
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (α.app c)).inv
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g).inv (α.app c)) h))))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp_inv_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (α : F ⟶ G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c) (X : ↑(F.obj a)),
  (α.naturality (CategoryTheory.CategoryStruct.comp f g)).inv.toNatTrans.app X =
    CategoryTheory.CategoryStruct.comp ((G.mapComp f g).hom.toNatTrans.app ((α.app a).toFunctor.obj X))
      (CategoryTheory.CategoryStruct.comp ((G.map g).toFunctor.map ((α.naturality f).inv.toNatTrans.app X))
        (CategoryTheory.CategoryStruct.comp ((α.naturality g).inv.toNatTrans.app ((F.map f).toFunctor.obj X))
          ((α.app c).toFunctor.map ((F.mapComp f g).inv.toNatTrans.app X))))

theorem CategoryTheory.Pseudofunctor.StrongTrans.naturality_comp_inv_app_assoc E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] {F G : CategoryTheory.Pseudofunctor B CategoryTheory.Cat}
  (α : F ⟶ G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c) (X : ↑(F.obj a)) {Z : ↑(G.obj c)}
  (h : (α.app c).toFunctor.obj ((F.map (CategoryTheory.CategoryStruct.comp f g)).toFunctor.obj X) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((α.naturality (CategoryTheory.CategoryStruct.comp f g)).inv.toNatTrans.app X) h =
    CategoryTheory.CategoryStruct.comp ((G.mapComp f g).hom.toNatTrans.app ((α.app a).toFunctor.obj X))
      (CategoryTheory.CategoryStruct.comp ((G.map g).toFunctor.map ((α.naturality f).inv.toNatTrans.app X))
        (CategoryTheory.CategoryStruct.comp ((α.naturality g).inv.toNatTrans.app ((F.map f).toFunctor.obj X))
          (CategoryTheory.CategoryStruct.comp ((α.app c).toFunctor.map ((F.mapComp f g).inv.toNatTrans.app X)) h)))