The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V24. Category theory

Mathlib.CategoryTheory.Bicategory.NaturalTransformation.Lax

92 declarations. Mathlib docs · Source

Transformations between lax functors

Just as there are natural transformations between functors, there are transformations between lax functors. The equality in the naturality condition of a natural transformation gets replaced by a specified 2-morphism. Now, there are three possible types of transformations (between lax functors):

  • lax natural transformations;
  • oplax natural transformations;
  • strong natural transformations.

These differ in the direction (and invertibility) of the 2-morphisms involved in the naturality condition.

Main definitions

  • Lax.LaxTrans F G: lax transformations between lax functors F and G. The naturality condition is given by a 2-morphism app a ≫ G.map f ⟶ F.map f ≫ app b for each 1-morphism f : a ⟶ b.
  • Lax.OplaxTrans F G: oplax transformations between lax functors F and G. The naturality condition is given by a 2-morphism F.map f ≫ app b ⟶ app a ≫ G.map f for each 1-morphism f : a ⟶ b.
  • Lax.StrongTrans F G: strong transformations between lax functors F and G. The naturality condition is given by a 2-isomorphism app a ≫ G.map f ≅ F.map f ≫ app b for each 1-morphism f : a ⟶ b.

Using these, we define three (scoped) CategoryStruct instances on B ⥤ᴸ C, in the Lax.LaxTrans, Lax.OplaxTrans, and Lax.StrongTrans namespaces. The arrows in these CategoryStruct instances are given by lax transformations, oplax transformations, and strong transformations respectively.

We also provide API for going between lax transformations and strong transformations:

  • LaxTrans.StrongCore η: a structure on a lax transformation between lax functors that promotes it to a strong transformation.
  • StrongTrans.mkOfLax η η': given a lax transformation η such that each component 2-morphism is an isomorphism, mkOfLax gives the corresponding strong transformation.

References

theorem CategoryTheory.Lax.StrongTrans.mk.inj E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {app : (a : B) → F.obj a ⟶ G.obj a}
  {naturality :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (app a) (G.map f) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (app b)}
  {naturality_naturality :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (naturality f).hom
            (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η))
            (naturality g).hom)
      CategoryTheory.Lax.StrongTrans.naturality_naturality._autoParam}
  {naturality_id :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a))
            (naturality (CategoryTheory.CategoryStruct.id a)).hom =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app a))))
      CategoryTheory.Lax.StrongTrans.naturality_id._autoParam}
  {naturality_comp :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g))
            (naturality (CategoryTheory.CategoryStruct.comp f g)).hom =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality f).hom (G.map g))
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).hom
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g).hom)
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).inv
                    (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app c)))))))
      CategoryTheory.Lax.StrongTrans.naturality_comp._autoParam}
  {app_1 : (a : B) → F.obj a ⟶ G.obj a}
  {naturality_1 :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (app_1 a) (G.map f) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (app_1 b)}
  {naturality_naturality_1 :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (naturality_1 f).hom
            (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app_1 b)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.map₂ η))
            (naturality_1 g).hom)
      CategoryTheory.Lax.StrongTrans.naturality_naturality._autoParam}
  {naturality_id_1 :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapId a))
            (naturality_1 (CategoryTheory.CategoryStruct.id a)).hom =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app_1 a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app_1 a)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app_1 a))))
      CategoryTheory.Lax.StrongTrans.naturality_id._autoParam}
  {naturality_comp_1 :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapComp f g))
            (naturality_1 (CategoryTheory.CategoryStruct.comp f g)).hom =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (app_1 a) (G.map f) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality_1 f).hom (G.map g))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (F.map f) (app_1 b) (G.map g)).hom
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality_1 g).hom)
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app_1 c)).inv
                    (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app_1 c)))))))
      CategoryTheory.Lax.StrongTrans.naturality_comp._autoParam},
  { app := app, naturality := naturality, naturality_naturality := naturality_naturality,
        naturality_id := naturality_id, naturality_comp := naturality_comp } =
      { app := app_1, naturality := naturality_1, naturality_naturality := naturality_naturality_1,
        naturality_id := naturality_id_1, naturality_comp := naturality_comp_1 } →
    app = app_1 ∧ naturality ≍ naturality_1

theorem CategoryTheory.Lax.LaxTrans.mk.inj E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {app : (a : B) → F.obj a ⟶ G.obj a}
  {naturality :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (app a) (G.map f) ⟶ CategoryTheory.CategoryStruct.comp (F.map f) (app b)}
  {naturality_naturality :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (naturality f) (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η)) (naturality g))
      CategoryTheory.Lax.LaxTrans.naturality_naturality._autoParam}
  {naturality_id :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a))
            (naturality (CategoryTheory.CategoryStruct.id a)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app a))))
      CategoryTheory.Lax.LaxTrans.naturality_id._autoParam}
  {naturality_comp :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g))
            (naturality (CategoryTheory.CategoryStruct.comp f g)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality f) (G.map g))
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).hom
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g))
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).inv
                    (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app c)))))))
      CategoryTheory.Lax.LaxTrans.naturality_comp._autoParam}
  {app_1 : (a : B) → F.obj a ⟶ G.obj a}
  {naturality_1 :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (app_1 a) (G.map f) ⟶ CategoryTheory.CategoryStruct.comp (F.map f) (app_1 b)}
  {naturality_naturality_1 :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (naturality_1 f)
            (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app_1 b)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.map₂ η))
            (naturality_1 g))
      CategoryTheory.Lax.LaxTrans.naturality_naturality._autoParam}
  {naturality_id_1 :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapId a))
            (naturality_1 (CategoryTheory.CategoryStruct.id a)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app_1 a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app_1 a)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app_1 a))))
      CategoryTheory.Lax.LaxTrans.naturality_id._autoParam}
  {naturality_comp_1 :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapComp f g))
            (naturality_1 (CategoryTheory.CategoryStruct.comp f g)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (app_1 a) (G.map f) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality_1 f) (G.map g))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (F.map f) (app_1 b) (G.map g)).hom
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality_1 g))
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app_1 c)).inv
                    (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app_1 c)))))))
      CategoryTheory.Lax.LaxTrans.naturality_comp._autoParam},
  { app := app, naturality := naturality, naturality_naturality := naturality_naturality,
        naturality_id := naturality_id, naturality_comp := naturality_comp } =
      { app := app_1, naturality := naturality_1, naturality_naturality := naturality_naturality_1,
        naturality_id := naturality_id_1, naturality_comp := naturality_comp_1 } →
    app = app_1 ∧ naturality ≍ naturality_1

