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

59 declarations. Mathlib docs · Source

(2,1)-categories

A bicategory B is said to be locally groupoidal (or a (2,1)-category) if for every pair of objects x, y, the Hom-category x ⟶ y is a groupoid (which is expressed using the CategoryTheory.IsGroupoid typeclass).

Given a bicategory B, we construct a bicategory Pith B which is obtained from B by discarding non-invertible 2-morphisms. This is realized in practice by applying Core to each hom-category of C. By construction, Pith B is a (2,1)-category, and for every (2,1)-category B', every pseudofunctor B' ⥤ B factors (essentially) uniquely through the inclusion from Pith B to B (see CategoryTheory.Bicategory.Pith.pseudofunctorToPith).

References

def CategoryTheory.Bicategory.Pith.ctorIdx E1 #

{B : Type u₁} → CategoryTheory.Bicategory.Pith B → ℕ

theorem CategoryTheory.Bicategory.Pith.mk.inj E1 #

∀ {B : Type u₁} {as as_1 : B}, { as := as } = { as := as_1 } → as = as_1

theorem CategoryTheory.Bicategory.Pith.mk.injEq E0 #

∀ {B : Type u₁} (as as_1 : B), ({ as := as } = { as := as_1 }) = (as = as_1)

abbrev CategoryTheory.Bicategory.IsLocallyGroupoid E1 #

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

A bicategory is locally groupoidal if the categories of 1-morphisms are groupoids.

structure CategoryTheory.Bicategory.Pith E1 #

Type u₁ → Type u₁

Given a bicategory B, Pith B is the bicategory obtained by discarding the non-invertible 2-cells from B. We implement this as a wrapper type for B, and use CategoryTheory.Core to discard the non-invertible morphisms.

ctor CategoryTheory.Bicategory.Pith.mk E0 #

{B : Type u₁} → B → CategoryTheory.Bicategory.Pith B

abbrev CategoryTheory.Bicategory.Pith.as E1 #

{B : Type u₁} → CategoryTheory.Bicategory.Pith B → B

The underlying object of the bicategory.

theorem CategoryTheory.Bicategory.Pith.mk_as E1 #

∀ (B : Type u₁) (b : CategoryTheory.Bicategory.Pith B), { as := b.as } = b

instance CategoryTheory.Bicategory.Pith.instInhabited E0 #

(B : Type u₁) → [Inhabited B] → Inhabited (CategoryTheory.Bicategory.Pith B)

instance CategoryTheory.Bicategory.Pith.categoryStruct E0 #

(B : Type u₁) →
  [CategoryTheory.Bicategory B] → CategoryTheory.CategoryStruct.{v₁, u₁} (CategoryTheory.Bicategory.Pith B)

theorem CategoryTheory.Bicategory.Pith.id_of E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] (a : CategoryTheory.Bicategory.Pith B),
  (CategoryTheory.CategoryStruct.id a).of = CategoryTheory.CategoryStruct.id a.as

theorem CategoryTheory.Bicategory.Pith.comp_of E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c : CategoryTheory.Bicategory.Pith B} (f : a ⟶ b) (g : b ⟶ c),
  (CategoryTheory.CategoryStruct.comp f g).of = CategoryTheory.CategoryStruct.comp f.of g.of

instance CategoryTheory.Bicategory.Pith.homGroupoid E0 #

(B : Type u₁) →
  [inst : CategoryTheory.Bicategory B] → (a b : CategoryTheory.Bicategory.Pith B) → CategoryTheory.Groupoid (a ⟶ b)

theorem CategoryTheory.Bicategory.Pith.hom₂_ext E1 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} {x y : a ⟶ b}
  {f g : x ⟶ y}, f.iso.hom = g.iso.hom → f = g

theorem CategoryTheory.Bicategory.Pith.hom₂_ext_iff E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} {x y : a ⟶ b}
  {f g : x ⟶ y}, f = g ↔ f.iso.hom = g.iso.hom

theorem CategoryTheory.Bicategory.Pith.comp₂_iso_hom_assoc E1 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} {x y z : a ⟶ b}
  {f : x ⟶ y} {g : y ⟶ z} {Z : a.as ⟶ b.as} (h : z.of ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g).iso.hom h =
    CategoryTheory.CategoryStruct.comp f.iso.hom (CategoryTheory.CategoryStruct.comp g.iso.hom h)

