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.Functor.Pseudofunctor

128 declarations. Mathlib docs · Source

Pseudofunctors

A pseudofunctor is an oplax (or lax) functor whose mapId and mapComp are isomorphisms. We provide several constructors for pseudofunctors:

  • Pseudofunctor.mk : the default constructor, which requires map₂_whiskerLeft and map₂_whiskerRight instead of naturality of mapComp.

  • Pseudofunctor.mkOfOplax : construct a pseudofunctor from an oplax functor whose mapId and mapComp are isomorphisms. This constructor uses Iso to describe isomorphisms.

  • Pseudofunctor.mkOfOplax' : similar to mkOfOplax, but uses IsIso to describe isomorphisms.

  • Pseudofunctor.mkOfLax : construct a pseudofunctor from a lax functor whose mapId and mapComp are isomorphisms. This constructor uses Iso to describe isomorphisms.

  • Pseudofunctor.mkOfLax' : similar to mkOfLax, but uses IsIso to describe isomorphisms.

Main definitions

  • CategoryTheory.Pseudofunctor B C : a pseudofunctor between bicategories B and C, which we denote by B ⥤ᵖ C.
  • CategoryTheory.Pseudofunctor.comp F G : the composition of pseudofunctors

theorem CategoryTheory.Pseudofunctor.mk.inj E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {toPrelaxFunctor : CategoryTheory.PrelaxFunctor B C}
  {mapId :
    (a : B) →
      toPrelaxFunctor.map (CategoryTheory.CategoryStruct.id a) ≅
        CategoryTheory.CategoryStruct.id (toPrelaxFunctor.obj a)}
  {mapComp :
    {a b c : B} →
      (f : a ⟶ b) →
        (g : b ⟶ c) →
          toPrelaxFunctor.map (CategoryTheory.CategoryStruct.comp f g) ≅
            CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map f) (toPrelaxFunctor.map g)}
  {map₂_whisker_left :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ⟶ h),
        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerLeft f η) =
          CategoryTheory.CategoryStruct.comp (mapComp f g).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (toPrelaxFunctor.map₂ η))
              (mapComp f h).inv))
      CategoryTheory.Pseudofunctor.map₂_whisker_left._autoParam}
  {map₂_whisker_right :
    autoParam
      (∀ {a b c : B} {f g : a ⟶ b} (η : f ⟶ g) (h : b ⟶ c),
        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerRight η h) =
          CategoryTheory.CategoryStruct.comp (mapComp f h).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor.map₂ η) (toPrelaxFunctor.map h))
              (mapComp g h).inv))
      CategoryTheory.Pseudofunctor.map₂_whisker_right._autoParam}
  {map₂_associator :
    autoParam
      (∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.associator f g h).hom =
          CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.comp f g) h).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (mapComp f g).hom (toPrelaxFunctor.map h))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (toPrelaxFunctor.map f) (toPrelaxFunctor.map g)
                    (toPrelaxFunctor.map h)).hom
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapComp g h).inv)
                  (mapComp f (CategoryTheory.CategoryStruct.comp g h)).inv))))
      CategoryTheory.Pseudofunctor.map₂_associator._autoParam}
  {map₂_left_unitor :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
          CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.id a) f).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (mapId a).hom (toPrelaxFunctor.map f))
              (CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor.map f)).hom))
      CategoryTheory.Pseudofunctor.map₂_left_unitor._autoParam}
  {map₂_right_unitor :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
          CategoryTheory.CategoryStruct.comp (mapComp f (CategoryTheory.CategoryStruct.id b)).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapId b).hom)
              (CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor.map f)).hom))
      CategoryTheory.Pseudofunctor.map₂_right_unitor._autoParam}
  {toPrelaxFunctor_1 : CategoryTheory.PrelaxFunctor B C}
  {mapId_1 :
    (a : B) →
      toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.id a) ≅
        CategoryTheory.CategoryStruct.id (toPrelaxFunctor_1.obj a)}
  {mapComp_1 :
    {a b c : B} →
      (f : a ⟶ b) →
        (g : b ⟶ c) →
          toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.comp f g) ≅
            CategoryTheory.CategoryStruct.comp (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map g)}
  {map₂_whisker_left_1 :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ⟶ h),
        toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerLeft f η) =
          CategoryTheory.CategoryStruct.comp (mapComp_1 f g).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map₂ η))
              (mapComp_1 f h).inv))
      CategoryTheory.Pseudofunctor.map₂_whisker_left._autoParam}
  {map₂_whisker_right_1 :
    autoParam
      (∀ {a b c : B} {f g : a ⟶ b} (η : f ⟶ g) (h : b ⟶ c),
        toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerRight η h) =
          CategoryTheory.CategoryStruct.comp (mapComp_1 f h).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor_1.map₂ η) (toPrelaxFunctor_1.map h))
              (mapComp_1 g h).inv))
      CategoryTheory.Pseudofunctor.map₂_whisker_right._autoParam}
  {map₂_associator_1 :
    autoParam
      (∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
        toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.associator f g h).hom =
          CategoryTheory.CategoryStruct.comp (mapComp_1 (CategoryTheory.CategoryStruct.comp f g) h).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (mapComp_1 f g).hom (toPrelaxFunctor_1.map h))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map g)
                    (toPrelaxFunctor_1.map h)).hom
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (mapComp_1 g h).inv)
                  (mapComp_1 f (CategoryTheory.CategoryStruct.comp g h)).inv))))
      CategoryTheory.Pseudofunctor.map₂_associator._autoParam}
  {map₂_left_unitor_1 :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
          CategoryTheory.CategoryStruct.comp (mapComp_1 (CategoryTheory.CategoryStruct.id a) f).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (mapId_1 a).hom (toPrelaxFunctor_1.map f))
              (CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor_1.map f)).hom))
      CategoryTheory.Pseudofunctor.map₂_left_unitor._autoParam}
  {map₂_right_unitor_1 :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
          CategoryTheory.CategoryStruct.comp (mapComp_1 f (CategoryTheory.CategoryStruct.id b)).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (mapId_1 b).hom)
              (CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor_1.map f)).hom))
      CategoryTheory.Pseudofunctor.map₂_right_unitor._autoParam},
  { toPrelaxFunctor := toPrelaxFunctor, mapId := mapId, mapComp := mapComp, map₂_whisker_left := map₂_whisker_left,
        map₂_whisker_right := map₂_whisker_right, map₂_associator := map₂_associator,
        map₂_left_unitor := map₂_left_unitor, map₂_right_unitor := map₂_right_unitor } =
      { toPrelaxFunctor := toPrelaxFunctor_1, mapId := mapId_1, mapComp := mapComp_1,
        map₂_whisker_left := map₂_whisker_left_1, map₂_whisker_right := map₂_whisker_right_1,
        map₂_associator := map₂_associator_1, map₂_left_unitor := map₂_left_unitor_1,
        map₂_right_unitor := map₂_right_unitor_1 } →
    toPrelaxFunctor = toPrelaxFunctor_1 ∧ mapId ≍ mapId_1 ∧ mapComp ≍ mapComp_1

