The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V24. Category theory

Mathlib.CategoryTheory.ConnectedComponents

27 declarations. Mathlib docs · Source

theorem CategoryTheory.ObjectProperty.FullSubcategory.mk.hcongr_5 E1 #

∀ (C C' : Type u),
  C = C' →
    ∀ (inst : CategoryTheory.Category.{v, u} C) (inst' : CategoryTheory.Category.{v, u} C'),
      inst ≍ inst' →
        ∀ (P : CategoryTheory.ObjectProperty C) (P' : CategoryTheory.ObjectProperty C'),
          P ≍ P' →
            ∀ (obj : C) (obj' : C'),
              obj ≍ obj' →
                ∀ (property : P obj) (property' : P' obj'),
                  property ≍ property' → { obj := obj, property := property } ≍ { obj := obj', property := property' }

def CategoryTheory.ConnectedComponents E1 #

(J : Type u₁) → [CategoryTheory.Category.{v₁, u₁} J] → Type u₁

This type indexes the connected components of the category J.

def CategoryTheory.Functor.mapConnectedComponents E1 #

{J : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} J] →
    {K : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} K] →
        CategoryTheory.Functor J K → CategoryTheory.ConnectedComponents J → CategoryTheory.ConnectedComponents K

The map ConnectedComponents J → ConnectedComponents K induced by a functor J ⥤ K.

theorem CategoryTheory.Functor.mapConnectedComponents_mk E0 #

∀ {J : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} J] {K : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} K]
  (F : CategoryTheory.Functor J K) (j : J), F.mapConnectedComponents ⟦j⟧ = ⟦F.obj j⟧

instance CategoryTheory.instInhabitedConnectedComponents E0 #

{J : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} J] → [Inhabited J] → Inhabited (CategoryTheory.ConnectedComponents J)

def CategoryTheory.ConnectedComponents.functorToDiscrete E1 #

{J : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} J] →
    (X : Type u_1) → (CategoryTheory.ConnectedComponents J → X) → CategoryTheory.Functor J (CategoryTheory.Discrete X)

Every function from connected components of a category gives a functor to discrete category

def CategoryTheory.ConnectedComponents.liftFunctor E1 #

(J : Type u_2) →
  [inst : CategoryTheory.Category.{v_1, u_2} J] →
    {X : Type u_1} → CategoryTheory.Functor J (CategoryTheory.Discrete X) → CategoryTheory.ConnectedComponents J → X

Every functor to a discrete category gives a function from connected components

def CategoryTheory.ConnectedComponents.typeToCatHomEquiv E1 #

(J : Type u_2) →
  [inst : CategoryTheory.Category.{v_1, u_2} J] →
    (X : Type u_1) → (CategoryTheory.ConnectedComponents J → X) ≃ CategoryTheory.Functor J (CategoryTheory.Discrete X)

Functions from connected components and functors to discrete category are in bijection

def CategoryTheory.ConnectedComponents.objectProperty E1 #

{J : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} J] → CategoryTheory.ConnectedComponents J → CategoryTheory.ObjectProperty J

Given an index for a connected component, this is the property of the objects which belong to this component.

abbrev CategoryTheory.ConnectedComponents.Component E1 #

{J : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} J] → CategoryTheory.ConnectedComponents J → Type u₁

Given an index for a connected component, produce the actual component as a full subcategory.

abbrev CategoryTheory.ConnectedComponents.ι E1 #

{J : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} J] →
    (j : CategoryTheory.ConnectedComponents J) → CategoryTheory.Functor j.Component J

The inclusion functor from a connected component to the whole category.

abbrev CategoryTheory.ConnectedComponents.mk E1 #

{J : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} J] → J → CategoryTheory.ConnectedComponents J

The connected component of an object in a category.

instance CategoryTheory.instNonemptyComponent E0 #

∀ {J : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} J] (j : CategoryTheory.ConnectedComponents J),
  Nonempty j.Component

Each connected component of the category is nonempty.

instance CategoryTheory.instInhabitedComponent E0 #

{J : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} J] → (j : CategoryTheory.ConnectedComponents J) → Inhabited j.Component

instance CategoryTheory.instIsConnectedComponent E0 #

∀ {J : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} J] (j : CategoryTheory.ConnectedComponents J),
  CategoryTheory.IsConnected j.Component

Each connected component of the category is connected.

abbrev CategoryTheory.Decomposed E1 #

(J : Type u₁) → [CategoryTheory.Category.{v₁, u₁} J] → Type u₁

The disjoint union of J's connected components, written explicitly as a sigma-type with the category structure. This category is equivalent to J.

abbrev CategoryTheory.inclusion E1 #

{J : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} J] →
    (j : CategoryTheory.ConnectedComponents J) → CategoryTheory.Functor j.Component (CategoryTheory.Decomposed J)

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.

def CategoryTheory.decomposedTo E1 #

(J : Type u₁) → [inst : CategoryTheory.Category.{v₁, u₁} J] → CategoryTheory.Functor (CategoryTheory.Decomposed J) J

The forward direction of the equivalence between the decomposed category and the original.

theorem CategoryTheory.decomposedTo_map E0 #

∀ (J : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} J]
  {X Y : (i : CategoryTheory.ConnectedComponents J) × i.Component} (g : X ⟶ Y),
  (CategoryTheory.decomposedTo J).map g = CategoryTheory.Sigma.descMap CategoryTheory.ConnectedComponents.ι X Y g

theorem CategoryTheory.decomposedTo_obj E0 #

∀ (J : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} J]
  (X : (i : CategoryTheory.ConnectedComponents J) × i.Component), (CategoryTheory.decomposedTo J).obj X = X.snd.obj

theorem CategoryTheory.inclusion_comp_decomposedTo E0 #

∀ {J : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} J] (j : CategoryTheory.ConnectedComponents J),
  (CategoryTheory.inclusion j).comp (CategoryTheory.decomposedTo J) = j.ι

instance CategoryTheory.instFullDecomposedDecomposedTo E0 #

∀ {J : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} J], (CategoryTheory.decomposedTo J).Full

instance CategoryTheory.instFaithfulDecomposedDecomposedTo E0 #

∀ {J : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} J], (CategoryTheory.decomposedTo J).Faithful

instance CategoryTheory.instEssSurjDecomposedDecomposedTo E0 #

∀ {J : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} J], (CategoryTheory.decomposedTo J).EssSurj

instance CategoryTheory.instIsEquivalenceDecomposedDecomposedTo E0 #

∀ {J : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} J], (CategoryTheory.decomposedTo J).IsEquivalence

def CategoryTheory.decomposedEquiv E1 #

{J : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} J] → CategoryTheory.Decomposed J ≌ J

This gives that any category is equivalent to a disjoint union of connected categories.

theorem CategoryTheory.decomposedEquiv_functor E0 #

∀ {J : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} J],
  CategoryTheory.decomposedEquiv.functor = CategoryTheory.decomposedTo J