theorem CategoryTheory.Lax.StrongTrans.mk.injEq E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (app : (a : B) → F.obj a ⟶ G.obj a)
  (naturality :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (app a) (G.map f) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (app b))
  (naturality_naturality :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (naturality f).hom
            (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η))
            (naturality g).hom)
      CategoryTheory.Lax.StrongTrans.naturality_naturality._autoParam)
  (naturality_id :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a))
            (naturality (CategoryTheory.CategoryStruct.id a)).hom =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app a))))
      CategoryTheory.Lax.StrongTrans.naturality_id._autoParam)
  (naturality_comp :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g))
            (naturality (CategoryTheory.CategoryStruct.comp f g)).hom =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality f).hom (G.map g))
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).hom
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g).hom)
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).inv
                    (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app c)))))))
      CategoryTheory.Lax.StrongTrans.naturality_comp._autoParam)
  (app_1 : (a : B) → F.obj a ⟶ G.obj a)
  (naturality_1 :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (app_1 a) (G.map f) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (app_1 b))
  (naturality_naturality_1 :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (naturality_1 f).hom
            (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app_1 b)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.map₂ η))
            (naturality_1 g).hom)
      CategoryTheory.Lax.StrongTrans.naturality_naturality._autoParam)
  (naturality_id_1 :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapId a))
            (naturality_1 (CategoryTheory.CategoryStruct.id a)).hom =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app_1 a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app_1 a)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app_1 a))))
      CategoryTheory.Lax.StrongTrans.naturality_id._autoParam)
  (naturality_comp_1 :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapComp f g))
            (naturality_1 (CategoryTheory.CategoryStruct.comp f g)).hom =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (app_1 a) (G.map f) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality_1 f).hom (G.map g))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (F.map f) (app_1 b) (G.map g)).hom
                (CategoryTheory.CategoryStruct.comp
                  (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality_1 g).hom)
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app_1 c)).inv
                    (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app_1 c)))))))
      CategoryTheory.Lax.StrongTrans.naturality_comp._autoParam),
  ({ app := app, naturality := naturality, naturality_naturality := naturality_naturality,
        naturality_id := naturality_id, naturality_comp := naturality_comp } =
      { app := app_1, naturality := naturality_1, naturality_naturality := naturality_naturality_1,
        naturality_id := naturality_id_1, naturality_comp := naturality_comp_1 }) =
    (app = app_1 ∧ naturality ≍ naturality_1)

def CategoryTheory.Lax.StrongTrans.ctorIdx E1 #

{B : Type u₁} →
  {inst : CategoryTheory.Bicategory B} →
    {C : Type u₂} →
      {inst_1 : CategoryTheory.Bicategory C} →
        {F G : CategoryTheory.LaxFunctor B C} → CategoryTheory.Lax.StrongTrans F G → ℕ

theorem CategoryTheory.Lax.LaxTrans.StrongCore.mk.inj E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {η : F ⟶ G}
  {naturality :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (η.app a) (G.map f) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (η.app b)}
  {naturality_hom :
    autoParam (∀ {a b : B} (f : a ⟶ b), (naturality f).hom = η.naturality f)
      CategoryTheory.Lax.LaxTrans.StrongCore.naturality_hom._autoParam}
  {naturality_1 :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (η.app a) (G.map f) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (η.app b)}
  {naturality_hom_1 :
    autoParam (∀ {a b : B} (f : a ⟶ b), (naturality_1 f).hom = η.naturality f)
      CategoryTheory.Lax.LaxTrans.StrongCore.naturality_hom._autoParam},
  { naturality := naturality, naturality_hom := naturality_hom } =
      { naturality := naturality_1, naturality_hom := naturality_hom_1 } →
    naturality = naturality_1

def CategoryTheory.Lax.OplaxTrans.ctorIdx E1 #

{B : Type u₁} →
  {inst : CategoryTheory.Bicategory B} →
    {C : Type u₂} →
      {inst_1 : CategoryTheory.Bicategory C} →
        {F G : CategoryTheory.LaxFunctor B C} → CategoryTheory.Lax.OplaxTrans F G → ℕ

theorem CategoryTheory.Lax.LaxTrans.mk.injEq E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (app : (a : B) → F.obj a ⟶ G.obj a)
  (naturality :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (app a) (G.map f) ⟶ CategoryTheory.CategoryStruct.comp (F.map f) (app b))
  (naturality_naturality :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (naturality f) (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η)) (naturality g))
      CategoryTheory.Lax.LaxTrans.naturality_naturality._autoParam)
  (naturality_id :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a))
            (naturality (CategoryTheory.CategoryStruct.id a)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app a))))
      CategoryTheory.Lax.LaxTrans.naturality_id._autoParam)
  (naturality_comp :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g))
            (naturality (CategoryTheory.CategoryStruct.comp f g)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality f) (G.map g))
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).hom
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g))
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).inv
                    (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app c)))))))
      CategoryTheory.Lax.LaxTrans.naturality_comp._autoParam)
  (app_1 : (a : B) → F.obj a ⟶ G.obj a)
  (naturality_1 :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (app_1 a) (G.map f) ⟶ CategoryTheory.CategoryStruct.comp (F.map f) (app_1 b))
  (naturality_naturality_1 :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (naturality_1 f)
            (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app_1 b)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.map₂ η))
            (naturality_1 g))
      CategoryTheory.Lax.LaxTrans.naturality_naturality._autoParam)
  (naturality_id_1 :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapId a))
            (naturality_1 (CategoryTheory.CategoryStruct.id a)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app_1 a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app_1 a)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app_1 a))))
      CategoryTheory.Lax.LaxTrans.naturality_id._autoParam)
  (naturality_comp_1 :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapComp f g))
            (naturality_1 (CategoryTheory.CategoryStruct.comp f g)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (app_1 a) (G.map f) (G.map g)).inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality_1 f) (G.map g))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (F.map f) (app_1 b) (G.map g)).hom
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality_1 g))
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app_1 c)).inv
                    (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app_1 c)))))))
      CategoryTheory.Lax.LaxTrans.naturality_comp._autoParam),
  ({ app := app, naturality := naturality, naturality_naturality := naturality_naturality,
        naturality_id := naturality_id, naturality_comp := naturality_comp } =
      { app := app_1, naturality := naturality_1, naturality_naturality := naturality_naturality_1,
        naturality_id := naturality_id_1, naturality_comp := naturality_comp_1 }) =
    (app = app_1 ∧ naturality ≍ naturality_1)

theorem CategoryTheory.Lax.LaxTrans.StrongCore.mk.injEq E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} {η : F ⟶ G}
  (naturality :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (η.app a) (G.map f) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (η.app b))
  (naturality_hom :
    autoParam (∀ {a b : B} (f : a ⟶ b), (naturality f).hom = η.naturality f)
      CategoryTheory.Lax.LaxTrans.StrongCore.naturality_hom._autoParam)
  (naturality_1 :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (η.app a) (G.map f) ≅ CategoryTheory.CategoryStruct.comp (F.map f) (η.app b))
  (naturality_hom_1 :
    autoParam (∀ {a b : B} (f : a ⟶ b), (naturality_1 f).hom = η.naturality f)
      CategoryTheory.Lax.LaxTrans.StrongCore.naturality_hom._autoParam),
  ({ naturality := naturality, naturality_hom := naturality_hom } =
      { naturality := naturality_1, naturality_hom := naturality_hom_1 }) =
    (naturality = naturality_1)

def CategoryTheory.Lax.LaxTrans.ctorIdx E1 #