def CategoryTheory.Pseudofunctor.ctorIdx E1 #

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

theorem CategoryTheory.Pseudofunctor.mk.injEq E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (toPrelaxFunctor : CategoryTheory.PrelaxFunctor B C)
  (mapId :
    (a : B) →
      toPrelaxFunctor.map (CategoryTheory.CategoryStruct.id a) ≅
        CategoryTheory.CategoryStruct.id (toPrelaxFunctor.obj a))
  (mapComp :
    {a b c : B} →
      (f : a ⟶ b) →
        (g : b ⟶ c) →
          toPrelaxFunctor.map (CategoryTheory.CategoryStruct.comp f g) ≅
            CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map f) (toPrelaxFunctor.map g))
  (map₂_whisker_left :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ⟶ h),
        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerLeft f η) =
          CategoryTheory.CategoryStruct.comp (mapComp f g).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (toPrelaxFunctor.map₂ η))
              (mapComp f h).inv))
      CategoryTheory.Pseudofunctor.map₂_whisker_left._autoParam)
  (map₂_whisker_right :
    autoParam
      (∀ {a b c : B} {f g : a ⟶ b} (η : f ⟶ g) (h : b ⟶ c),
        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerRight η h) =
          CategoryTheory.CategoryStruct.comp (mapComp f h).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor.map₂ η) (toPrelaxFunctor.map h))
              (mapComp g h).inv))
      CategoryTheory.Pseudofunctor.map₂_whisker_right._autoParam)
  (map₂_associator :
    autoParam
      (∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.associator f g h).hom =
          CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.comp f g) h).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (mapComp f g).hom (toPrelaxFunctor.map h))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (toPrelaxFunctor.map f) (toPrelaxFunctor.map g)
                    (toPrelaxFunctor.map h)).hom
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapComp g h).inv)
                  (mapComp f (CategoryTheory.CategoryStruct.comp g h)).inv))))
      CategoryTheory.Pseudofunctor.map₂_associator._autoParam)
  (map₂_left_unitor :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
          CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.id a) f).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (mapId a).hom (toPrelaxFunctor.map f))
              (CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor.map f)).hom))
      CategoryTheory.Pseudofunctor.map₂_left_unitor._autoParam)
  (map₂_right_unitor :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
          CategoryTheory.CategoryStruct.comp (mapComp f (CategoryTheory.CategoryStruct.id b)).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapId b).hom)
              (CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor.map f)).hom))
      CategoryTheory.Pseudofunctor.map₂_right_unitor._autoParam)
  (toPrelaxFunctor_1 : CategoryTheory.PrelaxFunctor B C)
  (mapId_1 :
    (a : B) →
      toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.id a) ≅
        CategoryTheory.CategoryStruct.id (toPrelaxFunctor_1.obj a))
  (mapComp_1 :
    {a b c : B} →
      (f : a ⟶ b) →
        (g : b ⟶ c) →
          toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.comp f g) ≅
            CategoryTheory.CategoryStruct.comp (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map g))
  (map₂_whisker_left_1 :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ⟶ h),
        toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerLeft f η) =
          CategoryTheory.CategoryStruct.comp (mapComp_1 f g).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map₂ η))
              (mapComp_1 f h).inv))
      CategoryTheory.Pseudofunctor.map₂_whisker_left._autoParam)
  (map₂_whisker_right_1 :
    autoParam
      (∀ {a b c : B} {f g : a ⟶ b} (η : f ⟶ g) (h : b ⟶ c),
        toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerRight η h) =
          CategoryTheory.CategoryStruct.comp (mapComp_1 f h).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor_1.map₂ η) (toPrelaxFunctor_1.map h))
              (mapComp_1 g h).inv))
      CategoryTheory.Pseudofunctor.map₂_whisker_right._autoParam)
  (map₂_associator_1 :
    autoParam
      (∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
        toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.associator f g h).hom =
          CategoryTheory.CategoryStruct.comp (mapComp_1 (CategoryTheory.CategoryStruct.comp f g) h).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (mapComp_1 f g).hom (toPrelaxFunctor_1.map h))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map g)
                    (toPrelaxFunctor_1.map h)).hom
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (mapComp_1 g h).inv)
                  (mapComp_1 f (CategoryTheory.CategoryStruct.comp g h)).inv))))
      CategoryTheory.Pseudofunctor.map₂_associator._autoParam)
  (map₂_left_unitor_1 :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
          CategoryTheory.CategoryStruct.comp (mapComp_1 (CategoryTheory.CategoryStruct.id a) f).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerRight (mapId_1 a).hom (toPrelaxFunctor_1.map f))
              (CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor_1.map f)).hom))
      CategoryTheory.Pseudofunctor.map₂_left_unitor._autoParam)
  (map₂_right_unitor_1 :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
          CategoryTheory.CategoryStruct.comp (mapComp_1 f (CategoryTheory.CategoryStruct.id b)).hom
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (mapId_1 b).hom)
              (CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor_1.map f)).hom))
      CategoryTheory.Pseudofunctor.map₂_right_unitor._autoParam),
  ({ toPrelaxFunctor := toPrelaxFunctor, mapId := mapId, mapComp := mapComp, map₂_whisker_left := map₂_whisker_left,
        map₂_whisker_right := map₂_whisker_right, map₂_associator := map₂_associator,
        map₂_left_unitor := map₂_left_unitor, map₂_right_unitor := map₂_right_unitor } =
      { toPrelaxFunctor := toPrelaxFunctor_1, mapId := mapId_1, mapComp := mapComp_1,
        map₂_whisker_left := map₂_whisker_left_1, map₂_whisker_right := map₂_whisker_right_1,
        map₂_associator := map₂_associator_1, map₂_left_unitor := map₂_left_unitor_1,
        map₂_right_unitor := map₂_right_unitor_1 }) =
    (toPrelaxFunctor = toPrelaxFunctor_1 ∧ mapId ≍ mapId_1 ∧ mapComp ≍ mapComp_1)

