The areas / V24. Category theory
Mathlib.CategoryTheory.Monoidal.Closed.Ideal
19 declarations. Mathlib docs · Source
Exponential ideals
An exponential ideal of a Cartesian closed category C is a subcategory D ⊆ C such that for any
B : D and A : C, the exponential A ⟹ B is in D: resembling ring-theoretic ideals. We
define the notion here for inclusion functors i : D ⥤ C rather than explicit subcategories to
preserve the principle of equivalence.
We additionally show that if C is Cartesian closed and i : D ⥤ C is a reflective functor, the
following are equivalent.
- The left adjoint to
ipreserves binary (equivalently, finite) products. iis an exponential ideal.
class CategoryTheory.ExponentialIdeal E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
CategoryTheory.Functor D C →
[inst_2 : CategoryTheory.CartesianMonoidalCategory C] → [CategoryTheory.MonoidalClosed C] → Prop
The subcategory D of C expressed as an inclusion functor is an exponential ideal if
B ∈ D implies A ⟹ B ∈ D for all A.
ctor CategoryTheory.ExponentialIdeal.mk 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.CartesianMonoidalCategory C]
[inst_3 : CategoryTheory.MonoidalClosed C],
(∀ {B : C}, i.essImage B → ∀ (A : C), i.essImage (A ⟹ B)) → CategoryTheory.ExponentialIdeal i
theorem CategoryTheory.ExponentialIdeal.exp_closed 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.CartesianMonoidalCategory C}
{inst_3 : CategoryTheory.MonoidalClosed C} [self : CategoryTheory.ExponentialIdeal i] {B : C},
i.essImage B → ∀ (A : C), i.essImage (A ⟹ B)
theorem CategoryTheory.ExponentialIdeal.mk' 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.CartesianMonoidalCategory C]
[inst_3 : CategoryTheory.MonoidalClosed C],
(∀ (B : D) (A : C), i.essImage (A ⟹ i.obj B)) → CategoryTheory.ExponentialIdeal i
To show i is an exponential ideal it suffices to show that A ⟹ iB is "in" D for any A in
C and B in D.
instance CategoryTheory.instExponentialIdealId E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.CartesianMonoidalCategory C]
[inst_2 : CategoryTheory.MonoidalClosed C], CategoryTheory.ExponentialIdeal (CategoryTheory.Functor.id C)
The entire category viewed as a subcategory is an exponential ideal.
instance CategoryTheory.instExponentialIdealSubterminalsSubterminalInclusion E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.CartesianMonoidalCategory C]
[inst_2 : CategoryTheory.MonoidalClosed C], CategoryTheory.ExponentialIdeal (CategoryTheory.subterminalInclusion C)
The subcategory of subterminal objects is an exponential ideal.
def CategoryTheory.exponentialIdealReflective 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.CartesianMonoidalCategory C] →
[inst_3 : CategoryTheory.MonoidalClosed C] →
(A : C) →
[inst_4 : CategoryTheory.Reflective i] →
[CategoryTheory.ExponentialIdeal i] →
i.comp ((CategoryTheory.ihom A).comp ((CategoryTheory.reflector i).comp i)) ≅
i.comp (CategoryTheory.ihom A)
If D is a reflective subcategory, the property of being an exponential ideal is equivalent to
the presence of a natural isomorphism i ⋙ exp A ⋙ leftAdjoint i ⋙ i ≅ i ⋙ exp A, that is:
(A ⟹ iB) ≅ i L (A ⟹ iB), naturally in B.
The converse is given in ExponentialIdeal.mk_of_iso.
theorem CategoryTheory.ExponentialIdeal.mk_of_iso 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.CartesianMonoidalCategory C]
[inst_3 : CategoryTheory.MonoidalClosed C] [inst_4 : CategoryTheory.Reflective i]
(h :
(A : C) →
i.comp ((CategoryTheory.ihom A).comp ((CategoryTheory.reflector i).comp i)) ≅ i.comp (CategoryTheory.ihom A)),
CategoryTheory.ExponentialIdeal i
Given a natural isomorphism i ⋙ exp A ⋙ leftAdjoint i ⋙ i ≅ i ⋙ exp A, we can show i
is an exponential ideal.
theorem CategoryTheory.reflective_products 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.Limits.HasFiniteProducts C] [CategoryTheory.Reflective i],
CategoryTheory.Limits.HasFiniteProducts D
abbrev CategoryTheory.CartesianMonoidalCategory.ofReflective 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.CartesianMonoidalCategory C] →
[CategoryTheory.Reflective i] → CategoryTheory.CartesianMonoidalCategory D
Given a reflective subcategory D of a category with chosen finite products C, D admits
finite chosen products.
instance CategoryTheory.exponentialIdeal_of_preservesBinaryProducts 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.CartesianMonoidalCategory C]
[inst_3 : CategoryTheory.Reflective i] [inst_4 : CategoryTheory.MonoidalClosed C]
[CategoryTheory.CartesianMonoidalCategory D]
[CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair)
(CategoryTheory.reflector i)],
CategoryTheory.ExponentialIdeal i
If the reflector preserves binary products, the subcategory is an exponential ideal.
This is the converse of preservesBinaryProductsOfExponentialIdeal.
def CategoryTheory.cartesianClosedOfReflective' 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.CartesianMonoidalCategory C] →
[CategoryTheory.Reflective i] →
[inst_4 : CategoryTheory.MonoidalClosed C] →
[inst_5 : CategoryTheory.CartesianMonoidalCategory D] →
[CategoryTheory.ExponentialIdeal i] →
(l : CategoryTheory.Functor i.EssImageSubcategory D) →
(l.comp i ≅ i.essImage.ι) → CategoryTheory.MonoidalClosed D
If i witnesses that D is a reflective subcategory and an exponential ideal, then D is
itself Cartesian closed.
To allow for better control of definitional equality, this construction
takes in an explicit choice of lift of the essential image of i to D, in the form of a functor
l : i.EssImageSubcategory ⥤ D and natural isomorphism φ : l ⋙ i ≅ i.essImage.ι. When
l ⋙ i is defeq to i.essImage.ι, images of exponential objects in D under i will be defeq
to the respective exponential objects in C.
def CategoryTheory.cartesianClosedOfReflective 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.CartesianMonoidalCategory C] →
[CategoryTheory.Reflective i] →
[inst_4 : CategoryTheory.MonoidalClosed C] →
[inst_5 : CategoryTheory.CartesianMonoidalCategory D] →
[CategoryTheory.ExponentialIdeal i] → CategoryTheory.MonoidalClosed D
If i witnesses that D is a reflective subcategory and an exponential ideal, then D is
itself Cartesian closed.
Unlike cartesianClosedOfReflective' this construction lifts exponential objects in C to
exponential objects in D by applying the reflector to them, even though they already lie in the
essential image of i; if you need better control over definitional equality, use
cartesianClosedOfReflective' instead.
def CategoryTheory.bijection 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.CartesianMonoidalCategory C] →
[inst_3 : CategoryTheory.Reflective i] →
[inst_4 : CategoryTheory.MonoidalClosed C] →
[inst_5 : CategoryTheory.CartesianMonoidalCategory D] →
[CategoryTheory.ExponentialIdeal i] →
[CategoryTheory.BraidedCategory C] →
(A B : C) →
(X : D) →
((CategoryTheory.reflector i).obj (CategoryTheory.MonoidalCategoryStruct.tensorObj A B) ⟶ X) ≃
(CategoryTheory.MonoidalCategoryStruct.tensorObj ((CategoryTheory.reflector i).obj A)
((CategoryTheory.reflector i).obj B) ⟶
X)
We construct a bijection between morphisms L(A ⊗ B) ⟶ X and morphisms LA ⊗ LB ⟶ X.
This bijection has two key properties:
- It is natural in
X: Seebijection_natural. - When
X = LA ⨯ LB, then the backwards direction sends the identity morphism to the product comparison morphism: Seebijection_symm_apply_id.
Together these help show that L preserves binary products. This should be considered
internal implementation towards preservesBinaryProductsOfExponentialIdeal.
theorem CategoryTheory.bijection_symm_apply_id 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.CartesianMonoidalCategory C]
[inst_3 : CategoryTheory.Reflective i] [inst_4 : CategoryTheory.MonoidalClosed C]
[inst_5 : CategoryTheory.CartesianMonoidalCategory D] [inst_6 : CategoryTheory.ExponentialIdeal i]
[inst_7 : CategoryTheory.BraidedCategory C] (A B : C),
(CategoryTheory.bijection i A B
(CategoryTheory.MonoidalCategoryStruct.tensorObj ((CategoryTheory.reflector i).obj A)
((CategoryTheory.reflector i).obj B))).symm
(CategoryTheory.CategoryStruct.id
(CategoryTheory.MonoidalCategoryStruct.tensorObj ((CategoryTheory.reflector i).obj A)
((CategoryTheory.reflector i).obj B))) =
CategoryTheory.CartesianMonoidalCategory.prodComparison (CategoryTheory.reflector i) A B
theorem CategoryTheory.bijection_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.CartesianMonoidalCategory C]
[inst_3 : CategoryTheory.Reflective i] [inst_4 : CategoryTheory.MonoidalClosed C]
[inst_5 : CategoryTheory.CartesianMonoidalCategory D] [inst_6 : CategoryTheory.ExponentialIdeal i]
[inst_7 : CategoryTheory.BraidedCategory C] (A B : C) (X X' : D)
(f : (CategoryTheory.reflector i).obj (CategoryTheory.MonoidalCategoryStruct.tensorObj A B) ⟶ X) (g : X ⟶ X'),
(CategoryTheory.bijection i A B X') (CategoryTheory.CategoryStruct.comp f g) =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.bijection i A B X) f) g
theorem CategoryTheory.prodComparison_iso 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.CartesianMonoidalCategory C]
[inst_3 : CategoryTheory.Reflective i] [inst_4 : CategoryTheory.MonoidalClosed C]
[inst_5 : CategoryTheory.CartesianMonoidalCategory D] [CategoryTheory.ExponentialIdeal i]
[CategoryTheory.BraidedCategory C] (A B : C),
CategoryTheory.IsIso (CategoryTheory.CartesianMonoidalCategory.prodComparison (CategoryTheory.reflector i) A B)
The bijection allows us to show that prodComparison L A B is an isomorphism, where the inverse
is the forward map of the identity morphism.
theorem CategoryTheory.preservesBinaryProducts_of_exponentialIdeal 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.CartesianMonoidalCategory C]
[inst_3 : CategoryTheory.Reflective i] [inst_4 : CategoryTheory.MonoidalClosed C]
[CategoryTheory.CartesianMonoidalCategory D] [CategoryTheory.ExponentialIdeal i] [CategoryTheory.BraidedCategory C],
CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair)
(CategoryTheory.reflector i)
If a reflective subcategory is an exponential ideal, then the reflector preserves binary products.
This is the converse of exponentialIdeal_of_preserves_binary_products.
theorem CategoryTheory.Limits.PreservesFiniteProducts.of_exponentialIdeal 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.CartesianMonoidalCategory C]
[inst_3 : CategoryTheory.Reflective i] [inst_4 : CategoryTheory.MonoidalClosed C]
[CategoryTheory.CartesianMonoidalCategory D] [CategoryTheory.ExponentialIdeal i] [CategoryTheory.BraidedCategory C],
CategoryTheory.Limits.PreservesFiniteProducts (CategoryTheory.reflector i)
If a reflective subcategory is an exponential ideal, then the reflector preserves finite products.