The areas / V24. Category theory
Mathlib.CategoryTheory.Adjunction.Reflective
47 declarations. Mathlib docs · Source
Reflective functors
Basic properties of reflective functors, especially those relating to their essential image.
Note properties of reflective functors relating to limits and colimits are included in
Mathlib/CategoryTheory/Monad/Limits.lean.
theorem CategoryTheory.Functor.fullyFaithfulCancelRight.congr_simp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] {F G : CategoryTheory.Functor C D}
(H : CategoryTheory.Functor D E) [inst_3 : H.Full] [inst_4 : H.Faithful] (comp_iso comp_iso_1 : F.comp H ≅ G.comp H),
comp_iso = comp_iso_1 →
CategoryTheory.Functor.fullyFaithfulCancelRight H comp_iso =
CategoryTheory.Functor.fullyFaithfulCancelRight H comp_iso_1
theorem CategoryTheory.unitCompPartialBijective.congr_simp E1 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i] (A : C) {B : C} (hB : i.essImage B),
CategoryTheory.unitCompPartialBijective A hB = CategoryTheory.unitCompPartialBijective A hB
def CategoryTheory.Reflective.ctorIdx E1 #
{C : Type u₁} →
{D : Type u₂} →
{inst : CategoryTheory.Category.{v₁, u₁} C} →
{inst_1 : CategoryTheory.Category.{v₂, u₂} D} → {R : CategoryTheory.Functor D C} → CategoryTheory.Reflective R → ℕ
def CategoryTheory.Coreflective.ctorIdx E1 #
{C : Type u₁} →
{D : Type u₂} →
{inst : CategoryTheory.Category.{v₁, u₁} C} →
{inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
{L : CategoryTheory.Functor C D} → CategoryTheory.Coreflective L → ℕ
class CategoryTheory.Reflective E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] → CategoryTheory.Functor D C → Type (max (max (max u₁ u₂) v₁) v₂)
A functor is reflective, or a reflective inclusion, if it is fully faithful and right adjoint.
instance CategoryTheory.Reflective.toFaithful E0 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
{R : CategoryTheory.Functor D C} [self : CategoryTheory.Reflective R], R.Faithful
ctor CategoryTheory.Reflective.mk E0 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{R : CategoryTheory.Functor D C} →
[toFull : R.Full] →
[toFaithful : R.Faithful] → (L : CategoryTheory.Functor C D) → (L ⊣ R) → CategoryTheory.Reflective R
instance CategoryTheory.Reflective.toFull E0 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
{R : CategoryTheory.Functor D C} [self : CategoryTheory.Reflective R], R.Full
abbrev CategoryTheory.Reflective.L E1 #
{C : Type u₁} →
{D : Type u₂} →
{inst : CategoryTheory.Category.{v₁, u₁} C} →
{inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
(R : CategoryTheory.Functor D C) → [self : CategoryTheory.Reflective R] → CategoryTheory.Functor C D
a choice of a left adjoint to R
abbrev CategoryTheory.Reflective.adj E1 #
{C : Type u₁} →
{D : Type u₂} →
{inst : CategoryTheory.Category.{v₁, u₁} C} →
{inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
{R : CategoryTheory.Functor D C} → [self : CategoryTheory.Reflective R] → CategoryTheory.Reflective.L R ⊣ R
R is a right adjoint
def CategoryTheory.reflector E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(i : CategoryTheory.Functor D C) → [CategoryTheory.Reflective i] → CategoryTheory.Functor C D
The reflector C ⥤ D when R : D ⥤ C is reflective.
def CategoryTheory.reflectorAdjunction E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(i : CategoryTheory.Functor D C) → [inst_2 : CategoryTheory.Reflective i] → CategoryTheory.reflector i ⊣ i
The adjunction reflector i ⊣ i when i is reflective.
instance CategoryTheory.instIsRightAdjointOfReflective E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(i : CategoryTheory.Functor D C) [CategoryTheory.Reflective i], i.IsRightAdjoint
instance CategoryTheory.instIsLeftAdjointReflector E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(i : CategoryTheory.Functor D C) [inst_2 : CategoryTheory.Reflective i], (CategoryTheory.reflector i).IsLeftAdjoint
def CategoryTheory.Functor.fullyFaithfulOfReflective E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(i : CategoryTheory.Functor D C) → [CategoryTheory.Reflective i] → i.FullyFaithful
A reflective functor is fully faithful.
theorem CategoryTheory.unit_obj_eq_map_unit E1 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(i : CategoryTheory.Functor D C) [inst_2 : CategoryTheory.Reflective i] (X : C),
(CategoryTheory.reflectorAdjunction i).unit.app (i.obj ((CategoryTheory.reflector i).obj X)) =
i.map ((CategoryTheory.reflector i).map ((CategoryTheory.reflectorAdjunction i).unit.app X))
For a reflective functor i (with left adjoint L), with unit η, we have η_iL = iL η.
theorem CategoryTheory.Functor.essImage.unit_isIso E1 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i] {A : C},
i.essImage A → CategoryTheory.IsIso ((CategoryTheory.reflectorAdjunction i).unit.app A)
If A is essentially in the image of a reflective functor i, then η_A is an isomorphism.
This gives that the "witness" for A being in the essential image can instead be given as the
reflection of A, with the isomorphism as η_A.
(For any B in the reflective subcategory, we automatically have that ε_B is an iso.)
theorem CategoryTheory.mem_essImage_of_unit_isSplitMono E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i] {A : C}
[CategoryTheory.IsSplitMono ((CategoryTheory.reflectorAdjunction i).unit.app A)], i.essImage A
If η_A is a split monomorphism, then A is in the reflective subcategory.
instance CategoryTheory.Reflective.comp E0 #
{C : Type u₁} →
{D : Type u₂} →
{E : Type u₃} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
(F : CategoryTheory.Functor C D) →
(G : CategoryTheory.Functor D E) →
[CategoryTheory.Reflective F] → [CategoryTheory.Reflective G] → CategoryTheory.Reflective (F.comp G)
Composition of reflective functors.
def CategoryTheory.unitCompPartialBijectiveAux E0 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{i : CategoryTheory.Functor D C} →
[inst_2 : CategoryTheory.Reflective i] →
(A : C) → (B : D) → (A ⟶ i.obj B) ≃ (i.obj ((CategoryTheory.reflector i).obj A) ⟶ i.obj B)
(Implementation) Auxiliary definition for unitCompPartialBijective.
theorem CategoryTheory.unitCompPartialBijectiveAux_symm_apply E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i] {A : C} {B : D}
(f : i.obj ((CategoryTheory.reflector i).obj A) ⟶ i.obj B),
(CategoryTheory.unitCompPartialBijectiveAux A B).symm f =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.reflectorAdjunction i).unit.app A) f
The description of the inverse of the bijection unitCompPartialBijectiveAux.
def CategoryTheory.unitCompPartialBijective E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{i : CategoryTheory.Functor D C} →
[inst_2 : CategoryTheory.Reflective i] →
(A : C) → {B : C} → i.essImage B → (A ⟶ B) ≃ (i.obj ((CategoryTheory.reflector i).obj A) ⟶ B)
If i has a reflector L, then the function (i.obj (L.obj A) ⟶ B) → (A ⟶ B) given by
precomposing with η.app A is a bijection provided B is in the essential image of i.
That is, the function fun (f : i.obj (L.obj A) ⟶ B) ↦ η.app A ≫ f is bijective,
as long as B is in the essential image of i.
This definition gives an equivalence: the key property that the inverse can be described
nicely is shown in unitCompPartialBijective_symm_apply.
This establishes there is a natural bijection (A ⟶ B) ≃ (i.obj (L.obj A) ⟶ B). In other words,
from the point of view of objects in D, A and i.obj (L.obj A) look the same: specifically
that η.app A is an isomorphism.
theorem CategoryTheory.unitCompPartialBijective_symm_apply E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i] (A : C) {B : C} (hB : i.essImage B)
(f : i.obj ((CategoryTheory.reflector i).obj A) ⟶ B),
(CategoryTheory.unitCompPartialBijective A hB).symm f =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.reflectorAdjunction i).unit.app A) f
theorem CategoryTheory.unitCompPartialBijective_symm_natural E1 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i] (A : C) {B B' : C} (h : B ⟶ B')
(hB : i.essImage B) (hB' : i.essImage B') (f : i.obj ((CategoryTheory.reflector i).obj A) ⟶ B),
(CategoryTheory.unitCompPartialBijective A hB').symm (CategoryTheory.CategoryStruct.comp f h) =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.unitCompPartialBijective A hB).symm f) h
theorem CategoryTheory.unitCompPartialBijective_natural E1 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i] (A : C) {B B' : C} (h : B ⟶ B')
(hB : i.essImage B) (hB' : i.essImage B') (f : A ⟶ B),
(CategoryTheory.unitCompPartialBijective A hB') (CategoryTheory.CategoryStruct.comp f h) =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.unitCompPartialBijective A hB) f) h
instance CategoryTheory.instIsIsoAppUnitReflectorAdjunctionObjEssImage E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i] (X : i.EssImageSubcategory),
CategoryTheory.IsIso ((CategoryTheory.reflectorAdjunction i).unit.app X.obj)
theorem CategoryTheory.Functor.essImage_ext_iff E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} {X Y : F.EssImageSubcategory} {f g : X ⟶ Y},
f = g ↔ F.essImage.ι.map f = F.essImage.ι.map g
def CategoryTheory.equivEssImageOfReflective E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{i : CategoryTheory.Functor D C} → [CategoryTheory.Reflective i] → D ≌ i.EssImageSubcategory
If i : D ⥤ C is reflective, the inverse functor of i ≌ F.essImage can be explicitly
defined by the reflector.
theorem CategoryTheory.equivEssImageOfReflective_unitIso E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i],
CategoryTheory.equivEssImageOfReflective.unitIso =
(CategoryTheory.asIso (CategoryTheory.reflectorAdjunction i).counit).symm
theorem CategoryTheory.equivEssImageOfReflective_functor E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i],
CategoryTheory.equivEssImageOfReflective.functor = i.toEssImage
theorem CategoryTheory.equivEssImageOfReflective_inverse E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i],
CategoryTheory.equivEssImageOfReflective.inverse = i.essImage.ι.comp (CategoryTheory.reflector i)
theorem CategoryTheory.equivEssImageOfReflective_counitIso E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{i : CategoryTheory.Functor D C} [inst_2 : CategoryTheory.Reflective i],
CategoryTheory.equivEssImageOfReflective.counitIso =
CategoryTheory.Functor.fullyFaithfulCancelRight i.essImage.ι
(CategoryTheory.NatIso.ofComponents
(fun X ↦ (CategoryTheory.asIso ((CategoryTheory.reflectorAdjunction i).unit.app X.obj)).symm) ⋯)
class CategoryTheory.Coreflective E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] → CategoryTheory.Functor C D → Type (max (max (max u₁ u₂) v₁) v₂)
A functor is coreflective, or a coreflective inclusion, if it is fully faithful and left adjoint.
ctor CategoryTheory.Coreflective.mk E0 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{L : CategoryTheory.Functor C D} →
[toFull : L.Full] →
[toFaithful : L.Faithful] → (R : CategoryTheory.Functor D C) → (L ⊣ R) → CategoryTheory.Coreflective L
instance CategoryTheory.Coreflective.toFaithful E0 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
{L : CategoryTheory.Functor C D} [self : CategoryTheory.Coreflective L], L.Faithful
instance CategoryTheory.Coreflective.toFull E0 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
{L : CategoryTheory.Functor C D} [self : CategoryTheory.Coreflective L], L.Full
abbrev CategoryTheory.Coreflective.R E1 #
{C : Type u₁} →
{D : Type u₂} →
{inst : CategoryTheory.Category.{v₁, u₁} C} →
{inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
(L : CategoryTheory.Functor C D) → [self : CategoryTheory.Coreflective L] → CategoryTheory.Functor D C
a choice of a right adjoint to L
abbrev CategoryTheory.Coreflective.adj E1 #
{C : Type u₁} →
{D : Type u₂} →
{inst : CategoryTheory.Category.{v₁, u₁} C} →
{inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
{L : CategoryTheory.Functor C D} → [self : CategoryTheory.Coreflective L] → L ⊣ CategoryTheory.Coreflective.R L
L is a left adjoint
def CategoryTheory.coreflector E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(j : CategoryTheory.Functor C D) → [CategoryTheory.Coreflective j] → CategoryTheory.Functor D C
The coreflector D ⥤ C when L : C ⥤ D is coreflective.
def CategoryTheory.coreflectorAdjunction E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(j : CategoryTheory.Functor C D) → [inst_2 : CategoryTheory.Coreflective j] → j ⊣ CategoryTheory.coreflector j
The adjunction j ⊣ coreflector j when j is coreflective.
instance CategoryTheory.instIsLeftAdjointOfCoreflective E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(j : CategoryTheory.Functor C D) [CategoryTheory.Coreflective j], j.IsLeftAdjoint
instance CategoryTheory.instIsRightAdjointCoreflector E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(j : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Coreflective j],
(CategoryTheory.coreflector j).IsRightAdjoint
def CategoryTheory.Functor.fullyFaithfulOfCoreflective E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(j : CategoryTheory.Functor C D) → [CategoryTheory.Coreflective j] → j.FullyFaithful
A coreflective functor is fully faithful.
theorem CategoryTheory.counit_obj_eq_map_counit E1 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(j : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Coreflective j] (X : D),
(CategoryTheory.coreflectorAdjunction j).counit.app (j.obj ((CategoryTheory.coreflector j).obj X)) =
j.map ((CategoryTheory.coreflector j).map ((CategoryTheory.coreflectorAdjunction j).counit.app X))
theorem CategoryTheory.Functor.essImage.counit_isIso E1 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{j : CategoryTheory.Functor C D} [inst_2 : CategoryTheory.Coreflective j] {A : D},
j.essImage A → CategoryTheory.IsIso ((CategoryTheory.coreflectorAdjunction j).counit.app A)
theorem CategoryTheory.mem_essImage_of_counit_isSplitEpi E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{j : CategoryTheory.Functor C D} [inst_2 : CategoryTheory.Coreflective j] {A : D}
[CategoryTheory.IsSplitEpi ((CategoryTheory.coreflectorAdjunction j).counit.app A)], j.essImage A
instance CategoryTheory.Coreflective.comp E0 #
{C : Type u₁} →
{D : Type u₂} →
{E : Type u₃} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
[inst_2 : CategoryTheory.Category.{v₃, u₃} E] →
(F : CategoryTheory.Functor C D) →
(G : CategoryTheory.Functor D E) →
[CategoryTheory.Coreflective F] →
[CategoryTheory.Coreflective G] → CategoryTheory.Coreflective (F.comp G)