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.Modification.Lax

66 declarations. Mathlib docs · Source

Modifications between transformations of lax functors

In this file we define modifications of lax and oplax transformations of lax functors.

A modification Γ between lax transformations η and θ (of lax functors) consists of a family of 2-morphisms Γ.app a : η.app a ⟶ θ.app a, which for all 1-morphisms f : a ⟶ b satisfies the equation app a ▷ G.map f ≫ θ.naturality f = η.naturality f ≫ F.map f ◁ app b.

Modifications between oplax transformations are defined similarly.

Main definitions

Given two lax functors F and G, we define:

  • LaxTrans.Modification η θ: modifications between lax transformations η and θ between F and G.

  • LaxTrans.homCategory F G: the category structure on the lax transformations between F and G, where composition is given by vertical composition. Note that this is a scoped instance in the Lax.LaxTrans namespace, so you need to run open scoped Lax.LaxTrans to access it.

  • OplaxTrans.Modification η θ: modifications between oplax transformations η and θ between F and G.

  • OplaxTrans.homCategory F G: the category structure on the oplax transformations between F and G, where composition is given by vertical composition. Note that this is a scoped instance in the Lax.OplaxTrans namespace, so you need to run open scoped Lax.OplaxTrans to access it.

def CategoryTheory.Lax.LaxTrans.Modification.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.Modification η θ → ℕ

theorem CategoryTheory.Lax.OplaxTrans.Hom.of.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} (as as_1 : CategoryTheory.Lax.OplaxTrans.Modification η θ),
  ({ as := as } = { as := as_1 }) = (as = as_1)

def CategoryTheory.Lax.OplaxTrans.Hom.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.OplaxTrans.Hom η θ → ℕ

theorem CategoryTheory.Lax.OplaxTrans.Modification.mk.congr_simp E1 #

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

theorem CategoryTheory.Lax.OplaxTrans.Modification.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} (app : (a : B) → η.app a ⟶ θ.app a)
  (naturality :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app b)) (θ.naturality f) =
          CategoryTheory.CategoryStruct.comp (η.naturality f)
            (CategoryTheory.Bicategory.whiskerRight (app a) (G.map f)))
      CategoryTheory.Lax.OplaxTrans.Modification.naturality._autoParam)
  (app_1 : (a : B) → η.app a ⟶ θ.app a)
  (naturality_1 :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app_1 b))
            (θ.naturality f) =
          CategoryTheory.CategoryStruct.comp (η.naturality f)
            (CategoryTheory.Bicategory.whiskerRight (app_1 a) (G.map f)))
      CategoryTheory.Lax.OplaxTrans.Modification.naturality._autoParam),
  ({ app := app, naturality := naturality } = { app := app_1, naturality := naturality_1 }) = (app = app_1)

theorem CategoryTheory.Lax.LaxTrans.Hom.of.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} {as as_1 : CategoryTheory.Lax.LaxTrans.Modification η θ},
  { as := as } = { as := as_1 } → as = as_1

theorem CategoryTheory.Lax.OplaxTrans.Hom.of.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} {as as_1 : CategoryTheory.Lax.OplaxTrans.Modification η θ},
  { as := as } = { as := as_1 } → as = as_1

theorem CategoryTheory.Lax.OplaxTrans.Modification.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} {app : (a : B) → η.app a ⟶ θ.app a}
  {naturality :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app b)) (θ.naturality f) =
          CategoryTheory.CategoryStruct.comp (η.naturality f)
            (CategoryTheory.Bicategory.whiskerRight (app a) (G.map f)))
      CategoryTheory.Lax.OplaxTrans.Modification.naturality._autoParam}
  {app_1 : (a : B) → η.app a ⟶ θ.app a}
  {naturality_1 :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app_1 b))
            (θ.naturality f) =
          CategoryTheory.CategoryStruct.comp (η.naturality f)
            (CategoryTheory.Bicategory.whiskerRight (app_1 a) (G.map f)))
      CategoryTheory.Lax.OplaxTrans.Modification.naturality._autoParam},
  { app := app, naturality := naturality } = { app := app_1, naturality := naturality_1 } → app = app_1