structure CategoryTheory.Pseudofunctor E1 #

(B : Type u₁) →
  [CategoryTheory.Bicategory B] →
    (C : Type u₂) → [CategoryTheory.Bicategory C] → Type (max (max (max (max (max u₁ u₂) v₁) v₂) w₁) w₂)

A pseudofunctor F between bicategories B and C consists of a function between objects F.obj, a function between 1-morphisms F.map, and a function between 2-morphisms F.map₂.

Unlike functors between categories, F.map does not need to strictly commute with composition, and does not need to strictly preserve the identity. Instead, there are specified 2-isomorphisms F.map (𝟙 a) ≅ 𝟙 (F.obj a) and F.map (f ≫ g) ≅ F.map f ≫ F.map g.

F.map₂ strictly commutes with compositions and preserves the identity. It also preserves the associator, the left unitor, and the right unitor modulo some adjustments of domains and codomains of 2-morphisms.

abbrev CategoryTheory.Pseudofunctor.toPrelaxFunctor E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] → CategoryTheory.Pseudofunctor B C → CategoryTheory.PrelaxFunctor B C

The underlying prelax functor.

ctor CategoryTheory.Pseudofunctor.mk E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (toPrelaxFunctor : CategoryTheory.PrelaxFunctor B C) →
          (mapId :
              (a : B) →
                toPrelaxFunctor.map (CategoryTheory.CategoryStruct.id a) ≅
                  CategoryTheory.CategoryStruct.id (toPrelaxFunctor.obj a)) →
            (mapComp :
                {a b c : B} →
                  (f : a ⟶ b) →
                    (g : b ⟶ c) →
                      toPrelaxFunctor.map (CategoryTheory.CategoryStruct.comp f g) ≅
                        CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map f) (toPrelaxFunctor.map g)) →
              autoParam
                  (∀ {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ⟶ h),
                    toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerLeft f η) =
                      CategoryTheory.CategoryStruct.comp (mapComp f g).hom
                        (CategoryTheory.CategoryStruct.comp
                          (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (toPrelaxFunctor.map₂ η))
                          (mapComp f h).inv))
                  CategoryTheory.Pseudofunctor.map₂_whisker_left._autoParam →
                autoParam
                    (∀ {a b c : B} {f g : a ⟶ b} (η : f ⟶ g) (h : b ⟶ c),
                      toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerRight η h) =
                        CategoryTheory.CategoryStruct.comp (mapComp f h).hom
                          (CategoryTheory.CategoryStruct.comp
                            (CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor.map₂ η) (toPrelaxFunctor.map h))
                            (mapComp g h).inv))
                    CategoryTheory.Pseudofunctor.map₂_whisker_right._autoParam →
                  autoParam
                      (∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
                        toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.associator f g h).hom =
                          CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.comp f g) h).hom
                            (CategoryTheory.CategoryStruct.comp
                              (CategoryTheory.Bicategory.whiskerRight (mapComp f g).hom (toPrelaxFunctor.map h))
                              (CategoryTheory.CategoryStruct.comp
                                (CategoryTheory.Bicategory.associator (toPrelaxFunctor.map f) (toPrelaxFunctor.map g)
                                    (toPrelaxFunctor.map h)).hom
                                (CategoryTheory.CategoryStruct.comp
                                  (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapComp g h).inv)
                                  (mapComp f (CategoryTheory.CategoryStruct.comp g h)).inv))))
                      CategoryTheory.Pseudofunctor.map₂_associator._autoParam →
                    autoParam
                        (∀ {a b : B} (f : a ⟶ b),
                          toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
                            CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.id a) f).hom
                              (CategoryTheory.CategoryStruct.comp
                                (CategoryTheory.Bicategory.whiskerRight (mapId a).hom (toPrelaxFunctor.map f))
                                (CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor.map f)).hom))
                        CategoryTheory.Pseudofunctor.map₂_left_unitor._autoParam →
                      autoParam
                          (∀ {a b : B} (f : a ⟶ b),
                            toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
                              CategoryTheory.CategoryStruct.comp (mapComp f (CategoryTheory.CategoryStruct.id b)).hom
                                (CategoryTheory.CategoryStruct.comp
                                  (CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapId b).hom)
                                  (CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor.map f)).hom))
                          CategoryTheory.Pseudofunctor.map₂_right_unitor._autoParam →
                        CategoryTheory.Pseudofunctor B C

