Connected components of a category #
Defines a type ConnectedComponents J
indexing the connected components of a category, and the
full subcategories giving each connected component: Component j : Type u₁
.
We show that each Component j
is in fact connected.
We show every category can be expressed as a disjoint union of its connected components, in
particular Decomposed J
is the category (definitionally) given by the sigma-type of the connected
components of J
, and it is shown that this is equivalent to J
.
This type indexes the connected components of the category J
.
Equations
Instances For
Equations
- CategoryTheory.instInhabitedConnectedComponents = { default := Quotient.mk'' default }
Given an index for a connected component, produce the actual component as a full subcategory.
Equations
- CategoryTheory.Component j = CategoryTheory.FullSubcategory fun (k : J) => Quotient.mk'' k = j
Instances For
Equations
- CategoryTheory.instCategoryComponent = CategoryTheory.FullSubcategory.category fun (k : J) => Quotient.mk'' k = j
The inclusion functor from a connected component to the whole category.
Equations
- CategoryTheory.Component.ι j = CategoryTheory.fullSubcategoryInclusion fun (k : J) => Quotient.mk'' k = j
Instances For
Equations
- CategoryTheory.instFullComponentInstCategoryComponentι = CategoryTheory.FullSubcategory.full fun (k : J) => Quotient.mk'' k = j
Equations
- (_ : CategoryTheory.Faithful (CategoryTheory.Component.ι j)) = (_ : CategoryTheory.Faithful (CategoryTheory.fullSubcategoryInclusion fun (k : J) => Quotient.mk'' k = j))
Each connected component of the category is nonempty.
Equations
- (_ : Nonempty (CategoryTheory.Component j)) = (_ : Nonempty (CategoryTheory.Component j))
Equations
- CategoryTheory.instInhabitedComponent j = Classical.inhabited_of_nonempty'
Each connected component of the category is connected.
Equations
The disjoint union of J
s connected components, written explicitly as a sigma-type with the
category structure.
This category is equivalent to J
.
Equations
Instances For
The inclusion of each component into the decomposed category. This is just sigma.incl
but having
this abbreviation helps guide typeclass search to get the right category instance on decomposed J
.
Equations
Instances For
The forward direction of the equivalence between the decomposed category and the original.
Equations
- CategoryTheory.decomposedTo J = CategoryTheory.Sigma.desc CategoryTheory.Component.ι
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
Equations
Equations
- CategoryTheory.instIsEquivalenceDecomposedSigmaConnectedComponentsComponentInstCategoryComponentDecomposedTo = CategoryTheory.Equivalence.ofFullyFaithfullyEssSurj (CategoryTheory.decomposedTo J)
This gives that any category is equivalent to a disjoint union of connected categories.
Equations
- CategoryTheory.decomposedEquiv = CategoryTheory.Functor.asEquivalence (CategoryTheory.decomposedTo J)