theorem CategoryTheory.Lax.LaxTrans.Modification.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} {app : (a : B) → η.app a ⟶ θ.app a}
  {naturality :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (app a) (G.map f)) (θ.naturality f) =
          CategoryTheory.CategoryStruct.comp (η.naturality f) (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app b)))
      CategoryTheory.Lax.LaxTrans.Modification.naturality._autoParam}
  {app_1 : (a : B) → η.app a ⟶ θ.app a}
  {naturality_1 :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (app_1 a) (G.map f))
            (θ.naturality f) =
          CategoryTheory.CategoryStruct.comp (η.naturality f)
            (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app_1 b)))
      CategoryTheory.Lax.LaxTrans.Modification.naturality._autoParam},
  { app := app, naturality := naturality } = { app := app_1, naturality := naturality_1 } → app = app_1

theorem CategoryTheory.Lax.LaxTrans.Modification.mk.congr_simp E1 #

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

theorem CategoryTheory.Lax.LaxTrans.Hom.of.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} (as as_1 : CategoryTheory.Lax.LaxTrans.Modification η θ),
  ({ as := as } = { as := as_1 }) = (as = as_1)

theorem CategoryTheory.Lax.LaxTrans.Modification.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} (app : (a : B) → η.app a ⟶ θ.app a)
  (naturality :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (app a) (G.map f)) (θ.naturality f) =
          CategoryTheory.CategoryStruct.comp (η.naturality f) (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app b)))
      CategoryTheory.Lax.LaxTrans.Modification.naturality._autoParam)
  (app_1 : (a : B) → η.app a ⟶ θ.app a)
  (naturality_1 :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (app_1 a) (G.map f))
            (θ.naturality f) =
          CategoryTheory.CategoryStruct.comp (η.naturality f)
            (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app_1 b)))
      CategoryTheory.Lax.LaxTrans.Modification.naturality._autoParam),
  ({ app := app, naturality := naturality } = { app := app_1, naturality := naturality_1 }) = (app = app_1)

def CategoryTheory.Lax.OplaxTrans.Modification.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.OplaxTrans.Modification η θ → ℕ

def CategoryTheory.Lax.LaxTrans.Hom.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.Hom η θ → ℕ

structure CategoryTheory.Lax.LaxTrans.Modification E1 #

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

A modification Γ between lax natural transformations η and θ (between lax functors) consists of a family of 2-morphisms Γ.app a : η.app a ⟶ θ.app a, which satisfies the equation (app a ▷ G.map f) ≫ θ.naturality f = η.naturality f ≫ (F.map f ◁ app b) for each 1-morphism f : a ⟶ b.

theorem CategoryTheory.Lax.LaxTrans.Modification.ext E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {x y : CategoryTheory.Lax.LaxTrans.Modification η θ},
  x.app = y.app → x = y

theorem CategoryTheory.Lax.LaxTrans.Modification.ext_iff E0 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {x y : CategoryTheory.Lax.LaxTrans.Modification η θ},
  x = y ↔ x.app = y.app

ctor CategoryTheory.Lax.LaxTrans.Modification.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} →
            (app : (a : B) → η.app a ⟶ θ.app a) →
              autoParam
                  (∀ {a b : B} (f : a ⟶ b),
                    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (app a) (G.map f))
                        (θ.naturality f) =
                      CategoryTheory.CategoryStruct.comp (η.naturality f)
                        (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app b)))
                  CategoryTheory.Lax.LaxTrans.Modification.naturality._autoParam →
                CategoryTheory.Lax.LaxTrans.Modification η θ

abbrev CategoryTheory.Lax.LaxTrans.Modification.app 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.Modification η θ → (a : B) → η.app a ⟶ θ.app a

The underlying family of 2-morphisms.

theorem CategoryTheory.Lax.LaxTrans.Modification.naturality 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.Modification η θ) {a b : B}
  (f : a ⟶ b),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.app a) (G.map f)) (θ.naturality f) =
    CategoryTheory.CategoryStruct.comp (η.naturality f) (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.app b))