abbrev CategoryTheory.Pseudofunctor.mapId E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (self : CategoryTheory.Pseudofunctor B C) →
          (a : B) → self.map (CategoryTheory.CategoryStruct.id a) ≅ CategoryTheory.CategoryStruct.id (self.obj a)

abbrev CategoryTheory.Pseudofunctor.mapComp E1 #

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

theorem CategoryTheory.Pseudofunctor.map₂_whisker_left E0 #

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

theorem CategoryTheory.Pseudofunctor.map₂_whisker_right E0 #

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

theorem CategoryTheory.Pseudofunctor.map₂_associator E0 #

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

theorem CategoryTheory.Pseudofunctor.map₂_left_unitor E0 #

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

theorem CategoryTheory.Pseudofunctor.map₂_right_unitor E0 #

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

def CategoryTheory.Bicategory.«term_⥤ᵖ_» E1 #

Lean.TrailingParserDescr

Notation for a pseudofunctor between bicategories.

theorem CategoryTheory.Pseudofunctor.map₂_associator_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.map₂_associator_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.map₂_left_unitor_assoc E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (self : CategoryTheory.Pseudofunctor B C) {a b : B} (f : a ⟶ b) {Z : self.obj a ⟶ self.obj b} (h : self.map f ⟶ Z),
  CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom) h =
    CategoryTheory.CategoryStruct.comp (self.mapComp (CategoryTheory.CategoryStruct.id a) f).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.mapId a).hom (self.map f))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.map f)).hom h))

theorem CategoryTheory.Pseudofunctor.map₂_associator_app E1 #

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

theorem CategoryTheory.Pseudofunctor.map₂_right_unitor_assoc E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (self : CategoryTheory.Pseudofunctor B C) {a b : B} (f : a ⟶ b) {Z : self.obj a ⟶ self.obj b} (h : self.map f ⟶ Z),
  CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom) h =
    CategoryTheory.CategoryStruct.comp (self.mapComp f (CategoryTheory.CategoryStruct.id b)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.mapId b).hom)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.map f)).hom h))

theorem CategoryTheory.Pseudofunctor.map₂_whisker_left_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.map₂_left_unitor_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.Pseudofunctor B CategoryTheory.Cat)
  {a b : B} (f : a ⟶ b) (X : ↑(self.obj a)),
  (self.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom).toNatTrans.app X =
    CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.id a) f).hom.toNatTrans.app X)
      ((self.map f).toFunctor.map ((self.mapId a).hom.toNatTrans.app X))

theorem CategoryTheory.Pseudofunctor.map₂_whisker_right_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.map₂_whisker_left_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.map₂_whisker_left_app E1 #

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

theorem CategoryTheory.Pseudofunctor.map₂_whisker_right_app E1 #

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

theorem CategoryTheory.Pseudofunctor.map₂_left_unitor_app_assoc E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.Pseudofunctor B CategoryTheory.Cat)
  {a b : B} (f : a ⟶ b) (X : ↑(self.obj a)) {Z : ↑(self.obj b)} (h : (self.map f).toFunctor.obj X ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom).toNatTrans.app X) h =
    CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.id a) f).hom.toNatTrans.app X)
      (CategoryTheory.CategoryStruct.comp ((self.map f).toFunctor.map ((self.mapId a).hom.toNatTrans.app X)) h)

theorem CategoryTheory.Pseudofunctor.map₂_right_unitor_app_assoc E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.Pseudofunctor B CategoryTheory.Cat)
  {a b : B} (f : a ⟶ b) (X : ↑(self.obj a)) {Z : ↑(self.obj b)} (h : (self.map f).toFunctor.obj X ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom).toNatTrans.app X) h =
    CategoryTheory.CategoryStruct.comp ((self.mapComp f (CategoryTheory.CategoryStruct.id b)).hom.toNatTrans.app X)
      (CategoryTheory.CategoryStruct.comp ((self.mapId b).hom.toNatTrans.app ((self.map f).toFunctor.obj X)) h)

theorem CategoryTheory.Pseudofunctor.map₂_right_unitor_app E1 #

∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.Pseudofunctor B CategoryTheory.Cat)
  {a b : B} (f : a ⟶ b) (X : ↑(self.obj a)),
  (self.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom).toNatTrans.app X =
    CategoryTheory.CategoryStruct.comp ((self.mapComp f (CategoryTheory.CategoryStruct.id b)).hom.toNatTrans.app X)
      ((self.mapId b).hom.toNatTrans.app ((self.map f).toFunctor.obj X))

theorem CategoryTheory.Pseudofunctor.map₂_whisker_right_assoc E1 #

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

