The areas / V24. Category theory
Mathlib.CategoryTheory.Bicategory.Functor.Lax
67 declarations. Mathlib docs · Source
Lax functors
A lax functor F between bicategories B and C 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), - a family of 2-morphisms
F.mapId a : 𝟙 (F.obj a) ⟶ F.map (𝟙 a), - a family of 2-morphisms
F.mapComp f g : F.map f ≫ F.map g ⟶ F.map (f ≫ g), and - certain consistency conditions on them.
Main definitions
CategoryTheory.LaxFunctor B C: a lax functor between bicategoriesBandC, which we denote byB ⥤ᴸ C.CategoryTheory.LaxFunctor.comp F G: the composition of lax functorsCategoryTheory.LaxFunctor.PseudoCore: a structure on a lax functor that promotes a lax functor to a pseudofunctor
TODO
Some constructions in the bicategory library have only been done in terms of oplax functors,
since lax functors had not yet been added (e.g FunctorBicategory.lean). A possible project would
be to mirror these constructions for lax functors.
theorem CategoryTheory.LaxFunctor.PseudoCore.mk.injEq E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
{F : CategoryTheory.LaxFunctor B C}
(mapIdIso : (a : B) → F.map (CategoryTheory.CategoryStruct.id a) ≅ CategoryTheory.CategoryStruct.id (F.obj a))
(mapCompIso :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
F.map (CategoryTheory.CategoryStruct.comp f g) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (F.map g))
(mapIdIso_inv :
autoParam (∀ {a : B}, (mapIdIso a).inv = F.mapId a) CategoryTheory.LaxFunctor.PseudoCore.mapIdIso_inv._autoParam)
(mapCompIso_inv :
autoParam (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), (mapCompIso f g).inv = F.mapComp f g)
CategoryTheory.LaxFunctor.PseudoCore.mapCompIso_inv._autoParam)
(mapIdIso_1 : (a : B) → F.map (CategoryTheory.CategoryStruct.id a) ≅ CategoryTheory.CategoryStruct.id (F.obj a))
(mapCompIso_1 :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
F.map (CategoryTheory.CategoryStruct.comp f g) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (F.map g))
(mapIdIso_inv_1 :
autoParam (∀ {a : B}, (mapIdIso_1 a).inv = F.mapId a) CategoryTheory.LaxFunctor.PseudoCore.mapIdIso_inv._autoParam)
(mapCompIso_inv_1 :
autoParam (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), (mapCompIso_1 f g).inv = F.mapComp f g)
CategoryTheory.LaxFunctor.PseudoCore.mapCompIso_inv._autoParam),
({ mapIdIso := mapIdIso, mapCompIso := mapCompIso, mapIdIso_inv := mapIdIso_inv, mapCompIso_inv := mapCompIso_inv } =
{ mapIdIso := mapIdIso_1, mapCompIso := mapCompIso_1, mapIdIso_inv := mapIdIso_inv_1,
mapCompIso_inv := mapCompIso_inv_1 }) =
(mapIdIso = mapIdIso_1 ∧ mapCompIso = mapCompIso_1)
theorem CategoryTheory.LaxFunctor.PseudoCore.mk.inj E1 #
∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
{F : CategoryTheory.LaxFunctor B C}
{mapIdIso : (a : B) → F.map (CategoryTheory.CategoryStruct.id a) ≅ CategoryTheory.CategoryStruct.id (F.obj a)}
{mapCompIso :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
F.map (CategoryTheory.CategoryStruct.comp f g) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (F.map g)}
{mapIdIso_inv :
autoParam (∀ {a : B}, (mapIdIso a).inv = F.mapId a) CategoryTheory.LaxFunctor.PseudoCore.mapIdIso_inv._autoParam}
{mapCompIso_inv :
autoParam (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), (mapCompIso f g).inv = F.mapComp f g)
CategoryTheory.LaxFunctor.PseudoCore.mapCompIso_inv._autoParam}
{mapIdIso_1 : (a : B) → F.map (CategoryTheory.CategoryStruct.id a) ≅ CategoryTheory.CategoryStruct.id (F.obj a)}
{mapCompIso_1 :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
F.map (CategoryTheory.CategoryStruct.comp f g) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (F.map g)}
{mapIdIso_inv_1 :
autoParam (∀ {a : B}, (mapIdIso_1 a).inv = F.mapId a) CategoryTheory.LaxFunctor.PseudoCore.mapIdIso_inv._autoParam}
{mapCompIso_inv_1 :
autoParam (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), (mapCompIso_1 f g).inv = F.mapComp f g)
CategoryTheory.LaxFunctor.PseudoCore.mapCompIso_inv._autoParam},
{ mapIdIso := mapIdIso, mapCompIso := mapCompIso, mapIdIso_inv := mapIdIso_inv, mapCompIso_inv := mapCompIso_inv } =
{ mapIdIso := mapIdIso_1, mapCompIso := mapCompIso_1, mapIdIso_inv := mapIdIso_inv_1,
mapCompIso_inv := mapCompIso_inv_1 } →
mapIdIso = mapIdIso_1 ∧ mapCompIso = mapCompIso_1
theorem CategoryTheory.LaxFunctor.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) →
CategoryTheory.CategoryStruct.id (toPrelaxFunctor.obj a) ⟶
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.id a))
(mapComp :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map f) (toPrelaxFunctor.map g) ⟶
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.comp f g))
(mapComp_naturality_left :
autoParam
(∀ {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (mapComp f g)
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerRight η g)) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor.map₂ η) (toPrelaxFunctor.map g)) (mapComp f' g))
CategoryTheory.LaxFunctor.mapComp_naturality_left._autoParam)
(mapComp_naturality_right :
autoParam
(∀ {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g'),
CategoryTheory.CategoryStruct.comp (mapComp f g)
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (toPrelaxFunctor.map₂ η)) (mapComp f g'))
CategoryTheory.LaxFunctor.mapComp_naturality_right._autoParam)
(map₂_associator :
autoParam
(∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapComp f g) (toPrelaxFunctor.map h))
(CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.associator f g h).hom)) =
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))
(mapComp f (CategoryTheory.CategoryStruct.comp g h))))
CategoryTheory.LaxFunctor.map₂_associator._autoParam)
(map₂_leftUnitor :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor.map f)).inv
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapId a) (toPrelaxFunctor.map f))
(mapComp (CategoryTheory.CategoryStruct.id a) f)))
CategoryTheory.LaxFunctor.map₂_leftUnitor._autoParam)
(map₂_rightUnitor :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor.map f)).inv
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapId b))
(mapComp f (CategoryTheory.CategoryStruct.id b))))
CategoryTheory.LaxFunctor.map₂_rightUnitor._autoParam)
(toPrelaxFunctor_1 : CategoryTheory.PrelaxFunctor B C)
(mapId_1 :
(a : B) →
CategoryTheory.CategoryStruct.id (toPrelaxFunctor_1.obj a) ⟶
toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.id a))
(mapComp_1 :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map g) ⟶
toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.comp f g))
(mapComp_naturality_left_1 :
autoParam
(∀ {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (mapComp_1 f g)
(toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerRight η g)) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor_1.map₂ η) (toPrelaxFunctor_1.map g))
(mapComp_1 f' g))
CategoryTheory.LaxFunctor.mapComp_naturality_left._autoParam)
(mapComp_naturality_right_1 :
autoParam
(∀ {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g'),
CategoryTheory.CategoryStruct.comp (mapComp_1 f g)
(toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map₂ η))
(mapComp_1 f g'))
CategoryTheory.LaxFunctor.mapComp_naturality_right._autoParam)
(map₂_associator_1 :
autoParam
(∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapComp_1 f g) (toPrelaxFunctor_1.map h))
(CategoryTheory.CategoryStruct.comp (mapComp_1 (CategoryTheory.CategoryStruct.comp f g) h)
(toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.associator f g h).hom)) =
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))
(mapComp_1 f (CategoryTheory.CategoryStruct.comp g h))))
CategoryTheory.LaxFunctor.map₂_associator._autoParam)
(map₂_leftUnitor_1 :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor_1.map f)).inv
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapId_1 a) (toPrelaxFunctor_1.map f))
(mapComp_1 (CategoryTheory.CategoryStruct.id a) f)))
CategoryTheory.LaxFunctor.map₂_leftUnitor._autoParam)
(map₂_rightUnitor_1 :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor_1.map f)).inv
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (mapId_1 b))
(mapComp_1 f (CategoryTheory.CategoryStruct.id b))))
CategoryTheory.LaxFunctor.map₂_rightUnitor._autoParam),
({ toPrelaxFunctor := toPrelaxFunctor, mapId := mapId, mapComp := mapComp,
mapComp_naturality_left := mapComp_naturality_left, mapComp_naturality_right := mapComp_naturality_right,
map₂_associator := map₂_associator, map₂_leftUnitor := map₂_leftUnitor, map₂_rightUnitor := map₂_rightUnitor } =
{ toPrelaxFunctor := toPrelaxFunctor_1, mapId := mapId_1, mapComp := mapComp_1,
mapComp_naturality_left := mapComp_naturality_left_1, mapComp_naturality_right := mapComp_naturality_right_1,
map₂_associator := map₂_associator_1, map₂_leftUnitor := map₂_leftUnitor_1,
map₂_rightUnitor := map₂_rightUnitor_1 }) =
(toPrelaxFunctor = toPrelaxFunctor_1 ∧ mapId ≍ mapId_1 ∧ mapComp ≍ mapComp_1)
def CategoryTheory.LaxFunctor.PseudoCore.ctorIdx E1 #
{B : Type u₁} →
{inst : CategoryTheory.Bicategory B} →
{C : Type u₂} → {inst_1 : CategoryTheory.Bicategory C} → {F : CategoryTheory.LaxFunctor B C} → F.PseudoCore → ℕ
def CategoryTheory.LaxFunctor.ctorIdx E1 #
{B : Type u₁} →
{inst : CategoryTheory.Bicategory B} →
{C : Type u₂} → {inst_1 : CategoryTheory.Bicategory C} → CategoryTheory.LaxFunctor B C → ℕ
theorem CategoryTheory.LaxFunctor.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) →
CategoryTheory.CategoryStruct.id (toPrelaxFunctor.obj a) ⟶
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.id a)}
{mapComp :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map f) (toPrelaxFunctor.map g) ⟶
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.comp f g)}
{mapComp_naturality_left :
autoParam
(∀ {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (mapComp f g)
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerRight η g)) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor.map₂ η) (toPrelaxFunctor.map g)) (mapComp f' g))
CategoryTheory.LaxFunctor.mapComp_naturality_left._autoParam}
{mapComp_naturality_right :
autoParam
(∀ {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g'),
CategoryTheory.CategoryStruct.comp (mapComp f g)
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (toPrelaxFunctor.map₂ η)) (mapComp f g'))
CategoryTheory.LaxFunctor.mapComp_naturality_right._autoParam}
{map₂_associator :
autoParam
(∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapComp f g) (toPrelaxFunctor.map h))
(CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.associator f g h).hom)) =
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))
(mapComp f (CategoryTheory.CategoryStruct.comp g h))))
CategoryTheory.LaxFunctor.map₂_associator._autoParam}
{map₂_leftUnitor :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor.map f)).inv
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapId a) (toPrelaxFunctor.map f))
(mapComp (CategoryTheory.CategoryStruct.id a) f)))
CategoryTheory.LaxFunctor.map₂_leftUnitor._autoParam}
{map₂_rightUnitor :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor.map f)).inv
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapId b))
(mapComp f (CategoryTheory.CategoryStruct.id b))))
CategoryTheory.LaxFunctor.map₂_rightUnitor._autoParam}
{toPrelaxFunctor_1 : CategoryTheory.PrelaxFunctor B C}
{mapId_1 :
(a : B) →
CategoryTheory.CategoryStruct.id (toPrelaxFunctor_1.obj a) ⟶
toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.id a)}
{mapComp_1 :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map g) ⟶
toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.comp f g)}
{mapComp_naturality_left_1 :
autoParam
(∀ {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (mapComp_1 f g)
(toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerRight η g)) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor_1.map₂ η) (toPrelaxFunctor_1.map g))
(mapComp_1 f' g))
CategoryTheory.LaxFunctor.mapComp_naturality_left._autoParam}
{mapComp_naturality_right_1 :
autoParam
(∀ {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g'),
CategoryTheory.CategoryStruct.comp (mapComp_1 f g)
(toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map₂ η))
(mapComp_1 f g'))
CategoryTheory.LaxFunctor.mapComp_naturality_right._autoParam}
{map₂_associator_1 :
autoParam
(∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapComp_1 f g) (toPrelaxFunctor_1.map h))
(CategoryTheory.CategoryStruct.comp (mapComp_1 (CategoryTheory.CategoryStruct.comp f g) h)
(toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.associator f g h).hom)) =
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))
(mapComp_1 f (CategoryTheory.CategoryStruct.comp g h))))
CategoryTheory.LaxFunctor.map₂_associator._autoParam}
{map₂_leftUnitor_1 :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor_1.map f)).inv
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapId_1 a) (toPrelaxFunctor_1.map f))
(mapComp_1 (CategoryTheory.CategoryStruct.id a) f)))
CategoryTheory.LaxFunctor.map₂_leftUnitor._autoParam}
{map₂_rightUnitor_1 :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor_1.map f)).inv
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (mapId_1 b))
(mapComp_1 f (CategoryTheory.CategoryStruct.id b))))
CategoryTheory.LaxFunctor.map₂_rightUnitor._autoParam},
{ toPrelaxFunctor := toPrelaxFunctor, mapId := mapId, mapComp := mapComp,
mapComp_naturality_left := mapComp_naturality_left, mapComp_naturality_right := mapComp_naturality_right,
map₂_associator := map₂_associator, map₂_leftUnitor := map₂_leftUnitor, map₂_rightUnitor := map₂_rightUnitor } =
{ toPrelaxFunctor := toPrelaxFunctor_1, mapId := mapId_1, mapComp := mapComp_1,
mapComp_naturality_left := mapComp_naturality_left_1, mapComp_naturality_right := mapComp_naturality_right_1,
map₂_associator := map₂_associator_1, map₂_leftUnitor := map₂_leftUnitor_1,
map₂_rightUnitor := map₂_rightUnitor_1 } →
toPrelaxFunctor = toPrelaxFunctor_1 ∧ mapId ≍ mapId_1 ∧ mapComp ≍ mapComp_1
structure CategoryTheory.LaxFunctor 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 lax functor 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-morphisms
𝟙 (F.obj a) ⟶ F.map (𝟙 a) and F.map f ≫ F.map g ⟶ F.map (f ≫ g).
F.map₂ strictly commutes with composition 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.LaxFunctor.toPrelaxFunctor E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] → CategoryTheory.LaxFunctor B C → CategoryTheory.PrelaxFunctor B C
The underlying prelax functor.
ctor CategoryTheory.LaxFunctor.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) →
CategoryTheory.CategoryStruct.id (toPrelaxFunctor.obj a) ⟶
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.id a)) →
(mapComp :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map f) (toPrelaxFunctor.map g) ⟶
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.comp f g)) →
autoParam
(∀ {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (mapComp f g)
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerRight η g)) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor.map₂ η) (toPrelaxFunctor.map g))
(mapComp f' g))
CategoryTheory.LaxFunctor.mapComp_naturality_left._autoParam →
autoParam
(∀ {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g'),
CategoryTheory.CategoryStruct.comp (mapComp f g)
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (toPrelaxFunctor.map₂ η))
(mapComp f g'))
CategoryTheory.LaxFunctor.mapComp_naturality_right._autoParam →
autoParam
(∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapComp f g) (toPrelaxFunctor.map h))
(CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.associator f g h).hom)) =
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))
(mapComp f (CategoryTheory.CategoryStruct.comp g h))))
CategoryTheory.LaxFunctor.map₂_associator._autoParam →
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor.map f)).inv
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapId a) (toPrelaxFunctor.map f))
(mapComp (CategoryTheory.CategoryStruct.id a) f)))
CategoryTheory.LaxFunctor.map₂_leftUnitor._autoParam →
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor.map f)).inv
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapId b))
(mapComp f (CategoryTheory.CategoryStruct.id b))))
CategoryTheory.LaxFunctor.map₂_rightUnitor._autoParam →
CategoryTheory.LaxFunctor B C
abbrev CategoryTheory.LaxFunctor.mapId E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
(self : CategoryTheory.LaxFunctor B C) →
(a : B) → CategoryTheory.CategoryStruct.id (self.obj a) ⟶ self.map (CategoryTheory.CategoryStruct.id a)
The 2-morphism underlying the lax unity constraint.
abbrev CategoryTheory.LaxFunctor.mapComp E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
(self : CategoryTheory.LaxFunctor B C) →
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
CategoryTheory.CategoryStruct.comp (self.map f) (self.map g) ⟶
self.map (CategoryTheory.CategoryStruct.comp f g)
The 2-morphism underlying the lax functoriality constraint.
theorem CategoryTheory.LaxFunctor.mapComp_naturality_left E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.LaxFunctor B C) {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (self.mapComp f g) (self.map₂ (CategoryTheory.Bicategory.whiskerRight η g)) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.map₂ η) (self.map g))
(self.mapComp f' g)
Naturality of the lax functoriality constraint, on the left.
theorem CategoryTheory.LaxFunctor.mapComp_naturality_right E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.LaxFunctor B C) {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g'),
CategoryTheory.CategoryStruct.comp (self.mapComp f g) (self.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.map₂ η))
(self.mapComp f g')
Naturality of the lax functoriality constraint, on the right.
theorem CategoryTheory.LaxFunctor.map₂_associator E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.LaxFunctor B C) {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.mapComp f g) (self.map h))
(CategoryTheory.CategoryStruct.comp (self.mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(self.map₂ (CategoryTheory.Bicategory.associator f g h).hom)) =
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))
(self.mapComp f (CategoryTheory.CategoryStruct.comp g h)))
Lax associativity.
theorem CategoryTheory.LaxFunctor.map₂_leftUnitor E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.LaxFunctor B C) {a b : B} (f : a ⟶ b),
self.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.map f)).inv
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.mapId a) (self.map f))
(self.mapComp (CategoryTheory.CategoryStruct.id a) f))
Lax left unity.
theorem CategoryTheory.LaxFunctor.map₂_rightUnitor E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.LaxFunctor B C) {a b : B} (f : a ⟶ b),
self.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.map f)).inv
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.mapId b))
(self.mapComp f (CategoryTheory.CategoryStruct.id b)))
Lax right unity.
def CategoryTheory.Bicategory.«term_⥤ᴸ_» E1 #
Lean.TrailingParserDescr
Notation for a lax functor between bicategories.
theorem CategoryTheory.LaxFunctor.map₂_associator_assoc E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.LaxFunctor 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 (CategoryTheory.Bicategory.whiskerRight (self.mapComp f g) (self.map h))
(CategoryTheory.CategoryStruct.comp (self.mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.associator f g h).hom) h_1)) =
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))
(CategoryTheory.CategoryStruct.comp (self.mapComp f (CategoryTheory.CategoryStruct.comp g h)) h_1))
Lax associativity.
theorem CategoryTheory.LaxFunctor.mapComp_naturality_left_app_assoc E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.LaxFunctor B CategoryTheory.Cat)
{a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (X : ↑(self.obj a)) {Z : ↑(self.obj c)}
(h : (self.map (CategoryTheory.CategoryStruct.comp f' g)).toFunctor.obj X ⟶ Z),
CategoryTheory.CategoryStruct.comp ((self.mapComp f g).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.whiskerRight η g)).toNatTrans.app X)
h) =
CategoryTheory.CategoryStruct.comp ((self.map g).toFunctor.map ((self.map₂ η).toNatTrans.app X))
(CategoryTheory.CategoryStruct.comp ((self.mapComp f' g).toNatTrans.app X) h)
Naturality of the lax functoriality constraint, on the left.
theorem CategoryTheory.LaxFunctor.mapComp_naturality_right_app_assoc E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.LaxFunctor B CategoryTheory.Cat)
{a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (X : ↑(self.obj a)) {Z : ↑(self.obj c)}
(h : (self.map (CategoryTheory.CategoryStruct.comp f g')).toFunctor.obj X ⟶ Z),
CategoryTheory.CategoryStruct.comp ((self.mapComp f g).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)).toNatTrans.app X)
h) =
CategoryTheory.CategoryStruct.comp ((self.map₂ η).toNatTrans.app ((self.map f).toFunctor.obj X))
(CategoryTheory.CategoryStruct.comp ((self.mapComp f g').toNatTrans.app X) h)
Naturality of the lax functoriality constraint, on the right.
theorem CategoryTheory.LaxFunctor.map₂_associator_app_assoc E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.LaxFunctor 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 h).toFunctor.map ((self.mapComp f g).toNatTrans.app X))
(CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp
((self.map₂ (CategoryTheory.Bicategory.associator f g h).hom).toNatTrans.app X) h_1)) =
CategoryTheory.CategoryStruct.comp ((self.mapComp g h).toNatTrans.app ((self.map f).toFunctor.obj X))
(CategoryTheory.CategoryStruct.comp ((self.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
h_1)
Lax associativity.
theorem CategoryTheory.LaxFunctor.mapComp_naturality_right_assoc E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.LaxFunctor B C) {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g')
{Z : self.obj a ⟶ self.obj c} (h : self.map (CategoryTheory.CategoryStruct.comp f g') ⟶ Z),
CategoryTheory.CategoryStruct.comp (self.mapComp f g)
(CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)) h) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.map₂ η))
(CategoryTheory.CategoryStruct.comp (self.mapComp f g') h)
Naturality of the lax functoriality constraint, on the right.
theorem CategoryTheory.LaxFunctor.mapComp_naturality_right_app E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.LaxFunctor B CategoryTheory.Cat)
{a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (X : ↑(self.obj a)),
CategoryTheory.CategoryStruct.comp ((self.mapComp f g).toNatTrans.app X)
((self.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)).toNatTrans.app X) =
CategoryTheory.CategoryStruct.comp ((self.map₂ η).toNatTrans.app ((self.map f).toFunctor.obj X))
((self.mapComp f g').toNatTrans.app X)
Naturality of the lax functoriality constraint, on the right.
theorem CategoryTheory.LaxFunctor.mapComp_naturality_left_app E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.LaxFunctor B CategoryTheory.Cat)
{a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (X : ↑(self.obj a)),
CategoryTheory.CategoryStruct.comp ((self.mapComp f g).toNatTrans.app X)
((self.map₂ (CategoryTheory.Bicategory.whiskerRight η g)).toNatTrans.app X) =
CategoryTheory.CategoryStruct.comp ((self.map g).toFunctor.map ((self.map₂ η).toNatTrans.app X))
((self.mapComp f' g).toNatTrans.app X)
Naturality of the lax functoriality constraint, on the left.
theorem CategoryTheory.LaxFunctor.map₂_associator_app E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.LaxFunctor B CategoryTheory.Cat)
{a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (X : ↑(self.obj a)),
CategoryTheory.CategoryStruct.comp ((self.map h).toFunctor.map ((self.mapComp f g).toNatTrans.app X))
(CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
((self.map₂ (CategoryTheory.Bicategory.associator f g h).hom).toNatTrans.app X)) =
CategoryTheory.CategoryStruct.comp ((self.mapComp g h).toNatTrans.app ((self.map f).toFunctor.obj X))
((self.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
Lax associativity.
theorem CategoryTheory.LaxFunctor.mapComp_naturality_left_assoc E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.LaxFunctor B C) {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c)
{Z : self.obj a ⟶ self.obj c} (h : self.map (CategoryTheory.CategoryStruct.comp f' g) ⟶ Z),
CategoryTheory.CategoryStruct.comp (self.mapComp f g)
(CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.whiskerRight η g)) h) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.map₂ η) (self.map g))
(CategoryTheory.CategoryStruct.comp (self.mapComp f' g) h)
Naturality of the lax functoriality constraint, on the left.
theorem CategoryTheory.LaxFunctor.map₂_leftUnitor_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.LaxFunctor B C) {a b : B} (f : a ⟶ b) {Z : self.obj a ⟶ self.obj b}
(h : self.map (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) f) ⟶ Z),
CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv) h =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.map f)).inv
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.mapId a) (self.map f))
(CategoryTheory.CategoryStruct.comp (self.mapComp (CategoryTheory.CategoryStruct.id a) f) h))
Lax left unity.
theorem CategoryTheory.LaxFunctor.map₂_rightUnitor_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.LaxFunctor B C) {a b : B} (f : a ⟶ b) {Z : self.obj a ⟶ self.obj b}
(h : self.map (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.id b)) ⟶ Z),
CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv) h =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.map f)).inv
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.mapId b))
(CategoryTheory.CategoryStruct.comp (self.mapComp f (CategoryTheory.CategoryStruct.id b)) h))
Lax right unity.
theorem CategoryTheory.LaxFunctor.map₂_rightUnitor_app_assoc E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.LaxFunctor B CategoryTheory.Cat) {a b : B}
(f : a ⟶ b) (X : ↑(self.obj a)) {Z : ↑(self.obj b)}
(h : (self.map (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.id b))).toFunctor.obj X ⟶ Z),
CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv).toNatTrans.app X) h =
CategoryTheory.CategoryStruct.comp ((self.mapId b).toNatTrans.app ((self.map f).toFunctor.obj X))
(CategoryTheory.CategoryStruct.comp ((self.mapComp f (CategoryTheory.CategoryStruct.id b)).toNatTrans.app X) h)
Lax right unity.
theorem CategoryTheory.LaxFunctor.map₂_rightUnitor_app E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.LaxFunctor B CategoryTheory.Cat) {a b : B}
(f : a ⟶ b) (X : ↑(self.obj a)),
(self.map₂ (CategoryTheory.Bicategory.rightUnitor f).inv).toNatTrans.app X =
CategoryTheory.CategoryStruct.comp ((self.mapId b).toNatTrans.app ((self.map f).toFunctor.obj X))
((self.mapComp f (CategoryTheory.CategoryStruct.id b)).toNatTrans.app X)
Lax right unity.
theorem CategoryTheory.LaxFunctor.map₂_leftUnitor_app E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.LaxFunctor B CategoryTheory.Cat) {a b : B}
(f : a ⟶ b) (X : ↑(self.obj a)),
(self.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv).toNatTrans.app X =
CategoryTheory.CategoryStruct.comp ((self.map f).toFunctor.map ((self.mapId a).toNatTrans.app X))
((self.mapComp (CategoryTheory.CategoryStruct.id a) f).toNatTrans.app X)
Lax left unity.
theorem CategoryTheory.LaxFunctor.map₂_leftUnitor_app_assoc E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.LaxFunctor B CategoryTheory.Cat) {a b : B}
(f : a ⟶ b) (X : ↑(self.obj a)) {Z : ↑(self.obj b)}
(h : (self.map (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) f)).toFunctor.obj X ⟶ Z),
CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.leftUnitor f).inv).toNatTrans.app X) h =
CategoryTheory.CategoryStruct.comp ((self.map f).toFunctor.map ((self.mapId a).toNatTrans.app X))
(CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.id a) f).toNatTrans.app X) h)
Lax left unity.
theorem CategoryTheory.LaxFunctor.mapComp_assoc_left_app E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.LaxFunctor 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).toNatTrans.app X))
((F.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X) =
CategoryTheory.CategoryStruct.comp ((F.mapComp g h).toNatTrans.app ((F.map f).toFunctor.obj X))
(CategoryTheory.CategoryStruct.comp ((F.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
((F.map₂ (CategoryTheory.Bicategory.associator f g h).inv).toNatTrans.app X))
theorem CategoryTheory.LaxFunctor.mapComp_assoc_left E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.LaxFunctor 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) (F.map h))
(F.mapComp (CategoryTheory.CategoryStruct.comp f g) h) =
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))
(CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.comp g h))
(F.map₂ (CategoryTheory.Bicategory.associator f g h).inv)))
theorem CategoryTheory.LaxFunctor.mapComp_assoc_left_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.LaxFunctor 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) (F.map h))
(CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.comp f g) h) 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))
(CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.associator f g h).inv) h_1)))
theorem CategoryTheory.LaxFunctor.mapComp_assoc_left_app_assoc E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.LaxFunctor 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).toNatTrans.app X))
(CategoryTheory.CategoryStruct.comp ((F.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
h_1) =
CategoryTheory.CategoryStruct.comp ((F.mapComp g h).toNatTrans.app ((F.map f).toFunctor.obj X))
(CategoryTheory.CategoryStruct.comp ((F.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.map₂ (CategoryTheory.Bicategory.associator f g h).inv).toNatTrans.app X)
h_1))
theorem CategoryTheory.LaxFunctor.mapComp_assoc_right_app E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.LaxFunctor 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).toNatTrans.app ((F.map f).toFunctor.obj X))
((F.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X) =
CategoryTheory.CategoryStruct.comp ((F.map h).toFunctor.map ((F.mapComp f g).toNatTrans.app X))
(CategoryTheory.CategoryStruct.comp ((F.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
((F.map₂ (CategoryTheory.Bicategory.associator f g h).hom).toNatTrans.app X))
theorem CategoryTheory.LaxFunctor.mapComp_assoc_right_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.LaxFunctor 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))
(CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.comp g h)) 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) (F.map h))
(CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.associator f g h).hom) h_1)))
theorem CategoryTheory.LaxFunctor.mapComp_assoc_right E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.LaxFunctor 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))
(F.mapComp f (CategoryTheory.CategoryStruct.comp g h)) =
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) (F.map h))
(CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(F.map₂ (CategoryTheory.Bicategory.associator f g h).hom)))
theorem CategoryTheory.LaxFunctor.mapComp_assoc_right_app_assoc E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.LaxFunctor 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).toNatTrans.app ((F.map f).toFunctor.obj X))
(CategoryTheory.CategoryStruct.comp ((F.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
h_1) =
CategoryTheory.CategoryStruct.comp ((F.map h).toFunctor.map ((F.mapComp f g).toNatTrans.app X))
(CategoryTheory.CategoryStruct.comp ((F.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.map₂ (CategoryTheory.Bicategory.associator f g h).hom).toNatTrans.app X)
h_1))
theorem CategoryTheory.LaxFunctor.map₂_leftUnitor_hom_app E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.LaxFunctor B CategoryTheory.Cat) {a b : B}
(f : a ⟶ b) (X : ↑(F.obj a)),
CategoryTheory.CategoryStruct.id
((F.map f).toFunctor.obj ((CategoryTheory.CategoryStruct.id (F.obj a)).toFunctor.obj X)) =
CategoryTheory.CategoryStruct.comp ((F.map f).toFunctor.map ((F.mapId a).toNatTrans.app X))
(CategoryTheory.CategoryStruct.comp ((F.mapComp (CategoryTheory.CategoryStruct.id a) f).toNatTrans.app X)
((F.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom).toNatTrans.app X))
theorem CategoryTheory.LaxFunctor.map₂_leftUnitor_hom_app_assoc E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.LaxFunctor 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),
h =
CategoryTheory.CategoryStruct.comp ((F.map f).toFunctor.map ((F.mapId a).toNatTrans.app X))
(CategoryTheory.CategoryStruct.comp ((F.mapComp (CategoryTheory.CategoryStruct.id a) f).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom).toNatTrans.app X) h))
theorem CategoryTheory.LaxFunctor.map₂_leftUnitor_hom_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.LaxFunctor B C) {a b : B} (f : a ⟶ b) {Z : F.obj a ⟶ F.obj b} (h : F.map f ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).hom h =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (F.map f))
(CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.id a) f)
(CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom) h))
theorem CategoryTheory.LaxFunctor.map₂_leftUnitor_hom E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.LaxFunctor B C) {a b : B} (f : a ⟶ b),
(CategoryTheory.Bicategory.leftUnitor (F.map f)).hom =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (F.map f))
(CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.id a) f)
(F.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom))
theorem CategoryTheory.LaxFunctor.map₂_rightUnitor_hom_app E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.LaxFunctor B CategoryTheory.Cat) {a b : B}
(f : a ⟶ b) (X : ↑(F.obj a)),
CategoryTheory.CategoryStruct.id
((CategoryTheory.CategoryStruct.id (F.obj b)).toFunctor.obj ((F.map f).toFunctor.obj X)) =
CategoryTheory.CategoryStruct.comp ((F.mapId b).toNatTrans.app ((F.map f).toFunctor.obj X))
(CategoryTheory.CategoryStruct.comp ((F.mapComp f (CategoryTheory.CategoryStruct.id b)).toNatTrans.app X)
((F.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom).toNatTrans.app X))
theorem CategoryTheory.LaxFunctor.map₂_rightUnitor_hom_app_assoc E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.LaxFunctor 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),
h =
CategoryTheory.CategoryStruct.comp ((F.mapId b).toNatTrans.app ((F.map f).toFunctor.obj X))
(CategoryTheory.CategoryStruct.comp ((F.mapComp f (CategoryTheory.CategoryStruct.id b)).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom).toNatTrans.app X)
h))
theorem CategoryTheory.LaxFunctor.map₂_rightUnitor_hom_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.LaxFunctor B C) {a b : B} (f : a ⟶ b) {Z : F.obj a ⟶ F.obj b} (h : F.map f ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).hom h =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapId b))
(CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.id b))
(CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom) h))
theorem CategoryTheory.LaxFunctor.map₂_rightUnitor_hom E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.LaxFunctor B C) {a b : B} (f : a ⟶ b),
(CategoryTheory.Bicategory.rightUnitor (F.map f)).hom =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapId b))
(CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.id b))
(F.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom))
def CategoryTheory.LaxFunctor.id E1 #
(B : Type u₁) → [inst : CategoryTheory.Bicategory B] → CategoryTheory.LaxFunctor B B
The identity lax functor.
theorem CategoryTheory.LaxFunctor.id_mapId E0 #
∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] (a : B),
(CategoryTheory.LaxFunctor.id B).mapId a = CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.id a)
theorem CategoryTheory.LaxFunctor.id_toPrelaxFunctor E0 #
∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B],
(CategoryTheory.LaxFunctor.id B).toPrelaxFunctor = CategoryTheory.PrelaxFunctor.id B
theorem CategoryTheory.LaxFunctor.id_mapComp E0 #
∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
(CategoryTheory.LaxFunctor.id B).mapComp f g =
CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f g)
instance CategoryTheory.LaxFunctor.instInhabited E0 #
{B : Type u₁} → [inst : CategoryTheory.Bicategory B] → Inhabited (CategoryTheory.LaxFunctor B B)
def CategoryTheory.LaxFunctor.mapId' E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
(F : CategoryTheory.LaxFunctor B C) →
{b : B} →
(f : b ⟶ b) →
autoParam (f = CategoryTheory.CategoryStruct.id b) CategoryTheory.LaxFunctor.mapId'._auto_1 →
(CategoryTheory.CategoryStruct.id (F.obj b) ⟶ F.map f)
More flexible variant of mapId. (See the file Bicategory.Functor.Strict
for applications to strict bicategories.)
theorem CategoryTheory.LaxFunctor.mapId'_eq_mapId E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.LaxFunctor B C) (b : B), F.mapId' (CategoryTheory.CategoryStruct.id b) ⋯ = F.mapId b
def CategoryTheory.LaxFunctor.mapComp' E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
(F : CategoryTheory.LaxFunctor B C) →
{b₀ b₁ b₂ : B} →
(f : b₀ ⟶ b₁) →
(g : b₁ ⟶ b₂) →
(fg : b₀ ⟶ b₂) →
autoParam (CategoryTheory.CategoryStruct.comp f g = fg) CategoryTheory.LaxFunctor.mapComp'._auto_1 →
(CategoryTheory.CategoryStruct.comp (F.map f) (F.map g) ⟶ F.map fg)
More flexible variant of mapComp. (See Bicategory.Functor.Strict
for applications to strict bicategories.)
theorem CategoryTheory.LaxFunctor.mapComp'_eq_mapComp E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.LaxFunctor 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
def CategoryTheory.LaxFunctor.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.LaxFunctor B C → CategoryTheory.LaxFunctor C D → CategoryTheory.LaxFunctor B D
Composition of lax functors.
theorem CategoryTheory.LaxFunctor.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.LaxFunctor B C) (G : CategoryTheory.LaxFunctor C D)
(a : B), (F.comp G).mapId a = CategoryTheory.CategoryStruct.comp (G.mapId (F.obj a)) (G.map₂ (F.mapId a))
theorem CategoryTheory.LaxFunctor.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.LaxFunctor B C) (G : CategoryTheory.LaxFunctor C D)
{a b c : B} (f : a ⟶ b) (g : b ⟶ c),
(F.comp G).mapComp f g = CategoryTheory.CategoryStruct.comp (G.mapComp (F.map f) (F.map g)) (G.map₂ (F.mapComp f g))
theorem CategoryTheory.LaxFunctor.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.LaxFunctor B C) (G : CategoryTheory.LaxFunctor C D),
(F.comp G).toPrelaxFunctor = F.comp G.toPrelaxFunctor
structure CategoryTheory.LaxFunctor.PseudoCore E3 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} → [inst_1 : CategoryTheory.Bicategory C] → CategoryTheory.LaxFunctor B C → Type (max (max u₁ v₁) w₂)
A structure on a lax functor that promotes a lax functor to a pseudofunctor.
See Pseudofunctor.mkOfLax.
ctor CategoryTheory.LaxFunctor.PseudoCore.mk E0 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
{F : CategoryTheory.LaxFunctor B C} →
(mapIdIso :
(a : B) → F.map (CategoryTheory.CategoryStruct.id a) ≅ CategoryTheory.CategoryStruct.id (F.obj a)) →
(mapCompIso :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
F.map (CategoryTheory.CategoryStruct.comp f g) ≅
CategoryTheory.CategoryStruct.comp (F.map f) (F.map g)) →
autoParam (∀ {a : B}, (mapIdIso a).inv = F.mapId a)
CategoryTheory.LaxFunctor.PseudoCore.mapIdIso_inv._autoParam →
autoParam (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), (mapCompIso f g).inv = F.mapComp f g)
CategoryTheory.LaxFunctor.PseudoCore.mapCompIso_inv._autoParam →
F.PseudoCore
abbrev CategoryTheory.LaxFunctor.PseudoCore.mapIdIso E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
{F : CategoryTheory.LaxFunctor B C} →
F.PseudoCore →
(a : B) → F.map (CategoryTheory.CategoryStruct.id a) ≅ CategoryTheory.CategoryStruct.id (F.obj a)
The isomorphism giving rise to the lax unity constraint
abbrev CategoryTheory.LaxFunctor.PseudoCore.mapCompIso E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
{F : CategoryTheory.LaxFunctor B C} →
F.PseudoCore →
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
F.map (CategoryTheory.CategoryStruct.comp f g) ≅
CategoryTheory.CategoryStruct.comp (F.map f) (F.map g)
The isomorphism giving rise to the lax functoriality constraint
theorem CategoryTheory.LaxFunctor.PseudoCore.mapIdIso_inv E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
{F : CategoryTheory.LaxFunctor B C} (self : F.PseudoCore) {a : B}, (self.mapIdIso a).inv = F.mapId a
mapIdIso gives rise to the lax unity constraint
theorem CategoryTheory.LaxFunctor.PseudoCore.mapCompIso_inv E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
{F : CategoryTheory.LaxFunctor B C} (self : F.PseudoCore) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
(self.mapCompIso f g).inv = F.mapComp f g
mapCompIso gives rise to the lax functoriality constraint