Documentation

Mathlib.CategoryTheory.ConnectedComponents

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.

Instances For
    @[simp]
    theorem CategoryTheory.Functor.mapConnectedComponents_mk {J : Type u₁} [Category.{v₁, u₁} J] {K : Type uā‚‚} [Category.{vā‚‚, uā‚‚} K] (F : Functor J K) (j : J) :
    F.mapConnectedComponents ⟦j⟧ = ⟦F.obj j⟧
    @[implicit_reducible]

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

    Instances For

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

      Instances For

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

        Instances For

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

          Instances For
            @[reducible, inline]

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

            Instances For
              @[reducible, inline]

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

              Instances For
                @[reducible, inline]

                The connected component of an object in a category.

                Instances For

                  Each connected component of the category is nonempty.

                  @[implicit_reducible]
                  noncomputable instance CategoryTheory.instInhabitedComponent {J : Type u₁} [Category.{v₁, u₁} J] (j : ConnectedComponents J) :
                  Inhabited j.Component

                  Each connected component of the category is connected.

                  @[reducible, inline]

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

                  Instances For
                    @[reducible, inline]

                    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.

                    Instances For

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

                      Instances For
                        @[simp]
                        theorem CategoryTheory.decomposedTo_map (J : Type u₁) [Category.{v₁, u₁} J] {Xāœ Yāœ : (i : ConnectedComponents J) Ɨ i.Component} (g : Xāœ ⟶ Yāœ) :

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

                        Instances For