def CategoryTheory.Pseudofunctor.toOplax E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] → CategoryTheory.Pseudofunctor B C → CategoryTheory.OplaxFunctor B C

The oplax functor associated with a pseudofunctor.

theorem CategoryTheory.Pseudofunctor.toOplax_mapComp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  F.toOplax.mapComp f g = (F.mapComp f g).hom

theorem CategoryTheory.Pseudofunctor.toOplax_mapId E0 #

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

theorem CategoryTheory.Pseudofunctor.toOplax_toPrelaxFunctor E0 #

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

instance CategoryTheory.Pseudofunctor.hasCoeToOplax E0 #

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

def CategoryTheory.Pseudofunctor.toLax E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] → CategoryTheory.Pseudofunctor B C → CategoryTheory.LaxFunctor B C

The lax functor associated with a pseudofunctor.

theorem CategoryTheory.Pseudofunctor.toLax_mapComp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) {a b c : B} (f : a ⟶ b) (g : b ⟶ c), F.toLax.mapComp f g = (F.mapComp f g).inv

theorem CategoryTheory.Pseudofunctor.toLax_mapId E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) (a : B), F.toLax.mapId a = (F.mapId a).inv

theorem CategoryTheory.Pseudofunctor.toLax_toPrelaxFunctor E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C), F.toLax.toPrelaxFunctor = F.toPrelaxFunctor

instance CategoryTheory.Pseudofunctor.hasCoeToLax E0 #

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

def CategoryTheory.Pseudofunctor.id E1 #

(B : Type u₁) → [inst : CategoryTheory.Bicategory B] → CategoryTheory.Pseudofunctor B B

The identity pseudofunctor.

theorem CategoryTheory.Pseudofunctor.id_toPrelaxFunctor E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B],
  (CategoryTheory.Pseudofunctor.id B).toPrelaxFunctor = CategoryTheory.PrelaxFunctor.id B

theorem CategoryTheory.Pseudofunctor.id_mapId E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] (a : B),
  (CategoryTheory.Pseudofunctor.id B).mapId a = CategoryTheory.Iso.refl (CategoryTheory.CategoryStruct.id a)

theorem CategoryTheory.Pseudofunctor.id_mapComp E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  (CategoryTheory.Pseudofunctor.id B).mapComp f g = CategoryTheory.Iso.refl (CategoryTheory.CategoryStruct.comp f g)

instance CategoryTheory.Pseudofunctor.instInhabited E0 #

{B : Type u₁} → [inst : CategoryTheory.Bicategory B] → Inhabited (CategoryTheory.Pseudofunctor B B)

def CategoryTheory.Pseudofunctor.comp E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {D : Type u₃} →
          [inst_2 : CategoryTheory.Bicategory D] →
            CategoryTheory.Pseudofunctor B C → CategoryTheory.Pseudofunctor C D → CategoryTheory.Pseudofunctor B D

Composition of pseudofunctors.

theorem CategoryTheory.Pseudofunctor.comp_toPrelaxFunctor E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C] {D : Type u₃}
  [inst_2 : CategoryTheory.Bicategory D] (F : CategoryTheory.Pseudofunctor B C) (G : CategoryTheory.Pseudofunctor C D),
  (F.comp G).toPrelaxFunctor = F.comp G.toPrelaxFunctor

theorem CategoryTheory.Pseudofunctor.comp_mapComp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C] {D : Type u₃}
  [inst_2 : CategoryTheory.Bicategory D] (F : CategoryTheory.Pseudofunctor B C) (G : CategoryTheory.Pseudofunctor C D)
  {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  (F.comp G).mapComp f g = G.map₂Iso (F.mapComp f g) ≪≫ G.mapComp (F.map f) (F.map g)

theorem CategoryTheory.Pseudofunctor.comp_mapId E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C] {D : Type u₃}
  [inst_2 : CategoryTheory.Bicategory D] (F : CategoryTheory.Pseudofunctor B C) (G : CategoryTheory.Pseudofunctor C D)
  (a : B), (F.comp G).mapId a = G.map₂Iso (F.mapId a) ≪≫ G.mapId (F.obj a)

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_right_hom E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_right_hom_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_right_hom_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_right_hom_app E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_left_hom_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_left_hom E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_left_hom_app E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_left_hom_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_right_inv_app E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_right_inv_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_right_inv_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_right_inv E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_left_inv_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_left_inv_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_left_inv E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_assoc_left_inv_app E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_id_left_hom_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_id_left_hom_assoc E1 #

∀ {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) {Z : F.obj a ⟶ F.obj b}
  (h : CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.CategoryStruct.id a)) (F.map f) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.id a) f).hom h =
    CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).inv
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).inv (F.map f)) h))

theorem CategoryTheory.Pseudofunctor.mapComp_id_left_hom_app E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_id_left_hom E1 #

∀ {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),
  (F.mapComp (CategoryTheory.CategoryStruct.id a) f).hom =
    CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).inv
        (CategoryTheory.Bicategory.whiskerRight (F.mapId a).inv (F.map f)))

theorem CategoryTheory.Pseudofunctor.mapComp_id_left E1 #

∀ {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),
  F.mapComp (CategoryTheory.CategoryStruct.id a) f =
    F.map₂Iso (CategoryTheory.Bicategory.leftUnitor f) ≪≫
      (CategoryTheory.Bicategory.leftUnitor (F.map f)).symm ≪≫
        (CategoryTheory.Bicategory.whiskerRightIso (F.mapId a) (F.map f)).symm

