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.Category.ReflQuiv

82 declarations. Mathlib docs · Source

theorem CategoryTheory.ReflPrefunctor.mk.congr_simp E1 #

∀ {V : Type u₁} [inst : CategoryTheory.ReflQuiver V] {W : Type u₂} [inst_1 : CategoryTheory.ReflQuiver W]
  (toPrefunctor toPrefunctor_1 : V ⥤q W) (e_toPrefunctor : toPrefunctor = toPrefunctor_1)
  (map_id :
    ∀ (X : V), toPrefunctor.map (CategoryTheory.ReflQuiver.id X) = CategoryTheory.ReflQuiver.id (toPrefunctor.obj X)),
  { toPrefunctor := toPrefunctor, map_id := map_id } = { toPrefunctor := toPrefunctor_1, map_id := ⋯ }

def CategoryTheory.ReflQuiv E1 #

Type (max (u + 1) u (v + 1))

Category of refl quivers.

instance CategoryTheory.ReflQuiv.instCoeSortType E0 #

CoeSort CategoryTheory.ReflQuiv (Type u)

instance CategoryTheory.ReflQuiv.instReflQuiverα E0 #

(C : CategoryTheory.ReflQuiv) → CategoryTheory.ReflQuiver ↑C

def CategoryTheory.ReflQuiv.toQuiv E1 #

CategoryTheory.ReflQuiv → CategoryTheory.Quiv

The underlying quiver of a reflexive quiver

def CategoryTheory.ReflQuiv.of E1 #

(C : Type u) → [CategoryTheory.ReflQuiver C] → CategoryTheory.ReflQuiv

Construct a bundled ReflQuiv from the underlying type and the typeclass.

def CategoryTheory.ReflQuiv.delabOf E1 #

Lean.PrettyPrinter.Delaborator.Delab

This prints CategoryTheory.ReflQuiv.of X as ↧X.

instance CategoryTheory.ReflQuiv.instInhabited E0 #

Inhabited CategoryTheory.ReflQuiv

theorem CategoryTheory.ReflQuiv.of_val E0 #

∀ (C : Type u) [inst : CategoryTheory.ReflQuiver C], ↑↧C = C

instance CategoryTheory.ReflQuiv.category E0 #

CategoryTheory.LargeCategory CategoryTheory.ReflQuiv

Category structure on ReflQuiv

theorem CategoryTheory.ReflQuiv.id_eq_id E1 #

∀ (X : CategoryTheory.ReflQuiv), CategoryTheory.CategoryStruct.id X = 𝟭rq ↑X

theorem CategoryTheory.ReflQuiv.comp_eq_comp E1 #

∀ {X Y Z : CategoryTheory.ReflQuiv} (F : X ⟶ Y) (G : Y ⟶ Z), CategoryTheory.CategoryStruct.comp F G = F ⋙rq G

theorem CategoryTheory.ReflQuiv.id_obj E0 #

∀ (X : CategoryTheory.ReflQuiv) (x : ↑X), (CategoryTheory.CategoryStruct.id X).obj x = x

theorem CategoryTheory.ReflQuiv.id_map E0 #

∀ {X : CategoryTheory.ReflQuiv} {x y : ↑X} (f : x ⟶ y), (CategoryTheory.CategoryStruct.id X).map f = f

theorem CategoryTheory.ReflQuiv.comp_obj E0 #

∀ {X Y Z : CategoryTheory.ReflQuiv} (f : X ⟶ Y) (g : Y ⟶ Z) (x : ↑X),
  (CategoryTheory.CategoryStruct.comp f g).obj x = g.obj (f.obj x)

theorem CategoryTheory.ReflQuiv.comp_map E0 #

∀ {X Y Z : CategoryTheory.ReflQuiv} (f : X ⟶ Y) (g : Y ⟶ Z) {x y : ↑X} (a : x ⟶ y),
  (CategoryTheory.CategoryStruct.comp f g).map a = g.map (f.map a)

def CategoryTheory.ReflQuiv.forget E1 #

CategoryTheory.Functor CategoryTheory.Cat CategoryTheory.ReflQuiv

The forgetful functor from categories to quivers.

