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

54 declarations. Mathlib docs · Source

Prelax functors

This file defines lax prefunctors and prelax functors between bicategories. The point of these definitions is to provide some common API that will be helpful in the development of both lax and oplax functors.

Main definitions

PrelaxFunctorStruct B C:

A PrelaxFunctorStruct F between quivers B and C, such that both have been equipped with quiver structures on the hom-types, consists of

  • a function between objects F.obj : B → C,
  • a family of functions between 1-morphisms F.map : (a ⟶ b) → (F.obj a ⟶ F.obj b),
  • a family of functions between 2-morphisms F.map₂ : (f ⟶ g) → (F.map f ⟶ F.map g),

PrelaxFunctor B C:

A prelax functor F between bicategories B and C is a PrelaxFunctorStruct such that the associated prefunctors between the hom types are all functors. In other words, it is a PrelaxFunctorStruct that satisfies

  • F.map₂ (𝟙 f) = 𝟙 (F.map f),
  • F.map₂ (η ≫ θ) = F.map₂ η ≫ F.map₂ θ.

mkOfHomFunctor: constructs a PrelaxFunctor from a map on objects and functors between the corresponding hom types.

def CategoryTheory.PrelaxFunctor.ctorIdx E1 #

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

theorem CategoryTheory.PrelaxFunctor.mk.inj E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {toPrelaxFunctorStruct : CategoryTheory.PrelaxFunctorStruct B C}
  {map₂_id :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctorStruct.map₂ (CategoryTheory.CategoryStruct.id f) =
          CategoryTheory.CategoryStruct.id (toPrelaxFunctorStruct.map f))
      CategoryTheory.PrelaxFunctor.map₂_id._autoParam}
  {map₂_comp :
    autoParam
      (∀ {a b : B} {f g h : a ⟶ b} (η : f ⟶ g) (θ : g ⟶ h),
        toPrelaxFunctorStruct.map₂ (CategoryTheory.CategoryStruct.comp η θ) =
          CategoryTheory.CategoryStruct.comp (toPrelaxFunctorStruct.map₂ η) (toPrelaxFunctorStruct.map₂ θ))
      CategoryTheory.PrelaxFunctor.map₂_comp._autoParam}
  {toPrelaxFunctorStruct_1 : CategoryTheory.PrelaxFunctorStruct B C}
  {map₂_id_1 :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctorStruct_1.map₂ (CategoryTheory.CategoryStruct.id f) =
          CategoryTheory.CategoryStruct.id (toPrelaxFunctorStruct_1.map f))
      CategoryTheory.PrelaxFunctor.map₂_id._autoParam}
  {map₂_comp_1 :
    autoParam
      (∀ {a b : B} {f g h : a ⟶ b} (η : f ⟶ g) (θ : g ⟶ h),
        toPrelaxFunctorStruct_1.map₂ (CategoryTheory.CategoryStruct.comp η θ) =
          CategoryTheory.CategoryStruct.comp (toPrelaxFunctorStruct_1.map₂ η) (toPrelaxFunctorStruct_1.map₂ θ))
      CategoryTheory.PrelaxFunctor.map₂_comp._autoParam},
  { toPrelaxFunctorStruct := toPrelaxFunctorStruct, map₂_id := map₂_id, map₂_comp := map₂_comp } =
      { toPrelaxFunctorStruct := toPrelaxFunctorStruct_1, map₂_id := map₂_id_1, map₂_comp := map₂_comp_1 } →
    toPrelaxFunctorStruct = toPrelaxFunctorStruct_1

theorem CategoryTheory.PrelaxFunctorStruct.mk.injEq E0 #

∀ {B : Type u₁} [inst : Quiver B] [inst_1 : (a b : B) → Quiver (a ⟶ b)] {C : Type u₂} [inst_2 : Quiver C]
  [inst_3 : (a b : C) → Quiver (a ⟶ b)] (toPrefunctor : B ⥤q C)
  (map₂ : {a b : B} → {f g : a ⟶ b} → (f ⟶ g) → (toPrefunctor.map f ⟶ toPrefunctor.map g)) (toPrefunctor_1 : B ⥤q C)
  (map₂_1 : {a b : B} → {f g : a ⟶ b} → (f ⟶ g) → (toPrefunctor_1.map f ⟶ toPrefunctor_1.map g)),
  ({ toPrefunctor := toPrefunctor, map₂ := map₂ } = { toPrefunctor := toPrefunctor_1, map₂ := map₂_1 }) =
    (toPrefunctor = toPrefunctor_1 ∧ map₂ ≍ map₂_1)