theorem CategoryTheory.Pseudofunctor.mapComp_id_left_inv_app E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_id_left_inv_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_id_left_inv_assoc E1 #

∀ {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) {Z : F.obj a ⟶ F.obj b}
  (h : F.map (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) f) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.id a) f).inv h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (F.map f))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).hom
        (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv) h))

theorem CategoryTheory.Pseudofunctor.mapComp_id_left_inv E1 #

∀ {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),
  (F.mapComp (CategoryTheory.CategoryStruct.id a) f).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (F.map f))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).hom
        (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv))

theorem CategoryTheory.Pseudofunctor.whiskerRightIso_mapId E1 #

∀ {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.Bicategory.whiskerRightIso (F.mapId a) (F.map f) =
    (F.mapComp (CategoryTheory.CategoryStruct.id a) f).symm ≪≫
      F.map₂Iso (CategoryTheory.Bicategory.leftUnitor f) ≪≫ (CategoryTheory.Bicategory.leftUnitor (F.map f)).symm

theorem CategoryTheory.Pseudofunctor.whiskerRight_mapId_hom_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.whiskerRight_mapId_hom E1 #

∀ {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.Bicategory.whiskerRight (F.mapId a).hom (F.map f) =
    CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.id a) f).inv
      (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom)
        (CategoryTheory.Bicategory.leftUnitor (F.map f)).inv)

theorem CategoryTheory.Pseudofunctor.whiskerRight_mapId_hom_assoc E1 #

∀ {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) {Z : F.obj a ⟶ F.obj b}
  (h : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id (F.obj a)) (F.map f) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).hom (F.map f)) h =
    CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.id a) f).inv
      (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).inv h))

theorem CategoryTheory.Pseudofunctor.whiskerRight_mapId_hom_app E1 #

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

theorem CategoryTheory.Pseudofunctor.whiskerRight_mapId_inv_app E1 #

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

theorem CategoryTheory.Pseudofunctor.whiskerRight_mapId_inv_assoc E1 #

∀ {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) {Z : F.obj a ⟶ F.obj b}
  (h : CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.CategoryStruct.id a)) (F.map f) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a).inv (F.map f)) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).hom
      (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv)
        (CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.id a) f).hom h))

theorem CategoryTheory.Pseudofunctor.whiskerRight_mapId_inv E1 #

∀ {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.Bicategory.whiskerRight (F.mapId a).inv (F.map f) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).hom
      (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv)
        (F.mapComp (CategoryTheory.CategoryStruct.id a) f).hom)

theorem CategoryTheory.Pseudofunctor.whiskerRight_mapId_inv_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_id_right_hom E1 #

∀ {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),
  (F.mapComp f (CategoryTheory.CategoryStruct.id b)).hom =
    CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).inv
        (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapId b).inv))

theorem CategoryTheory.Pseudofunctor.mapComp_id_right_hom_assoc E1 #

∀ {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) {Z : F.obj a ⟶ F.obj b}
  (h : CategoryTheory.CategoryStruct.comp (F.map f) (F.map (CategoryTheory.CategoryStruct.id b)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.id b)).hom h =
    CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).inv
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapId b).inv) h))

theorem CategoryTheory.Pseudofunctor.mapComp_id_right_hom_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_id_right_hom_app E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_id_right E1 #

∀ {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),
  F.mapComp f (CategoryTheory.CategoryStruct.id b) =
    F.map₂Iso (CategoryTheory.Bicategory.rightUnitor f) ≪≫
      (CategoryTheory.Bicategory.rightUnitor (F.map f)).symm ≪≫
        (CategoryTheory.Bicategory.whiskerLeftIso (F.map f) (F.mapId b)).symm

theorem CategoryTheory.Pseudofunctor.mapComp_id_right_inv_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.mapComp_id_right_inv_assoc E1 #

∀ {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) {Z : F.obj a ⟶ F.obj b}
  (h : F.map (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.id b)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.id b)).inv h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapId b).hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).hom
        (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv) h))

theorem CategoryTheory.Pseudofunctor.mapComp_id_right_inv E1 #

∀ {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),
  (F.mapComp f (CategoryTheory.CategoryStruct.id b)).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapId b).hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).hom
        (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv))

theorem CategoryTheory.Pseudofunctor.mapComp_id_right_inv_app E1 #

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

theorem CategoryTheory.Pseudofunctor.whiskerLeftIso_mapId E1 #

∀ {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.Bicategory.whiskerLeftIso (F.map f) (F.mapId b) =
    (F.mapComp f (CategoryTheory.CategoryStruct.id b)).symm ≪≫
      F.map₂Iso (CategoryTheory.Bicategory.rightUnitor f) ≪≫ (CategoryTheory.Bicategory.rightUnitor (F.map f)).symm

theorem CategoryTheory.Pseudofunctor.whiskerLeft_mapId_hom E1 #

∀ {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.Bicategory.whiskerLeft (F.map f) (F.mapId b).hom =
    CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.id b)).inv
      (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom)
        (CategoryTheory.Bicategory.rightUnitor (F.map f)).inv)

theorem CategoryTheory.Pseudofunctor.whiskerLeft_mapId_hom_app E1 #

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

theorem CategoryTheory.Pseudofunctor.whiskerLeft_mapId_hom_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.whiskerLeft_mapId_hom_assoc E1 #

∀ {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) {Z : F.obj a ⟶ F.obj b}
  (h : CategoryTheory.CategoryStruct.comp (F.map f) (CategoryTheory.CategoryStruct.id (F.obj b)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapId b).hom) h =
    CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.id b)).inv
      (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).inv h))

