Documentation

LeanPool.Polylean.Complexes.Structures.Category

LeanPool.Polylean.Complexes.Structures.Category #

Imported Lean Pool material for LeanPool.Polylean.Complexes.Structures.Category.

class LeanPool.Polylean.CategoryStruct (Obj : Sort u_1) extends LeanPool.Polylean.Quiver Obj :
Sort (max u_1 (u_2 + 1))

The definition of a CategoryStruct, a barebones structure for a category containing none of the axioms (following mathlib).

  • hom : ObjObjSort u_2
  • id (X : Obj) : X X

    The identity morphism at an object.

  • comp {X Y Z : Obj} : (X Y) → (Y Z) → (X Z)

    Composition of composable morphisms.

Instances

    Identity morphism notation.

    Equations
    Instances For

      Morphism composition notation.

      Equations
      Instances For

        Reverse-order morphism composition notation.

        Equations
        Instances For
          class LeanPool.Polylean.Category (Obj : Sort u_1) extends LeanPool.Polylean.CategoryStruct Obj :
          Sort (max u_1 (u_2 + 1))

          The definition of a Category.

          Instances
            structure LeanPool.Polylean.Category.Functor {C : Sort u_1} {D : Sort u_2} (𝓒 : Category C) (𝓓 : Category D) extends 𝓒.PreFunctor 𝓓.toQuiver :
            Sort (max (max (max (max 1 u_1) u_2) u_3) u_4)

            A functor is a morphism of categories.

            Instances For

              Functor notation between categories.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def LeanPool.Polylean.Category.Functor.id (C : Sort u_1) [𝓒 : Category C] :
                𝓒 𝓒

                The identity functor.

                Equations
                Instances For
                  def LeanPool.Polylean.Category.Functor.comp {C : Sort u_1} {D : Sort u_2} {E : Sort u_3} {𝓒 : Category C} {𝓓 : Category D} {𝓔 : Category E} (F : 𝓒 𝓓) (G : 𝓓 𝓔) :
                  𝓒 𝓔

                  Composition of functors.

                  Equations
                  Instances For

                    Functor composition notation.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      @[simp]
                      theorem LeanPool.Polylean.Category.Functor.comp_obj {Obj✝ : Sort u_1} {Obj✝¹ : Sort u_2} {𝓒✝ : Category Obj✝} {𝓓✝ : Category Obj✝¹} {Ψ : 𝓒✝ 𝓓✝} {Obj✝² : Sort u_5} {𝓓✝¹ : Category Obj✝²} {Φ : 𝓓✝ 𝓓✝¹} :
                      Φ.obj Ψ.obj = (Ψ Φ).obj

                      The object map of a composed functor is the composite object map.

                      @[simp]
                      theorem LeanPool.Polylean.Category.Functor.comp_obj' {Obj✝ : Sort u_1} {Obj✝¹ : Sort u_2} {𝓒✝ : Category Obj✝} {𝓓✝ : Category Obj✝¹} {Ψ : 𝓒✝ 𝓓✝} {Obj✝² : Sort u_5} {𝓓✝¹ : Category Obj✝²} {Φ : 𝓓✝ 𝓓✝¹} (x : Obj✝) :
                      Φ.obj (Ψ.obj x) = (Ψ Φ).obj x

                      Pointwise form of Category.Functor.comp_obj.

                      def LeanPool.Polylean.Path.compose {C : Sort u_1} [𝓒 : Category C] {X Y : C} :
                      Path X Y → (X Y)

                      Compose the arrows appearing in a category path.

                      Equations
                      Instances For
                        @[simp]
                        theorem LeanPool.Polylean.Path.compose_nil {C : Sort u_2} [𝓒 : Category C] {X : C} :
                        theorem LeanPool.Polylean.Path.compose_append {C : Sort u_1} [𝓒 : Category C] {X Y Z : C} {p : Path X Y} {q : Path Y Z} :

                        Composing an appended path equals composing the two pieces.

                        @[implicit_reducible, instance 100]

                        Paths in a quiver form a category under concatenation.

                        Equations
                        • One or more equations did not get rendered due to their size.

                        Embedding of a Quiver into its category of paths.

                        Equations
                        Instances For