{B : Type u₁} →
  {inst : CategoryTheory.Bicategory B} →
    {C : Type u₂} →
      {inst_1 : CategoryTheory.Bicategory C} →
        {F G : CategoryTheory.LaxFunctor B C} → CategoryTheory.Lax.LaxTrans F G → ℕ

def CategoryTheory.Lax.LaxTrans.StrongCore.ctorIdx E1 #

{B : Type u₁} →
  {inst : CategoryTheory.Bicategory B} →
    {C : Type u₂} →
      {inst_1 : CategoryTheory.Bicategory C} →
        {F G : CategoryTheory.LaxFunctor B C} → {η : F ⟶ G} → CategoryTheory.Lax.LaxTrans.StrongCore η → ℕ

theorem CategoryTheory.Lax.OplaxTrans.mk.inj E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {app : (a : B) → F.obj a ⟶ G.obj a}
  {naturality :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (F.map f) (app b) ⟶ CategoryTheory.CategoryStruct.comp (app a) (G.map f)}
  {naturality_naturality :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b)) (naturality g) =
          CategoryTheory.CategoryStruct.comp (naturality f) (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η)))
      CategoryTheory.Lax.OplaxTrans.naturality_naturality._autoParam}
  {naturality_id :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app a))
            (naturality (CategoryTheory.CategoryStruct.id a)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app a)).inv
              (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a))))
      CategoryTheory.Lax.OplaxTrans.naturality_id._autoParam}
  {naturality_comp :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app c))
            (naturality (CategoryTheory.CategoryStruct.comp f g)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g))
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).inv
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality f) (G.map g))
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).hom
                    (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g)))))))
      CategoryTheory.Lax.OplaxTrans.naturality_comp._autoParam}
  {app_1 : (a : B) → F.obj a ⟶ G.obj a}
  {naturality_1 :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (F.map f) (app_1 b) ⟶ CategoryTheory.CategoryStruct.comp (app_1 a) (G.map f)}
  {naturality_naturality_1 :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app_1 b))
            (naturality_1 g) =
          CategoryTheory.CategoryStruct.comp (naturality_1 f)
            (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.map₂ η)))
      CategoryTheory.Lax.OplaxTrans.naturality_naturality._autoParam}
  {naturality_id_1 :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app_1 a))
            (naturality_1 (CategoryTheory.CategoryStruct.id a)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app_1 a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app_1 a)).inv
              (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapId a))))
      CategoryTheory.Lax.OplaxTrans.naturality_id._autoParam}
  {naturality_comp_1 :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app_1 c))
            (naturality_1 (CategoryTheory.CategoryStruct.comp f g)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app_1 c)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality_1 g))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (F.map f) (app_1 b) (G.map g)).inv
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality_1 f) (G.map g))
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (app_1 a) (G.map f) (G.map g)).hom
                    (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapComp f g)))))))
      CategoryTheory.Lax.OplaxTrans.naturality_comp._autoParam},
  { app := app, naturality := naturality, naturality_naturality := naturality_naturality,
        naturality_id := naturality_id, naturality_comp := naturality_comp } =
      { app := app_1, naturality := naturality_1, naturality_naturality := naturality_naturality_1,
        naturality_id := naturality_id_1, naturality_comp := naturality_comp_1 } →
    app = app_1 ∧ naturality ≍ naturality_1

theorem CategoryTheory.Lax.OplaxTrans.mk.injEq E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (app : (a : B) → F.obj a ⟶ G.obj a)
  (naturality :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (F.map f) (app b) ⟶ CategoryTheory.CategoryStruct.comp (app a) (G.map f))
  (naturality_naturality :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b)) (naturality g) =
          CategoryTheory.CategoryStruct.comp (naturality f) (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η)))
      CategoryTheory.Lax.OplaxTrans.naturality_naturality._autoParam)
  (naturality_id :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app a))
            (naturality (CategoryTheory.CategoryStruct.id a)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app a)).inv
              (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a))))
      CategoryTheory.Lax.OplaxTrans.naturality_id._autoParam)
  (naturality_comp :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app c))
            (naturality (CategoryTheory.CategoryStruct.comp f g)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g))
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).inv
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality f) (G.map g))
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).hom
                    (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g)))))))
      CategoryTheory.Lax.OplaxTrans.naturality_comp._autoParam)
  (app_1 : (a : B) → F.obj a ⟶ G.obj a)
  (naturality_1 :
    {a b : B} →
      (f : a ⟶ b) →
        CategoryTheory.CategoryStruct.comp (F.map f) (app_1 b) ⟶ CategoryTheory.CategoryStruct.comp (app_1 a) (G.map f))
  (naturality_naturality_1 :
    autoParam
      (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app_1 b))
            (naturality_1 g) =
          CategoryTheory.CategoryStruct.comp (naturality_1 f)
            (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.map₂ η)))
      CategoryTheory.Lax.OplaxTrans.naturality_naturality._autoParam)
  (naturality_id_1 :
    autoParam
      (∀ (a : B),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app_1 a))
            (naturality_1 (CategoryTheory.CategoryStruct.id a)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app_1 a)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app_1 a)).inv
              (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapId a))))
      CategoryTheory.Lax.OplaxTrans.naturality_id._autoParam)
  (naturality_comp_1 :
    autoParam
      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app_1 c))
            (naturality_1 (CategoryTheory.CategoryStruct.comp f g)) =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app_1 c)).hom
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality_1 g))
              (CategoryTheory.CategoryStruct.comp
                (CategoryTheory.Bicategory.associator (F.map f) (app_1 b) (G.map g)).inv
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (naturality_1 f) (G.map g))
                  (CategoryTheory.CategoryStruct.comp
                    (CategoryTheory.Bicategory.associator (app_1 a) (G.map f) (G.map g)).hom
                    (CategoryTheory.Bicategory.whiskerLeft (app_1 a) (G.mapComp f g)))))))
      CategoryTheory.Lax.OplaxTrans.naturality_comp._autoParam),
  ({ app := app, naturality := naturality, naturality_naturality := naturality_naturality,
        naturality_id := naturality_id, naturality_comp := naturality_comp } =
      { app := app_1, naturality := naturality_1, naturality_naturality := naturality_naturality_1,
        naturality_id := naturality_id_1, naturality_comp := naturality_comp_1 }) =
    (app = app_1 ∧ naturality ≍ naturality_1)

structure CategoryTheory.Lax.LaxTrans E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        CategoryTheory.LaxFunctor B C → CategoryTheory.LaxFunctor B C → Type (max (max (max u₁ v₁) v₂) w₂)

If η is a lax transformation between F and G, we have a 1-morphism η.app a : F.obj a ⟶ G.obj a for each object a : B. We also have a 2-morphism η.naturality f : app a ≫ G.map f ⟶ F.map f ≫ app b for each 1-morphism f : a ⟶ b. These 2-morphisms satisfy the naturality condition, and preserve the identities and the compositions modulo some adjustments of domains and codomains of 2-morphisms.

