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

62 declarations. Mathlib docs · Source

2-Yoneda embedding

In this file we define the bicategorical Yoneda embedding.

theorem CategoryTheory.Pseudofunctor.StrongTrans.isoMk.congr_simp E1 #

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

def CategoryTheory.Bicategory.precomposingCat E1 #

{B : Type u} → [inst : CategoryTheory.Bicategory B] → (a b c : B) → CategoryTheory.Functor (a ⟶ b) (↧(b ⟶ c) ⟶ ↧(a ⟶ c))

Version of Bicategory.precomposing viewed in the bicategory Cat.

theorem CategoryTheory.Bicategory.precomposingCat_map E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b c : B) {X Y : a ⟶ b} (η : X ⟶ Y),
  (CategoryTheory.Bicategory.precomposingCat a b c).map η =
    CategoryTheory.NatTrans.toCatHom₂ ((CategoryTheory.Bicategory.precomposing a b c).map η)

theorem CategoryTheory.Bicategory.precomposingCat_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b c : B) (f : a ⟶ b),
  (CategoryTheory.Bicategory.precomposingCat a b c).obj f = (CategoryTheory.Bicategory.precomp c f).toCatHom

def CategoryTheory.Bicategory.postcomposingCat E1 #

{B : Type u} → [inst : CategoryTheory.Bicategory B] → (a b c : B) → CategoryTheory.Functor (b ⟶ c) (↧(a ⟶ b) ⟶ ↧(a ⟶ c))

Version of Bicategory.postcomposing viewed in the bicategory Cat.

theorem CategoryTheory.Bicategory.postcomposingCat_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b c : B) (f : b ⟶ c),
  (CategoryTheory.Bicategory.postcomposingCat a b c).obj f = (CategoryTheory.Bicategory.postcomp a f).toCatHom

theorem CategoryTheory.Bicategory.postcomposingCat_map E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b c : B) {X Y : b ⟶ c} (η : X ⟶ Y),
  (CategoryTheory.Bicategory.postcomposingCat a b c).map η =
    CategoryTheory.NatTrans.toCatHom₂ ((CategoryTheory.Bicategory.postcomposing a b c).map η)

def CategoryTheory.Bicategory.leftUnitorNatIsoCat E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    (a b : B) →
      (CategoryTheory.Bicategory.precomposingCat a a b).obj (CategoryTheory.CategoryStruct.id a) ≅
        CategoryTheory.CategoryStruct.id ↧(a ⟶ b)

Left unitor as a 2-isomorphism in Cat.

theorem CategoryTheory.Bicategory.leftUnitorNatIsoCat_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (X : a ⟶ b),
  (CategoryTheory.Bicategory.leftUnitorNatIsoCat a b).inv.toNatTrans.app X =
    (CategoryTheory.Bicategory.leftUnitor X).inv

theorem CategoryTheory.Bicategory.leftUnitorNatIsoCat_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (X : a ⟶ b),
  (CategoryTheory.Bicategory.leftUnitorNatIsoCat a b).hom.toNatTrans.app X =
    (CategoryTheory.Bicategory.leftUnitor X).hom

def CategoryTheory.Bicategory.associatorNatIsoRightCat E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : a ⟶ b) →
        (g : b ⟶ c) →
          (d : B) →
            (CategoryTheory.Bicategory.precomposingCat a c d).obj (CategoryTheory.CategoryStruct.comp f g) ≅
              CategoryTheory.CategoryStruct.comp ((CategoryTheory.Bicategory.precomposingCat b c d).obj g)
                ((CategoryTheory.Bicategory.precomposingCat a b d).obj f)

Right component of the associator as a 2-isomorphism in Cat.

theorem CategoryTheory.Bicategory.associatorNatIsoRightCat_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) (d : B) (X : c ⟶ d),
  (CategoryTheory.Bicategory.associatorNatIsoRightCat f g d).inv.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator f g X).inv

theorem CategoryTheory.Bicategory.associatorNatIsoRightCat_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) (d : B) (X : c ⟶ d),
  (CategoryTheory.Bicategory.associatorNatIsoRightCat f g d).hom.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator f g X).hom