theorem CategoryTheory.PrelaxFunctor.mk.injEq E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (toPrelaxFunctorStruct : CategoryTheory.PrelaxFunctorStruct B C)
  (map₂_id :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctorStruct.map₂ (CategoryTheory.CategoryStruct.id f) =
          CategoryTheory.CategoryStruct.id (toPrelaxFunctorStruct.map f))
      CategoryTheory.PrelaxFunctor.map₂_id._autoParam)
  (map₂_comp :
    autoParam
      (∀ {a b : B} {f g h : a ⟶ b} (η : f ⟶ g) (θ : g ⟶ h),
        toPrelaxFunctorStruct.map₂ (CategoryTheory.CategoryStruct.comp η θ) =
          CategoryTheory.CategoryStruct.comp (toPrelaxFunctorStruct.map₂ η) (toPrelaxFunctorStruct.map₂ θ))
      CategoryTheory.PrelaxFunctor.map₂_comp._autoParam)
  (toPrelaxFunctorStruct_1 : CategoryTheory.PrelaxFunctorStruct B C)
  (map₂_id_1 :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        toPrelaxFunctorStruct_1.map₂ (CategoryTheory.CategoryStruct.id f) =
          CategoryTheory.CategoryStruct.id (toPrelaxFunctorStruct_1.map f))
      CategoryTheory.PrelaxFunctor.map₂_id._autoParam)
  (map₂_comp_1 :
    autoParam
      (∀ {a b : B} {f g h : a ⟶ b} (η : f ⟶ g) (θ : g ⟶ h),
        toPrelaxFunctorStruct_1.map₂ (CategoryTheory.CategoryStruct.comp η θ) =
          CategoryTheory.CategoryStruct.comp (toPrelaxFunctorStruct_1.map₂ η) (toPrelaxFunctorStruct_1.map₂ θ))
      CategoryTheory.PrelaxFunctor.map₂_comp._autoParam),
  ({ toPrelaxFunctorStruct := toPrelaxFunctorStruct, map₂_id := map₂_id, map₂_comp := map₂_comp } =
      { toPrelaxFunctorStruct := toPrelaxFunctorStruct_1, map₂_id := map₂_id_1, map₂_comp := map₂_comp_1 }) =
    (toPrelaxFunctorStruct = toPrelaxFunctorStruct_1)

def CategoryTheory.PrelaxFunctorStruct.ctorIdx E1 #

{B : Type u₁} →
  {inst : Quiver B} →
    {inst_1 : (a b : B) → Quiver (a ⟶ b)} →
      {C : Type u₂} →
        {inst_2 : Quiver C} → {inst_3 : (a b : C) → Quiver (a ⟶ b)} → CategoryTheory.PrelaxFunctorStruct B C → ℕ

theorem CategoryTheory.PrelaxFunctorStruct.mk.inj E1 #

∀ {B : Type u₁} {inst : Quiver B} {inst_1 : (a b : B) → Quiver (a ⟶ b)} {C : Type u₂} {inst_2 : Quiver C}
  {inst_3 : (a b : C) → Quiver (a ⟶ b)} {toPrefunctor : B ⥤q C}
  {map₂ : {a b : B} → {f g : a ⟶ b} → (f ⟶ g) → (toPrefunctor.map f ⟶ toPrefunctor.map g)} {toPrefunctor_1 : B ⥤q C}
  {map₂_1 : {a b : B} → {f g : a ⟶ b} → (f ⟶ g) → (toPrefunctor_1.map f ⟶ toPrefunctor_1.map g)},
  { toPrefunctor := toPrefunctor, map₂ := map₂ } = { toPrefunctor := toPrefunctor_1, map₂ := map₂_1 } →
    toPrefunctor = toPrefunctor_1 ∧ map₂ ≍ map₂_1

structure CategoryTheory.PrelaxFunctorStruct E3 #