theorem CategoryTheory.ReflQuiv.forget_map E0 #

∀ {X Y : CategoryTheory.Cat} (F : X ⟶ Y), CategoryTheory.ReflQuiv.forget.map F = F.toFunctor.toReflPrefunctor

theorem CategoryTheory.ReflQuiv.forget_obj E0 #

∀ (C : CategoryTheory.Cat), CategoryTheory.ReflQuiv.forget.obj C = ↧↑C

theorem CategoryTheory.ReflQuiv.forget_faithful E1 #

∀ {C D : CategoryTheory.Cat} (F G : CategoryTheory.Functor ↑C ↑D),
  CategoryTheory.ReflQuiv.forget.map F.toCatHom = CategoryTheory.ReflQuiv.forget.map G.toCatHom → F = G

instance CategoryTheory.ReflQuiv.forget.Faithful E0 #

CategoryTheory.ReflQuiv.forget.Faithful

def CategoryTheory.ReflQuiv.forgetToQuiv E1 #

CategoryTheory.Functor CategoryTheory.ReflQuiv CategoryTheory.Quiv

The forgetful functor from categories to quivers.

theorem CategoryTheory.ReflQuiv.forgetToQuiv_obj E0 #

∀ (V : CategoryTheory.ReflQuiv), CategoryTheory.ReflQuiv.forgetToQuiv.obj V = ↧↑V

theorem CategoryTheory.ReflQuiv.forgetToQuiv_map E0 #

∀ {X Y : CategoryTheory.ReflQuiv} (F : X ⟶ Y), CategoryTheory.ReflQuiv.forgetToQuiv.map F = F.toPrefunctor

theorem CategoryTheory.ReflQuiv.forgetToQuiv_faithful E1 #

∀ {V W : CategoryTheory.ReflQuiv} (F G : ↑V ⥤rq ↑W),
  CategoryTheory.ReflQuiv.forgetToQuiv.map F = CategoryTheory.ReflQuiv.forgetToQuiv.map G → F = G

instance CategoryTheory.ReflQuiv.forgetToQuiv.Faithful E0 #

CategoryTheory.ReflQuiv.forgetToQuiv.Faithful

theorem CategoryTheory.ReflQuiv.forget_forgetToQuiv E1 #

CategoryTheory.ReflQuiv.forget.comp CategoryTheory.ReflQuiv.forgetToQuiv = CategoryTheory.Quiv.forget

def CategoryTheory.ReflQuiv.isoOfQuivIso E1 #

{V W : Type u} →
  [inst : CategoryTheory.ReflQuiver V] →
    [inst_1 : CategoryTheory.ReflQuiver W] →
      (e : ↧V ≅ ↧W) →
        (∀ (X : V), e.hom.map (CategoryTheory.ReflQuiver.id X) = CategoryTheory.ReflQuiver.id (e.hom.obj X)) → (↧V ≅ ↧W)

An isomorphism of quivers lifts to an isomorphism of reflexive quivers given a suitable compatibility with the identities.

def CategoryTheory.ReflQuiv.isoOfEquiv E1 #

{V W : Type u} →
  [inst : CategoryTheory.ReflQuiver V] →
    [inst_1 : CategoryTheory.ReflQuiver W] →
      (e : V ≃ W) →
        (he : (X Y : V) → (X ⟶ Y) ≃ (e X ⟶ e Y)) →
          (∀ (X : V), (he X X) (CategoryTheory.ReflQuiver.id X) = CategoryTheory.ReflQuiver.id (e X)) → (↧V ≅ ↧W)

Compatible equivalences of types and hom-types induce an isomorphism of reflexive quivers.

def CategoryTheory.ReflPrefunctor.toFunctor E1 #

{C D : CategoryTheory.Cat} →
  (F : ↧↑C ⟶ ↧↑D) →
    (∀ {X Y Z : ↑C} (f : X ⟶ Y) (g : Y ⟶ Z),
        F.map (CategoryTheory.CategoryStruct.comp f g) = CategoryTheory.CategoryStruct.comp (F.map f) (F.map g)) →
      CategoryTheory.Functor ↑C ↑D

A refl prefunctor can be promoted to a functor if it respects composition.

