/-
Copyright (c) 2021 Adam Topaz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Adam Topaz
-/
module
public import Mathlib.CategoryTheory.Adjunction.Basic
/-!
# Whiskering of adjunctions
Given categories `C D E`, functors `F : D ⥤ E` and `G : E ⥤ D` with an adjunction
`F ⊣ G`, we provide the induced adjunction between the functor categories `C ⥤ D` and `C ⥤ E`,
and the functor categories `E ⥤ C` and `D ⥤ C`.
-/
@[expose] public section
namespace CategoryTheory.Adjunction
open CategoryTheory CategoryTheory.Functor
variable (C : Type*) {D E : Type*} [Category* C] [Category* D] [Category* E] {F : D ⥤ E} {G : E ⥤ D}
/-- Given an adjunction `F ⊣ G`, this provides the natural adjunction
`(whiskeringRight C _ _).obj F ⊣ (whiskeringRight C _ _).obj G`. -/
@[simps! unit_app_app counit_app_app]
protected def whiskerRight (adj : F ⊣ G) :
(whiskeringRight C D E).obj F ⊣ (whiskeringRight C E D).obj G where
unit :=
{ app := fun X =>
(rightUnitor _).inv ≫ whiskerLeft X adj.unit ≫ (associator _ _ _).inv
naturality := by intros; ext; simp }
counit :=
{ app := fun X =>
(associator _ _ _).hom ≫ whiskerLeft X adj.counit ≫ (rightUnitor _).hom
naturality := by intros; ext; simp }
/-- Given an adjunction `F ⊣ G`, this provides the natural adjunction
`(whiskeringLeft _ _ C).obj G ⊣ (whiskeringLeft _ _ C).obj F`. -/
@[simps! unit_app_app counit_app_app]
protected def whiskerLeft (adj : F ⊣ G) :
(whiskeringLeft E D C).obj G ⊣ (whiskeringLeft D E C).obj F where
unit :=
{ app := fun X =>
(leftUnitor _).inv ≫ whiskerRight adj.unit X ≫ (associator _ _ _).hom }
counit :=
{ app := fun X =>
(associator _ _ _).inv ≫ whiskerRight adj.counit X ≫ (leftUnitor _).hom }
left_triangle_components X := by ext; simp [← X.map_comp]
right_triangle_components X := by ext; simp [← X.map_comp]
end CategoryTheory.Adjunction
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland