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

10 declarations and 2 deprecated aliases. Mathlib docs · Source

Adjunctions as Kan extensions

We show that adjunctions are realized as Kan extensions or Kan lifts.

We also show that a left adjoint commutes with a left Kan extension. Under the assumption that IsLeftAdjoint h, the isomorphism f⁺ (g ≫ h) ≅ f⁺ g ≫ h can be accessed by Lan.CommuteWith.lanCompIso f g h.

References

  • [Riehl, Category theory in context, Proposition 6.5.2][riehl2017]

TODO

At the moment, the results are stated for left Kan extensions and left Kan lifts. We can prove the similar results for right Kan extensions and right Kan lifts.

def CategoryTheory.Bicategory.Adjunction.isAbsoluteLeftKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b : B} →
      {f : a ⟶ b} →
        {u : b ⟶ a} →
          (adj : CategoryTheory.Bicategory.Adjunction f u) →
            (CategoryTheory.Bicategory.LeftExtension.mk u adj.unit).IsAbsKan

For an adjunction f ⊣ u, u is an absolute left Kan extension of the identity along f. The unit of this Kan extension is given by the unit of the adjunction.

def CategoryTheory.Bicategory.LeftExtension.IsKan.adjunction E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b : B} →
      {f : a ⟶ b} →
        {t : CategoryTheory.Bicategory.LeftExtension f (CategoryTheory.CategoryStruct.id a)} →
          t.IsKan → (t.whisker f).IsKan → CategoryTheory.Bicategory.Adjunction f t.extension

A left Kan extension t of the identity along f that commutes with f, in the sense that t.whisker f is a left Kan extension, is a right adjoint to f. The unit of this adjoint is given by the unit of the Kan extension.

def CategoryTheory.Bicategory.LeftExtension.IsAbsKan.adjunction E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b : B} →
      {f : a ⟶ b} →
        (t : CategoryTheory.Bicategory.LeftExtension f (CategoryTheory.CategoryStruct.id a)) →
          t.IsAbsKan → CategoryTheory.Bicategory.Adjunction f t.extension

An absolute left Kan extension of the identity along f is a right adjoint to f. The unit of this adjunction is given by the unit of the Kan extension.

theorem CategoryTheory.Bicategory.isLeftAdjoint_tfae E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (f : a ⟶ b),
  [CategoryTheory.Bicategory.IsLeftAdjoint f,
      CategoryTheory.Bicategory.HasAbsLeftKanExtension f (CategoryTheory.CategoryStruct.id a),
      ∃ (x : CategoryTheory.Bicategory.HasLeftKanExtension f (CategoryTheory.CategoryStruct.id a)),
        CategoryTheory.Bicategory.Lan.CommuteWith f (CategoryTheory.CategoryStruct.id a) f].TFAE

def CategoryTheory.Bicategory.Adjunction.isAbsoluteLeftKanLift E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b : B} →
      {f : a ⟶ b} →
        {u : b ⟶ a} →
          (adj : CategoryTheory.Bicategory.Adjunction f u) → (CategoryTheory.Bicategory.LeftLift.mk f adj.unit).IsAbsKan

For an adjunction f ⊣ u, f is an absolute left Kan lift of the identity along u. The unit of this Kan lift is given by the unit of the adjunction.

def CategoryTheory.Bicategory.LeftLift.IsKan.adjunction E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b : B} →
      {u : b ⟶ a} →
        {t : CategoryTheory.Bicategory.LeftLift u (CategoryTheory.CategoryStruct.id a)} →
          t.IsKan → (t.whisker u).IsKan → CategoryTheory.Bicategory.Adjunction t.lift u

A left Kan lift t of the identity along u that commutes with u, in the sense that t.whisker u is a left Kan lift, is a left adjoint to u. The unit of this adjoint is given by the unit of the Kan lift.

def CategoryTheory.Bicategory.LeftLift.IsAbsKan.adjunction E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b : B} →
      {u : b ⟶ a} →
        (t : CategoryTheory.Bicategory.LeftLift u (CategoryTheory.CategoryStruct.id a)) →
          t.IsAbsKan → CategoryTheory.Bicategory.Adjunction t.lift u

An absolute left Kan lift of the identity along u is a left adjoint to u. The unit of this adjunction is given by the unit of the Kan lift.

theorem CategoryTheory.Bicategory.isRightAdjoint_tfae E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (u : b ⟶ a),
  [CategoryTheory.Bicategory.IsRightAdjoint u,
      CategoryTheory.Bicategory.HasAbsLeftKanLift u (CategoryTheory.CategoryStruct.id a),
      ∃ (x : CategoryTheory.Bicategory.HasLeftKanLift u (CategoryTheory.CategoryStruct.id a)),
        CategoryTheory.Bicategory.LanLift.CommuteWith u (CategoryTheory.CategoryStruct.id a) u].TFAE

def CategoryTheory.Bicategory.LeftExtension.isKanOfWhiskerLeftAdjoint E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : a ⟶ b} →
        {g : a ⟶ c} →
          {t : CategoryTheory.Bicategory.LeftExtension f g} →
            t.IsKan →
              {x : B} → {h : c ⟶ x} → {u : x ⟶ c} → CategoryTheory.Bicategory.Adjunction h u → (t.whisker h).IsKan

A left adjoint commutes with a left Kan extension.

instance CategoryTheory.Bicategory.LeftExtension.instCommuteWithOfIsLeftAdjoint E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c} {x : B} {h : c ⟶ x}
  [CategoryTheory.Bicategory.IsLeftAdjoint h] [inst_2 : CategoryTheory.Bicategory.HasLeftKanExtension f g],
  CategoryTheory.Bicategory.Lan.CommuteWith f g h

Deprecated aliases

NameNew nameSince
CategoryTheory.Bicategory.isLeftAdjoint_TFAECategoryTheory.Bicategory.isLeftAdjoint_tfae2026-10-27
CategoryTheory.Bicategory.isRightAdjoint_TFAECategoryTheory.Bicategory.isRightAdjoint_tfae2026-10-27