inductive CategoryTheory.Cat.FreeReflRel E1 #

(V : Type u_1) → [inst : CategoryTheory.ReflQuiver V] → (X Y : CategoryTheory.Paths V) → (X ⟶ Y) → (X ⟶ Y) → Prop

The hom relation that identifies the specified reflexivity arrows with the nil paths

ctor CategoryTheory.Cat.FreeReflRel.mk E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {X : V},
  CategoryTheory.Cat.FreeReflRel V X X (CategoryTheory.ReflQuiver.id X).toPath Quiver.Path.nil

def CategoryTheory.Cat.FreeRefl E1 #

(V : Type u_1) → [CategoryTheory.ReflQuiver V] → Type u_1

A reflexive quiver generates a free category, defined as a quotient of the free category on its underlying quiver (called the "path category") by the hom relation that uses the specified reflexivity arrows as the identity arrows.

instance CategoryTheory.Cat.FreeRefl.instCategory E0 #

{V : Type u_1} →
  [inst : CategoryTheory.ReflQuiver V] → CategoryTheory.Category.{max u_1 u_2, u_1} (CategoryTheory.Cat.FreeRefl V)

def CategoryTheory.Cat.FreeRefl.mk E1 #

{V : Type u_1} → [inst : CategoryTheory.ReflQuiver V] → V → CategoryTheory.Cat.FreeRefl V

Constructor for objects in the free category on a reflexive quiver.

def CategoryTheory.Cat.FreeRefl.induction E1 #

{V : Type u_1} →
  [inst : CategoryTheory.ReflQuiver V] →
    {motive : CategoryTheory.Cat.FreeRefl V → Sort u_2} →
      ((v : V) → motive (CategoryTheory.Cat.FreeRefl.mk v)) → (x : CategoryTheory.Cat.FreeRefl V) → motive x

Induction principle for the objects of the free category on a reflexive quiver.

def CategoryTheory.Cat.FreeRefl.quotientFunctor E1 #

(V : Type u_1) →
  [inst : CategoryTheory.ReflQuiver V] → CategoryTheory.Functor (CategoryTheory.Paths V) (CategoryTheory.Cat.FreeRefl V)

The quotient functor associated to a quotient category defines a natural map from the free category on the underlying quiver of a refl quiver to the free category on the reflexive quiver.

instance CategoryTheory.Cat.FreeRefl.instFullPathsQuotientFunctor E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V], (CategoryTheory.Cat.FreeRefl.quotientFunctor V).Full

def CategoryTheory.Cat.FreeRefl.homMk E1 #

{V : Type u_1} →
  [inst : CategoryTheory.ReflQuiver V] →
    {v w : V} → (v ⟶ w) → (CategoryTheory.Cat.FreeRefl.mk v ⟶ CategoryTheory.Cat.FreeRefl.mk w)

Constructor for morphisms in FreeRefl.

theorem CategoryTheory.Cat.FreeRefl.homMk_id E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] (v : V),
  CategoryTheory.Cat.FreeRefl.homMk (CategoryTheory.ReflQuiver.id v) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Cat.FreeRefl.mk v)

theorem CategoryTheory.Cat.FreeRefl.quotientFunctor_map_nil E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] (x : CategoryTheory.Paths V),
  (CategoryTheory.Cat.FreeRefl.quotientFunctor V).map Quiver.Path.nil =
    CategoryTheory.CategoryStruct.id ((CategoryTheory.Cat.FreeRefl.quotientFunctor V).obj x)

theorem CategoryTheory.Cat.FreeRefl.quotientFunctor_map_cons E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {x y z : CategoryTheory.Paths V} (p : x ⟶ y) (q : y ⟶ z),
  (CategoryTheory.Cat.FreeRefl.quotientFunctor V).map (Quiver.Path.cons p q) =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Cat.FreeRefl.quotientFunctor V).map p)
      (CategoryTheory.Cat.FreeRefl.homMk q)

def CategoryTheory.Cat.FreeRefl.morphismPropertyHomMk E1 #

(V : Type u_1) → [inst : CategoryTheory.ReflQuiver V] → CategoryTheory.MorphismProperty (CategoryTheory.Cat.FreeRefl V)