def CategoryTheory.Bicategory.associatorNatIsoMiddleCat E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c d : B} →
      (f : a ⟶ b) →
        (h : c ⟶ d) →
          CategoryTheory.CategoryStruct.comp ((CategoryTheory.Bicategory.precomposingCat a b c).obj f)
              ((CategoryTheory.Bicategory.postcomposingCat a c d).obj h) ≅
            CategoryTheory.CategoryStruct.comp ((CategoryTheory.Bicategory.postcomposingCat b c d).obj h)
              ((CategoryTheory.Bicategory.precomposingCat a b d).obj f)

Middle component of the associator as a 2-isomorphism in Cat.

theorem CategoryTheory.Bicategory.associatorNatIsoMiddleCat_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (h : c ⟶ d) (X : ↑↧(b ⟶ c)),
  (CategoryTheory.Bicategory.associatorNatIsoMiddleCat f h).hom.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator f X h).hom

theorem CategoryTheory.Bicategory.associatorNatIsoMiddleCat_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (h : c ⟶ d) (X : ↑↧(b ⟶ c)),
  (CategoryTheory.Bicategory.associatorNatIsoMiddleCat f h).inv.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator f X h).inv

def CategoryTheory.Bicategory.rightUnitorNatIsoCat E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    (a b : B) →
      (CategoryTheory.Bicategory.postcomposingCat a b b).obj (CategoryTheory.CategoryStruct.id b) ≅
        CategoryTheory.CategoryStruct.id ↧(a ⟶ b)

Right unitor as a 2-isomorphism in Cat.

theorem CategoryTheory.Bicategory.rightUnitorNatIsoCat_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (X : a ⟶ b),
  (CategoryTheory.Bicategory.rightUnitorNatIsoCat a b).hom.toNatTrans.app X =
    (CategoryTheory.Bicategory.rightUnitor X).hom

theorem CategoryTheory.Bicategory.rightUnitorNatIsoCat_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (X : a ⟶ b),
  (CategoryTheory.Bicategory.rightUnitorNatIsoCat a b).inv.toNatTrans.app X =
    (CategoryTheory.Bicategory.rightUnitor X).inv

def CategoryTheory.Bicategory.associatorNatIsoLeftCat E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    (a : B) →
      {b c d : B} →
        (g : b ⟶ c) →
          (h : c ⟶ d) →
            CategoryTheory.CategoryStruct.comp ((CategoryTheory.Bicategory.postcomposingCat a b c).obj g)
                ((CategoryTheory.Bicategory.postcomposingCat a c d).obj h) ≅
              (CategoryTheory.Bicategory.postcomposingCat a b d).obj (CategoryTheory.CategoryStruct.comp g h)

Left component of the associator as a 2-isomorphism in Cat.

theorem CategoryTheory.Bicategory.associatorNatIsoLeftCat_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a : B) {b c d : B} (g : b ⟶ c) (h : c ⟶ d) (X : ↑↧(a ⟶ b)),
  (CategoryTheory.Bicategory.associatorNatIsoLeftCat a g h).hom.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator X g h).hom

theorem CategoryTheory.Bicategory.associatorNatIsoLeftCat_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a : B) {b c d : B} (g : b ⟶ c) (h : c ⟶ d) (X : ↑↧(a ⟶ b)),
  (CategoryTheory.Bicategory.associatorNatIsoLeftCat a g h).inv.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator X g h).inv

def CategoryTheory.Bicategory.yoneda₀ E1 #

{B : Type u} → [inst : CategoryTheory.Bicategory B] → B → CategoryTheory.Pseudofunctor Bᵒᵖ CategoryTheory.Cat

The map on objects underlying the Yoneda embedding. It sends an object x to the pseudofunctor defined by:

  • Objects: a ↦ (a ⟶ x)
  • Higher morphisms get sent to the corresponding "precomposing" operation.

This is only used for defining yoneda, after which Bicategory.yoneda.obj should be preferred.

theorem CategoryTheory.Bicategory.yoneda₀_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_str E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) (y : Bᵒᵖ),
  ((CategoryTheory.Bicategory.yoneda₀ x).obj y).str = CategoryTheory.Bicategory.homCategory (Opposite.unop y) x

theorem CategoryTheory.Bicategory.yoneda₀_toPrelaxFunctor_toPrelaxFunctorStruct_map₂_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) {a b : Bᵒᵖ} {f g : a ⟶ b} (a_1 : f ⟶ g)
  (x_1 : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda₀ x).map₂ a_1).toNatTrans.app x_1 =
    CategoryTheory.Bicategory.whiskerRight a_1.unop2 x_1