The naturality condition.

theorem CategoryTheory.Lax.LaxTrans.Modification.naturality_assoc 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.Modification η θ) {a b : B}
  (f : a ⟶ b) {Z : F.obj a ⟶ G.obj b} (h : CategoryTheory.CategoryStruct.comp (F.map f) (θ.app b) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.app a) (G.map f))
      (CategoryTheory.CategoryStruct.comp (θ.naturality f) h) =
    CategoryTheory.CategoryStruct.comp (η.naturality f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.app b)) h)

The naturality condition.

def CategoryTheory.Lax.LaxTrans.Modification.id 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.Modification η η

The identity modification.

theorem CategoryTheory.Lax.LaxTrans.Modification.id_app E0 #

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

instance CategoryTheory.Lax.LaxTrans.Modification.instInhabited E0 #

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

def CategoryTheory.Lax.LaxTrans.Modification.vcomp 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.Modification η θ →
              CategoryTheory.Lax.LaxTrans.Modification θ ι → CategoryTheory.Lax.LaxTrans.Modification η ι

Vertical composition of modifications.

theorem CategoryTheory.Lax.LaxTrans.Modification.vcomp_app E0 #

∀ {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.Modification η θ)
  (Δ : CategoryTheory.Lax.LaxTrans.Modification θ ι) (a : B),
  (Γ.vcomp Δ).app a = CategoryTheory.CategoryStruct.comp (Γ.app a) (Δ.app a)

structure CategoryTheory.Lax.LaxTrans.Hom E1 #

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

Type-alias for modifications between lax transformations of lax functors. This is the type used for the 2-homomorphisms in the bicategory of lax functors equipped with lax transformations.

theorem CategoryTheory.Lax.LaxTrans.Hom.ext E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {x y : CategoryTheory.Lax.LaxTrans.Hom η θ}, x.as = y.as → x = y

theorem CategoryTheory.Lax.LaxTrans.Hom.ext_iff E0 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {x y : CategoryTheory.Lax.LaxTrans.Hom η θ}, x = y ↔ x.as = y.as

ctor CategoryTheory.Lax.LaxTrans.Hom.of E0 #

{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.Modification η θ → CategoryTheory.Lax.LaxTrans.Hom η θ

abbrev CategoryTheory.Lax.LaxTrans.Hom.as 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.Hom η θ → CategoryTheory.Lax.LaxTrans.Modification η θ

The underlying modification of lax transformations.

def CategoryTheory.Lax.LaxTrans.homCategory E1 #

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

Category structure on the lax natural transformations between lax functors.

Note that this is a scoped instance in the Lax.LaxTrans namespace.

theorem CategoryTheory.Lax.LaxTrans.homCategory_comp_as_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} {X Y Z : F ⟶ G} (Γ : CategoryTheory.Lax.LaxTrans.Hom X Y)
  (Δ : CategoryTheory.Lax.LaxTrans.Hom Y Z) (a : B),
  (CategoryTheory.CategoryStruct.comp Γ Δ).as.app a = CategoryTheory.CategoryStruct.comp (Γ.as.app a) (Δ.as.app a)

theorem CategoryTheory.Lax.LaxTrans.homCategory_id_as_app E0 #

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

instance CategoryTheory.Lax.LaxTrans.instInhabitedHomLaxFunctor E0 #

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

theorem CategoryTheory.Lax.LaxTrans.homCategory.ext_iff E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {Γ Δ : η ⟶ θ}, Γ = Δ ↔ ∀ (a : B), Γ.as.app a = Δ.as.app a

theorem CategoryTheory.Lax.LaxTrans.homCategory.ext E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {Γ Δ : η ⟶ θ}, (∀ (a : B), Γ.as.app a = Δ.as.app a) → Γ = Δ

def CategoryTheory.Lax.LaxTrans.isoMk E1 #

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

Construct a modification isomorphism between lax natural transformations by giving object level isomorphisms, and checking naturality only in the forward direction.