(B : Type u₁) →
  [inst : Quiver B] →
    [(a b : B) → Quiver (a ⟶ b)] →
      (C : Type u₂) →
        [inst : Quiver C] → [(a b : C) → Quiver (a ⟶ b)] → Type (max (max (max (max (max u₁ u₂) v₁) v₂) w₁) w₂)

A PrelaxFunctorStruct between bicategories consists of functions between objects, 1-morphisms, and 2-morphisms. This structure will be extended to define PrelaxFunctor.

ctor CategoryTheory.PrelaxFunctorStruct.mk E0 #

{B : Type u₁} →
  [inst : Quiver B] →
    [inst_1 : (a b : B) → Quiver (a ⟶ b)] →
      {C : Type u₂} →
        [inst_2 : Quiver C] →
          [inst_3 : (a b : C) → Quiver (a ⟶ b)] →
            (toPrefunctor : B ⥤q C) →
              ({a b : B} → {f g : a ⟶ b} → (f ⟶ g) → (toPrefunctor.map f ⟶ toPrefunctor.map g)) →
                CategoryTheory.PrelaxFunctorStruct B C

abbrev CategoryTheory.PrelaxFunctorStruct.toPrefunctor E1 #

{B : Type u₁} →
  [inst : Quiver B] →
    [inst_1 : (a b : B) → Quiver (a ⟶ b)] →
      {C : Type u₂} →
        [inst_2 : Quiver C] → [inst_3 : (a b : C) → Quiver (a ⟶ b)] → CategoryTheory.PrelaxFunctorStruct B C → B ⥤q C

The prefunctor between the underlying quivers.

abbrev CategoryTheory.PrelaxFunctorStruct.map₂ E1 #

{B : Type u₁} →
  [inst : Quiver B] →
    [inst_1 : (a b : B) → Quiver (a ⟶ b)] →
      {C : Type u₂} →
        [inst_2 : Quiver C] →
          [inst_3 : (a b : C) → Quiver (a ⟶ b)] →
            (self : CategoryTheory.PrelaxFunctorStruct B C) →
              {a b : B} → {f g : a ⟶ b} → (f ⟶ g) → (self.map f ⟶ self.map g)

The action of a lax prefunctor on 2-morphisms.

def CategoryTheory.PrelaxFunctorStruct.mkOfHomPrefunctors E1 #

{B : Type u₁} →
  [inst : Quiver B] →
    [inst_1 : (a b : B) → Quiver (a ⟶ b)] →
      {C : Type u₂} →
        [inst_2 : Quiver C] →
          [inst_3 : (a b : C) → Quiver (a ⟶ b)] →
            (F : B → C) → ((a b : B) → (a ⟶ b) ⥤q (F a ⟶ F b)) → CategoryTheory.PrelaxFunctorStruct B C

Construct a lax prefunctor from a map on objects, and prefunctors between the corresponding hom types.

theorem CategoryTheory.PrelaxFunctorStruct.mkOfHomPrefunctors_map₂ E0 #