theorem CategoryTheory.Bicategory.Pith.comp₂_iso_hom E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} {x y z : a ⟶ b}
  {f : x ⟶ y} {g : y ⟶ z},
  (CategoryTheory.CategoryStruct.comp f g).iso.hom = CategoryTheory.CategoryStruct.comp f.iso.hom g.iso.hom

theorem CategoryTheory.Bicategory.Pith.comp₂_iso_inv_assoc E1 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} {x y z : a ⟶ b}
  {f : x ⟶ y} {g : y ⟶ z} {Z : a.as ⟶ b.as} (h : x.of ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g).iso.inv h =
    CategoryTheory.CategoryStruct.comp g.iso.inv (CategoryTheory.CategoryStruct.comp f.iso.inv h)

theorem CategoryTheory.Bicategory.Pith.comp₂_iso_inv E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} {x y z : a ⟶ b}
  {f : x ⟶ y} {g : y ⟶ z},
  (CategoryTheory.CategoryStruct.comp f g).iso.inv = CategoryTheory.CategoryStruct.comp g.iso.inv f.iso.inv

theorem CategoryTheory.Bicategory.Pith.id₂_iso_hom E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} {x : a ⟶ b},
  (CategoryTheory.CategoryStruct.id x).iso.hom = CategoryTheory.CategoryStruct.id x.of

theorem CategoryTheory.Bicategory.Pith.id₂_iso_inv E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} {x : a ⟶ b},
  (CategoryTheory.CategoryStruct.id x).iso.inv = CategoryTheory.CategoryStruct.id x.of

theorem CategoryTheory.Bicategory.Pith.whiskerRight_iso_inv E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c : CategoryTheory.Bicategory.Pith B} {f g : a ⟶ b}
  (f_1 : f ⟶ g) (y : b ⟶ c),
  (CategoryTheory.Bicategory.whiskerRight f_1 y).iso.inv = CategoryTheory.Bicategory.whiskerRight f_1.iso.inv y.of

theorem CategoryTheory.Bicategory.Pith.leftUnitor_inv_iso_hom E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b),
  (CategoryTheory.Bicategory.leftUnitor x).inv.iso.hom = (CategoryTheory.Bicategory.leftUnitor x.of).inv

theorem CategoryTheory.Bicategory.Pith.rightUnitor_hom_iso E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b),
  (CategoryTheory.Bicategory.rightUnitor x).hom.iso = CategoryTheory.Bicategory.rightUnitor x.of

theorem CategoryTheory.Bicategory.Pith.whiskerRight_iso_hom E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c : CategoryTheory.Bicategory.Pith B} {f g : a ⟶ b}
  (f_1 : f ⟶ g) (y : b ⟶ c),
  (CategoryTheory.Bicategory.whiskerRight f_1 y).iso.hom = CategoryTheory.Bicategory.whiskerRight f_1.iso.hom y.of

theorem CategoryTheory.Bicategory.Pith.rightUnitor_inv_iso_inv E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b),
  (CategoryTheory.Bicategory.rightUnitor x).inv.iso.inv = (CategoryTheory.Bicategory.rightUnitor x.of).hom

theorem CategoryTheory.Bicategory.Pith.associator_hom_iso E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c d : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b)
  (y : b ⟶ c) (z : c ⟶ d),
  (CategoryTheory.Bicategory.associator x y z).hom.iso = CategoryTheory.Bicategory.associator x.of y.of z.of

theorem CategoryTheory.Bicategory.Pith.whiskerLeft_iso_hom E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b)
  (x_1 x_2 : b ⟶ c) (f : x_1 ⟶ x_2),
  (CategoryTheory.Bicategory.whiskerLeft x f).iso.hom = CategoryTheory.Bicategory.whiskerLeft x.of f.iso.hom

theorem CategoryTheory.Bicategory.Pith.whiskerLeft_iso_inv E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b)
  (x_1 x_2 : b ⟶ c) (f : x_1 ⟶ x_2),
  (CategoryTheory.Bicategory.whiskerLeft x f).iso.inv = CategoryTheory.Bicategory.whiskerLeft x.of f.iso.inv

theorem CategoryTheory.Bicategory.Pith.associator_inv_iso_inv E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c d : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b)
  (y : b ⟶ c) (z : c ⟶ d),
  (CategoryTheory.Bicategory.associator x y z).inv.iso.inv = (CategoryTheory.Bicategory.associator x.of y.of z.of).hom

instance CategoryTheory.Bicategory.Pith.inst E0 #

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

