The areas / V24. Category theory
Mathlib.CategoryTheory.Bicategory.Functor.Oplax
60 declarations. Mathlib docs · Source
Oplax functors
An oplax 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.map (𝟙 a) ⟶ 𝟙 (F.obj a), - a family of 2-morphisms
F.mapComp f g : F.map (f ≫ g) ⟶ F.map f ≫ F.map g, and - certain consistency conditions on them.
Main definitions
CategoryTheory.OplaxFunctor B C: an oplax functor between bicategoriesBandC, which we denote byB ⥤ᵒᵖᴸ C.CategoryTheory.OplaxFunctor.comp F G: the composition of oplax functors
theorem CategoryTheory.OplaxFunctor.mk.injEq E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(toPrelaxFunctor : CategoryTheory.PrelaxFunctor B C)
(mapId :
(a : B) →
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.id a) ⟶
CategoryTheory.CategoryStruct.id (toPrelaxFunctor.obj a))
(mapComp :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.comp f g) ⟶
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map f) (toPrelaxFunctor.map g))
(mapComp_naturality_left :
autoParam
(∀ {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerRight η g))
(mapComp f' g) =
CategoryTheory.CategoryStruct.comp (mapComp f g)
(CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor.map₂ η) (toPrelaxFunctor.map g)))
CategoryTheory.OplaxFunctor.mapComp_naturality_left._autoParam)
(mapComp_naturality_right :
autoParam
(∀ {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g'),
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerLeft f η))
(mapComp f g') =
CategoryTheory.CategoryStruct.comp (mapComp f g)
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (toPrelaxFunctor.map₂ η)))
CategoryTheory.OplaxFunctor.mapComp_naturality_right._autoParam)
(map₂_associator :
autoParam
(∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.associator f g h).hom)
(CategoryTheory.CategoryStruct.comp (mapComp f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapComp g h))) =
CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapComp f g) (toPrelaxFunctor.map h))
(CategoryTheory.Bicategory.associator (toPrelaxFunctor.map f) (toPrelaxFunctor.map g)
(toPrelaxFunctor.map h)).hom))
CategoryTheory.OplaxFunctor.map₂_associator._autoParam)
(map₂_leftUnitor :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.id a) f)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapId a) (toPrelaxFunctor.map f))
(CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor.map f)).hom))
CategoryTheory.OplaxFunctor.map₂_leftUnitor._autoParam)
(map₂_rightUnitor :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
CategoryTheory.CategoryStruct.comp (mapComp f (CategoryTheory.CategoryStruct.id b))
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapId b))
(CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor.map f)).hom))
CategoryTheory.OplaxFunctor.map₂_rightUnitor._autoParam)
(toPrelaxFunctor_1 : CategoryTheory.PrelaxFunctor B C)
(mapId_1 :
(a : B) →
toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.id a) ⟶
CategoryTheory.CategoryStruct.id (toPrelaxFunctor_1.obj a))
(mapComp_1 :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.comp f g) ⟶
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map g))
(mapComp_naturality_left_1 :
autoParam
(∀ {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerRight η g))
(mapComp_1 f' g) =
CategoryTheory.CategoryStruct.comp (mapComp_1 f g)
(CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor_1.map₂ η) (toPrelaxFunctor_1.map g)))
CategoryTheory.OplaxFunctor.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 (toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerLeft f η))
(mapComp_1 f g') =
CategoryTheory.CategoryStruct.comp (mapComp_1 f g)
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map₂ η)))
CategoryTheory.OplaxFunctor.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 (toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.associator f g h).hom)
(CategoryTheory.CategoryStruct.comp (mapComp_1 f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (mapComp_1 g h))) =
CategoryTheory.CategoryStruct.comp (mapComp_1 (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapComp_1 f g) (toPrelaxFunctor_1.map h))
(CategoryTheory.Bicategory.associator (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map g)
(toPrelaxFunctor_1.map h)).hom))
CategoryTheory.OplaxFunctor.map₂_associator._autoParam)
(map₂_leftUnitor_1 :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
CategoryTheory.CategoryStruct.comp (mapComp_1 (CategoryTheory.CategoryStruct.id a) f)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapId_1 a) (toPrelaxFunctor_1.map f))
(CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor_1.map f)).hom))
CategoryTheory.OplaxFunctor.map₂_leftUnitor._autoParam)
(map₂_rightUnitor_1 :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
CategoryTheory.CategoryStruct.comp (mapComp_1 f (CategoryTheory.CategoryStruct.id b))
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (mapId_1 b))
(CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor_1.map f)).hom))
CategoryTheory.OplaxFunctor.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.OplaxFunctor.ctorIdx E1 #
{B : Type u₁} →
{inst : CategoryTheory.Bicategory B} →
{C : Type u₂} → {inst_1 : CategoryTheory.Bicategory C} → CategoryTheory.OplaxFunctor B C → ℕ
theorem CategoryTheory.OplaxFunctor.mk.inj E1 #
∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
{toPrelaxFunctor : CategoryTheory.PrelaxFunctor B C}
{mapId :
(a : B) →
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.id a) ⟶
CategoryTheory.CategoryStruct.id (toPrelaxFunctor.obj a)}
{mapComp :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.comp f g) ⟶
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map f) (toPrelaxFunctor.map g)}
{mapComp_naturality_left :
autoParam
(∀ {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerRight η g))
(mapComp f' g) =
CategoryTheory.CategoryStruct.comp (mapComp f g)
(CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor.map₂ η) (toPrelaxFunctor.map g)))
CategoryTheory.OplaxFunctor.mapComp_naturality_left._autoParam}
{mapComp_naturality_right :
autoParam
(∀ {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g'),
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerLeft f η))
(mapComp f g') =
CategoryTheory.CategoryStruct.comp (mapComp f g)
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (toPrelaxFunctor.map₂ η)))
CategoryTheory.OplaxFunctor.mapComp_naturality_right._autoParam}
{map₂_associator :
autoParam
(∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.associator f g h).hom)
(CategoryTheory.CategoryStruct.comp (mapComp f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapComp g h))) =
CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapComp f g) (toPrelaxFunctor.map h))
(CategoryTheory.Bicategory.associator (toPrelaxFunctor.map f) (toPrelaxFunctor.map g)
(toPrelaxFunctor.map h)).hom))
CategoryTheory.OplaxFunctor.map₂_associator._autoParam}
{map₂_leftUnitor :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.id a) f)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapId a) (toPrelaxFunctor.map f))
(CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor.map f)).hom))
CategoryTheory.OplaxFunctor.map₂_leftUnitor._autoParam}
{map₂_rightUnitor :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
CategoryTheory.CategoryStruct.comp (mapComp f (CategoryTheory.CategoryStruct.id b))
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapId b))
(CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor.map f)).hom))
CategoryTheory.OplaxFunctor.map₂_rightUnitor._autoParam}
{toPrelaxFunctor_1 : CategoryTheory.PrelaxFunctor B C}
{mapId_1 :
(a : B) →
toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.id a) ⟶
CategoryTheory.CategoryStruct.id (toPrelaxFunctor_1.obj a)}
{mapComp_1 :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
toPrelaxFunctor_1.map (CategoryTheory.CategoryStruct.comp f g) ⟶
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map g)}
{mapComp_naturality_left_1 :
autoParam
(∀ {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerRight η g))
(mapComp_1 f' g) =
CategoryTheory.CategoryStruct.comp (mapComp_1 f g)
(CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor_1.map₂ η) (toPrelaxFunctor_1.map g)))
CategoryTheory.OplaxFunctor.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 (toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.whiskerLeft f η))
(mapComp_1 f g') =
CategoryTheory.CategoryStruct.comp (mapComp_1 f g)
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map₂ η)))
CategoryTheory.OplaxFunctor.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 (toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.associator f g h).hom)
(CategoryTheory.CategoryStruct.comp (mapComp_1 f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (mapComp_1 g h))) =
CategoryTheory.CategoryStruct.comp (mapComp_1 (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapComp_1 f g) (toPrelaxFunctor_1.map h))
(CategoryTheory.Bicategory.associator (toPrelaxFunctor_1.map f) (toPrelaxFunctor_1.map g)
(toPrelaxFunctor_1.map h)).hom))
CategoryTheory.OplaxFunctor.map₂_associator._autoParam}
{map₂_leftUnitor_1 :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
CategoryTheory.CategoryStruct.comp (mapComp_1 (CategoryTheory.CategoryStruct.id a) f)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapId_1 a) (toPrelaxFunctor_1.map f))
(CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor_1.map f)).hom))
CategoryTheory.OplaxFunctor.map₂_leftUnitor._autoParam}
{map₂_rightUnitor_1 :
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor_1.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
CategoryTheory.CategoryStruct.comp (mapComp_1 f (CategoryTheory.CategoryStruct.id b))
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor_1.map f) (mapId_1 b))
(CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor_1.map f)).hom))
CategoryTheory.OplaxFunctor.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.OplaxFunctor.PseudoCore.ctorIdx E1 #
{B : Type u₁} →
{inst : CategoryTheory.Bicategory B} →
{C : Type u₂} → {inst_1 : CategoryTheory.Bicategory C} → {F : CategoryTheory.OplaxFunctor B C} → F.PseudoCore → ℕ
theorem CategoryTheory.OplaxFunctor.PseudoCore.mk.inj E1 #
∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
{F : CategoryTheory.OplaxFunctor 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_hom :
autoParam (∀ {a : B}, (mapIdIso a).hom = F.mapId a) CategoryTheory.OplaxFunctor.PseudoCore.mapIdIso_hom._autoParam}
{mapCompIso_hom :
autoParam (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), (mapCompIso f g).hom = F.mapComp f g)
CategoryTheory.OplaxFunctor.PseudoCore.mapCompIso_hom._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_hom_1 :
autoParam (∀ {a : B}, (mapIdIso_1 a).hom = F.mapId a)
CategoryTheory.OplaxFunctor.PseudoCore.mapIdIso_hom._autoParam}
{mapCompIso_hom_1 :
autoParam (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), (mapCompIso_1 f g).hom = F.mapComp f g)
CategoryTheory.OplaxFunctor.PseudoCore.mapCompIso_hom._autoParam},
{ mapIdIso := mapIdIso, mapCompIso := mapCompIso, mapIdIso_hom := mapIdIso_hom, mapCompIso_hom := mapCompIso_hom } =
{ mapIdIso := mapIdIso_1, mapCompIso := mapCompIso_1, mapIdIso_hom := mapIdIso_hom_1,
mapCompIso_hom := mapCompIso_hom_1 } →
mapIdIso = mapIdIso_1 ∧ mapCompIso = mapCompIso_1
theorem CategoryTheory.OplaxFunctor.PseudoCore.mk.injEq E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
{F : CategoryTheory.OplaxFunctor 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_hom :
autoParam (∀ {a : B}, (mapIdIso a).hom = F.mapId a) CategoryTheory.OplaxFunctor.PseudoCore.mapIdIso_hom._autoParam)
(mapCompIso_hom :
autoParam (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), (mapCompIso f g).hom = F.mapComp f g)
CategoryTheory.OplaxFunctor.PseudoCore.mapCompIso_hom._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_hom_1 :
autoParam (∀ {a : B}, (mapIdIso_1 a).hom = F.mapId a)
CategoryTheory.OplaxFunctor.PseudoCore.mapIdIso_hom._autoParam)
(mapCompIso_hom_1 :
autoParam (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), (mapCompIso_1 f g).hom = F.mapComp f g)
CategoryTheory.OplaxFunctor.PseudoCore.mapCompIso_hom._autoParam),
({ mapIdIso := mapIdIso, mapCompIso := mapCompIso, mapIdIso_hom := mapIdIso_hom, mapCompIso_hom := mapCompIso_hom } =
{ mapIdIso := mapIdIso_1, mapCompIso := mapCompIso_1, mapIdIso_hom := mapIdIso_hom_1,
mapCompIso_hom := mapCompIso_hom_1 }) =
(mapIdIso = mapIdIso_1 ∧ mapCompIso = mapCompIso_1)
structure CategoryTheory.OplaxFunctor 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₂)
An oplax 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.map (𝟙 a) ⟶ 𝟙 (F.obj a) and F.map (f ≫ g) ⟶ F.map f ≫ F.map g.
F.map₂ strictly commutes with compositions and preserves the identity. It also preserves the
associator, the left unitor, and the right unitor modulo some adjustments of domains and codomains
of 2-morphisms.
ctor CategoryTheory.OplaxFunctor.mk E0 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
(toPrelaxFunctor : CategoryTheory.PrelaxFunctor B C) →
(mapId :
(a : B) →
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.id a) ⟶
CategoryTheory.CategoryStruct.id (toPrelaxFunctor.obj a)) →
(mapComp :
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
toPrelaxFunctor.map (CategoryTheory.CategoryStruct.comp f g) ⟶
CategoryTheory.CategoryStruct.comp (toPrelaxFunctor.map f) (toPrelaxFunctor.map g)) →
autoParam
(∀ {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerRight η g)) (mapComp f' g) =
CategoryTheory.CategoryStruct.comp (mapComp f g)
(CategoryTheory.Bicategory.whiskerRight (toPrelaxFunctor.map₂ η) (toPrelaxFunctor.map g)))
CategoryTheory.OplaxFunctor.mapComp_naturality_left._autoParam →
autoParam
(∀ {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g'),
CategoryTheory.CategoryStruct.comp
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)) (mapComp f g') =
CategoryTheory.CategoryStruct.comp (mapComp f g)
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (toPrelaxFunctor.map₂ η)))
CategoryTheory.OplaxFunctor.mapComp_naturality_right._autoParam →
autoParam
(∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp
(toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.associator f g h).hom)
(CategoryTheory.CategoryStruct.comp (mapComp f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapComp g h))) =
CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapComp f g) (toPrelaxFunctor.map h))
(CategoryTheory.Bicategory.associator (toPrelaxFunctor.map f) (toPrelaxFunctor.map g)
(toPrelaxFunctor.map h)).hom))
CategoryTheory.OplaxFunctor.map₂_associator._autoParam →
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
CategoryTheory.CategoryStruct.comp (mapComp (CategoryTheory.CategoryStruct.id a) f)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (mapId a) (toPrelaxFunctor.map f))
(CategoryTheory.Bicategory.leftUnitor (toPrelaxFunctor.map f)).hom))
CategoryTheory.OplaxFunctor.map₂_leftUnitor._autoParam →
autoParam
(∀ {a b : B} (f : a ⟶ b),
toPrelaxFunctor.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
CategoryTheory.CategoryStruct.comp (mapComp f (CategoryTheory.CategoryStruct.id b))
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft (toPrelaxFunctor.map f) (mapId b))
(CategoryTheory.Bicategory.rightUnitor (toPrelaxFunctor.map f)).hom))
CategoryTheory.OplaxFunctor.map₂_rightUnitor._autoParam →
CategoryTheory.OplaxFunctor B C
abbrev CategoryTheory.OplaxFunctor.toPrelaxFunctor E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] → CategoryTheory.OplaxFunctor B C → CategoryTheory.PrelaxFunctor B C
The underlying prelax functor.
abbrev CategoryTheory.OplaxFunctor.mapId E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
(self : CategoryTheory.OplaxFunctor B C) →
(a : B) → self.map (CategoryTheory.CategoryStruct.id a) ⟶ CategoryTheory.CategoryStruct.id (self.obj a)
The 2-morphism underlying the oplax unity constraint.
abbrev CategoryTheory.OplaxFunctor.mapComp E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
(self : CategoryTheory.OplaxFunctor B C) →
{a b c : B} →
(f : a ⟶ b) →
(g : b ⟶ c) →
self.map (CategoryTheory.CategoryStruct.comp f g) ⟶
CategoryTheory.CategoryStruct.comp (self.map f) (self.map g)
The 2-morphism underlying the oplax functoriality constraint.
theorem CategoryTheory.OplaxFunctor.mapComp_naturality_left E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.OplaxFunctor B C) {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c),
CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.whiskerRight η g)) (self.mapComp f' g) =
CategoryTheory.CategoryStruct.comp (self.mapComp f g)
(CategoryTheory.Bicategory.whiskerRight (self.map₂ η) (self.map g))
Naturality of the oplax functoriality constraint, on the left.
theorem CategoryTheory.OplaxFunctor.mapComp_naturality_right E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.OplaxFunctor B C) {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g'),
CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)) (self.mapComp f g') =
CategoryTheory.CategoryStruct.comp (self.mapComp f g)
(CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.map₂ η))
Naturality of the oplax functoriality constraint, on the right.
theorem CategoryTheory.OplaxFunctor.map₂_associator E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.OplaxFunctor B C) {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.associator f g h).hom)
(CategoryTheory.CategoryStruct.comp (self.mapComp f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.mapComp g h))) =
CategoryTheory.CategoryStruct.comp (self.mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.mapComp f g) (self.map h))
(CategoryTheory.Bicategory.associator (self.map f) (self.map g) (self.map h)).hom)
Oplax associativity.
theorem CategoryTheory.OplaxFunctor.map₂_leftUnitor E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.OplaxFunctor B C) {a b : B} (f : a ⟶ b),
self.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom =
CategoryTheory.CategoryStruct.comp (self.mapComp (CategoryTheory.CategoryStruct.id a) f)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.mapId a) (self.map f))
(CategoryTheory.Bicategory.leftUnitor (self.map f)).hom)
Oplax left unity.
theorem CategoryTheory.OplaxFunctor.map₂_rightUnitor E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.OplaxFunctor B C) {a b : B} (f : a ⟶ b),
self.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom =
CategoryTheory.CategoryStruct.comp (self.mapComp f (CategoryTheory.CategoryStruct.id b))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.mapId b))
(CategoryTheory.Bicategory.rightUnitor (self.map f)).hom)
Oplax right unity.
def CategoryTheory.Bicategory.«term_⥤ᵒᵖᴸ_» E1 #
Lean.TrailingParserDescr
Notation for an oplax functor between bicategories.
theorem CategoryTheory.OplaxFunctor.map₂_associator_app E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.OplaxFunctor 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₂ (CategoryTheory.Bicategory.associator f g h).hom).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
((self.mapComp g h).toNatTrans.app ((self.map f).toFunctor.obj X))) =
CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
((self.map h).toFunctor.map ((self.mapComp f g).toNatTrans.app X))
Oplax associativity.
theorem CategoryTheory.OplaxFunctor.mapComp_naturality_right_assoc E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.OplaxFunctor B C) {a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g')
{Z : self.obj a ⟶ self.obj c} (h : CategoryTheory.CategoryStruct.comp (self.map f) (self.map g') ⟶ Z),
CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.whiskerLeft f η))
(CategoryTheory.CategoryStruct.comp (self.mapComp f g') h) =
CategoryTheory.CategoryStruct.comp (self.mapComp f g)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.map₂ η)) h)
Naturality of the oplax functoriality constraint, on the right.
theorem CategoryTheory.OplaxFunctor.map₂_associator_app_assoc E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.OplaxFunctor 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 h).toFunctor.obj ((self.map g).toFunctor.obj ((self.map f).toFunctor.obj X)) ⟶ Z),
CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.associator f g h).hom).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.mapComp g h).toNatTrans.app ((self.map f).toFunctor.obj X)) h_1)) =
CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.map h).toFunctor.map ((self.mapComp f g).toNatTrans.app X)) h_1)
Oplax associativity.
theorem CategoryTheory.OplaxFunctor.map₂_associator_assoc E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.OplaxFunctor 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 :
CategoryTheory.CategoryStruct.comp (self.map f) (CategoryTheory.CategoryStruct.comp (self.map g) (self.map h)) ⟶ Z),
CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.associator f g h).hom)
(CategoryTheory.CategoryStruct.comp (self.mapComp f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.mapComp g h))
h_1)) =
CategoryTheory.CategoryStruct.comp (self.mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.mapComp f g) (self.map h))
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.associator (self.map f) (self.map g) (self.map h)).hom h_1))
Oplax associativity.
theorem CategoryTheory.OplaxFunctor.mapComp_naturality_left_app E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.OplaxFunctor B CategoryTheory.Cat)
{a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (X : ↑(self.obj a)),
CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.whiskerRight η g)).toNatTrans.app X)
((self.mapComp f' g).toNatTrans.app X) =
CategoryTheory.CategoryStruct.comp ((self.mapComp f g).toNatTrans.app X)
((self.map g).toFunctor.map ((self.map₂ η).toNatTrans.app X))
Naturality of the oplax functoriality constraint, on the left.
theorem CategoryTheory.OplaxFunctor.mapComp_naturality_left_assoc E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.OplaxFunctor B C) {a b c : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c)
{Z : self.obj a ⟶ self.obj c} (h : CategoryTheory.CategoryStruct.comp (self.map f') (self.map g) ⟶ Z),
CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.whiskerRight η g))
(CategoryTheory.CategoryStruct.comp (self.mapComp f' g) h) =
CategoryTheory.CategoryStruct.comp (self.mapComp f g)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.map₂ η) (self.map g)) h)
Naturality of the oplax functoriality constraint, on the left.
theorem CategoryTheory.OplaxFunctor.mapComp_naturality_right_app_assoc E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.OplaxFunctor 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 g').toFunctor.obj ((self.map f).toFunctor.obj X) ⟶ Z),
CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.mapComp f g').toNatTrans.app X) h) =
CategoryTheory.CategoryStruct.comp ((self.mapComp f g).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.map₂ η).toNatTrans.app ((self.map f).toFunctor.obj X)) h)
Naturality of the oplax functoriality constraint, on the right.
theorem CategoryTheory.OplaxFunctor.mapComp_naturality_left_app_assoc E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.OplaxFunctor 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 g).toFunctor.obj ((self.map f').toFunctor.obj X) ⟶ Z),
CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.whiskerRight η g)).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.mapComp f' g).toNatTrans.app X) h) =
CategoryTheory.CategoryStruct.comp ((self.mapComp f g).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.map g).toFunctor.map ((self.map₂ η).toNatTrans.app X)) h)
Naturality of the oplax functoriality constraint, on the left.
theorem CategoryTheory.OplaxFunctor.mapComp_naturality_right_app E0 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.OplaxFunctor B CategoryTheory.Cat)
{a b c : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (X : ↑(self.obj a)),
CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.whiskerLeft f η)).toNatTrans.app X)
((self.mapComp f g').toNatTrans.app X) =
CategoryTheory.CategoryStruct.comp ((self.mapComp f g).toNatTrans.app X)
((self.map₂ η).toNatTrans.app ((self.map f).toFunctor.obj X))
Naturality of the oplax functoriality constraint, on the right.
theorem CategoryTheory.OplaxFunctor.map₂_leftUnitor_app E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.OplaxFunctor B CategoryTheory.Cat)
{a b : B} (f : a ⟶ b) (X : ↑(self.obj a)),
(self.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom).toNatTrans.app X =
CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.id a) f).toNatTrans.app X)
((self.map f).toFunctor.map ((self.mapId a).toNatTrans.app X))
Oplax left unity.
theorem CategoryTheory.OplaxFunctor.map₂_leftUnitor_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.OplaxFunctor B C) {a b : B} (f : a ⟶ b) {Z : self.obj a ⟶ self.obj b} (h : self.map f ⟶ Z),
CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom) h =
CategoryTheory.CategoryStruct.comp (self.mapComp (CategoryTheory.CategoryStruct.id a) f)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.mapId a) (self.map f))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.map f)).hom h))
Oplax left unity.
theorem CategoryTheory.OplaxFunctor.map₂_rightUnitor_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(self : CategoryTheory.OplaxFunctor B C) {a b : B} (f : a ⟶ b) {Z : self.obj a ⟶ self.obj b} (h : self.map f ⟶ Z),
CategoryTheory.CategoryStruct.comp (self.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom) h =
CategoryTheory.CategoryStruct.comp (self.mapComp f (CategoryTheory.CategoryStruct.id b))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.map f) (self.mapId b))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.map f)).hom h))
Oplax right unity.
theorem CategoryTheory.OplaxFunctor.map₂_leftUnitor_app_assoc E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.OplaxFunctor B CategoryTheory.Cat)
{a b : B} (f : a ⟶ b) (X : ↑(self.obj a)) {Z : ↑(self.obj b)} (h : (self.map f).toFunctor.obj X ⟶ Z),
CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom).toNatTrans.app X) h =
CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.id a) f).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.map f).toFunctor.map ((self.mapId a).toNatTrans.app X)) h)
Oplax left unity.
theorem CategoryTheory.OplaxFunctor.map₂_rightUnitor_app E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.OplaxFunctor B CategoryTheory.Cat)
{a b : B} (f : a ⟶ b) (X : ↑(self.obj a)),
(self.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom).toNatTrans.app X =
CategoryTheory.CategoryStruct.comp ((self.mapComp f (CategoryTheory.CategoryStruct.id b)).toNatTrans.app X)
((self.mapId b).toNatTrans.app ((self.map f).toFunctor.obj X))
Oplax right unity.
theorem CategoryTheory.OplaxFunctor.map₂_rightUnitor_app_assoc E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (self : CategoryTheory.OplaxFunctor B CategoryTheory.Cat)
{a b : B} (f : a ⟶ b) (X : ↑(self.obj a)) {Z : ↑(self.obj b)} (h : (self.map f).toFunctor.obj X ⟶ Z),
CategoryTheory.CategoryStruct.comp ((self.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom).toNatTrans.app X) h =
CategoryTheory.CategoryStruct.comp ((self.mapComp f (CategoryTheory.CategoryStruct.id b)).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((self.mapId b).toNatTrans.app ((self.map f).toFunctor.obj X)) h)
Oplax right unity.
theorem CategoryTheory.OplaxFunctor.mapComp_assoc_right_app E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.OplaxFunctor B CategoryTheory.Cat)
{a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (X : ↑(F.obj a)),
CategoryTheory.CategoryStruct.comp ((F.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
((F.mapComp g h).toNatTrans.app ((F.map f).toFunctor.obj X)) =
CategoryTheory.CategoryStruct.comp ((F.map₂ (CategoryTheory.Bicategory.associator f g h).inv).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
((F.map h).toFunctor.map ((F.mapComp f g).toNatTrans.app X)))
theorem CategoryTheory.OplaxFunctor.mapComp_assoc_right_app_assoc E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.OplaxFunctor B CategoryTheory.Cat)
{a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (X : ↑(F.obj a)) {Z : ↑(F.obj d)}
(h_1 : (F.map h).toFunctor.obj ((F.map g).toFunctor.obj ((F.map f).toFunctor.obj X)) ⟶ Z),
CategoryTheory.CategoryStruct.comp ((F.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.mapComp g h).toNatTrans.app ((F.map f).toFunctor.obj X)) h_1) =
CategoryTheory.CategoryStruct.comp ((F.map₂ (CategoryTheory.Bicategory.associator f g h).inv).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.map h).toFunctor.map ((F.mapComp f g).toNatTrans.app X)) h_1))
theorem CategoryTheory.OplaxFunctor.mapComp_assoc_right E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.OplaxFunctor B C) {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapComp g h)) =
CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.associator f g h).inv)
(CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (F.map h))
(CategoryTheory.Bicategory.associator (F.map f) (F.map g) (F.map h)).hom))
theorem CategoryTheory.OplaxFunctor.mapComp_assoc_right_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.OplaxFunctor B C) {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) {Z : F.obj a ⟶ F.obj d}
(h_1 : CategoryTheory.CategoryStruct.comp (F.map f) (CategoryTheory.CategoryStruct.comp (F.map g) (F.map h)) ⟶ Z),
CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapComp g h)) h_1) =
CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.associator f g h).inv)
(CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (F.map h))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (F.map h)).hom
h_1)))
theorem CategoryTheory.OplaxFunctor.mapComp_assoc_left_app_assoc E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.OplaxFunctor B CategoryTheory.Cat)
{a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (X : ↑(F.obj a)) {Z : ↑(F.obj d)}
(h_1 : (F.map h).toFunctor.obj ((F.map g).toFunctor.obj ((F.map f).toFunctor.obj X)) ⟶ Z),
CategoryTheory.CategoryStruct.comp ((F.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.map h).toFunctor.map ((F.mapComp f g).toNatTrans.app X)) h_1) =
CategoryTheory.CategoryStruct.comp ((F.map₂ (CategoryTheory.Bicategory.associator f g h).hom).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.mapComp g h).toNatTrans.app ((F.map f).toFunctor.obj X)) h_1))
theorem CategoryTheory.OplaxFunctor.mapComp_assoc_left_app E1 #
∀ {B : Type u_1} [inst : CategoryTheory.Bicategory B] (F : CategoryTheory.OplaxFunctor B CategoryTheory.Cat)
{a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (X : ↑(F.obj a)),
CategoryTheory.CategoryStruct.comp ((F.mapComp (CategoryTheory.CategoryStruct.comp f g) h).toNatTrans.app X)
((F.map h).toFunctor.map ((F.mapComp f g).toNatTrans.app X)) =
CategoryTheory.CategoryStruct.comp ((F.map₂ (CategoryTheory.Bicategory.associator f g h).hom).toNatTrans.app X)
(CategoryTheory.CategoryStruct.comp ((F.mapComp f (CategoryTheory.CategoryStruct.comp g h)).toNatTrans.app X)
((F.mapComp g h).toNatTrans.app ((F.map f).toFunctor.obj X)))
theorem CategoryTheory.OplaxFunctor.mapComp_assoc_left E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.OplaxFunctor B C) {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (F.map h)) =
CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.associator f g h).hom)
(CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapComp g h))
(CategoryTheory.Bicategory.associator (F.map f) (F.map g) (F.map h)).inv))
theorem CategoryTheory.OplaxFunctor.mapComp_assoc_left_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.OplaxFunctor B C) {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) {Z : F.obj a ⟶ F.obj d}
(h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp (F.map f) (F.map g)) (F.map h) ⟶ Z),
CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.comp f g) h)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (F.map h)) h_1) =
CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.associator f g h).hom)
(CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.comp g h))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapComp g h))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (F.map h)).inv
h_1)))
theorem CategoryTheory.OplaxFunctor.mapComp_id_left_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.OplaxFunctor B C) {a b : B} (f : a ⟶ b) {Z : F.obj a ⟶ F.obj b}
(h : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id (F.obj a)) (F.map f) ⟶ Z),
CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.id a) f)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (F.map f)) h) =
CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).inv h)
theorem CategoryTheory.OplaxFunctor.mapComp_id_left E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.OplaxFunctor B C) {a b : B} (f : a ⟶ b),
CategoryTheory.CategoryStruct.comp (F.mapComp (CategoryTheory.CategoryStruct.id a) f)
(CategoryTheory.Bicategory.whiskerRight (F.mapId a) (F.map f)) =
CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.leftUnitor f).hom)
(CategoryTheory.Bicategory.leftUnitor (F.map f)).inv
theorem CategoryTheory.OplaxFunctor.mapComp_id_right_assoc E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.OplaxFunctor B C) {a b : B} (f : a ⟶ b) {Z : F.obj a ⟶ F.obj b}
(h : CategoryTheory.CategoryStruct.comp (F.map f) (CategoryTheory.CategoryStruct.id (F.obj b)) ⟶ Z),
CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.id b))
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapId b)) h) =
CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).inv h)
theorem CategoryTheory.OplaxFunctor.mapComp_id_right E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.OplaxFunctor B C) {a b : B} (f : a ⟶ b),
CategoryTheory.CategoryStruct.comp (F.mapComp f (CategoryTheory.CategoryStruct.id b))
(CategoryTheory.Bicategory.whiskerLeft (F.map f) (F.mapId b)) =
CategoryTheory.CategoryStruct.comp (F.map₂ (CategoryTheory.Bicategory.rightUnitor f).hom)
(CategoryTheory.Bicategory.rightUnitor (F.map f)).inv
def CategoryTheory.OplaxFunctor.id E1 #
(B : Type u₁) → [inst : CategoryTheory.Bicategory B] → CategoryTheory.OplaxFunctor B B
The identity oplax functor.
theorem CategoryTheory.OplaxFunctor.id_mapComp E0 #
∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
(CategoryTheory.OplaxFunctor.id B).mapComp f g =
CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f g)
theorem CategoryTheory.OplaxFunctor.id_toPrelaxFunctor E0 #
∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B],
(CategoryTheory.OplaxFunctor.id B).toPrelaxFunctor = CategoryTheory.PrelaxFunctor.id B
theorem CategoryTheory.OplaxFunctor.id_mapId E0 #
∀ (B : Type u₁) [inst : CategoryTheory.Bicategory B] (a : B),
(CategoryTheory.OplaxFunctor.id B).mapId a = CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.id a)
instance CategoryTheory.OplaxFunctor.instInhabited E0 #
{B : Type u₁} → [inst : CategoryTheory.Bicategory B] → Inhabited (CategoryTheory.OplaxFunctor B B)
def CategoryTheory.OplaxFunctor.mapId' E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
(F : CategoryTheory.OplaxFunctor B C) →
{b : B} →
(f : b ⟶ b) →
autoParam (f = CategoryTheory.CategoryStruct.id b) CategoryTheory.OplaxFunctor.mapId'._auto_1 →
(F.map f ⟶ CategoryTheory.CategoryStruct.id (F.obj b))
More flexible variant of mapId. (See the file Bicategory.Functor.Strict
for applications to strict bicategories.)
theorem CategoryTheory.OplaxFunctor.mapId'_eq_mapId E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.OplaxFunctor B C) (b : B), F.mapId' (CategoryTheory.CategoryStruct.id b) ⋯ = F.mapId b
def CategoryTheory.OplaxFunctor.mapComp' E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
(F : CategoryTheory.OplaxFunctor B C) →
{b₀ b₁ b₂ : B} →
(f : b₀ ⟶ b₁) →
(g : b₁ ⟶ b₂) →
(fg : b₀ ⟶ b₂) →
autoParam (CategoryTheory.CategoryStruct.comp f g = fg) CategoryTheory.OplaxFunctor.mapComp'._auto_1 →
(F.map fg ⟶ CategoryTheory.CategoryStruct.comp (F.map f) (F.map g))
More flexible variant of mapComp. (See Bicategory.Functor.Strict
for applications to strict bicategories.)
theorem CategoryTheory.OplaxFunctor.mapComp'_eq_mapComp E1 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
(F : CategoryTheory.OplaxFunctor 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.OplaxFunctor.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.OplaxFunctor B C → CategoryTheory.OplaxFunctor C D → CategoryTheory.OplaxFunctor B D
Composition of oplax functors.
structure CategoryTheory.OplaxFunctor.PseudoCore E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} → [inst_1 : CategoryTheory.Bicategory C] → CategoryTheory.OplaxFunctor B C → Type (max (max u₁ v₁) w₂)
A structure on an oplax functor that promotes an oplax functor to a pseudofunctor.
See Pseudofunctor.mkOfOplax.
ctor CategoryTheory.OplaxFunctor.PseudoCore.mk E0 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
{F : CategoryTheory.OplaxFunctor 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).hom = F.mapId a)
CategoryTheory.OplaxFunctor.PseudoCore.mapIdIso_hom._autoParam →
autoParam (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), (mapCompIso f g).hom = F.mapComp f g)
CategoryTheory.OplaxFunctor.PseudoCore.mapCompIso_hom._autoParam →
F.PseudoCore
abbrev CategoryTheory.OplaxFunctor.PseudoCore.mapIdIso E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
{F : CategoryTheory.OplaxFunctor B C} →
F.PseudoCore →
(a : B) → F.map (CategoryTheory.CategoryStruct.id a) ≅ CategoryTheory.CategoryStruct.id (F.obj a)
The isomorphism giving rise to the oplax unity constraint
abbrev CategoryTheory.OplaxFunctor.PseudoCore.mapCompIso E1 #
{B : Type u₁} →
[inst : CategoryTheory.Bicategory B] →
{C : Type u₂} →
[inst_1 : CategoryTheory.Bicategory C] →
{F : CategoryTheory.OplaxFunctor 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 oplax functoriality constraint
theorem CategoryTheory.OplaxFunctor.PseudoCore.mapIdIso_hom E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
{F : CategoryTheory.OplaxFunctor B C} (self : F.PseudoCore) {a : B}, (self.mapIdIso a).hom = F.mapId a
mapIdIso gives rise to the oplax unity constraint
theorem CategoryTheory.OplaxFunctor.PseudoCore.mapCompIso_hom E0 #
∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
{F : CategoryTheory.OplaxFunctor B C} (self : F.PseudoCore) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
(self.mapCompIso f g).hom = F.mapComp f g
mapCompIso gives rise to the oplax functoriality constraint