The special adjoint functor theorem
ProvedFamousTheorems.special_adjoint_functor_theorem_7aThe special adjoint functor theorem. Let be a complete, well-powered, locally small category with a small coseparating family of objects, and let be a functor to a locally small category. If preserves all small limits, then has a left adjoint.
This theorem, due to Freyd, replaces the solution set condition of the general adjoint functor theorem by conditions on alone. It gives, for example, the Stone–Čech compactification as the left adjoint of the inclusion of compact Hausdorff spaces into topological spaces, where the unit interval is a coseparator.
Formalization note. Mathlib's CategoryTheory.isRightAdjoint_of_preservesLimits_of_isCoseparating. and have morphisms in the same universe , and limits of all -small shapes are required. WellPowered D says that each object has a small set of subobjects. ObjectProperty.Small P says that the coseparating family is essentially small, and P.IsCoseparating says that morphisms into objects of distinguish parallel morphisms.
import Mathlib
namespace FamousTheorems
universe u v w
theorem special_adjoint_functor_theorem_7a {C : Type u} [CategoryTheory.Category.{v} C] {D : Type w} [CategoryTheory.Category.{v} D]
[CategoryTheory.Limits.HasLimits D] [CategoryTheory.WellPowered.{v} D] {P : CategoryTheory.ObjectProperty D}
[CategoryTheory.ObjectProperty.Small.{v} P] (hP : P.IsCoseparating) (G : CategoryTheory.Functor D C)
[CategoryTheory.Limits.PreservesLimits G] : G.IsRightAdjoint := by sorry
end FamousTheorems