theorem CategoryTheory.Bicategory.Pith.associator_inv_iso_hom E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c d : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b)
  (y : b ⟶ c) (z : c ⟶ d),
  (CategoryTheory.Bicategory.associator x y z).inv.iso.hom = (CategoryTheory.Bicategory.associator x.of y.of z.of).inv

theorem CategoryTheory.Bicategory.Pith.leftUnitor_hom_iso E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b),
  (CategoryTheory.Bicategory.leftUnitor x).hom.iso = CategoryTheory.Bicategory.leftUnitor x.of

theorem CategoryTheory.Bicategory.Pith.rightUnitor_inv_iso_hom E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b),
  (CategoryTheory.Bicategory.rightUnitor x).inv.iso.hom = (CategoryTheory.Bicategory.rightUnitor x.of).inv

def CategoryTheory.Bicategory.Pith.inclusion E1 #

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

The canonical inclusion from the pith of B to B, as a Pseudofunctor.

theorem CategoryTheory.Bicategory.Pith.inclusion_mapComp E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c : CategoryTheory.Bicategory.Pith B} (x : a ⟶ b)
  (x_1 : b ⟶ c),
  (CategoryTheory.Bicategory.Pith.inclusion B).mapComp x x_1 =
    CategoryTheory.Iso.refl (CategoryTheory.CategoryStruct.comp x x_1).of

theorem CategoryTheory.Bicategory.Pith.inclusion_mapId E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] (x : CategoryTheory.Bicategory.Pith B),
  (CategoryTheory.Bicategory.Pith.inclusion B).mapId x = CategoryTheory.Iso.refl (CategoryTheory.CategoryStruct.id x).of

theorem CategoryTheory.Bicategory.Pith.inclusion_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_map E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {X Y : CategoryTheory.Bicategory.Pith B} (f : X ⟶ Y),
  (CategoryTheory.Bicategory.Pith.inclusion B).map f = f.of

theorem CategoryTheory.Bicategory.Pith.inclusion_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] (x : CategoryTheory.Bicategory.Pith B),
  (CategoryTheory.Bicategory.Pith.inclusion B).obj x = x.as

theorem CategoryTheory.Bicategory.Pith.inclusion_toPrelaxFunctor_toPrelaxFunctorStruct_map₂ E0 #

∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b : CategoryTheory.Bicategory.Pith B} {f g : a ⟶ b} (η : f ⟶ g),
  (CategoryTheory.Bicategory.Pith.inclusion B).map₂ η = η.iso.hom

def CategoryTheory.Bicategory.Pith.pseudofunctorToPith E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {B' : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory B'] →
        [CategoryTheory.Bicategory.IsLocallyGroupoid B'] →
          CategoryTheory.Pseudofunctor B' B → CategoryTheory.Pseudofunctor B' (CategoryTheory.Bicategory.Pith B)

Any pseudofunctor from a (2,1)-category to a bicategory factors through the pith of the target bicategory.

theorem CategoryTheory.Bicategory.Pith.pseudofunctorToPith_mapId_hom_iso E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] (F : CategoryTheory.Pseudofunctor B' B) (x : B'),
  ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).mapId x).hom.iso = F.mapId x

theorem CategoryTheory.Bicategory.Pith.pseudofunctorToPith_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_map_of E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] (F : CategoryTheory.Pseudofunctor B' B) {X Y : B'}
  (f : X ⟶ Y), ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).map f).of = F.map f

theorem CategoryTheory.Bicategory.Pith.pseudofunctorToPith_mapId_inv_iso_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] (F : CategoryTheory.Pseudofunctor B' B) (x : B'),
  ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).mapId x).inv.iso.inv = (F.mapId x).hom

theorem CategoryTheory.Bicategory.Pith.pseudofunctorToPith_mapComp_inv_iso_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] (F : CategoryTheory.Pseudofunctor B' B) {a b c : B'}
  (f : a ⟶ b) (g : b ⟶ c),
  ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).mapComp f g).inv.iso.inv = (F.mapComp f g).hom

theorem CategoryTheory.Bicategory.Pith.pseudofunctorToPith_toPrelaxFunctor_toPrelaxFunctorStruct_map₂_iso_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] (F : CategoryTheory.Pseudofunctor B' B) {a b : B'}
  {f g : a ⟶ b} (f_1 : f ⟶ g), ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).map₂ f_1).iso.hom = F.map₂ f_1