The property of morphisms in FreeRefl V which are of the form homMk f for some morphism f : x ⟶ y in V.

theorem CategoryTheory.Cat.FreeRefl.morphismPropertyHomMk_homMk E1 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {x y : V} (e : x ⟶ y),
  CategoryTheory.Cat.FreeRefl.morphismPropertyHomMk V (CategoryTheory.Cat.FreeRefl.homMk e)

theorem CategoryTheory.Cat.FreeRefl.hom_induction E1 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {motive : {x y : CategoryTheory.Cat.FreeRefl V} → (x ⟶ y) → Prop},
  (∀ (x : V), motive (CategoryTheory.Cat.FreeRefl.homMk (CategoryTheory.ReflQuiver.id x))) →
    (∀ {x y z : V} (f : CategoryTheory.Cat.FreeRefl.mk x ⟶ CategoryTheory.Cat.FreeRefl.mk y) (g : y ⟶ z),
        motive f → motive (CategoryTheory.CategoryStruct.comp f (CategoryTheory.Cat.FreeRefl.homMk g))) →
      ∀ {x y : CategoryTheory.Cat.FreeRefl V} (f : x ⟶ y), motive f

theorem CategoryTheory.Cat.FreeRefl.multiplicativeClosure_morphismPropertyHomMk E1 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V],
  (CategoryTheory.Cat.FreeRefl.morphismPropertyHomMk V).multiplicativeClosure = ⊤

theorem CategoryTheory.Cat.FreeRefl.morphismProperty_eq_top E1 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V]
  {W : CategoryTheory.MorphismProperty (CategoryTheory.Cat.FreeRefl V)} [W.IsMultiplicative],
  (∀ {x y : V} (e : x ⟶ y), W (CategoryTheory.Cat.FreeRefl.homMk e)) → W = ⊤

def CategoryTheory.Cat.FreeRefl.lift E1 #

{V : Type u_1} →
  [inst : CategoryTheory.ReflQuiver V] →
    {D : Type u_2} →
      [inst_1 : CategoryTheory.Category.{v_1, u_2} D] →
        V ⥤rq D → CategoryTheory.Functor (CategoryTheory.Cat.FreeRefl V) D

Constructor for functors from FreeRefl. (See also lift' for which the data is unbundled.)

theorem CategoryTheory.Cat.FreeRefl.lift_obj E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_1, u_2} D]
  (F : V ⥤rq D) (v : V), (CategoryTheory.Cat.FreeRefl.lift F).obj (CategoryTheory.Cat.FreeRefl.mk v) = F.obj v

theorem CategoryTheory.Cat.FreeRefl.lift_map E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_1, u_2} D]
  (F : V ⥤rq D) {v w : V} (f : v ⟶ w),
  (CategoryTheory.Cat.FreeRefl.lift F).map (CategoryTheory.Cat.FreeRefl.homMk f) = F.map f

def CategoryTheory.Cat.FreeRefl.lift' E1 #

{V : Type u_1} →
  [inst : CategoryTheory.ReflQuiver V] →
    {D : Type u_2} →
      [inst_1 : CategoryTheory.Category.{v_1, u_2} D] →
        (obj : V → D) →
          (map : {v w : V} → (v ⟶ w) → (obj v ⟶ obj w)) →
            (∀ (v : V), map (CategoryTheory.ReflQuiver.id v) = CategoryTheory.CategoryStruct.id (obj v)) →
              CategoryTheory.Functor (CategoryTheory.Cat.FreeRefl V) D

Constructor for functors from FreeRefl. (See also lift for which the data is bundled.)

