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.Adjunction.Evaluation

20 declarations. Mathlib docs · Source

theorem CategoryTheory.evaluationLeftAdjoint.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasCoproductsOfShape (a ⟶ b) D] (c c_1 : C),
  c = c_1 → CategoryTheory.evaluationLeftAdjoint D c = CategoryTheory.evaluationLeftAdjoint D c_1

theorem CategoryTheory.evaluationRightAdjoint.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasProductsOfShape (a ⟶ b) D] (c c_1 : C),
  c = c_1 → CategoryTheory.evaluationRightAdjoint D c = CategoryTheory.evaluationRightAdjoint D c_1

def CategoryTheory.evaluationLeftAdjoint E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (D : Type u₂) →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [∀ (a b : C), CategoryTheory.Limits.HasCoproductsOfShape (a ⟶ b) D] →
          C → CategoryTheory.Functor D (CategoryTheory.Functor C D)

The left adjoint of evaluation.

theorem CategoryTheory.evaluationLeftAdjoint_map_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasCoproductsOfShape (a ⟶ b) D] (c : C) {x d₂ : D} (f : x ⟶ d₂)
  (x_1 : C),
  ((CategoryTheory.evaluationLeftAdjoint D c).map f).app x_1 =
    CategoryTheory.Limits.Sigma.desc fun h ↦
      CategoryTheory.CategoryStruct.comp f (CategoryTheory.Limits.Sigma.ι (fun x ↦ d₂) h)

theorem CategoryTheory.evaluationLeftAdjoint_obj_obj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasCoproductsOfShape (a ⟶ b) D] (c : C) (d : D) (t : C),
  ((CategoryTheory.evaluationLeftAdjoint D c).obj d).obj t = ∐ fun x ↦ d

theorem CategoryTheory.evaluationLeftAdjoint_obj_map E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasCoproductsOfShape (a ⟶ b) D] (c : C) (d : D) {X Y : C} (f : X ⟶ Y),
  ((CategoryTheory.evaluationLeftAdjoint D c).obj d).map f =
    CategoryTheory.Limits.Sigma.desc fun g ↦
      CategoryTheory.Limits.Sigma.ι (fun x ↦ d) (CategoryTheory.CategoryStruct.comp g f)

def CategoryTheory.evaluationAdjunctionRight E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (D : Type u₂) →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasCoproductsOfShape (a ⟶ b) D] →
          (c : C) → CategoryTheory.evaluationLeftAdjoint D c ⊣ (CategoryTheory.evaluation C D).obj c

The adjunction showing that evaluation is a right adjoint.

theorem CategoryTheory.evaluationAdjunctionRight_counit_app_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasCoproductsOfShape (a ⟶ b) D] (c : C) (Y : CategoryTheory.Functor C D)
  (x : C),
  ((CategoryTheory.evaluationAdjunctionRight D c).counit.app Y).app x = CategoryTheory.Limits.Sigma.desc fun h ↦ Y.map h

theorem CategoryTheory.evaluationAdjunctionRight_unit_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasCoproductsOfShape (a ⟶ b) D] (c : C) (X : D),
  (CategoryTheory.evaluationAdjunctionRight D c).unit.app X =
    CategoryTheory.Limits.Sigma.ι (fun x ↦ X) (CategoryTheory.CategoryStruct.id c)

instance CategoryTheory.evaluationIsRightAdjoint E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [∀ (a b : C), CategoryTheory.Limits.HasCoproductsOfShape (a ⟶ b) D] (c : C),
  ((CategoryTheory.evaluation C D).obj c).IsRightAdjoint

theorem CategoryTheory.NatTrans.mono_iff_mono_app' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [∀ (a b : C), CategoryTheory.Limits.HasCoproductsOfShape (a ⟶ b) D] {F G : CategoryTheory.Functor C D} (η : F ⟶ G),
  CategoryTheory.Mono η ↔ ∀ (c : C), CategoryTheory.Mono (η.app c)

See also the file Mathlib/CategoryTheory/Limits/FunctorCategory/EpiMono.lean for a similar result under a HasPullbacks assumption.

def CategoryTheory.evaluationRightAdjoint E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (D : Type u₂) →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [∀ (a b : C), CategoryTheory.Limits.HasProductsOfShape (a ⟶ b) D] →
          C → CategoryTheory.Functor D (CategoryTheory.Functor C D)

The right adjoint of evaluation.

theorem CategoryTheory.evaluationRightAdjoint_obj_map E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasProductsOfShape (a ⟶ b) D] (c : C) (d : D) {X Y : C} (f : X ⟶ Y),
  ((CategoryTheory.evaluationRightAdjoint D c).obj d).map f =
    CategoryTheory.Limits.Pi.lift fun g ↦
      CategoryTheory.Limits.Pi.π (fun x ↦ d) (CategoryTheory.CategoryStruct.comp f g)

theorem CategoryTheory.evaluationRightAdjoint_map_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasProductsOfShape (a ⟶ b) D] (c : C) {X Y : D} (f : X ⟶ Y) (x : C),
  ((CategoryTheory.evaluationRightAdjoint D c).map f).app x =
    CategoryTheory.Limits.Pi.lift fun g ↦
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (fun x ↦ X) g) f

theorem CategoryTheory.evaluationRightAdjoint_obj_obj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasProductsOfShape (a ⟶ b) D] (c : C) (d : D) (t : C),
  ((CategoryTheory.evaluationRightAdjoint D c).obj d).obj t = ∏ᶜ fun x ↦ d

def CategoryTheory.evaluationAdjunctionLeft E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (D : Type u₂) →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasProductsOfShape (a ⟶ b) D] →
          (c : C) → (CategoryTheory.evaluation C D).obj c ⊣ CategoryTheory.evaluationRightAdjoint D c

The adjunction showing that evaluation is a left adjoint.

theorem CategoryTheory.evaluationAdjunctionLeft_unit_app_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasProductsOfShape (a ⟶ b) D] (c : C) (X : CategoryTheory.Functor C D)
  (x : C),
  ((CategoryTheory.evaluationAdjunctionLeft D c).unit.app X).app x = CategoryTheory.Limits.Pi.lift fun g ↦ X.map g

theorem CategoryTheory.evaluationAdjunctionLeft_counit_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : ∀ (a b : C), CategoryTheory.Limits.HasProductsOfShape (a ⟶ b) D] (c : C) (Y : D),
  (CategoryTheory.evaluationAdjunctionLeft D c).counit.app Y =
    CategoryTheory.Limits.Pi.π (fun x ↦ Y) (CategoryTheory.CategoryStruct.id c)

instance CategoryTheory.evaluationIsLeftAdjoint E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [∀ (a b : C), CategoryTheory.Limits.HasProductsOfShape (a ⟶ b) D] (c : C),
  ((CategoryTheory.evaluation C D).obj c).IsLeftAdjoint

theorem CategoryTheory.NatTrans.epi_iff_epi_app' E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (D : Type u₂) [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [∀ (a b : C), CategoryTheory.Limits.HasProductsOfShape (a ⟶ b) D] {F G : CategoryTheory.Functor C D} (η : F ⟶ G),
  CategoryTheory.Epi η ↔ ∀ (c : C), CategoryTheory.Epi (η.app c)

See also the file Mathlib/CategoryTheory/Limits/FunctorCategory/EpiMono.lean for a similar result under a HasPushouts assumption.