theorem CategoryTheory.Bicategory.Pith.pseudofunctorToPith_toPrelaxFunctor_toPrelaxFunctorStruct_map₂_iso_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] (F : CategoryTheory.Pseudofunctor B' B) {a b : B'}
  {f g : a ⟶ b} (f_1 : f ⟶ g),
  ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).map₂ f_1).iso.inv = CategoryTheory.inv (F.map₂ f_1)

theorem CategoryTheory.Bicategory.Pith.pseudofunctorToPith_mapId_inv_iso_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] (F : CategoryTheory.Pseudofunctor B' B) (x : B'),
  ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).mapId x).inv.iso.hom = (F.mapId x).inv

theorem CategoryTheory.Bicategory.Pith.pseudofunctorToPith_toPrelaxFunctor_toPrelaxFunctorStruct_toPrefunctor_obj_as E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] (F : CategoryTheory.Pseudofunctor B' B) (x : B'),
  ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).obj x).as = F.obj x

theorem CategoryTheory.Bicategory.Pith.pseudofunctorToPith_mapComp_inv_iso_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] (F : CategoryTheory.Pseudofunctor B' B) {a b c : B'}
  (f : a ⟶ b) (g : b ⟶ c),
  ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).mapComp f g).inv.iso.hom = (F.mapComp f g).inv

theorem CategoryTheory.Bicategory.Pith.pseudofunctorToPith_mapComp_hom_iso E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] (F : CategoryTheory.Pseudofunctor B' B) {a b c : B'}
  (f : a ⟶ b) (g : b ⟶ c), ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).mapComp f g).hom.iso = F.mapComp f g

def CategoryTheory.Bicategory.Pith.pseudofunctorToPithCompInclusionStrongIsoHom E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {B' : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory B'] →
        [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] →
          (F : CategoryTheory.Pseudofunctor B' B) →
            ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).comp
                  (CategoryTheory.Bicategory.Pith.inclusion B)).StrongTrans
              F

The hom direction of the (strong) natural isomorphism of pseudofunctors between (pseudofunctorToPith F).comp (inclusion B) and F.

def CategoryTheory.Bicategory.Pith.pseudofunctorToPithCompInclusionStrongIsoInv E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {B' : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory B'] →
        [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B'] →
          (F : CategoryTheory.Pseudofunctor B' B) →
            F.StrongTrans
              ((CategoryTheory.Bicategory.Pith.pseudofunctorToPith F).comp (CategoryTheory.Bicategory.Pith.inclusion B))

The inv direction of the (strong) natural isomorphism of pseudofunctors between (pseudofunctorToPith F).comp (inclusion B) and F.

def CategoryTheory.Bicategory.Pseudofunctor.ofLaxFunctorToLocallyGroupoid E1 #

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

If B is a (2,1)-category, then every lax functor F from a bicategory to B defines a CategoryTheory.LaxFunctor.PseudoCore structure on F that can be used to promote F to a pseudofunctor using CategoryTheory.Pseudofunctor.mkOfLax.

theorem CategoryTheory.Bicategory.Pseudofunctor.ofLaxFunctorToLocallyGroupoid_mapIdIso_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B] (F : CategoryTheory.LaxFunctor B' B) (x : B'),
  ((CategoryTheory.Bicategory.Pseudofunctor.ofLaxFunctorToLocallyGroupoid F).mapIdIso x).hom =
    CategoryTheory.inv (F.mapId x)

theorem CategoryTheory.Bicategory.Pseudofunctor.ofLaxFunctorToLocallyGroupoid_mapCompIso_hom E0 #

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

def CategoryTheory.Bicategory.Pseudofunctor.ofOplaxFunctorToLocallyGroupoid E1 #

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

If B is a (2,1)-category, then every oplax functor F from a bicategory to B defines a CategoryTheory.OplaxFunctor.PseudoCore structure on F that can be used to promote F to a pseudofunctor using CategoryTheory.Pseudofunctor.mkOfOplax.

theorem CategoryTheory.Bicategory.Pseudofunctor.ofOplaxFunctorToLocallyGroupoid_mapIdIso_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {B' : Type u₂} [inst_1 : CategoryTheory.Bicategory B']
  [inst_2 : CategoryTheory.Bicategory.IsLocallyGroupoid B] (F : CategoryTheory.OplaxFunctor B' B) (x : B'),
  ((CategoryTheory.Bicategory.Pseudofunctor.ofOplaxFunctorToLocallyGroupoid F).mapIdIso x).inv =
    CategoryTheory.inv (F.mapId x)

theorem CategoryTheory.Bicategory.Pseudofunctor.ofOplaxFunctorToLocallyGroupoid_mapCompIso_inv E0 #

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