theorem CategoryTheory.Bicategory.yoneda₀_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_map_toFunctor_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) {a b : Bᵒᵖ} (a_1 : a ⟶ b) (x_1 : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda₀ x).map a_1).toFunctor.obj x_1 = CategoryTheory.CategoryStruct.comp a_1.unop x_1

theorem CategoryTheory.Bicategory.yoneda₀_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_map_toFunctor_map E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) {a b : Bᵒᵖ} (a_1 : a ⟶ b) {X Y : Opposite.unop a ⟶ x}
  (x_1 : X ⟶ Y),
  ((CategoryTheory.Bicategory.yoneda₀ x).map a_1).toFunctor.map x_1 = CategoryTheory.Bicategory.whiskerLeft a_1.unop x_1

theorem CategoryTheory.Bicategory.yoneda₀_mapId_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) (a : Bᵒᵖ) (X : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda₀ x).mapId a).hom.toNatTrans.app X = (CategoryTheory.Bicategory.leftUnitor X).hom

theorem CategoryTheory.Bicategory.yoneda₀_mapId_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) (a : Bᵒᵖ) (X : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda₀ x).mapId a).inv.toNatTrans.app X = (CategoryTheory.Bicategory.leftUnitor X).inv

theorem CategoryTheory.Bicategory.yoneda₀_mapComp_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) {a b c : Bᵒᵖ} (f : a ⟶ b) (g : b ⟶ c)
  (X : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda₀ x).mapComp f g).inv.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator g.unop f.unop X).inv

theorem CategoryTheory.Bicategory.yoneda₀_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_α E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) (y : Bᵒᵖ),
  ↑((CategoryTheory.Bicategory.yoneda₀ x).obj y) = (Opposite.unop y ⟶ x)

theorem CategoryTheory.Bicategory.yoneda₀_mapComp_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) {a b c : Bᵒᵖ} (f : a ⟶ b) (g : b ⟶ c)
  (X : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda₀ x).mapComp f g).hom.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator g.unop f.unop X).hom

def CategoryTheory.Bicategory.postcomp₂ E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b : B} → (a ⟶ b) → (CategoryTheory.Bicategory.yoneda₀ a ⟶ CategoryTheory.Bicategory.yoneda₀ b)

Postcomposing of a 1-morphism seen as a strong transformation between pseudofunctors.

theorem CategoryTheory.Bicategory.postcomp₂_app_toFunctor_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (f : a ⟶ b) (x : Bᵒᵖ) (x_1 : Opposite.unop x ⟶ a),
  ((CategoryTheory.Bicategory.postcomp₂ f).app x).toFunctor.obj x_1 = CategoryTheory.CategoryStruct.comp x_1 f

theorem CategoryTheory.Bicategory.postcomp₂_naturality_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (f : a ⟶ b) {a_1 b_1 : Bᵒᵖ} (g : a_1 ⟶ b_1)
  (X : ↑↧(Opposite.unop a_1 ⟶ a)),
  ((CategoryTheory.Bicategory.postcomp₂ f).naturality g).hom.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator g.unop X f).hom

theorem CategoryTheory.Bicategory.postcomp₂_app_toFunctor_map E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (f : a ⟶ b) (x : Bᵒᵖ) {X Y : Opposite.unop x ⟶ a}
  (x_1 : X ⟶ Y),
  ((CategoryTheory.Bicategory.postcomp₂ f).app x).toFunctor.map x_1 = CategoryTheory.Bicategory.whiskerRight x_1 f

theorem CategoryTheory.Bicategory.postcomp₂_naturality_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (f : a ⟶ b) {a_1 b_1 : Bᵒᵖ} (g : a_1 ⟶ b_1)
  (X : ↑↧(Opposite.unop a_1 ⟶ a)),
  ((CategoryTheory.Bicategory.postcomp₂ f).naturality g).inv.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator g.unop X f).inv

def CategoryTheory.Bicategory.postcomposing₂ E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    (a b : B) →
      CategoryTheory.Functor (a ⟶ b) (CategoryTheory.Bicategory.yoneda₀ a ⟶ CategoryTheory.Bicategory.yoneda₀ b)