theorem CategoryTheory.Cat.FreeRefl.lift'_obj E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_1, u_2} D]
  (obj : V → D) (map : {v w : V} → (v ⟶ w) → (obj v ⟶ obj w))
  (map_id : ∀ (v : V), map (CategoryTheory.ReflQuiver.id v) = CategoryTheory.CategoryStruct.id (obj v)) (v : V),
  (CategoryTheory.Cat.FreeRefl.lift' obj (fun {v w} ↦ map) map_id).obj (CategoryTheory.Cat.FreeRefl.mk v) = obj v

theorem CategoryTheory.Cat.FreeRefl.lift'_map E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_1, u_2} D]
  (obj : V → D) (map : {v w : V} → (v ⟶ w) → (obj v ⟶ obj w))
  (map_id : ∀ (v : V), map (CategoryTheory.ReflQuiver.id v) = CategoryTheory.CategoryStruct.id (obj v)) {v w : V}
  (f : v ⟶ w),
  (CategoryTheory.Cat.FreeRefl.lift' obj (fun {v w} ↦ map) map_id).map (CategoryTheory.Cat.FreeRefl.homMk f) = map f

theorem CategoryTheory.Cat.FreeRefl.lift_unique' E1 #

∀ {V : Type u_2} [inst : CategoryTheory.ReflQuiver V] {D : Type u_4} [inst_1 : CategoryTheory.Category.{v_1, u_4} D]
  (F₁ F₂ : CategoryTheory.Functor (CategoryTheory.Cat.FreeRefl V) D),
  (CategoryTheory.Cat.FreeRefl.quotientFunctor V).comp F₁ = (CategoryTheory.Cat.FreeRefl.quotientFunctor V).comp F₂ →
    F₁ = F₂

This is a specialization of Quotient.lift_unique' rather than Quotient.lift_unique, hence the prime in the name.

theorem CategoryTheory.Cat.FreeRefl.functor_ext E1 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_1, u_2} D]
  {F G : CategoryTheory.Functor (CategoryTheory.Cat.FreeRefl V) D}
  (h₁ : ∀ (v : V), F.obj (CategoryTheory.Cat.FreeRefl.mk v) = G.obj (CategoryTheory.Cat.FreeRefl.mk v)),
  (∀ {v w : V} (f : v ⟶ w),
      F.map (CategoryTheory.Cat.FreeRefl.homMk f) =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯)
          (CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Cat.FreeRefl.homMk f))
            (CategoryTheory.eqToHom ⋯))) →
    F = G

theorem CategoryTheory.Cat.FreeRefl.quotientFunctor_map_id E0 #

∀ (V : Type u_2) [inst : CategoryTheory.ReflQuiver V] (X : V),
  (CategoryTheory.Cat.FreeRefl.quotientFunctor V).map (CategoryTheory.ReflQuiver.id X).toPath =
    CategoryTheory.CategoryStruct.id ((CategoryTheory.Cat.FreeRefl.quotientFunctor V).obj X)

instance CategoryTheory.Cat.FreeRefl.instUnique E0 #

(V : Type u_2) → [inst : CategoryTheory.ReflQuiver V] → [Unique V] → Unique (CategoryTheory.Cat.FreeRefl V)

instance CategoryTheory.Cat.FreeRefl.instUniqueHom E0 #

(V : Type u_2) →
  [inst : CategoryTheory.ReflQuiver V] →
    [Unique V] → [(x y : V) → Unique (x ⟶ y)] → (x y : CategoryTheory.Cat.FreeRefl V) → Unique (x ⟶ y)

instance CategoryTheory.Cat.FreeRefl.instSubsingletonHomOfUnique E0 #

∀ (V : Type u_2) [inst : CategoryTheory.ReflQuiver V] [Unique V] [∀ (x y : V), Subsingleton (x ⟶ y)]
  (x y : CategoryTheory.Cat.FreeRefl V), Subsingleton (x ⟶ y)

def CategoryTheory.Cat.toFreeRefl E1 #

(V : Type u_1) → [inst : CategoryTheory.ReflQuiver V] → V ⥤rq CategoryTheory.Cat.FreeRefl V

Given a refl quiver V, this is the refl functor V ⥤rq FreeRefl V which is the counit of the adjunction between reflexive quivers and categories.

theorem CategoryTheory.Cat.toFreeRefl_obj E0 #

∀ (V : Type u_1) [inst : CategoryTheory.ReflQuiver V] (v : V),
  (CategoryTheory.Cat.toFreeRefl V).obj v = CategoryTheory.Cat.FreeRefl.mk v

theorem CategoryTheory.Cat.toFreeRefl_map E0 #