ctor CategoryTheory.Lax.LaxTrans.mk E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} →
          (app : (a : B) → F.obj a ⟶ G.obj a) →
            (naturality :
                {a b : B} →
                  (f : a ⟶ b) →
                    CategoryTheory.CategoryStruct.comp (app a) (G.map f) ⟶
                      CategoryTheory.CategoryStruct.comp (F.map f) (app b)) →
              autoParam
                  (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
                    CategoryTheory.CategoryStruct.comp (naturality f)
                        (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b)) =
                      CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η))
                        (naturality g))
                  CategoryTheory.Lax.LaxTrans.naturality_naturality._autoParam →
                autoParam
                    (∀ (a : B),
                      CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a))
                          (naturality (CategoryTheory.CategoryStruct.id a)) =
                        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app a)).hom
                          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).inv
                            (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app a))))
                    CategoryTheory.Lax.LaxTrans.naturality_id._autoParam →
                  autoParam
                      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
                        CategoryTheory.CategoryStruct.comp
                            (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g))
                            (naturality (CategoryTheory.CategoryStruct.comp f g)) =
                          CategoryTheory.CategoryStruct.comp
                            (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).inv
                            (CategoryTheory.CategoryStruct.comp
                              (CategoryTheory.Bicategory.whiskerRight (naturality f) (G.map g))
                              (CategoryTheory.CategoryStruct.comp
                                (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).hom
                                (CategoryTheory.CategoryStruct.comp
                                  (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g))
                                  (CategoryTheory.CategoryStruct.comp
                                    (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).inv
                                    (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app c)))))))
                      CategoryTheory.Lax.LaxTrans.naturality_comp._autoParam →
                    CategoryTheory.Lax.LaxTrans F G

abbrev CategoryTheory.Lax.LaxTrans.app E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} → CategoryTheory.Lax.LaxTrans F G → (a : B) → F.obj a ⟶ G.obj a

The component 1-morphisms of a lax transformation.

abbrev CategoryTheory.Lax.LaxTrans.naturality E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} →
          (self : CategoryTheory.Lax.LaxTrans F G) →
            {a b : B} →
              (f : a ⟶ b) →
                CategoryTheory.CategoryStruct.comp (self.app a) (G.map f) ⟶
                  CategoryTheory.CategoryStruct.comp (F.map f) (self.app b)

The 2-morphisms underlying the lax naturality constraint.

theorem CategoryTheory.Lax.LaxTrans.naturality_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.LaxTrans F G) {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  CategoryTheory.CategoryStruct.comp (self.naturality f)
      (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (self.app b)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.map₂ η))
      (self.naturality g)

Naturality of the lax naturality constraint.

theorem CategoryTheory.Lax.LaxTrans.naturality_id E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.LaxTrans F G) (a : B),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapId a))
      (self.naturality (CategoryTheory.CategoryStruct.id a)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.app a)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.app a)).inv
        (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (self.app a)))

Lax unity.

theorem CategoryTheory.Lax.LaxTrans.naturality_comp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.LaxTrans F G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapComp f g))
      (self.naturality (CategoryTheory.CategoryStruct.comp f g)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (self.app a) (G.map f) (G.map g)).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.naturality f) (G.map g))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (self.app b) (G.map g)).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.naturality g))
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (self.app c)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (self.app c))))))

Lax functoriality.

theorem CategoryTheory.Lax.LaxTrans.naturality_comp_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.LaxTrans F G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c)
  {Z : F.obj a ⟶ G.obj c}
  (h : CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.CategoryStruct.comp f g)) (self.app c) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapComp f g))
      (CategoryTheory.CategoryStruct.comp (self.naturality (CategoryTheory.CategoryStruct.comp f g)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (self.app a) (G.map f) (G.map g)).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.naturality f) (G.map g))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (self.app b) (G.map g)).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.naturality g))
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (self.app c)).inv
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (self.app c))
                h)))))

Lax functoriality.

theorem CategoryTheory.Lax.LaxTrans.naturality_id_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.LaxTrans F G) (a : B) {Z : F.obj a ⟶ G.obj a}
  (h : CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.CategoryStruct.id a)) (self.app a) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapId a))
      (CategoryTheory.CategoryStruct.comp (self.naturality (CategoryTheory.CategoryStruct.id a)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.app a)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.app a)).inv
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (self.app a)) h))

Lax unity.

theorem CategoryTheory.Lax.LaxTrans.naturality_naturality_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.LaxTrans F G) {a b : B} {f g : a ⟶ b} (η : f ⟶ g)
  {Z : F.obj a ⟶ G.obj b} (h : CategoryTheory.CategoryStruct.comp (F.map g) (self.app b) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (self.naturality f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (self.app b)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.map₂ η))
      (CategoryTheory.CategoryStruct.comp (self.naturality g) h)

Naturality of the lax naturality constraint.

def CategoryTheory.Lax.LaxTrans.id E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] → (F : CategoryTheory.LaxFunctor B C) → CategoryTheory.Lax.LaxTrans F F

The identity lax transformation.

instance CategoryTheory.Lax.LaxTrans.instInhabited E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F : CategoryTheory.LaxFunctor B C} → Inhabited (CategoryTheory.Lax.LaxTrans F F)

abbrev CategoryTheory.Lax.LaxTrans.vCompApp E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G H : CategoryTheory.LaxFunctor B C} →
          CategoryTheory.Lax.LaxTrans F G → CategoryTheory.Lax.LaxTrans G H → (a : B) → F.obj a ⟶ H.obj a

Auxiliary definition for vComp.

abbrev CategoryTheory.Lax.LaxTrans.vCompNaturality E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G H : CategoryTheory.LaxFunctor B C} →
          (η : CategoryTheory.Lax.LaxTrans F G) →
            (θ : CategoryTheory.Lax.LaxTrans G H) →
              {a b : B} →
                (f : a ⟶ b) →
                  CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp (η.app a) (θ.app a))
                      (H.map f) ⟶
                    CategoryTheory.CategoryStruct.comp (F.map f)
                      (CategoryTheory.CategoryStruct.comp (η.app b) (θ.app b))

Auxiliary definition for vComp.

theorem CategoryTheory.Lax.LaxTrans.vComp_naturality_naturality E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G H : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.LaxTrans F G) (θ : CategoryTheory.Lax.LaxTrans G H)
  {a b : B} {f g : a ⟶ b} (β : f ⟶ g),
  CategoryTheory.CategoryStruct.comp (η.vCompNaturality θ f)
      (CategoryTheory.Bicategory.whiskerRight (F.map₂ β) (η.vCompApp θ b)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (η.vCompApp θ a) (H.map₂ β))
      (η.vCompNaturality θ g)

theorem CategoryTheory.Lax.LaxTrans.vComp_naturality_id E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G H : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.LaxTrans F G) (θ : CategoryTheory.Lax.LaxTrans G H)
  (a : B),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (η.vCompApp θ a) (H.mapId a))
      (η.vCompNaturality θ (CategoryTheory.CategoryStruct.id a)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (η.vCompApp θ a)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (η.vCompApp θ a)).inv
        (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (η.vCompApp θ a)))

