The areas / V24. Category theory
Mathlib.CategoryTheory.Filtered.Small
40 declarations. Mathlib docs · Source
A functor from a small category to a filtered category factors through a small filtered category
A consequence of this is that if C is filtered and finally small, then C is also
"finally filtered-small", i.e., there is a final functor from a small filtered category to C.
This is occasionally useful, for example in the proof of the recognition theorem for ind-objects
(Proposition 6.1.5 in [Kashiwara2006]).
Our goal for this section is to show that the size of the filtered closure of an α-indexed
family of objects in C only depends on the size of α and the morphism types of C, not on
the size of the objects of C. More precisely, if α lives in Type w, the objects of C
live in Type u and the morphisms of C live in Type v, then we want
Small.{max v w} (FullSubcategory (filteredClosure f)).
The strategy is to define a type `AbstractFilteredClosure` which should be an inductive type
similar to `filteredClosure`, which lives in the correct universe and surjects onto the full
subcategory. The difficulty with this is that we need to define it at the same time as the map
`AbstractFilteredClosure → C`, as the coequalizer constructor depends on the actual morphisms
in `C`. This would require some kind of inductive-recursive definition, which Lean does not
allow. Our solution is to define a function `ℕ → Σ t : Type (max v w), t → C` by (strong)
induction and then take the union over all natural numbers, mimicking what one would do in a
set-theoretic setting.
ctor CategoryTheory.IsCofiltered.cofilteredClosure.below.eq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {α : Type w}
{f : α → C} {motive : (a : C) → CategoryTheory.IsCofiltered.cofilteredClosure f a → Prop} {j j' : C}
(a : CategoryTheory.IsCofiltered.cofilteredClosure f j) (a_1 : CategoryTheory.IsCofiltered.cofilteredClosure f j')
(f_1 f' : j ⟶ j'),
CategoryTheory.IsCofiltered.cofilteredClosure.below a →
motive j a →
CategoryTheory.IsCofiltered.cofilteredClosure.below a_1 →
motive j' a_1 → CategoryTheory.IsCofiltered.cofilteredClosure.below ⋯
ctor CategoryTheory.IsFiltered.filteredClosure.below.base E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {α : Type w}
{f : α → C} {motive : (a : C) → CategoryTheory.IsFiltered.filteredClosure f a → Prop} (x : α),
CategoryTheory.IsFiltered.filteredClosure.below ⋯
theorem CategoryTheory.IsFiltered.coeq.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {j j' : C}
(f f_1 : j ⟶ j'),
f = f_1 →
∀ (f' f'_1 : j ⟶ j'), f' = f'_1 → CategoryTheory.IsFiltered.coeq f f' = CategoryTheory.IsFiltered.coeq f_1 f'_1
theorem CategoryTheory.IsFiltered.max.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] (j j_1 : C),
j = j_1 → ∀ (j' j'_1 : C), j' = j'_1 → CategoryTheory.IsFiltered.max j j' = CategoryTheory.IsFiltered.max j_1 j'_1
ctor CategoryTheory.IsFiltered.filteredClosure.below.coeq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {α : Type w}
{f : α → C} {motive : (a : C) → CategoryTheory.IsFiltered.filteredClosure f a → Prop} {j j' : C}
(a : CategoryTheory.IsFiltered.filteredClosure f j) (a_1 : CategoryTheory.IsFiltered.filteredClosure f j')
(f_1 f' : j ⟶ j'),
CategoryTheory.IsFiltered.filteredClosure.below a →
motive j a →
CategoryTheory.IsFiltered.filteredClosure.below a_1 →
motive j' a_1 → CategoryTheory.IsFiltered.filteredClosure.below ⋯
ctor CategoryTheory.IsCofiltered.cofilteredClosure.below.min E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {α : Type w}
{f : α → C} {motive : (a : C) → CategoryTheory.IsCofiltered.cofilteredClosure f a → Prop} {j j' : C}
(a : CategoryTheory.IsCofiltered.cofilteredClosure f j) (a_1 : CategoryTheory.IsCofiltered.cofilteredClosure f j'),
CategoryTheory.IsCofiltered.cofilteredClosure.below a →
motive j a →
CategoryTheory.IsCofiltered.cofilteredClosure.below a_1 →
motive j' a_1 → CategoryTheory.IsCofiltered.cofilteredClosure.below ⋯
ctor CategoryTheory.IsCofiltered.cofilteredClosure.below.base E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {α : Type w}
{f : α → C} {motive : (a : C) → CategoryTheory.IsCofiltered.cofilteredClosure f a → Prop} (x : α),
CategoryTheory.IsCofiltered.cofilteredClosure.below ⋯
ctor CategoryTheory.IsFiltered.filteredClosure.below.max E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {α : Type w}
{f : α → C} {motive : (a : C) → CategoryTheory.IsFiltered.filteredClosure f a → Prop} {j j' : C}
(a : CategoryTheory.IsFiltered.filteredClosure f j) (a_1 : CategoryTheory.IsFiltered.filteredClosure f j'),
CategoryTheory.IsFiltered.filteredClosure.below a →
motive j a →
CategoryTheory.IsFiltered.filteredClosure.below a_1 →
motive j' a_1 → CategoryTheory.IsFiltered.filteredClosure.below ⋯
inductive CategoryTheory.IsFiltered.filteredClosure E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[CategoryTheory.IsFilteredOrEmpty C] → {α : Type w} → (α → C) → CategoryTheory.ObjectProperty C
The "filtered closure" of an α-indexed family of objects in C is the set of objects in C
obtained by starting with the family and successively adding maxima and coequalizers.
ctor CategoryTheory.IsFiltered.filteredClosure.base E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {α : Type w}
{f : α → C} (x : α), CategoryTheory.IsFiltered.filteredClosure f (f x)
ctor CategoryTheory.IsFiltered.filteredClosure.max E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {α : Type w}
{f : α → C} {j j' : C},
CategoryTheory.IsFiltered.filteredClosure f j →
CategoryTheory.IsFiltered.filteredClosure f j' →
CategoryTheory.IsFiltered.filteredClosure f (CategoryTheory.IsFiltered.max j j')
ctor CategoryTheory.IsFiltered.filteredClosure.coeq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {α : Type w}
{f : α → C} {j j' : C},
CategoryTheory.IsFiltered.filteredClosure f j →
CategoryTheory.IsFiltered.filteredClosure f j' →
∀ (f_1 f' : j ⟶ j'), CategoryTheory.IsFiltered.filteredClosure f (CategoryTheory.IsFiltered.coeq f_1 f')
instance CategoryTheory.IsFiltered.instIsFilteredOrEmptyFullSubcategoryFilteredClosure E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {α : Type w}
(f : α → C), CategoryTheory.IsFilteredOrEmpty (CategoryTheory.IsFiltered.filteredClosure f).FullSubcategory
The full subcategory induced by the filtered closure of a family of objects is filtered.
theorem CategoryTheory.IsFiltered.small_fullSubcategory_filteredClosure E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {α : Type w}
(f : α → C), Small.{max v w, u} (CategoryTheory.IsFiltered.filteredClosure f).FullSubcategory
instance CategoryTheory.IsFiltered.instEssentiallySmallFullSubcategoryFilteredClosure E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {α : Type w}
(f : α → C),
CategoryTheory.EssentiallySmall.{max v w, v, u} (CategoryTheory.IsFiltered.filteredClosure f).FullSubcategory
def CategoryTheory.IsFiltered.SmallFilteredIntermediate E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[CategoryTheory.IsFilteredOrEmpty C] →
{D : Type u₁} → [inst_2 : CategoryTheory.Category.{v₁, u₁} D] → CategoryTheory.Functor D C → Type (max u₁ v)
Every functor from a small category to a filtered category factors fully faithfully through a small filtered category. This is that category.
instance CategoryTheory.IsFiltered.instSmallCategorySmallFilteredIntermediate E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.IsFilteredOrEmpty C] →
{D : Type u₁} →
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] →
(F : CategoryTheory.Functor D C) →
CategoryTheory.SmallCategory (CategoryTheory.IsFiltered.SmallFilteredIntermediate F)
def CategoryTheory.IsFiltered.SmallFilteredIntermediate.factoring E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.IsFilteredOrEmpty C] →
{D : Type u₁} →
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] →
(F : CategoryTheory.Functor D C) →
CategoryTheory.Functor D (CategoryTheory.IsFiltered.SmallFilteredIntermediate F)
The first part of a factoring of a functor from a small category to a filtered category through a small filtered category.
def CategoryTheory.IsFiltered.SmallFilteredIntermediate.inclusion E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.IsFilteredOrEmpty C] →
{D : Type u₁} →
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] →
(F : CategoryTheory.Functor D C) →
CategoryTheory.Functor (CategoryTheory.IsFiltered.SmallFilteredIntermediate F) C
The second, fully faithful part of a factoring of a functor from a small category to a filtered category through a small filtered category.
instance CategoryTheory.IsFiltered.SmallFilteredIntermediate.instFaithfulInclusion E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {D : Type u₁}
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] (F : CategoryTheory.Functor D C),
(CategoryTheory.IsFiltered.SmallFilteredIntermediate.inclusion F).Faithful
instance CategoryTheory.IsFiltered.SmallFilteredIntermediate.instFullInclusion E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {D : Type u₁}
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] (F : CategoryTheory.Functor D C),
(CategoryTheory.IsFiltered.SmallFilteredIntermediate.inclusion F).Full
def CategoryTheory.IsFiltered.SmallFilteredIntermediate.factoringCompInclusion E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.IsFilteredOrEmpty C] →
{D : Type u₁} →
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] →
(F : CategoryTheory.Functor D C) →
(CategoryTheory.IsFiltered.SmallFilteredIntermediate.factoring F).comp
(CategoryTheory.IsFiltered.SmallFilteredIntermediate.inclusion F) ≅
F
The factorization through a small filtered category is in fact a factorization, up to natural isomorphism.
instance CategoryTheory.IsFiltered.SmallFilteredIntermediate.instIsFilteredOrEmpty E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {D : Type u₁}
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] (F : CategoryTheory.Functor D C),
CategoryTheory.IsFilteredOrEmpty (CategoryTheory.IsFiltered.SmallFilteredIntermediate F)
instance CategoryTheory.IsFiltered.SmallFilteredIntermediate.instOfNonempty E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsFilteredOrEmpty C] {D : Type u₁}
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] (F : CategoryTheory.Functor D C) [Nonempty D],
CategoryTheory.IsFiltered (CategoryTheory.IsFiltered.SmallFilteredIntermediate F)
inductive CategoryTheory.IsCofiltered.cofilteredClosure E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[CategoryTheory.IsCofilteredOrEmpty C] → {α : Type w} → (α → C) → CategoryTheory.ObjectProperty C
The "cofiltered closure" of an α-indexed family of objects in C is the set of objects in C
obtained by starting with the family and successively adding minima and equalizers.
ctor CategoryTheory.IsCofiltered.cofilteredClosure.base E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {α : Type w}
{f : α → C} (x : α), CategoryTheory.IsCofiltered.cofilteredClosure f (f x)
ctor CategoryTheory.IsCofiltered.cofilteredClosure.min E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {α : Type w}
{f : α → C} {j j' : C},
CategoryTheory.IsCofiltered.cofilteredClosure f j →
CategoryTheory.IsCofiltered.cofilteredClosure f j' →
CategoryTheory.IsCofiltered.cofilteredClosure f (CategoryTheory.IsCofiltered.min j j')
ctor CategoryTheory.IsCofiltered.cofilteredClosure.eq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {α : Type w}
{f : α → C} {j j' : C},
CategoryTheory.IsCofiltered.cofilteredClosure f j →
CategoryTheory.IsCofiltered.cofilteredClosure f j' →
∀ (f_1 f' : j ⟶ j'), CategoryTheory.IsCofiltered.cofilteredClosure f (CategoryTheory.IsCofiltered.eq f_1 f')
instance CategoryTheory.IsCofiltered.instIsCofilteredOrEmptyFullSubcategoryCofilteredClosure E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {α : Type w}
(f : α → C), CategoryTheory.IsCofilteredOrEmpty (CategoryTheory.IsCofiltered.cofilteredClosure f).FullSubcategory
The full subcategory induced by the cofiltered closure of a family is cofiltered.
theorem CategoryTheory.IsCofiltered.small_fullSubcategory_cofilteredClosure E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {α : Type w}
(f : α → C), Small.{max v w, u} (CategoryTheory.IsCofiltered.cofilteredClosure f).FullSubcategory
instance CategoryTheory.IsCofiltered.instEssentiallySmallFullSubcategoryCofilteredClosure E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {α : Type w}
(f : α → C),
CategoryTheory.EssentiallySmall.{max v w, v, u} (CategoryTheory.IsCofiltered.cofilteredClosure f).FullSubcategory
def CategoryTheory.IsCofiltered.SmallCofilteredIntermediate E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[CategoryTheory.IsCofilteredOrEmpty C] →
{D : Type u₁} → [inst_2 : CategoryTheory.Category.{v₁, u₁} D] → CategoryTheory.Functor D C → Type (max u₁ v)
Every functor from a small category to a cofiltered category factors fully faithfully through a small cofiltered category. This is that category.
instance CategoryTheory.IsCofiltered.instSmallCategorySmallCofilteredIntermediate E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.IsCofilteredOrEmpty C] →
{D : Type u₁} →
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] →
(F : CategoryTheory.Functor D C) →
CategoryTheory.SmallCategory (CategoryTheory.IsCofiltered.SmallCofilteredIntermediate F)
def CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.factoring E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.IsCofilteredOrEmpty C] →
{D : Type u₁} →
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] →
(F : CategoryTheory.Functor D C) →
CategoryTheory.Functor D (CategoryTheory.IsCofiltered.SmallCofilteredIntermediate F)
The first part of a factoring of a functor from a small category to a cofiltered category through a small filtered category.
def CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.inclusion E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.IsCofilteredOrEmpty C] →
{D : Type u₁} →
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] →
(F : CategoryTheory.Functor D C) →
CategoryTheory.Functor (CategoryTheory.IsCofiltered.SmallCofilteredIntermediate F) C
The second, fully faithful part of a factoring of a functor from a small category to a filtered category through a small filtered category.
instance CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.instFaithfulInclusion E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {D : Type u₁}
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] (F : CategoryTheory.Functor D C),
(CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.inclusion F).Faithful
instance CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.instFullInclusion E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {D : Type u₁}
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] (F : CategoryTheory.Functor D C),
(CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.inclusion F).Full
def CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.factoringCompInclusion E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.IsCofilteredOrEmpty C] →
{D : Type u₁} →
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] →
(F : CategoryTheory.Functor D C) →
(CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.factoring F).comp
(CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.inclusion F) ≅
F
The factorization through a small filtered category is in fact a factorization, up to natural isomorphism.
instance CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.instIsCofilteredOrEmpty E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {D : Type u₁}
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] (F : CategoryTheory.Functor D C),
CategoryTheory.IsCofilteredOrEmpty (CategoryTheory.IsCofiltered.SmallCofilteredIntermediate F)
instance CategoryTheory.IsCofiltered.SmallCofilteredIntermediate.instOfNonempty E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.IsCofilteredOrEmpty C] {D : Type u₁}
[inst_2 : CategoryTheory.Category.{v₁, u₁} D] (F : CategoryTheory.Functor D C) [Nonempty D],
CategoryTheory.IsCofiltered (CategoryTheory.IsCofiltered.SmallCofilteredIntermediate F)