theorem CategoryTheory.Lax.LaxTrans.isoMk_hom_as_app E0 #

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

theorem CategoryTheory.Lax.LaxTrans.isoMk_inv_as_app E0 #

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

structure CategoryTheory.Lax.OplaxTrans.Modification E1 #

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

A modification Γ between oplax natural transformations η and θ (between lax functors) consists of a family of 2-morphisms Γ.app a : η.app a ⟶ θ.app a, which satisfies the equation (F.map f ◁ app b) ≫ θ.naturality f = η.naturality f ≫ (app a ▷ G.map f) for each 1-morphism f : a ⟶ b.

theorem CategoryTheory.Lax.OplaxTrans.Modification.ext_iff E0 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {x y : CategoryTheory.Lax.OplaxTrans.Modification η θ},
  x = y ↔ x.app = y.app

theorem CategoryTheory.Lax.OplaxTrans.Modification.ext E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {x y : CategoryTheory.Lax.OplaxTrans.Modification η θ},
  x.app = y.app → x = y

ctor CategoryTheory.Lax.OplaxTrans.Modification.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} →
            (app : (a : B) → η.app a ⟶ θ.app a) →
              autoParam
                  (∀ {a b : B} (f : a ⟶ b),
                    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app b))
                        (θ.naturality f) =
                      CategoryTheory.CategoryStruct.comp (η.naturality f)
                        (CategoryTheory.Bicategory.whiskerRight (app a) (G.map f)))
                  CategoryTheory.Lax.OplaxTrans.Modification.naturality._autoParam →
                CategoryTheory.Lax.OplaxTrans.Modification η θ

abbrev CategoryTheory.Lax.OplaxTrans.Modification.app 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.OplaxTrans.Modification η θ → (a : B) → η.app a ⟶ θ.app a

The underlying family of 2-morphisms.

theorem CategoryTheory.Lax.OplaxTrans.Modification.naturality 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.OplaxTrans.Modification η θ) {a b : B}
  (f : a ⟶ b),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.app b)) (θ.naturality f) =
    CategoryTheory.CategoryStruct.comp (η.naturality f) (CategoryTheory.Bicategory.whiskerRight (self.app a) (G.map f))

The naturality condition.

theorem CategoryTheory.Lax.OplaxTrans.Modification.naturality_assoc 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.OplaxTrans.Modification η θ) {a b : B}
  (f : a ⟶ b) {Z : F.obj a ⟶ G.obj b} (h : CategoryTheory.CategoryStruct.comp (θ.app a) (G.map f) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (self.app b))
      (CategoryTheory.CategoryStruct.comp (θ.naturality f) h) =
    CategoryTheory.CategoryStruct.comp (η.naturality f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (self.app a) (G.map f)) h)

The naturality condition.

def CategoryTheory.Lax.OplaxTrans.Modification.id 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.OplaxTrans.Modification η η

The identity modification.

theorem CategoryTheory.Lax.OplaxTrans.Modification.id_app E0 #

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

instance CategoryTheory.Lax.OplaxTrans.Modification.instInhabited E0 #

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

def CategoryTheory.Lax.OplaxTrans.Modification.vcomp 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.OplaxTrans.Modification η θ →
              CategoryTheory.Lax.OplaxTrans.Modification θ ι → CategoryTheory.Lax.OplaxTrans.Modification η ι

Vertical composition of modifications.

theorem CategoryTheory.Lax.OplaxTrans.Modification.vcomp_app E0 #

∀ {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.OplaxTrans.Modification η θ)
  (Δ : CategoryTheory.Lax.OplaxTrans.Modification θ ι) (a : B),
  (Γ.vcomp Δ).app a = CategoryTheory.CategoryStruct.comp (Γ.app a) (Δ.app a)

structure CategoryTheory.Lax.OplaxTrans.Hom E1 #

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

Type-alias for modifications between oplax transformations of lax functors. This is the type used for the 2-homomorphisms in the bicategory of lax functors equipped with oplax transformations.