theorem CategoryTheory.Pseudofunctor.whiskerLeft_mapId_inv_app_assoc E1 #

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

theorem CategoryTheory.Pseudofunctor.whiskerLeft_mapId_inv_app E1 #

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

theorem CategoryTheory.Pseudofunctor.whiskerLeft_mapId_inv E1 #

∀ {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.Bicategory.whiskerLeft (F.map f) (F.mapId b).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).hom
      (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv)
        (F.mapComp f (CategoryTheory.CategoryStruct.id b)).hom)

theorem CategoryTheory.Pseudofunctor.whiskerLeft_mapId_inv_assoc E1 #

∀ {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) {Z : F.obj a ⟶ F.obj b}
  (h : CategoryTheory.CategoryStruct.comp (F.map f) (F.map (CategoryTheory.CategoryStruct.id b)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapId b).inv) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).hom
      (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv)
        (CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.id b)).hom h))

def CategoryTheory.Pseudofunctor.mapId' E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (F : CategoryTheory.Pseudofunctor B C) →
          {b : B} →
            (f : b ⟶ b) →
              autoParam (f = CategoryTheory.CategoryStruct.id b) CategoryTheory.Pseudofunctor.mapId'._auto_1 →
                (F.map f ≅ CategoryTheory.CategoryStruct.id (F.obj b))

More flexible variant of mapId. (See the file Bicategory.Functor.Strict for applications to strict bicategories.)

theorem CategoryTheory.Pseudofunctor.mapId'_eq_mapId E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) (b : B), F.mapId' (CategoryTheory.CategoryStruct.id b) ⋯ = F.mapId b

theorem CategoryTheory.Pseudofunctor.toLax_mapId' E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) {b : B} (f : b ⟶ b)
  (hf : autoParam (f = CategoryTheory.CategoryStruct.id b) CategoryTheory.Pseudofunctor.toLax_mapId'._auto_1),
  F.toLax.mapId' f hf = (F.mapId' f hf).inv

theorem CategoryTheory.Pseudofunctor.toOplax_mapId' E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) {b : B} (f : b ⟶ b)
  (hf : autoParam (f = CategoryTheory.CategoryStruct.id b) CategoryTheory.Pseudofunctor.toOplax_mapId'._auto_1),
  F.toOplax.mapId' f hf = (F.mapId' f hf).hom

def CategoryTheory.Pseudofunctor.mapComp' E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (F : CategoryTheory.Pseudofunctor B C) →
          {b₀ b₁ b₂ : B} →
            (f : b₀ ⟶ b₁) →
              (g : b₁ ⟶ b₂) →
                (fg : b₀ ⟶ b₂) →
                  autoParam (CategoryTheory.CategoryStruct.comp f g = fg)
                      CategoryTheory.Pseudofunctor.mapComp'._auto_1 →
                    (F.map fg ≅ CategoryTheory.CategoryStruct.comp (F.map f) (F.map g))

More flexible variant of mapComp. (See Bicategory.Functor.Strict for applications to strict bicategories.)

theorem CategoryTheory.Pseudofunctor.mapComp'_eq_mapComp E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) {b₀ b₁ b₂ : B} (f : b₀ ⟶ b₁) (g : b₁ ⟶ b₂),
  F.mapComp' f g (CategoryTheory.CategoryStruct.comp f g) ⋯ = F.mapComp f g

theorem CategoryTheory.Pseudofunctor.toLax_mapComp' E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) {b₀ b₁ b₂ : B} (f : b₀ ⟶ b₁) (g : b₁ ⟶ b₂) (fg : b₀ ⟶ b₂)
  (h : autoParam (CategoryTheory.CategoryStruct.comp f g = fg) CategoryTheory.Pseudofunctor.toLax_mapComp'._auto_1),
  F.toLax.mapComp' f g fg h = (F.mapComp' f g fg h).inv

theorem CategoryTheory.Pseudofunctor.toOplax_mapComp' E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.Pseudofunctor B C) {b₀ b₁ b₂ : B} (f : b₀ ⟶ b₁) (g : b₁ ⟶ b₂) (fg : b₀ ⟶ b₂)
  (h : autoParam (CategoryTheory.CategoryStruct.comp f g = fg) CategoryTheory.Pseudofunctor.toOplax_mapComp'._auto_1),
  F.toOplax.mapComp' f g fg h = (F.mapComp' f g fg h).hom

def CategoryTheory.Pseudofunctor.mkOfOplax E1 #

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

Construct a pseudofunctor from an oplax functor whose mapId and mapComp are isomorphisms.

theorem CategoryTheory.Pseudofunctor.mkOfOplax_mapComp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.OplaxFunctor B C) (F' : F.PseudoCore) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  (CategoryTheory.Pseudofunctor.mkOfOplax F F').mapComp f g = F'.mapCompIso f g