∀ {B : Type u₁} [inst : Quiver B] [inst_1 : (a b : B) → Quiver (a ⟶ b)] {C : Type u₂} [inst_2 : Quiver C]
  [inst_3 : (a b : C) → Quiver (a ⟶ b)] (F : B → C) (F' : (a b : B) → (a ⟶ b) ⥤q (F a ⟶ F b)) {a b : B} {f g : a ⟶ b}
  (a_1 : f ⟶ g), (CategoryTheory.PrelaxFunctorStruct.mkOfHomPrefunctors F F').map₂ a_1 = (F' a b).map a_1

theorem CategoryTheory.PrelaxFunctorStruct.mkOfHomPrefunctors_toPrefunctor_obj E0 #

∀ {B : Type u₁} [inst : Quiver B] [inst_1 : (a b : B) → Quiver (a ⟶ b)] {C : Type u₂} [inst_2 : Quiver C]
  [inst_3 : (a b : C) → Quiver (a ⟶ b)] (F : B → C) (F' : (a b : B) → (a ⟶ b) ⥤q (F a ⟶ F b)) (a : B),
  (CategoryTheory.PrelaxFunctorStruct.mkOfHomPrefunctors F F').obj a = F a

theorem CategoryTheory.PrelaxFunctorStruct.mkOfHomPrefunctors_toPrefunctor_map E0 #

∀ {B : Type u₁} [inst : Quiver B] [inst_1 : (a b : B) → Quiver (a ⟶ b)] {C : Type u₂} [inst_2 : Quiver C]
  [inst_3 : (a b : C) → Quiver (a ⟶ b)] (F : B → C) (F' : (a b : B) → (a ⟶ b) ⥤q (F a ⟶ F b)) {a b : B} (a_1 : a ⟶ b),
  (CategoryTheory.PrelaxFunctorStruct.mkOfHomPrefunctors F F').map a_1 = (F' a b).obj a_1

def CategoryTheory.PrelaxFunctorStruct.id E1 #

(B : Type u₁) → [inst : Quiver B] → [inst_1 : (a b : B) → Quiver (a ⟶ b)] → CategoryTheory.PrelaxFunctorStruct B B

The identity lax prefunctor.

theorem CategoryTheory.PrelaxFunctorStruct.id_map₂ E0 #

∀ (B : Type u₁) [inst : Quiver B] [inst_1 : (a b : B) → Quiver (a ⟶ b)] {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  (CategoryTheory.PrelaxFunctorStruct.id B).map₂ η = η

theorem CategoryTheory.PrelaxFunctorStruct.id_toPrefunctor E0 #

∀ (B : Type u₁) [inst : Quiver B] [inst_1 : (a b : B) → Quiver (a ⟶ b)],
  (CategoryTheory.PrelaxFunctorStruct.id B).toPrefunctor = 𝟭q B

instance CategoryTheory.PrelaxFunctorStruct.instInhabited E0 #

{B : Type u₁} →
  [inst : Quiver B] → [inst_1 : (a b : B) → Quiver (a ⟶ b)] → Inhabited (CategoryTheory.PrelaxFunctorStruct B B)

def CategoryTheory.PrelaxFunctorStruct.comp E1 #

{B : Type u₁} →
  [inst : Quiver B] →
    [inst_1 : (a b : B) → Quiver (a ⟶ b)] →
      {C : Type u₂} →
        [inst_2 : Quiver C] →
          [inst_3 : (a b : C) → Quiver (a ⟶ b)] →
            {D : Type u₃} →
              [inst_4 : Quiver D] →
                [inst_5 : (a b : D) → Quiver (a ⟶ b)] →
                  CategoryTheory.PrelaxFunctorStruct B C →
                    CategoryTheory.PrelaxFunctorStruct C D → CategoryTheory.PrelaxFunctorStruct B D

Composition of lax prefunctors.

theorem CategoryTheory.PrelaxFunctorStruct.comp_toPrefunctor E0 #

∀ {B : Type u₁} [inst : Quiver B] [inst_1 : (a b : B) → Quiver (a ⟶ b)] {C : Type u₂} [inst_2 : Quiver C]
  [inst_3 : (a b : C) → Quiver (a ⟶ b)] {D : Type u₃} [inst_4 : Quiver D] [inst_5 : (a b : D) → Quiver (a ⟶ b)]
  (F : CategoryTheory.PrelaxFunctorStruct B C) (G : CategoryTheory.PrelaxFunctorStruct C D),
  (F.comp G).toPrefunctor = F.toPrefunctor ⋙q G.toPrefunctor

theorem CategoryTheory.PrelaxFunctorStruct.comp_map₂ E0 #

∀ {B : Type u₁} [inst : Quiver B] [inst_1 : (a b : B) → Quiver (a ⟶ b)] {C : Type u₂} [inst_2 : Quiver C]
  [inst_3 : (a b : C) → Quiver (a ⟶ b)] {D : Type u₃} [inst_4 : Quiver D] [inst_5 : (a b : D) → Quiver (a ⟶ b)]
  (F : CategoryTheory.PrelaxFunctorStruct B C) (G : CategoryTheory.PrelaxFunctorStruct C D) {a b : B} {f g : a ⟶ b}
  (η : f ⟶ g), (F.comp G).map₂ η = G.map₂ (F.map₂ η)

structure CategoryTheory.PrelaxFunctor E3 #

(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 prelax functor between bicategories is a lax prefunctor such that map₂ is a functor. This structure will be extended to define LaxFunctor and OplaxFunctor.

abbrev CategoryTheory.PrelaxFunctor.toPrelaxFunctorStruct E1 #

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

The underlying lax prefunctor.

ctor CategoryTheory.PrelaxFunctor.mk E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (toPrelaxFunctorStruct : CategoryTheory.PrelaxFunctorStruct B C) →
          autoParam
              (∀ {a b : B} (f : a ⟶ b),
                toPrelaxFunctorStruct.map₂ (CategoryTheory.CategoryStruct.id f) =
                  CategoryTheory.CategoryStruct.id (toPrelaxFunctorStruct.map f))
              CategoryTheory.PrelaxFunctor.map₂_id._autoParam →
            autoParam
                (∀ {a b : B} {f g h : a ⟶ b} (η : f ⟶ g) (θ : g ⟶ h),
                  toPrelaxFunctorStruct.map₂ (CategoryTheory.CategoryStruct.comp η θ) =
                    CategoryTheory.CategoryStruct.comp (toPrelaxFunctorStruct.map₂ η) (toPrelaxFunctorStruct.map₂ θ))
                CategoryTheory.PrelaxFunctor.map₂_comp._autoParam →
              CategoryTheory.PrelaxFunctor B C

theorem CategoryTheory.PrelaxFunctor.map₂_id E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (self : CategoryTheory.PrelaxFunctor B C) {a b : B} (f : a ⟶ b),
  self.map₂ (CategoryTheory.CategoryStruct.id f) = CategoryTheory.CategoryStruct.id (self.map f)

Prelax functors preserve identity 2-morphisms.

theorem CategoryTheory.PrelaxFunctor.map₂_comp E0 #

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

Prelax functors preserve compositions of 2-morphisms.

theorem CategoryTheory.PrelaxFunctor.map₂_comp_assoc E1 #

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

Prelax functors preserve compositions of 2-morphisms.

def CategoryTheory.PrelaxFunctor.mkOfHomFunctors E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (F : B → C) → ((a b : B) → CategoryTheory.Functor (a ⟶ b) (F a ⟶ F b)) → CategoryTheory.PrelaxFunctor B C

Construct a prelax functor from a map on objects, and functors between the corresponding hom types.

theorem CategoryTheory.PrelaxFunctor.mkOfHomFunctors_toPrelaxFunctorStruct E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C] (F : B → C)
  (F' : (a b : B) → CategoryTheory.Functor (a ⟶ b) (F a ⟶ F b)),
  (CategoryTheory.PrelaxFunctor.mkOfHomFunctors F F').toPrelaxFunctorStruct =
    CategoryTheory.PrelaxFunctorStruct.mkOfHomPrefunctors F fun a b ↦ (F' a b).toPrefunctor

def CategoryTheory.PrelaxFunctor.id E1 #

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

The identity prelax functor.

theorem CategoryTheory.PrelaxFunctor.id_toPrelaxFunctorStruct E0 #

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

instance CategoryTheory.PrelaxFunctor.instInhabited E0 #

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

def CategoryTheory.PrelaxFunctor.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.PrelaxFunctor B C → CategoryTheory.PrelaxFunctor C D → CategoryTheory.PrelaxFunctor B D

Composition of prelax functors.

theorem CategoryTheory.PrelaxFunctor.comp_toPrelaxFunctorStruct 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.PrelaxFunctor B C) (G : CategoryTheory.PrelaxFunctor C D),
  (F.comp G).toPrelaxFunctorStruct = F.comp G.toPrelaxFunctorStruct

def CategoryTheory.PrelaxFunctor.mapFunctor E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (F : CategoryTheory.PrelaxFunctor B C) → (a b : B) → CategoryTheory.Functor (a ⟶ b) (F.obj a ⟶ F.obj b)

Function between 1-morphisms as a functor.

theorem CategoryTheory.PrelaxFunctor.mapFunctor_map E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) (a b : B) {X Y : a ⟶ b} (η : X ⟶ Y), (F.mapFunctor a b).map η = F.map₂ η

theorem CategoryTheory.PrelaxFunctor.mapFunctor_obj E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) (a b : B) (f : a ⟶ b), (F.mapFunctor a b).obj f = F.map f

theorem CategoryTheory.PrelaxFunctor.mkOfHomFunctors_mapFunctor E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C] (F : B → C)
  (F' : (a b : B) → CategoryTheory.Functor (a ⟶ b) (F a ⟶ F b)) (a b : B),
  (CategoryTheory.PrelaxFunctor.mkOfHomFunctors F F').mapFunctor a b = F' a b

abbrev CategoryTheory.PrelaxFunctor.map₂Iso E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (F : CategoryTheory.PrelaxFunctor B C) → {a b : B} → {f g : a ⟶ b} → (f ≅ g) → (F.map f ≅ F.map g)

A prelax functor F sends 2-isomorphisms η : f ≅ g to 2-isomorphisms F.map f ≅ F.map g.

theorem CategoryTheory.PrelaxFunctor.map₂Iso_hom E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {a b : B} {f g : a ⟶ b} (η : f ≅ g), (F.map₂Iso η).hom = F.map₂ η.hom

theorem CategoryTheory.PrelaxFunctor.map₂Iso_inv E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {a b : B} {f g : a ⟶ b} (η : f ≅ g), (F.map₂Iso η).inv = F.map₂ η.inv

instance CategoryTheory.PrelaxFunctor.map₂_isIso E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {a b : B} {f g : a ⟶ b} (η : f ⟶ g) [CategoryTheory.IsIso η],
  CategoryTheory.IsIso (F.map₂ η)

theorem CategoryTheory.PrelaxFunctor.map₂_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {a b : B} {f g : a ⟶ b} (η : f ⟶ g) [inst_2 : CategoryTheory.IsIso η],
  F.map₂ (CategoryTheory.inv η) = CategoryTheory.inv (F.map₂ η)

theorem CategoryTheory.PrelaxFunctor.map₂_iso_inv E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {a b : B} {f g : a ⟶ b} (η : f ≅ g),
  F.map₂ η.inv = CategoryTheory.inv (F.map₂ η.hom)

theorem CategoryTheory.PrelaxFunctor.map₂_hom_inv E0 #

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

theorem CategoryTheory.PrelaxFunctor.map₂_hom_inv_assoc E1 #

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

theorem CategoryTheory.PrelaxFunctor.map₂_hom_inv_isIso E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {a b : B} {f g : a ⟶ b} (η : f ⟶ g) [inst_2 : CategoryTheory.IsIso η],
  CategoryTheory.CategoryStruct.comp (F.map₂ η) (F.map₂ (CategoryTheory.inv η)) =
    CategoryTheory.CategoryStruct.id (F.map f)

theorem CategoryTheory.PrelaxFunctor.map₂_hom_inv_isIso_assoc E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {a b : B} {f g : a ⟶ b} (η : f ⟶ g) [inst_2 : CategoryTheory.IsIso η]
  {Z : F.obj a ⟶ F.obj b} (h : F.map f ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map₂ η) (CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.inv η)) h) =
    h

theorem CategoryTheory.PrelaxFunctor.map₂_inv_hom_assoc E1 #

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

theorem CategoryTheory.PrelaxFunctor.map₂_inv_hom E0 #

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

theorem CategoryTheory.PrelaxFunctor.map₂_inv_hom_isIso E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {a b : B} {f g : a ⟶ b} (η : f ⟶ g) [inst_2 : CategoryTheory.IsIso η],
  CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.inv η)) (F.map₂ η) =
    CategoryTheory.CategoryStruct.id (F.map g)

theorem CategoryTheory.PrelaxFunctor.map₂_inv_hom_isIso_assoc E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {a b : B} {f g : a ⟶ b} (η : f ⟶ g) [inst_2 : CategoryTheory.IsIso η]
  {Z : F.obj a ⟶ F.obj b} (h : F.map g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.inv η)) (CategoryTheory.CategoryStruct.comp (F.map₂ η) h) =
    h

theorem CategoryTheory.PrelaxFunctor.map₂_eqToHom E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {x y : B} (f g : x ⟶ y) (hfg : f = g),
  F.map₂ (CategoryTheory.eqToHom hfg) = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.PrelaxFunctor.map₂Iso_eqToIso E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.PrelaxFunctor B C) {x y : B} (f g : x ⟶ y) (hfg : f = g),
  F.map₂Iso (CategoryTheory.eqToIso hfg) = CategoryTheory.eqToIso ⋯