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.PathCategory.MorphismProperty

24 declarations. Mathlib docs · Source

Properties of morphisms in a path category.

We provide a formulation of induction principles for morphisms in a path category in terms of MorphismProperty. This file is separate from Mathlib/CategoryTheory/PathCategory/Basic.lean in order to reduce transitive imports.

We also define a morphism property W.paths : MorphismProperty (Paths C) for any W : MorphismProperty C, consisting of all paths in C that consist only of morphisms in W.

theorem CategoryTheory.Paths.morphismProperty_eq_top E1 #

∀ (V : Type u₁) [inst : Quiver V] (P : CategoryTheory.MorphismProperty (CategoryTheory.Paths V)),
  (∀ {v : V}, P (CategoryTheory.CategoryStruct.id ((CategoryTheory.Paths.of V).obj v))) →
    (∀ {u v w : V} (p : (CategoryTheory.Paths.of V).obj u ⟶ (CategoryTheory.Paths.of V).obj v) (q : v ⟶ w),
        P p → P (CategoryTheory.CategoryStruct.comp p ((CategoryTheory.Paths.of V).map q))) →
      P = ⊤

A reformulation of CategoryTheory.Paths.induction in terms of MorphismProperty.

theorem CategoryTheory.Paths.morphismProperty_eq_top' E1 #

∀ (V : Type u₁) [inst : Quiver V] (P : CategoryTheory.MorphismProperty (CategoryTheory.Paths V)),
  (∀ {v : V}, P (CategoryTheory.CategoryStruct.id ((CategoryTheory.Paths.of V).obj v))) →
    (∀ {u v w : V} (p : u ⟶ v) (q : (CategoryTheory.Paths.of V).obj v ⟶ (CategoryTheory.Paths.of V).obj w),
        P q → P (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Paths.of V).map p) q)) →
      P = ⊤

A reformulation of CategoryTheory.Paths.induction' in terms of MorphismProperty.

theorem CategoryTheory.Paths.morphismProperty_eq_top_of_isMultiplicative E1 #

∀ (V : Type u₁) [inst : Quiver V] (P : CategoryTheory.MorphismProperty (CategoryTheory.Paths V)) [P.IsMultiplicative],
  (∀ {u v : V} (p : u ⟶ v), P ((CategoryTheory.Paths.of V).map p)) → P = ⊤

def CategoryTheory.Paths.liftNatTrans E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {V : Type u₁} →
      [inst_1 : Quiver V] →
        {F G : CategoryTheory.Functor (CategoryTheory.Paths V) C} →
          (α_app : (v : V) → F.obj v ⟶ G.obj v) →
            (∀ {X Y : V} (f : X ⟶ Y),
                CategoryTheory.CategoryStruct.comp (F.map f.toPath) (α_app Y) =
                  CategoryTheory.CategoryStruct.comp (α_app X) (G.map f.toPath)) →
              (F ⟶ G)

A natural transformation between F G : Paths V ⥤ C is defined by its components and its unary naturality squares.

theorem CategoryTheory.Paths.liftNatTrans_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {V : Type u₁} [inst_1 : Quiver V]
  {F G : CategoryTheory.Functor (CategoryTheory.Paths V) C} (α_app : (v : V) → F.obj v ⟶ G.obj v)
  (α_nat :
    ∀ {X Y : V} (f : X ⟶ Y),
      CategoryTheory.CategoryStruct.comp (F.map f.toPath) (α_app Y) =
        CategoryTheory.CategoryStruct.comp (α_app X) (G.map f.toPath))
  (v : V), (CategoryTheory.Paths.liftNatTrans α_app α_nat).app v = α_app v

def CategoryTheory.Paths.liftNatIso E1 #

{V : Type u₁} →
  [inst : Quiver V] →
    {C : Type u_2} →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} C] →
        {F G : CategoryTheory.Functor (CategoryTheory.Paths V) C} →
          (α_app : (v : V) → F.obj v ≅ G.obj v) →
            (∀ {X Y : V} (f : X ⟶ Y),
                CategoryTheory.CategoryStruct.comp (F.map f.toPath) (α_app Y).hom =
                  CategoryTheory.CategoryStruct.comp (α_app X).hom (G.map f.toPath)) →
              (F ≅ G)

A natural isomorphism between F G : Paths V ⥤ C is defined by its components and its unary naturality squares.

theorem CategoryTheory.Paths.liftNatIso_inv_app E0 #

∀ {V : Type u₁} [inst : Quiver V] {C : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} C]
  {F G : CategoryTheory.Functor (CategoryTheory.Paths V) C} (α_app : (v : V) → F.obj v ≅ G.obj v)
  (α_nat :
    ∀ {X Y : V} (f : X ⟶ Y),
      CategoryTheory.CategoryStruct.comp (F.map f.toPath) (α_app Y).hom =
        CategoryTheory.CategoryStruct.comp (α_app X).hom (G.map f.toPath))
  (X : CategoryTheory.Paths V), (CategoryTheory.Paths.liftNatIso α_app α_nat).inv.app X = (α_app X).inv