theorem CategoryTheory.Pseudofunctor.mkOfOplax_mapId E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.OplaxFunctor B C) (F' : F.PseudoCore) (a : B),
  (CategoryTheory.Pseudofunctor.mkOfOplax F F').mapId a = F'.mapIdIso a

theorem CategoryTheory.Pseudofunctor.mkOfOplax_toPrelaxFunctor E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.OplaxFunctor B C) (F' : F.PseudoCore),
  (CategoryTheory.Pseudofunctor.mkOfOplax F F').toPrelaxFunctor = F.toPrelaxFunctor

def CategoryTheory.Pseudofunctor.mkOfOplax' E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (F : CategoryTheory.OplaxFunctor B C) →
          [∀ (a : B), CategoryTheory.IsIso (F.mapId a)] →
            [∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)] →
              CategoryTheory.Pseudofunctor B C

Construct a pseudofunctor from an oplax functor whose mapId and mapComp are isomorphisms.

theorem CategoryTheory.Pseudofunctor.mkOfOplax'_toPrelaxFunctor E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.OplaxFunctor B C) [inst_2 : ∀ (a : B), CategoryTheory.IsIso (F.mapId a)]
  [inst_3 : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)],
  (CategoryTheory.Pseudofunctor.mkOfOplax' F).toPrelaxFunctor = F.toPrelaxFunctor

theorem CategoryTheory.Pseudofunctor.mkOfOplax'_mapId_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.OplaxFunctor B C) [inst_2 : ∀ (a : B), CategoryTheory.IsIso (F.mapId a)]
  [inst_3 : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)] (a : B),
  ((CategoryTheory.Pseudofunctor.mkOfOplax' F).mapId a).hom = F.mapId a

theorem CategoryTheory.Pseudofunctor.mkOfOplax'_mapComp_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.OplaxFunctor B C) [inst_2 : ∀ (a : B), CategoryTheory.IsIso (F.mapId a)]
  [inst_3 : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)] {a b c : B} (f : a ⟶ b)
  (g : b ⟶ c), ((CategoryTheory.Pseudofunctor.mkOfOplax' F).mapComp f g).hom = F.mapComp f g

theorem CategoryTheory.Pseudofunctor.mkOfOplax'_mapId_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.OplaxFunctor B C) [inst_2 : ∀ (a : B), CategoryTheory.IsIso (F.mapId a)]
  [inst_3 : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)] (a : B),
  ((CategoryTheory.Pseudofunctor.mkOfOplax' F).mapId a).inv = CategoryTheory.inv (F.mapId a)

theorem CategoryTheory.Pseudofunctor.mkOfOplax'_mapComp_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.OplaxFunctor B C) [inst_2 : ∀ (a : B), CategoryTheory.IsIso (F.mapId a)]
  [inst_3 : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)] {a b c : B} (f : a ⟶ b)
  (g : b ⟶ c), ((CategoryTheory.Pseudofunctor.mkOfOplax' F).mapComp f g).inv = CategoryTheory.inv (F.mapComp f g)

def CategoryTheory.Pseudofunctor.mkOfLax E1 #

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

Construct a pseudofunctor from a lax functor whose mapId and mapComp are isomorphisms.

theorem CategoryTheory.Pseudofunctor.mkOfLax_mapComp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) (F' : F.PseudoCore) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  (CategoryTheory.Pseudofunctor.mkOfLax F F').mapComp f g = F'.mapCompIso f g

theorem CategoryTheory.Pseudofunctor.mkOfLax_mapId E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) (F' : F.PseudoCore) (a : B),
  (CategoryTheory.Pseudofunctor.mkOfLax F F').mapId a = F'.mapIdIso a

theorem CategoryTheory.Pseudofunctor.mkOfLax_toPrelaxFunctor E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) (F' : F.PseudoCore),
  (CategoryTheory.Pseudofunctor.mkOfLax F F').toPrelaxFunctor = F.toPrelaxFunctor

def CategoryTheory.Pseudofunctor.mkOfLax' E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (F : CategoryTheory.LaxFunctor B C) →
          [∀ (a : B), CategoryTheory.IsIso (F.mapId a)] →
            [∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)] →
              CategoryTheory.Pseudofunctor B C

Construct a pseudofunctor from a lax functor whose mapId and mapComp are isomorphisms.

theorem CategoryTheory.Pseudofunctor.mkOfLax'_mapComp_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) [inst_2 : ∀ (a : B), CategoryTheory.IsIso (F.mapId a)]
  [inst_3 : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)] {a b c : B} (f : a ⟶ b)
  (g : b ⟶ c), ((CategoryTheory.Pseudofunctor.mkOfLax' F).mapComp f g).hom = CategoryTheory.inv (F.mapComp f g)

theorem CategoryTheory.Pseudofunctor.mkOfLax'_mapId_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) [inst_2 : ∀ (a : B), CategoryTheory.IsIso (F.mapId a)]
  [inst_3 : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)] (a : B),
  ((CategoryTheory.Pseudofunctor.mkOfLax' F).mapId a).inv = F.mapId a

theorem CategoryTheory.Pseudofunctor.mkOfLax'_mapId_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) [inst_2 : ∀ (a : B), CategoryTheory.IsIso (F.mapId a)]
  [inst_3 : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)] (a : B),
  ((CategoryTheory.Pseudofunctor.mkOfLax' F).mapId a).hom = CategoryTheory.inv (F.mapId a)

theorem CategoryTheory.Pseudofunctor.mkOfLax'_mapComp_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) [inst_2 : ∀ (a : B), CategoryTheory.IsIso (F.mapId a)]
  [inst_3 : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)] {a b c : B} (f : a ⟶ b)
  (g : b ⟶ c), ((CategoryTheory.Pseudofunctor.mkOfLax' F).mapComp f g).inv = F.mapComp f g

theorem CategoryTheory.Pseudofunctor.mkOfLax'_toPrelaxFunctor E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) [inst_2 : ∀ (a : B), CategoryTheory.IsIso (F.mapId a)]
  [inst_3 : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), CategoryTheory.IsIso (F.mapComp f g)],
  (CategoryTheory.Pseudofunctor.mkOfLax' F).toPrelaxFunctor = F.toPrelaxFunctor