Postcomposing of 1-morphisms seen as a functor from a ⟶ b to the hom-category of the corresponding pseudofunctors.

This is an implementation detail, and Bicategory.yoneda.map should be preferred.

theorem CategoryTheory.Bicategory.postcomposing₂_map_as_app_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) {X Y : a ⟶ b} (η : X ⟶ Y) (x : Bᵒᵖ)
  (x_1 : Opposite.unop x ⟶ a),
  (((CategoryTheory.Bicategory.postcomposing₂ a b).map η).as.app x).toNatTrans.app x_1 =
    CategoryTheory.Bicategory.whiskerLeft x_1 η

theorem CategoryTheory.Bicategory.postcomposing₂_obj_naturality_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (f : a ⟶ b) {a_1 b_1 : Bᵒᵖ} (g : a_1 ⟶ b_1)
  (X : ↑↧(Opposite.unop a_1 ⟶ a)),
  (((CategoryTheory.Bicategory.postcomposing₂ a b).obj f).naturality g).hom.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator g.unop X f).hom

theorem CategoryTheory.Bicategory.postcomposing₂_obj_app_toFunctor_map E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (f : a ⟶ b) (x : Bᵒᵖ) {X Y : Opposite.unop x ⟶ a}
  (x_1 : X ⟶ Y),
  (((CategoryTheory.Bicategory.postcomposing₂ a b).obj f).app x).toFunctor.map x_1 =
    CategoryTheory.Bicategory.whiskerRight x_1 f

theorem CategoryTheory.Bicategory.postcomposing₂_obj_app_toFunctor_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (f : a ⟶ b) (x : Bᵒᵖ) (x_1 : Opposite.unop x ⟶ a),
  (((CategoryTheory.Bicategory.postcomposing₂ a b).obj f).app x).toFunctor.obj x_1 =
    CategoryTheory.CategoryStruct.comp x_1 f

theorem CategoryTheory.Bicategory.postcomposing₂_obj_naturality_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (f : a ⟶ b) {a_1 b_1 : Bᵒᵖ} (g : a_1 ⟶ b_1)
  (X : ↑↧(Opposite.unop a_1 ⟶ a)),
  (((CategoryTheory.Bicategory.postcomposing₂ a b).obj f).naturality g).inv.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator g.unop X f).inv

def CategoryTheory.Bicategory.yoneda E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    CategoryTheory.Pseudofunctor B (CategoryTheory.Pseudofunctor Bᵒᵖ CategoryTheory.Cat)

The Yoneda pseudofunctor from B to Bᵒᵖ ⥤ᵖ Cat.

It consists of the following:

  • On objects: sends x : B to the pseudofunctor Bᵒᵖ ⥤ᵖ Cat given by a ↦ (a ⟶ x) on objects and on 1- and 2-morphisms given by "precomposing"
  • On 1- and 2-morphisms it is given by "postcomposing"

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_map_naturality_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (a_1 : a ⟶ b) {a_2 b_1 : Bᵒᵖ} (g : a_2 ⟶ b_1)
  (X : ↑↧(Opposite.unop a_2 ⟶ a)),
  ((CategoryTheory.Bicategory.yoneda.map a_1).naturality g).inv.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator g.unop X a_1).inv

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_map_toFunctor_map E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) {a b : Bᵒᵖ} (a_1 : a ⟶ b) {X Y : Opposite.unop a ⟶ x}
  (x_1 : X ⟶ Y),
  ((CategoryTheory.Bicategory.yoneda.obj x).map a_1).toFunctor.map x_1 =
    CategoryTheory.Bicategory.whiskerLeft a_1.unop x_1

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_mapComp_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) {a b c : Bᵒᵖ} (f : a ⟶ b) (g : b ⟶ c)
  (X : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda.obj x).mapComp f g).inv.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator g.unop f.unop X).inv

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_mapId_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) (a : Bᵒᵖ) (X : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda.obj x).mapId a).hom.toNatTrans.app X = (CategoryTheory.Bicategory.leftUnitor X).hom

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_α E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) (y : Bᵒᵖ),
  ↑((CategoryTheory.Bicategory.yoneda.obj x).obj y) = (Opposite.unop y ⟶ x)

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_map_app_toFunctor_map E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (a_1 : a ⟶ b) (x : Bᵒᵖ) {X Y : Opposite.unop x ⟶ a}
  (x_1 : X ⟶ Y),
  ((CategoryTheory.Bicategory.yoneda.map a_1).app x).toFunctor.map x_1 = CategoryTheory.Bicategory.whiskerRight x_1 a_1