theorem CategoryTheory.Paths.liftNatIso_hom_app E0 #

∀ {V : Type u₁} [inst : Quiver V] {C : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} C]
  {F G : CategoryTheory.Functor (CategoryTheory.Paths V) C} (α_app : (v : V) → F.obj v ≅ G.obj v)
  (α_nat :
    ∀ {X Y : V} (f : X ⟶ Y),
      CategoryTheory.CategoryStruct.comp (F.map f.toPath) (α_app Y).hom =
        CategoryTheory.CategoryStruct.comp (α_app X).hom (G.map f.toPath))
  (X : CategoryTheory.Paths V), (CategoryTheory.Paths.liftNatIso α_app α_nat).hom.app X = (α_app X).hom

def CategoryTheory.MorphismProperty.paths E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    CategoryTheory.MorphismProperty C → CategoryTheory.MorphismProperty (CategoryTheory.Paths C)

For any morphism property W on C, W.paths is the morphism property on Paths C containing all paths of morphisms in W.

theorem CategoryTheory.MorphismProperty.nil_mem_paths E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W : CategoryTheory.MorphismProperty C} {X : C},
  W.paths Quiver.Path.nil

theorem CategoryTheory.MorphismProperty.cons_mem_paths E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W : CategoryTheory.MorphismProperty C} {X Y Z : C}
  {p : Quiver.Path X Y} {f : Y ⟶ Z}, W.paths p → W f → W.paths (p.cons f)

theorem CategoryTheory.MorphismProperty.cons_mem_paths_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W : CategoryTheory.MorphismProperty C} {X Y Z : C}
  {p : Quiver.Path X Y} {f : Y ⟶ Z}, W.paths (p.cons f) ↔ W.paths p ∧ W f

theorem CategoryTheory.MorphismProperty.toPath_mem_paths E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W : CategoryTheory.MorphismProperty C} {X Y : C}
  {f : X ⟶ Y}, W f → W.paths f.toPath

theorem CategoryTheory.MorphismProperty.toPath_mem_paths_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W : CategoryTheory.MorphismProperty C} {X Y : C}
  {f : X ⟶ Y}, W.paths f.toPath ↔ W f

theorem CategoryTheory.MorphismProperty.comp_mem_paths_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W : CategoryTheory.MorphismProperty C} {X Y Z : C}
  {p : Quiver.Path X Y} {q : Quiver.Path Y Z}, W.paths (p.comp q) ↔ W.paths p ∧ W.paths q

theorem CategoryTheory.MorphismProperty.comp_mem_paths_iff' E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {W : CategoryTheory.MorphismProperty C}
  {X Y Z : CategoryTheory.Paths C} {p : X ⟶ Y} {q : Y ⟶ Z},
  W.paths (CategoryTheory.CategoryStruct.comp p q) ↔ W.paths p ∧ W.paths q

instance CategoryTheory.MorphismProperty.instIsMultiplicativePathsPaths E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (W : CategoryTheory.MorphismProperty C),
  W.paths.IsMultiplicative

theorem CategoryTheory.MorphismProperty.monotone_paths E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C], Monotone CategoryTheory.MorphismProperty.paths

If W and W' are morphism properties on C such that W ≤ W', then W.paths ≤ W'.paths.

theorem CategoryTheory.MorphismProperty.composePath_mem_of_id_mem E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (W : CategoryTheory.MorphismProperty C)
  [W.IsStableUnderComposition] {X Y : C} {p : Quiver.Path X Y},
  W.paths p → W (CategoryTheory.CategoryStruct.id X) → W (CategoryTheory.composePath p)

theorem CategoryTheory.MorphismProperty.composePath_mem_of_length_pos E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (W : CategoryTheory.MorphismProperty C)
  [W.IsStableUnderComposition] {X Y : C} {p : Quiver.Path X Y},
  W.paths p → 0 < p.length → W (CategoryTheory.composePath p)

theorem CategoryTheory.MorphismProperty.composePath_mem E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (W : CategoryTheory.MorphismProperty C)
  [W.IsMultiplicative] {X Y : C} {p : Quiver.Path X Y}, W.paths p → W (CategoryTheory.composePath p)

theorem CategoryTheory.MorphismProperty.paths_le_inverseImage E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (W : CategoryTheory.MorphismProperty C)
  [W.IsMultiplicative], W.paths ≤ W.inverseImage (CategoryTheory.pathComposition C)

instance CategoryTheory.MorphismProperty.instIsMultiplicativeStrictMapPathsPathsPathComposition E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (W : CategoryTheory.MorphismProperty C),
  (W.paths.strictMap (CategoryTheory.pathComposition C)).IsMultiplicative

theorem CategoryTheory.MorphismProperty.multiplicativeClosure_eq_strictMap_paths E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (W : CategoryTheory.MorphismProperty C),
  W.multiplicativeClosure = W.paths.strictMap (CategoryTheory.pathComposition C)