theorem CategoryTheory.Lax.OplaxTrans.Hom.ext E1 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {x y : CategoryTheory.Lax.OplaxTrans.Hom η θ}, x.as = y.as → x = y

theorem CategoryTheory.Lax.OplaxTrans.Hom.ext_iff E0 #

∀ {B : Type u₁} {inst : CategoryTheory.Bicategory B} {C : Type u₂} {inst_1 : CategoryTheory.Bicategory C}
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {x y : CategoryTheory.Lax.OplaxTrans.Hom η θ}, x = y ↔ x.as = y.as

ctor CategoryTheory.Lax.OplaxTrans.Hom.of E0 #

{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.OplaxTrans.Modification η θ → CategoryTheory.Lax.OplaxTrans.Hom η θ

abbrev CategoryTheory.Lax.OplaxTrans.Hom.as 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.OplaxTrans.Hom η θ → CategoryTheory.Lax.OplaxTrans.Modification η θ

The underlying modification of oplax transformations.

def CategoryTheory.Lax.OplaxTrans.homCategory E1 #

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

Category structure on the oplax natural transformations between lax functors.

Note that this is a scoped instance in the Lax.OplaxTrans namespace.

theorem CategoryTheory.Lax.OplaxTrans.homCategory_id_as_app E0 #

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

theorem CategoryTheory.Lax.OplaxTrans.homCategory_comp_as_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} {X Y Z : F ⟶ G} (Γ : CategoryTheory.Lax.OplaxTrans.Hom X Y)
  (Δ : CategoryTheory.Lax.OplaxTrans.Hom Y Z) (a : B),
  (CategoryTheory.CategoryStruct.comp Γ Δ).as.app a = CategoryTheory.CategoryStruct.comp (Γ.as.app a) (Δ.as.app a)

instance CategoryTheory.Lax.OplaxTrans.instInhabitedHomLaxFunctor E0 #

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

theorem CategoryTheory.Lax.OplaxTrans.homCategory.ext_iff E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {Γ Δ : η ⟶ θ}, Γ = Δ ↔ ∀ (a : B), Γ.as.app a = Δ.as.app a

theorem CategoryTheory.Lax.OplaxTrans.homCategory.ext E1 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} {Γ Δ : η ⟶ θ}, (∀ (a : B), Γ.as.app a = Δ.as.app a) → Γ = Δ

def CategoryTheory.Lax.OplaxTrans.isoMk E1 #

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

Construct a modification isomorphism between oplax natural transformations by giving object level isomorphisms, and checking naturality only in the forward direction.

theorem CategoryTheory.Lax.OplaxTrans.isoMk_hom_as_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} (app : (a : B) → η.app a ≅ θ.app a)
  (naturality :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app b).hom)
            (θ.naturality f) =
          CategoryTheory.CategoryStruct.comp (η.naturality f)
            (CategoryTheory.Bicategory.whiskerRight (app a).hom (G.map f)))
      CategoryTheory.Lax.OplaxTrans.isoMk._auto_1)
  (a : B), (CategoryTheory.Lax.OplaxTrans.isoMk app naturality).hom.as.app a = (app a).hom

theorem CategoryTheory.Lax.OplaxTrans.isoMk_inv_as_app E0 #

∀ {B : Type u₁} [inst : CategoryTheory.Bicategory B] {C : Type u₂} [inst_1 : CategoryTheory.Bicategory C]
  {F G : CategoryTheory.LaxFunctor B C} {η θ : F ⟶ G} (app : (a : B) → η.app a ≅ θ.app a)
  (naturality :
    autoParam
      (∀ {a b : B} (f : a ⟶ b),
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (F.map f) (app b).hom)
            (θ.naturality f) =
          CategoryTheory.CategoryStruct.comp (η.naturality f)
            (CategoryTheory.Bicategory.whiskerRight (app a).hom (G.map f)))
      CategoryTheory.Lax.OplaxTrans.isoMk._auto_1)
  (a : B), (CategoryTheory.Lax.OplaxTrans.isoMk app naturality).inv.as.app a = (app a).inv