theorem CategoryTheory.Lax.LaxTrans.vComp_naturality_comp E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G H : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.LaxTrans F G) (θ : CategoryTheory.Lax.LaxTrans G H)
  {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (η.vCompApp θ a) (H.mapComp f g))
      (η.vCompNaturality θ (CategoryTheory.CategoryStruct.comp f g)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.vCompApp θ a) (H.map f) (H.map g)).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.vCompNaturality θ f) (H.map g))
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.associator (F.map f) (η.vCompApp θ b) (H.map g)).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (η.vCompNaturality θ g))
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (η.vCompApp θ c)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (η.vCompApp θ c))))))

def CategoryTheory.Lax.LaxTrans.vComp E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G H : CategoryTheory.LaxFunctor B C} →
          CategoryTheory.Lax.LaxTrans F G → CategoryTheory.Lax.LaxTrans G H → CategoryTheory.Lax.LaxTrans F H

Vertical composition of lax transformations.

def CategoryTheory.Lax.LaxTrans.instCategoryStructLaxFunctor E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        CategoryTheory.CategoryStruct.{max (max (max u₁ v₁) v₂) w₂, max (max (max (max (max u₂ u₁) v₂) v₁) w₂) w₁}
          (CategoryTheory.LaxFunctor B C)

CategoryStruct on B ⥤ᴸ C where the (1-)morphisms are given by lax transformations.

theorem CategoryTheory.Lax.LaxTrans.comp_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {X Y Z : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.LaxTrans X Y) (θ : CategoryTheory.Lax.LaxTrans Y Z)
  {a b : B} (f : a ⟶ b),
  (CategoryTheory.CategoryStruct.comp η θ).naturality f =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (θ.app a) (Z.map f)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (η.app a) (θ.naturality f))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (Y.map f) (θ.app b)).inv
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.naturality f) (θ.app b))
            (CategoryTheory.Bicategory.associator (X.map f) (η.app b) (θ.app b)).hom)))

theorem CategoryTheory.Lax.LaxTrans.id_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) (a : B),
  (CategoryTheory.CategoryStruct.id F).app a = CategoryTheory.CategoryStruct.id (F.obj a)

theorem CategoryTheory.Lax.LaxTrans.id_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) {x x_1 : B} (f : x ⟶ x_1),
  (CategoryTheory.CategoryStruct.id F).naturality f =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).hom
      (CategoryTheory.Bicategory.rightUnitor (F.map f)).inv

theorem CategoryTheory.Lax.LaxTrans.comp_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {X Y Z : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.LaxTrans X Y) (θ : CategoryTheory.Lax.LaxTrans Y Z)
  (a : B), (CategoryTheory.CategoryStruct.comp η θ).app a = CategoryTheory.CategoryStruct.comp (η.app a) (θ.app a)

structure CategoryTheory.Lax.OplaxTrans E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        CategoryTheory.LaxFunctor B C → CategoryTheory.LaxFunctor B C → Type (max (max (max u₁ v₁) v₂) w₂)

If η is an oplax transformation between F and G, we have a 1-morphism η.app a : F.obj a ⟶ G.obj a for each object a : B. We also have a 2-morphism η.naturality f : F.map f ≫ app b ⟶ app a ≫ G.map f for each 1-morphism f : a ⟶ b. These 2-morphisms satisfy the naturality condition, and preserve the identities and the compositions modulo some adjustments of domains and codomains of 2-morphisms.

ctor CategoryTheory.Lax.OplaxTrans.mk E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} →
          (app : (a : B) → F.obj a ⟶ G.obj a) →
            (naturality :
                {a b : B} →
                  (f : a ⟶ b) →
                    CategoryTheory.CategoryStruct.comp (F.map f) (app b) ⟶
                      CategoryTheory.CategoryStruct.comp (app a) (G.map f)) →
              autoParam
                  (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
                    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b))
                        (naturality g) =
                      CategoryTheory.CategoryStruct.comp (naturality f)
                        (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η)))
                  CategoryTheory.Lax.OplaxTrans.naturality_naturality._autoParam →
                autoParam
                    (∀ (a : B),
                      CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app a))
                          (naturality (CategoryTheory.CategoryStruct.id a)) =
                        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).hom
                          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app a)).inv
                            (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a))))
                    CategoryTheory.Lax.OplaxTrans.naturality_id._autoParam →
                  autoParam
                      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
                        CategoryTheory.CategoryStruct.comp
                            (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app c))
                            (naturality (CategoryTheory.CategoryStruct.comp f g)) =
                          CategoryTheory.CategoryStruct.comp
                            (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).hom
                            (CategoryTheory.CategoryStruct.comp
                              (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g))
                              (CategoryTheory.CategoryStruct.comp
                                (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).inv
                                (CategoryTheory.CategoryStruct.comp
                                  (CategoryTheory.Bicategory.whiskerRight (naturality f) (G.map g))
                                  (CategoryTheory.CategoryStruct.comp
                                    (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).hom
                                    (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g)))))))
                      CategoryTheory.Lax.OplaxTrans.naturality_comp._autoParam →
                    CategoryTheory.Lax.OplaxTrans F G

abbrev CategoryTheory.Lax.OplaxTrans.app E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} → CategoryTheory.Lax.OplaxTrans F G → (a : B) → F.obj a ⟶ G.obj a

The component 1-morphisms of an oplax transformation.

abbrev CategoryTheory.Lax.OplaxTrans.naturality E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} →
          (self : CategoryTheory.Lax.OplaxTrans F G) →
            {a b : B} →
              (f : a ⟶ b) →
                CategoryTheory.CategoryStruct.comp (F.map f) (self.app b) ⟶
                  CategoryTheory.CategoryStruct.comp (self.app a) (G.map f)

The 2-morphisms underlying the oplax naturality constraint.

theorem CategoryTheory.Lax.OplaxTrans.naturality_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.OplaxTrans F G) {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (self.app b))
      (self.naturality g) =
    CategoryTheory.CategoryStruct.comp (self.naturality f)
      (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.map₂ η))

Naturality of the oplax naturality constraint.

theorem CategoryTheory.Lax.OplaxTrans.naturality_id E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.OplaxTrans F G) (a : B),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (self.app a))
      (self.naturality (CategoryTheory.CategoryStruct.id a)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.app a)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.app a)).inv
        (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapId a)))

theorem CategoryTheory.Lax.OplaxTrans.naturality_comp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.OplaxTrans F G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (self.app c))
      (self.naturality (CategoryTheory.CategoryStruct.comp f g)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (self.app c)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.naturality g))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (self.app b) (G.map g)).inv
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.naturality f) (G.map g))
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.associator (self.app a) (G.map f) (G.map g)).hom
              (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapComp f g))))))

theorem CategoryTheory.Lax.OplaxTrans.naturality_id_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.OplaxTrans F G) (a : B) {Z : F.obj a ⟶ G.obj a}
  (h : CategoryTheory.CategoryStruct.comp (self.app a) (G.map (CategoryTheory.CategoryStruct.id a)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (self.app a))
      (CategoryTheory.CategoryStruct.comp (self.naturality (CategoryTheory.CategoryStruct.id a)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.app a)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.app a)).inv
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapId a)) h))

