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 / V25. Higher structures in categories

Mathlib.CategoryTheory.LocallyCartesianClosed.Sections

14 declarations. Mathlib docs · Source

The section functor as a right adjoint to the toOver functor

We show that in a cartesian monoidal category C, for any exponentiable object I, the functor toOver I : C ⥤ Over I mapping an object X to the projection snd : X ⊗ I ⟶ I in Over I has a right adjoint sections I : Over I ⥤ C whose object part is the object of sections of X over I.

In particular, if C is cartesian closed, then for all objects I in C, toOver I : C ⥤ Over I has a right adjoint.

abbrev CategoryTheory.curryRightUnitorHom E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.CartesianMonoidalCategory C] →
      (I : C) → [inst_2 : CategoryTheory.Closed I] → CategoryTheory.MonoidalCategoryStruct.tensorUnit C ⟶ I ⟹ I

The first leg of a cospan to define sectionsObj as a pullback in C.

theorem CategoryTheory.toUnit_comp_curryRightUnitorHom E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.CartesianMonoidalCategory C]
  {I : C} [inst_2 : CategoryTheory.Closed I] {A : C},
  CategoryTheory.CategoryStruct.comp (CategoryTheory.SemiCartesianMonoidalCategory.toUnit A)
      (CategoryTheory.curryRightUnitorHom I) =
    CategoryTheory.MonoidalClosed.curry (CategoryTheory.SemiCartesianMonoidalCategory.fst I A)

def CategoryTheory.Over.sections E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.CartesianMonoidalCategory C] →
      (I : C) →
        [inst_2 : CategoryTheory.Closed I] →
          [CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)] →
            CategoryTheory.Functor (CategoryTheory.Over I) C

The functor mapping an object X : Over I to the object of sections of X over I, defined by the following pullback diagram. The functor's mapping of morphisms is induced by pullbackMap, that is by the universal property of chosen pullbacks.

 sections X -->  I ⟹ X
   |               |
   |               |
   v               v
  𝟙_ C   ----->  I ⟹ I

theorem CategoryTheory.Over.sections_obj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.CartesianMonoidalCategory C]
  (I : C) [inst_2 : CategoryTheory.Closed I]
  [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)] (X : CategoryTheory.Over I),
  (CategoryTheory.Over.sections I).obj X =
    CategoryTheory.ChosenPullbacksAlong.pullbackObj ((CategoryTheory.ihom I).map X.hom)
      (CategoryTheory.curryRightUnitorHom I)

theorem CategoryTheory.Over.sections_map E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.CartesianMonoidalCategory C]
  (I : C) [inst_2 : CategoryTheory.Closed I]
  [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)] {X Y : CategoryTheory.Over I}
  (u : X ⟶ Y),
  (CategoryTheory.Over.sections I).map u =
    CategoryTheory.ChosenPullbacksAlong.pullbackMap ((CategoryTheory.ihom I).map Y.hom)
      (CategoryTheory.curryRightUnitorHom I) ((CategoryTheory.ihom I).map X.hom) (CategoryTheory.curryRightUnitorHom I)
      ((CategoryTheory.ihom I).map (CategoryTheory.Over.Hom.left u))
      (CategoryTheory.CategoryStruct.id (CategoryTheory.MonoidalCategoryStruct.tensorUnit C))
      (CategoryTheory.CategoryStruct.id (I ⟹ I)) ⋯ ⋯

def CategoryTheory.Over.sectionsCurry E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.CartesianMonoidalCategory C] →
      {I : C} →
        [inst_2 : CategoryTheory.Closed I] →
          [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)] →
            [CategoryTheory.BraidedCategory C] →
              {X : CategoryTheory.Over I} →
                {A : C} → ((CategoryTheory.toOver I).obj A ⟶ X) → (A ⟶ (CategoryTheory.Over.sections I).obj X)

The currying operation Hom ((toOver I).obj A) X → Hom A (I ⟹ X.left).

def CategoryTheory.Over.sectionsUncurry E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.CartesianMonoidalCategory C] →
      {I : C} →
        [inst_2 : CategoryTheory.Closed I] →
          [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)] →
            [CategoryTheory.BraidedCategory C] →
              {X : CategoryTheory.Over I} →
                {A : C} → (A ⟶ (CategoryTheory.Over.sections I).obj X) → ((CategoryTheory.toOver I).obj A ⟶ X)