theorem CategoryTheory.Bicategory.yoneda_mapId_inv_as_app_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a : B) (a_1 : Bᵒᵖ) (X : Opposite.unop a_1 ⟶ a),
  ((CategoryTheory.Bicategory.yoneda.mapId a).inv.as.app a_1).toNatTrans.app X =
    (CategoryTheory.Bicategory.rightUnitor X).inv

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_map_toFunctor_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) {a b : Bᵒᵖ} (a_1 : a ⟶ b) (x_1 : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda.obj x).map a_1).toFunctor.obj x_1 = CategoryTheory.CategoryStruct.comp a_1.unop x_1

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_mapComp_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) {a b c : Bᵒᵖ} (f : a ⟶ b) (g : b ⟶ c)
  (X : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda.obj x).mapComp f g).hom.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator g.unop f.unop X).hom

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_str E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) (y : Bᵒᵖ),
  ((CategoryTheory.Bicategory.yoneda.obj x).obj y).str = CategoryTheory.Bicategory.homCategory (Opposite.unop y) x

theorem CategoryTheory.Bicategory.yoneda_mapId_hom_as_app_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a : B) (a_1 : Bᵒᵖ) (X : Opposite.unop a_1 ⟶ a),
  ((CategoryTheory.Bicategory.yoneda.mapId a).hom.as.app a_1).toNatTrans.app X =
    (CategoryTheory.Bicategory.rightUnitor X).hom

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_map_app_toFunctor_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (a_1 : a ⟶ b) (x : Bᵒᵖ) (x_1 : Opposite.unop x ⟶ a),
  ((CategoryTheory.Bicategory.yoneda.map a_1).app x).toFunctor.obj x_1 = CategoryTheory.CategoryStruct.comp x_1 a_1

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_map₂_as_app_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (a_1 : f ⟶ g) (x : Bᵒᵖ)
  (x_1 : Opposite.unop x ⟶ a),
  ((CategoryTheory.Bicategory.yoneda.map₂ a_1).as.app x).toNatTrans.app x_1 =
    CategoryTheory.Bicategory.whiskerLeft x_1 a_1

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_toPrelaxFunctor_toPrelaxFunctorStruct_map₂_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) {a b : Bᵒᵖ} {f g : a ⟶ b} (a_1 : f ⟶ g)
  (x_1 : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda.obj x).map₂ a_1).toNatTrans.app x_1 =
    CategoryTheory.Bicategory.whiskerRight a_1.unop2 x_1

theorem CategoryTheory.Bicategory.yoneda_mapComp_inv_as_app_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) (a_1 : Bᵒᵖ)
  (X : ↑↧(Opposite.unop a_1 ⟶ a)),
  ((CategoryTheory.Bicategory.yoneda.mapComp f g).inv.as.app a_1).toNatTrans.app X =
    (CategoryTheory.Bicategory.associator X f g).hom

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_mapId_inv_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (x : B) (a : Bᵒᵖ) (X : Opposite.unop a ⟶ x),
  ((CategoryTheory.Bicategory.yoneda.obj x).mapId a).inv.toNatTrans.app X = (CategoryTheory.Bicategory.leftUnitor X).inv

theorem CategoryTheory.Bicategory.yoneda_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_map_naturality_hom_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (a_1 : a ⟶ b) {a_2 b_1 : Bᵒᵖ} (g : a_2 ⟶ b_1)
  (X : ↑↧(Opposite.unop a_2 ⟶ a)),
  ((CategoryTheory.Bicategory.yoneda.map a_1).naturality g).hom.toNatTrans.app X =
    (CategoryTheory.Bicategory.associator g.unop X a_1).hom

theorem CategoryTheory.Bicategory.yoneda_mapComp_hom_as_app_toNatTrans_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) (a_1 : Bᵒᵖ)
  (X : ↑↧(Opposite.unop a_1 ⟶ a)),
  ((CategoryTheory.Bicategory.yoneda.mapComp f g).hom.as.app a_1).toNatTrans.app X =
    (CategoryTheory.Bicategory.associator X f g).inv