Documentation

Mathlib.CategoryTheory.Groupoid.FreeGroupoid

Free groupoid on a quiver #

This file defines the free groupoid on a quiver, the lifting of a prefunctor to its unique extension as a functor from the free groupoid, and proves uniqueness of this extension.

Main results #

Given the type V and a quiver instance on V:

Implementation notes #

The free groupoid is first defined by symmetrifying the quiver, taking the induced path category and finally quotienting by the reducibility relation.

@[reducible, inline]
abbrev Quiver.Hom.toPosPath {V : Type u} [Quiver V] {X Y : V} (f : X Y) :
X Y

Shorthand for the "forward" arrow corresponding to f in paths <| symmetrify V

Equations
Instances For
    @[reducible, inline]
    abbrev Quiver.Hom.toNegPath {V : Type u} [Quiver V] {X Y : V} (f : X Y) :
    Y X

    Shorthand for the "forward" arrow corresponding to f in paths <| symmetrify V

    Equations
    Instances For
      def Quiver.FreeGroupoid (V : Type u_1) [Q : Quiver V] :
      Type u_1

      The underlying vertices of the free groupoid

      Equations
      Instances For
        def Quiver.FreeGroupoid.quotInv {V : Type u} [Quiver V] {X Y : Quiver.FreeGroupoid V} (f : X Y) :
        Y X

        The inverse of an arrow in the free groupoid

        Equations
        Instances For
          @[instance_reducible]
          Equations

          The inclusion of the quiver on V to the underlying quiver on FreeGroupoid V

          Equations
          Instances For
            theorem Quiver.FreeGroupoid.hom_rec {V : Type u} [Quiver V] {motive : {x y : Quiver.FreeGroupoid V} → (x y) → Prop} (of_map : ∀ {x y : V} (f : x y), motive ((of V).map f)) (inv_of_map : ∀ {x y : V} (f : x y), motive (CategoryTheory.inv ((of V).map f))) (id : ∀ (x : V), motive (CategoryTheory.CategoryStruct.id ((of V).obj x))) (comp : ∀ {x y z : Quiver.FreeGroupoid V} (f : x y) (g : y z), motive fmotive gmotive (CategoryTheory.CategoryStruct.comp f g)) {x y : Quiver.FreeGroupoid V} (f : x y) :
            motive f

            Induction principle for proving a property for all the morphisms in the free groupoid of a quiver V: it suffices to prove the property for morphisms (of V).map f coming for the quiver V and their inverses, and that the property is multiplicative (i.e. stable under composition and satisfied by identities).

            theorem Quiver.FreeGroupoid.lift_spec {V : Type u} [Quiver V] {V' : Type u'} [CategoryTheory.Groupoid V'] (φ : V ⥤q V') :
            theorem Quiver.FreeGroupoid.lift_unique {V : Type u} [Quiver V] {V' : Type u'} [CategoryTheory.Groupoid V'] (φ : V ⥤q V') (Φ : CategoryTheory.Functor (Quiver.FreeGroupoid V) V') ( : of V ⋙q Φ.toPrefunctor = φ) :
            Φ = lift φ

            The functor of free groupoid induced by a prefunctor of quivers

            Equations
            Instances For
              theorem Quiver.freeGroupoidFunctor_comp {V : Type u} [Quiver V] {V' : Type u'} [Quiver V'] {V'' : Type u''} [Quiver V''] (φ : V ⥤q V') (φ' : V' ⥤q V'') :