theorem CategoryTheory.Lax.OplaxTrans.naturality_comp_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.OplaxTrans F G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c)
  {Z : F.obj a ⟶ G.obj c}
  (h : CategoryTheory.CategoryStruct.comp (self.app a) (G.map (CategoryTheory.CategoryStruct.comp f g)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (self.app c))
      (CategoryTheory.CategoryStruct.comp (self.naturality (CategoryTheory.CategoryStruct.comp f g)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (self.app c)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.naturality g))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (self.app b) (G.map g)).inv
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.naturality f) (G.map g))
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.associator (self.app a) (G.map f) (G.map g)).hom
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapComp f g))
                h)))))

theorem CategoryTheory.Lax.OplaxTrans.naturality_naturality_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.OplaxTrans F G) {a b : B} {f g : a ⟶ b} (η : f ⟶ g)
  {Z : F.obj a ⟶ G.obj b} (h : CategoryTheory.CategoryStruct.comp (self.app a) (G.map g) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (self.app b))
      (CategoryTheory.CategoryStruct.comp (self.naturality g) h) =
    CategoryTheory.CategoryStruct.comp (self.naturality f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.map₂ η)) h)

Naturality of the oplax naturality constraint.

def CategoryTheory.Lax.OplaxTrans.id E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] → (F : CategoryTheory.LaxFunctor B C) → CategoryTheory.Lax.OplaxTrans F F

The identity oplax transformation.

instance CategoryTheory.Lax.OplaxTrans.instInhabited E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F : CategoryTheory.LaxFunctor B C} → Inhabited (CategoryTheory.Lax.OplaxTrans F F)

abbrev CategoryTheory.Lax.OplaxTrans.vCompApp E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G H : CategoryTheory.LaxFunctor B C} →
          CategoryTheory.Lax.OplaxTrans F G → CategoryTheory.Lax.OplaxTrans G H → (a : B) → F.obj a ⟶ H.obj a

Auxiliary definition for vComp.

abbrev CategoryTheory.Lax.OplaxTrans.vCompNaturality E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G H : CategoryTheory.LaxFunctor B C} →
          (η : CategoryTheory.Lax.OplaxTrans F G) →
            (θ : CategoryTheory.Lax.OplaxTrans G H) →
              {a b : B} →
                (f : a ⟶ b) →
                  CategoryTheory.CategoryStruct.comp (F.map f)
                      (CategoryTheory.CategoryStruct.comp (η.app b) (θ.app b)) ⟶
                    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp (η.app a) (θ.app a))
                      (H.map f)

Auxiliary definition for vComp.

theorem CategoryTheory.Lax.OplaxTrans.vComp_naturality_naturality E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G H : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.OplaxTrans F G)
  (θ : CategoryTheory.Lax.OplaxTrans G H) {a b : B} {f g : a ⟶ b} (β : f ⟶ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ β) (η.vCompApp θ b))
      (η.vCompNaturality θ g) =
    CategoryTheory.CategoryStruct.comp (η.vCompNaturality θ f)
      (CategoryTheory.Bicategory.whiskerLeft (η.vCompApp θ a) (H.map₂ β))

theorem CategoryTheory.Lax.OplaxTrans.vComp_naturality_id E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G H : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.OplaxTrans F G)
  (θ : CategoryTheory.Lax.OplaxTrans G H) (a : B),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (η.vCompApp θ a))
      (η.vCompNaturality θ (CategoryTheory.CategoryStruct.id a)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (η.vCompApp θ a)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (η.vCompApp θ a)).inv
        (CategoryTheory.Bicategory.whiskerLeft (η.vCompApp θ a) (H.mapId a)))

theorem CategoryTheory.Lax.OplaxTrans.vComp_naturality_comp E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G H : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.OplaxTrans F G)
  (θ : CategoryTheory.Lax.OplaxTrans G H) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (η.vCompApp θ c))
      (η.vCompNaturality θ (CategoryTheory.CategoryStruct.comp f g)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (η.vCompApp θ c)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (η.vCompNaturality θ g))
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.associator (F.map f) (η.vCompApp θ b) (H.map g)).inv
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.vCompNaturality θ f) (H.map g))
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.associator (η.vCompApp θ a) (H.map f) (H.map g)).hom
              (CategoryTheory.Bicategory.whiskerLeft (η.vCompApp θ a) (H.mapComp f g))))))

def CategoryTheory.Lax.OplaxTrans.vComp E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G H : CategoryTheory.LaxFunctor B C} →
          CategoryTheory.Lax.OplaxTrans F G → CategoryTheory.Lax.OplaxTrans G H → CategoryTheory.Lax.OplaxTrans F H

Vertical composition of oplax transformations.

def CategoryTheory.Lax.OplaxTrans.instCategoryStructLaxFunctor E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        CategoryTheory.CategoryStruct.{max (max (max u₁ v₁) v₂) w₂, max (max (max (max (max u₂ u₁) v₂) v₁) w₂) w₁}
          (CategoryTheory.LaxFunctor B C)

CategoryStruct on B ⥤ᴸ C where the (1-)morphisms are given by oplax transformations.

theorem CategoryTheory.Lax.OplaxTrans.comp_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {X Y Z : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.OplaxTrans X Y)
  (θ : CategoryTheory.Lax.OplaxTrans Y Z) (a : B),
  (CategoryTheory.CategoryStruct.comp η θ).app a = CategoryTheory.CategoryStruct.comp (η.app a) (θ.app a)

theorem CategoryTheory.Lax.OplaxTrans.id_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) {x x_1 : B} (f : x ⟶ x_1),
  (CategoryTheory.CategoryStruct.id F).naturality f =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).hom
      (CategoryTheory.Bicategory.leftUnitor (F.map f)).inv

theorem CategoryTheory.Lax.OplaxTrans.comp_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {X Y Z : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.OplaxTrans X Y)
  (θ : CategoryTheory.Lax.OplaxTrans Y Z) {a b : B} (f : a ⟶ b),
  (CategoryTheory.CategoryStruct.comp η θ).naturality f =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (X.map f) (η.app b) (θ.app b)).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.naturality f) (θ.app b))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (Y.map f) (θ.app b)).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (η.app a) (θ.naturality f))
            (CategoryTheory.Bicategory.associator (η.app a) (θ.app a) (Z.map f)).inv)))

theorem CategoryTheory.Lax.OplaxTrans.id_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) (a : B),
  (CategoryTheory.CategoryStruct.id F).app a = CategoryTheory.CategoryStruct.id (F.obj a)

structure CategoryTheory.Lax.StrongTrans E3 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        CategoryTheory.LaxFunctor B C → CategoryTheory.LaxFunctor B C → Type (max (max (max u₁ v₁) v₂) w₂)

A strong natural transformation between lax functors F and G is a natural transformation that is "natural up to 2-isomorphisms".

More precisely, it consists of the following:

  • a 1-morphism η.app a : F.obj a ⟶ G.obj a for each object a : B.
  • a 2-isomorphism η.naturality f : app a ≫ G.map f ≅ F.map f ≫ app b for each 1-morphism f : a ⟶ b.
  • These 2-isomorphisms satisfy the naturality condition, and preserve the identities and the compositions modulo some adjustments of domains and codomains of 2-morphisms.