∀ (V : Type u_1) [inst : CategoryTheory.ReflQuiver V] {X Y : V} (f : X ⟶ Y),
  (CategoryTheory.Cat.toFreeRefl V).map f = CategoryTheory.Cat.FreeRefl.homMk f

theorem CategoryTheory.Cat.FreeRefl.lift_spec E1 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_1, u_2} D]
  (F : V ⥤rq D), CategoryTheory.Cat.toFreeRefl V ⋙rq (CategoryTheory.Cat.FreeRefl.lift F).toReflPrefunctor = F

Constructor for functors from FreeRefl.

def CategoryTheory.Cat.freeReflMap E1 #

{V : Type u_1} →
  [inst : CategoryTheory.ReflQuiver V] →
    {W : Type u_2} →
      [inst_1 : CategoryTheory.ReflQuiver W] →
        V ⥤rq W → CategoryTheory.Functor (CategoryTheory.Cat.FreeRefl V) (CategoryTheory.Cat.FreeRefl W)

A refl prefunctor V ⥤rq W induces a functor FreeRefl V ⥤ FreeRefl W defined using freeMap and the quotient functor.

theorem CategoryTheory.Cat.freeReflMap_obj E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {W : Type u_2} [inst_1 : CategoryTheory.ReflQuiver W]
  (F : V ⥤rq W) (v : V),
  (CategoryTheory.Cat.freeReflMap F).obj (CategoryTheory.Cat.FreeRefl.mk v) = CategoryTheory.Cat.FreeRefl.mk (F.obj v)

theorem CategoryTheory.Cat.freeReflMap_map E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {W : Type u_2} [inst_1 : CategoryTheory.ReflQuiver W]
  (F : V ⥤rq W) {v w : V} (f : v ⟶ w),
  (CategoryTheory.Cat.freeReflMap F).map (CategoryTheory.Cat.FreeRefl.homMk f) =
    CategoryTheory.Cat.FreeRefl.homMk (F.map f)

theorem CategoryTheory.Cat.freeReflMap_naturality E1 #

∀ {V : Type u_3} {W : Type u_4} [inst : CategoryTheory.ReflQuiver V] [inst_1 : CategoryTheory.ReflQuiver W]
  (F : V ⥤rq W),
  (CategoryTheory.Cat.FreeRefl.quotientFunctor V).comp (CategoryTheory.Cat.freeReflMap F) =
    (CategoryTheory.Cat.freeMap F.toPrefunctor).comp (CategoryTheory.Cat.FreeRefl.quotientFunctor W)

def CategoryTheory.Cat.freeRefl E1 #

CategoryTheory.Functor CategoryTheory.ReflQuiv CategoryTheory.Cat

The functor sending a reflexive quiver to the free category it generates, a quotient of its path category

theorem CategoryTheory.Cat.freeRefl_map E0 #

∀ {X Y : CategoryTheory.ReflQuiv} (F : X ⟶ Y),
  CategoryTheory.Cat.freeRefl.map F = (CategoryTheory.Cat.freeReflMap F).toCatHom

theorem CategoryTheory.Cat.freeRefl_obj E0 #

∀ (V : CategoryTheory.ReflQuiv), CategoryTheory.Cat.freeRefl.obj V = ↧(CategoryTheory.Cat.FreeRefl ↑V)

def CategoryTheory.Cat.freeReflNatTrans E1 #

CategoryTheory.ReflQuiv.forgetToQuiv.comp CategoryTheory.Cat.free ⟶ CategoryTheory.Cat.freeRefl

We will make use of the natural quotient map from the free category on the underlying quiver of a refl quiver to the free category on the reflexive quiver.

def CategoryTheory.ReflQuiv.adj.homEquiv E1 #

{V : Type u_1} →
  [inst : CategoryTheory.ReflQuiver V] →
    {C : Type u_3} →
      [inst_1 : CategoryTheory.Category.{v_1, u_3} C] →
        CategoryTheory.Functor (CategoryTheory.Cat.FreeRefl V) C ≃ V ⥤rq C

Given a reflexive quiver V and a category C, this is the bijection between functors Cat.FreeRefl V ⥤ C and refl functors V ⥤rq C.

