The areas / V24. Category theory
Mathlib.CategoryTheory.Adjunction.AdjointFunctorTheorems
9 declarations. Mathlib docs · Source
Adjoint functor theorem
This file proves the (general) adjoint functor theorem, in the form:
- If
G : D ⥤ Cpreserves limits andDhas limits, and satisfies the solution set condition, then it has a left adjoint:isRightAdjoint_of_preservesLimits_of_solutionSetCondition.
We show that the converse holds, i.e. that if G has a left adjoint then it satisfies the solution
set condition, see solutionSetCondition_of_isRightAdjoint
(the file CategoryTheory/Adjunction/Limits already shows it preserves limits).
We define the solution set condition for the functor G : D ⥤ C to mean, for every object
A : C, there is a set-indexed family ${f_i : A ⟶ G (B_i)}$ such that any morphism A ⟶ G X
factors through one of the f_i.
This file also proves the special adjoint functor theorem, in the form:
- If
G : D ⥤ Cpreserves limits andDis complete, well-powered and has a small coseparating set, thenGhas a left adjoint:isRightAdjoint_of_preservesLimits_of_isCoseparating
Finally, we prove the following corollaries of the special adjoint functor theorem:
- If
Cis complete, well-powered and has a small coseparating set, then it is cocomplete:hasColimits_of_hasLimits_of_isCoseparating,hasColimits_of_hasLimits_of_hasCoseparator - If
Cis cocomplete, co-well-powered and has a small separating set, then it is complete:hasLimits_of_hasColimits_of_isSeparating,hasLimits_of_hasColimits_of_hasSeparator
def CategoryTheory.SolutionSetCondition E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{D : Type u₁} → [inst_1 : CategoryTheory.Category.{v₁, u₁} D] → CategoryTheory.Functor D C → Prop
The functor G : D ⥤ C satisfies the solution set condition if for every A : C, there is a
family of morphisms {f_i : A ⟶ G (B_i) // i ∈ ι} such that given any morphism h : A ⟶ G X,
there is some i ∈ ι such that h factors through f_i.
The key part of this definition is that the indexing set ι lives in Type v, where v is the
universe of morphisms of the category: this is the "smallness" condition which allows the general
adjoint functor theorem to go through.
theorem CategoryTheory.solutionSetCondition_of_isRightAdjoint E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D]
(G : CategoryTheory.Functor D C) [G.IsRightAdjoint], CategoryTheory.SolutionSetCondition G
If G : D ⥤ C is a right adjoint it satisfies the solution set condition.
theorem CategoryTheory.isRightAdjoint_of_preservesLimits_of_solutionSetCondition E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D]
(G : CategoryTheory.Functor D C) [CategoryTheory.Limits.HasLimitsOfSize.{w, w, v₁, u₁} D]
[CategoryTheory.Limits.PreservesLimitsOfSize.{w, w, v₁, v, u₁, u} G],
CategoryTheory.SolutionSetCondition G → ∀ [CategoryTheory.LocallySmall.{w, v₁, u₁} D], G.IsRightAdjoint
The general adjoint functor theorem says that if G : D ⥤ C preserves limits and D has them,
if G satisfies the solution set condition then G is a right adjoint.
theorem CategoryTheory.isRightAdjoint_of_preservesLimits_of_isCoseparating E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D]
[CategoryTheory.Limits.HasLimitsOfSize.{w, w, v₁, u₁} D] [CategoryTheory.LocallySmall.{w, v, u} C]
[inst_4 : CategoryTheory.LocallySmall.{w, v₁, u₁} D] [CategoryTheory.WellPowered.{w, v₁, u₁} D]
{P : CategoryTheory.ObjectProperty D} [CategoryTheory.ObjectProperty.Small.{w, v₁, u₁} P],
P.IsCoseparating →
∀ (G : CategoryTheory.Functor D C) [CategoryTheory.Limits.PreservesLimitsOfSize.{w, w, v₁, v, u₁, u} G],
G.IsRightAdjoint
The special adjoint functor theorem: if G : D ⥤ C preserves limits and D is complete,
well-powered and has a small coseparating set, then G has a left adjoint.
theorem CategoryTheory.isLeftAdjoint_of_preservesColimits_of_isSeparating E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D]
[CategoryTheory.Limits.HasColimitsOfSize.{w, w, v, u} C] [inst_3 : CategoryTheory.LocallySmall.{w, v, u} C]
[CategoryTheory.LocallySmall.{w, v₁, u₁} D] [CategoryTheory.WellPowered.{w, v, u} Cᵒᵖ]
{P : CategoryTheory.ObjectProperty C} [CategoryTheory.ObjectProperty.Small.{w, v, u} P],
P.IsSeparating →
∀ (F : CategoryTheory.Functor C D) [CategoryTheory.Limits.PreservesColimitsOfSize.{w, w, v, v₁, u, u₁} F],
F.IsLeftAdjoint
The special adjoint functor theorem: if F : C ⥤ D preserves colimits and C is cocomplete,
well-copowered and has a small separating set, then F has a right adjoint.
theorem CategoryTheory.Limits.hasColimits_of_hasLimits_of_isCoseparating E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasLimitsOfSize.{w, w, v, u} C]
[inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] [CategoryTheory.WellPowered.{w, v, u} C]
{P : CategoryTheory.ObjectProperty C} [CategoryTheory.ObjectProperty.Small.{w, v, u} P],
P.IsCoseparating → CategoryTheory.Limits.HasColimitsOfSize.{w, w, v, u} C
A consequence of the special adjoint functor theorem: if C is complete, well-powered and
has a small coseparating set, then it is cocomplete.
theorem CategoryTheory.Limits.hasLimits_of_hasColimits_of_isSeparating E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimitsOfSize.{w, w, v, u} C]
[inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] [CategoryTheory.WellPowered.{w, v, u} Cᵒᵖ]
{P : CategoryTheory.ObjectProperty C} [CategoryTheory.ObjectProperty.Small.{w, v, u} P],
P.IsSeparating → CategoryTheory.Limits.HasLimitsOfSize.{w, w, v, u} C
A consequence of the special adjoint functor theorem: if C is cocomplete, well-copowered and
has a small separating set, then it is complete.
theorem CategoryTheory.Limits.hasLimits_of_hasColimits_of_hasSeparator E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimitsOfSize.{w, w, v, u} C]
[CategoryTheory.HasSeparator C] [inst_3 : CategoryTheory.LocallySmall.{w, v, u} C]
[CategoryTheory.WellPowered.{w, v, u} Cᵒᵖ], CategoryTheory.Limits.HasLimitsOfSize.{w, w, v, u} C
A consequence of the special adjoint functor theorem: if C is complete, well-powered and
has a separator, then it is complete.
theorem CategoryTheory.Limits.hasColimits_of_hasLimits_of_hasCoseparator E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasLimitsOfSize.{w, w, v, u} C]
[CategoryTheory.HasCoseparator C] [inst_3 : CategoryTheory.LocallySmall.{w, v, u} C]
[CategoryTheory.WellPowered.{w, v, u} C], CategoryTheory.Limits.HasColimitsOfSize.{w, w, v, u} C
A consequence of the special adjoint functor theorem: if C is complete, well-powered and
has a coseparator, then it is cocomplete.