ctor CategoryTheory.Lax.StrongTrans.mk E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} →
          (app : (a : B) → F.obj a ⟶ G.obj a) →
            (naturality :
                {a b : B} →
                  (f : a ⟶ b) →
                    CategoryTheory.CategoryStruct.comp (app a) (G.map f) ≅
                      CategoryTheory.CategoryStruct.comp (F.map f) (app b)) →
              autoParam
                  (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
                    CategoryTheory.CategoryStruct.comp (naturality f).hom
                        (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (app b)) =
                      CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.map₂ η))
                        (naturality g).hom)
                  CategoryTheory.Lax.StrongTrans.naturality_naturality._autoParam →
                autoParam
                    (∀ (a : B),
                      CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapId a))
                          (naturality (CategoryTheory.CategoryStruct.id a)).hom =
                        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (app a)).hom
                          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (app a)).inv
                            (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (app a))))
                    CategoryTheory.Lax.StrongTrans.naturality_id._autoParam →
                  autoParam
                      (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
                        CategoryTheory.CategoryStruct.comp
                            (CategoryTheory.Bicategory.whiskerLeft (app a) (G.mapComp f g))
                            (naturality (CategoryTheory.CategoryStruct.comp f g)).hom =
                          CategoryTheory.CategoryStruct.comp
                            (CategoryTheory.Bicategory.associator (app a) (G.map f) (G.map g)).inv
                            (CategoryTheory.CategoryStruct.comp
                              (CategoryTheory.Bicategory.whiskerRight (naturality f).hom (G.map g))
                              (CategoryTheory.CategoryStruct.comp
                                (CategoryTheory.Bicategory.associator (F.map f) (app b) (G.map g)).hom
                                (CategoryTheory.CategoryStruct.comp
                                  (CategoryTheory.Bicategory.whiskerLeft (F.map f) (naturality g).hom)
                                  (CategoryTheory.CategoryStruct.comp
                                    (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (app c)).inv
                                    (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (app c)))))))
                      CategoryTheory.Lax.StrongTrans.naturality_comp._autoParam →
                    CategoryTheory.Lax.StrongTrans F G

abbrev CategoryTheory.Lax.StrongTrans.app E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} → CategoryTheory.Lax.StrongTrans F G → (a : B) → F.obj a ⟶ G.obj a

abbrev CategoryTheory.Lax.StrongTrans.naturality E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} →
          (self : CategoryTheory.Lax.StrongTrans F G) →
            {a b : B} →
              (f : a ⟶ b) →
                CategoryTheory.CategoryStruct.comp (self.app a) (G.map f) ≅
                  CategoryTheory.CategoryStruct.comp (F.map f) (self.app b)

theorem CategoryTheory.Lax.StrongTrans.naturality_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.StrongTrans F G) {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  CategoryTheory.CategoryStruct.comp (self.naturality f).hom
      (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (self.app b)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.map₂ η))
      (self.naturality g).hom

theorem CategoryTheory.Lax.StrongTrans.naturality_id E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.StrongTrans F G) (a : B),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapId a))
      (self.naturality (CategoryTheory.CategoryStruct.id a)).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.app a)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.app a)).inv
        (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (self.app a)))

Lax unity.

theorem CategoryTheory.Lax.StrongTrans.naturality_comp E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.StrongTrans F G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapComp f g))
      (self.naturality (CategoryTheory.CategoryStruct.comp f g)).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (self.app a) (G.map f) (G.map g)).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.naturality f).hom (G.map g))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (self.app b) (G.map g)).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.naturality g).hom)
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (self.app c)).inv
              (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (self.app c))))))

Lax functoriality.

theorem CategoryTheory.Lax.StrongTrans.naturality_comp_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.StrongTrans F G) {a b c : B} (f : a ⟶ b) (g : b ⟶ c)
  {Z : F.obj a ⟶ G.obj c}
  (h : CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.CategoryStruct.comp f g)) (self.app c) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapComp f g))
      (CategoryTheory.CategoryStruct.comp (self.naturality (CategoryTheory.CategoryStruct.comp f g)).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (self.app a) (G.map f) (G.map g)).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.naturality f).hom (G.map g))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (self.app b) (G.map g)).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.naturality g).hom)
            (CategoryTheory.CategoryStruct.comp
              (CategoryTheory.Bicategory.associator (F.map f) (F.map g) (self.app c)).inv
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapComp f g) (self.app c))
                h)))))

Lax functoriality.

theorem CategoryTheory.Lax.StrongTrans.naturality_naturality_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.StrongTrans F G) {a b : B} {f g : a ⟶ b} (η : f ⟶ g)
  {Z : F.obj a ⟶ G.obj b} (h : CategoryTheory.CategoryStruct.comp (F.map g) (self.app b) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (self.naturality f).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.map₂ η) (self.app b)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.map₂ η))
      (CategoryTheory.CategoryStruct.comp (self.naturality g).hom h)

theorem CategoryTheory.Lax.StrongTrans.naturality_id_assoc E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (self : CategoryTheory.Lax.StrongTrans F G) (a : B) {Z : F.obj a ⟶ G.obj a}
  (h : CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.CategoryStruct.id a)) (self.app a) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (self.app a) (G.mapId a))
      (CategoryTheory.CategoryStruct.comp (self.naturality (CategoryTheory.CategoryStruct.id a)).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (self.app a)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (self.app a)).inv
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (F.mapId a) (self.app a)) h))

Lax unity.

structure CategoryTheory.Lax.LaxTrans.StrongCore E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} → (F ⟶ G) → Type (max (max u₁ v₁) w₂)

A structure on a lax transformation that promotes it to a strong transformation.

See StrongTrans.mkOfLax.

ctor CategoryTheory.Lax.LaxTrans.StrongCore.mk E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} →
          {η : F ⟶ G} →
            (naturality :
                {a b : B} →
                  (f : a ⟶ b) →
                    CategoryTheory.CategoryStruct.comp (η.app a) (G.map f) ≅
                      CategoryTheory.CategoryStruct.comp (F.map f) (η.app b)) →
              autoParam (∀ {a b : B} (f : a ⟶ b), (naturality f).hom = η.naturality f)
                  CategoryTheory.Lax.LaxTrans.StrongCore.naturality_hom._autoParam →
                CategoryTheory.Lax.LaxTrans.StrongCore η

abbrev CategoryTheory.Lax.LaxTrans.StrongCore.naturality E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} →
          {η : F ⟶ G} →
            CategoryTheory.Lax.LaxTrans.StrongCore η →
              {a b : B} →
                (f : a ⟶ b) →
                  CategoryTheory.CategoryStruct.comp (η.app a) (G.map f) ≅
                    CategoryTheory.CategoryStruct.comp (F.map f) (η.app b)

The underlying 2-isomorphisms of the naturality constraint.