theorem CategoryTheory.ReflQuiv.adj.homEquiv_symm_apply E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {C : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_3} C]
  (F : V ⥤rq C), CategoryTheory.ReflQuiv.adj.homEquiv.symm F = CategoryTheory.Cat.FreeRefl.lift F

theorem CategoryTheory.ReflQuiv.adj.homEquiv_apply E0 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {C : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_3} C]
  (F : CategoryTheory.Functor (CategoryTheory.Cat.FreeRefl V) C),
  CategoryTheory.ReflQuiv.adj.homEquiv F = CategoryTheory.Cat.toFreeRefl V ⋙rq F.toReflPrefunctor

theorem CategoryTheory.ReflQuiv.adj.homEquiv_naturality_left_symm E1 #

∀ {V : Type u_1} {W : Type u_2} [inst : CategoryTheory.ReflQuiver W] [inst_1 : CategoryTheory.ReflQuiver V]
  {C : Type u_3} [inst_2 : CategoryTheory.Category.{v_1, u_3} C] (F : V ⥤rq W) (G : W ⥤rq C),
  CategoryTheory.ReflQuiv.adj.homEquiv.symm (F ⋙rq G) =
    (CategoryTheory.Cat.freeReflMap F).comp (CategoryTheory.ReflQuiv.adj.homEquiv.symm G)

theorem CategoryTheory.ReflQuiv.adj.homEquiv_naturality_right E1 #

∀ {V : Type u_1} [inst : CategoryTheory.ReflQuiver V] {C : Type u_3} {D : Type u_4}
  [inst_1 : CategoryTheory.Category.{v_1, u_3} C] [inst_2 : CategoryTheory.Category.{v_2, u_4} D]
  (F : CategoryTheory.Functor (CategoryTheory.Cat.FreeRefl V) C) (G : CategoryTheory.Functor C D),
  CategoryTheory.ReflQuiv.adj.homEquiv (F.comp G) = CategoryTheory.ReflQuiv.adj.homEquiv F ⋙rq G.toReflPrefunctor

def CategoryTheory.ReflQuiv.adj E1 #

CategoryTheory.Cat.freeRefl ⊣ CategoryTheory.ReflQuiv.forget

The adjunction between forming the free category on a reflexive quiver, and forgetting a category to a reflexive quiver.

theorem CategoryTheory.ReflQuiv.adj_unit_app E0 #

∀ (V : Type u_1) [inst : CategoryTheory.ReflQuiver V],
  CategoryTheory.ReflQuiv.adj.unit.app ↧V = CategoryTheory.Cat.toFreeRefl V

theorem CategoryTheory.ReflQuiv.adj_counit_app E1 #

∀ (D : Type u) [inst : CategoryTheory.Category.{max u v, u} D],
  CategoryTheory.ReflQuiv.adj.counit.app ↧D = (CategoryTheory.Cat.FreeRefl.lift (𝟭rq D)).toCatHom

theorem CategoryTheory.ReflQuiv.adj_homEquiv E1 #

∀ (V : Type u) [inst : CategoryTheory.ReflQuiver V] (C : Type u) [inst_1 : CategoryTheory.Category.{max u v, u} C],
  CategoryTheory.ReflQuiv.adj.homEquiv ↧V ↧C =
    (CategoryTheory.Cat.Hom.equivFunctor (CategoryTheory.Cat.freeRefl.obj ↧V) ↧C).trans
      CategoryTheory.ReflQuiv.adj.homEquiv

theorem CategoryTheory.ReflQuiv.adj.unit.map_app_eq E0 #

∀ (V : Type u) [inst : CategoryTheory.ReflQuiver V],
  (CategoryTheory.ReflQuiv.adj.unit.app ↧V).toPrefunctor =
    CategoryTheory.Quiv.adj.unit.app ↧V ⋙q (CategoryTheory.Cat.FreeRefl.quotientFunctor V).toPrefunctor

theorem CategoryTheory.ReflQuiv.adj.counit.comp_app_eq E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{max u v, u} C],
  (CategoryTheory.Cat.FreeRefl.quotientFunctor C).comp (CategoryTheory.ReflQuiv.adj.counit.app ↧C).toFunctor =
    CategoryTheory.pathComposition C