The uncurrying operation Hom A (section X) → Hom ((toOver I).obj A) X.

theorem CategoryTheory.Over.sectionsCurry_sectionUncurry E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.CartesianMonoidalCategory C]
  {I : C} [inst_2 : CategoryTheory.Closed I]
  [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)]
  [inst_4 : CategoryTheory.BraidedCategory C] {X : CategoryTheory.Over I} {A : C}
  {v : A ⟶ (CategoryTheory.Over.sections I).obj X},
  CategoryTheory.Over.sectionsCurry (CategoryTheory.Over.sectionsUncurry v) = v

theorem CategoryTheory.Over.sectionsUncurry_sectionsCurry E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.CartesianMonoidalCategory C]
  {I : C} [inst_2 : CategoryTheory.Closed I]
  [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)]
  [inst_4 : CategoryTheory.BraidedCategory C] {X : CategoryTheory.Over I} {A : C}
  {u : (CategoryTheory.toOver I).obj A ⟶ X},
  CategoryTheory.Over.sectionsUncurry (CategoryTheory.Over.sectionsCurry u) = u

def CategoryTheory.Over.coreHomEquivToOverSections E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.CartesianMonoidalCategory C] →
      (I : C) →
        [inst_2 : CategoryTheory.Closed I] →
          [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)] →
            [CategoryTheory.BraidedCategory C] →
              CategoryTheory.Adjunction.CoreHomEquiv (CategoryTheory.toOver I) (CategoryTheory.Over.sections I)

An auxiliary definition which is used to define the adjunction between the star functor and the sections functor. See starSectionsAdjunction.

theorem CategoryTheory.Over.coreHomEquivToOverSections_homEquiv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.CartesianMonoidalCategory C]
  (I : C) [inst_2 : CategoryTheory.Closed I]
  [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)]
  [inst_4 : CategoryTheory.BraidedCategory C] (A : C) (X : CategoryTheory.Over I),
  (CategoryTheory.Over.coreHomEquivToOverSections I).homEquiv A X =
    { toFun := CategoryTheory.Over.sectionsCurry, invFun := CategoryTheory.Over.sectionsUncurry, left_inv := ⋯,
      right_inv := ⋯ }

def CategoryTheory.Over.toOverSectionsAdj E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    [inst_1 : CategoryTheory.CartesianMonoidalCategory C] →
      (I : C) →
        [inst_2 : CategoryTheory.Closed I] →
          [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)] →
            [CategoryTheory.BraidedCategory C] → CategoryTheory.toOver I ⊣ CategoryTheory.Over.sections I

The adjunction between the toOver functor and the sections functor.

theorem CategoryTheory.Over.toOverSectionsAdj_unit_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.CartesianMonoidalCategory C]
  (I : C) [inst_2 : CategoryTheory.Closed I]
  [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)]
  [inst_4 : CategoryTheory.BraidedCategory C] (X : C),
  (CategoryTheory.Over.toOverSectionsAdj I).unit.app X =
    { toFun := CategoryTheory.Over.sectionsCurry, invFun := CategoryTheory.Over.sectionsUncurry, left_inv := ⋯,
        right_inv := ⋯ }
      (CategoryTheory.CategoryStruct.id ((CategoryTheory.toOver I).obj X))

theorem CategoryTheory.Over.toOverSectionsAdj_counit_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.CartesianMonoidalCategory C]
  (I : C) [inst_2 : CategoryTheory.Closed I]
  [inst_3 : CategoryTheory.ChosenPullbacksAlong (CategoryTheory.curryRightUnitorHom I)]
  [inst_4 : CategoryTheory.BraidedCategory C] (Y : CategoryTheory.Over I),
  (CategoryTheory.Over.toOverSectionsAdj I).counit.app Y =
    CategoryTheory.Over.sectionsUncurry
      (CategoryTheory.CategoryStruct.id
        (CategoryTheory.ChosenPullbacksAlong.pullbackObj ((CategoryTheory.ihom I).map Y.hom)
          (CategoryTheory.curryRightUnitorHom I)))