theorem CategoryTheory.Lax.LaxTrans.StrongCore.naturality_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} {η : F ⟶ G} (self : CategoryTheory.Lax.LaxTrans.StrongCore η) {a b : B}
  (f : a ⟶ b), (self.naturality f).hom = η.naturality f

The 2-isomorphisms agree with the underlying 2-morphism of the lax transformation.

def CategoryTheory.Lax.StrongTrans.toLax E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} → CategoryTheory.Lax.StrongTrans F G → CategoryTheory.Lax.LaxTrans F G

The underlying lax natural transformation of a strong natural transformation.

theorem CategoryTheory.Lax.StrongTrans.toLax_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.StrongTrans F G) (a : B), η.toLax.app a = η.app a

theorem CategoryTheory.Lax.StrongTrans.toLax_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.StrongTrans F G) {a b : B} (f : a ⟶ b),
  η.toLax.naturality f = (η.naturality f).hom

def CategoryTheory.Lax.StrongTrans.mkOfLax E3 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} →
          (η : CategoryTheory.Lax.LaxTrans F G) → η.StrongCore → CategoryTheory.Lax.StrongTrans F G

Construct a strong natural transformation from a lax natural transformation whose naturality 2-morphism is an isomorphism.

def CategoryTheory.Lax.StrongTrans.mkOfLax' E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G : CategoryTheory.LaxFunctor B C} →
          (η : CategoryTheory.Lax.LaxTrans F G) →
            [∀ (a b : B) (f : a ⟶ b), CategoryTheory.IsIso (η.naturality f)] → CategoryTheory.Lax.StrongTrans F G

Construct a strong natural transformation from a lax natural transformation whose naturality 2-morphism is an isomorphism.

def CategoryTheory.Lax.StrongTrans.id E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] → (F : CategoryTheory.LaxFunctor B C) → CategoryTheory.Lax.StrongTrans F F

The identity strong natural transformation.

theorem CategoryTheory.Lax.StrongTrans.id_naturality_inv E0 #

∀ {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.Lax.StrongTrans.id F).naturality f).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor (F.map f)).hom
      (CategoryTheory.Bicategory.leftUnitor (F.map f)).inv

theorem CategoryTheory.Lax.StrongTrans.id_naturality_hom E0 #

∀ {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.Lax.StrongTrans.id F).naturality f).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (F.map f)).hom
      (CategoryTheory.Bicategory.rightUnitor (F.map f)).inv

theorem CategoryTheory.Lax.StrongTrans.id_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) (a : B),
  (CategoryTheory.Lax.StrongTrans.id F).app a = (CategoryTheory.Lax.LaxTrans.id F).app a

theorem CategoryTheory.Lax.StrongTrans.id.toLax E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C), (CategoryTheory.Lax.StrongTrans.id F).toLax = CategoryTheory.Lax.LaxTrans.id F

instance CategoryTheory.Lax.StrongTrans.instInhabited E0 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        (F : CategoryTheory.LaxFunctor B C) → Inhabited (CategoryTheory.Lax.StrongTrans F F)

def CategoryTheory.Lax.StrongTrans.vComp E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        {F G H : CategoryTheory.LaxFunctor B C} →
          CategoryTheory.Lax.StrongTrans F G → CategoryTheory.Lax.StrongTrans G H → CategoryTheory.Lax.StrongTrans F H

Vertical composition of strong natural transformations.

theorem CategoryTheory.Lax.StrongTrans.vComp_naturality_hom E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G H : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.StrongTrans F G)
  (θ : CategoryTheory.Lax.StrongTrans G H) {a b : B} (f : a ⟶ b),
  ((η.vComp θ).naturality f).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (θ.app a) (H.map f)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (η.app a) (θ.naturality f).hom)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (G.map f) (θ.app b)).inv
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.naturality f).hom (θ.app b))
            (CategoryTheory.Bicategory.associator (F.map f) (η.app b) (θ.app b)).hom)))

theorem CategoryTheory.Lax.StrongTrans.vComp_naturality_inv E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G H : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.StrongTrans F G)
  (θ : CategoryTheory.Lax.StrongTrans G H) {a b : B} (f : a ⟶ b),
  ((η.vComp θ).naturality f).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (F.map f) (η.app b) (θ.app b)).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (η.naturality f).inv (θ.app b))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator (η.app a) (G.map f) (θ.app b)).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (η.app a) (θ.naturality f).inv)
            (CategoryTheory.Bicategory.associator (η.app a) (θ.app a) (H.map f)).inv)))

theorem CategoryTheory.Lax.StrongTrans.vComp_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G H : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.StrongTrans F G)
  (θ : CategoryTheory.Lax.StrongTrans G H) (a : B), (η.vComp θ).app a = (η.toLax.vComp θ.toLax).app a

def CategoryTheory.Lax.StrongTrans.categoryStruct E1 #

{B : Type u₁} →
  [inst : CategoryTheory.Bicategory B] →
    {C : Type u₂} →
      [inst_1 : CategoryTheory.Bicategory C] →
        CategoryTheory.CategoryStruct.{max (max (max u₁ v₁) v₂) w₂, max (max (max (max (max u₂ u₁) v₂) v₁) w₂) w₁}
          (CategoryTheory.LaxFunctor B C)

CategoryStruct on B ⥤ᴸ C where the (1-)morphisms are given by strong transformations.

theorem CategoryTheory.Lax.StrongTrans.categoryStruct_comp_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {X Y Z : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.StrongTrans X Y)
  (θ : CategoryTheory.Lax.StrongTrans Y Z) (a : B),
  (CategoryTheory.CategoryStruct.comp η θ).app a = (η.toLax.vComp θ.toLax).app a

theorem CategoryTheory.Lax.StrongTrans.categoryStruct_id_naturality E0 #

∀ {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.CategoryStruct.id F).naturality f =
    CategoryTheory.Bicategory.leftUnitor (F.map f) ≪≫ (CategoryTheory.Bicategory.rightUnitor (F.map f)).symm

theorem CategoryTheory.Lax.StrongTrans.categoryStruct_comp_naturality E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {X Y Z : CategoryTheory.LaxFunctor B C} (η : CategoryTheory.Lax.StrongTrans X Y)
  (θ : CategoryTheory.Lax.StrongTrans Y Z) {a b : B} (f : a ⟶ b),
  (CategoryTheory.CategoryStruct.comp η θ).naturality f =
    CategoryTheory.Bicategory.associator (η.app a) (θ.app a) (Z.map f) ≪≫
      CategoryTheory.Bicategory.whiskerLeftIso (η.app a) (θ.naturality f) ≪≫
        (CategoryTheory.Bicategory.associator (η.app a) (Y.map f) (θ.app b)).symm ≪≫
          CategoryTheory.Bicategory.whiskerRightIso (η.naturality f) (θ.app b) ≪≫
            CategoryTheory.Bicategory.associator (X.map f) (η.app b) (θ.app b)

theorem CategoryTheory.Lax.StrongTrans.categoryStruct_id_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  (F : CategoryTheory.LaxFunctor B C) (a : B),
  (CategoryTheory.CategoryStruct.id F).app a = (CategoryTheory.Lax.LaxTrans.id F).app a