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.Factorisation

49 declarations. Mathlib docs · Source

def CategoryTheory.Factorisation.ctorIdx E1 #

{C : Type u} → {inst : CategoryTheory.Category.{v, u} C} → {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Factorisation f → ℕ

def CategoryTheory.Factorisation.Hom.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {X Y : C} → {f : X ⟶ Y} → {d e : CategoryTheory.Factorisation f} → d.Hom e → ℕ

theorem CategoryTheory.Factorisation.Hom.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X Y : C} {f : X ⟶ Y} {d e : CategoryTheory.Factorisation f}
  {h : d.mid ⟶ e.mid}
  {ι_h : autoParam (CategoryTheory.CategoryStruct.comp d.ι h = e.ι) CategoryTheory.Factorisation.Hom.ι_h._autoParam}
  {h_π : autoParam (CategoryTheory.CategoryStruct.comp h e.π = d.π) CategoryTheory.Factorisation.Hom.h_π._autoParam}
  {h_1 : d.mid ⟶ e.mid}
  {ι_h_1 : autoParam (CategoryTheory.CategoryStruct.comp d.ι h_1 = e.ι) CategoryTheory.Factorisation.Hom.ι_h._autoParam}
  {h_π_1 :
    autoParam (CategoryTheory.CategoryStruct.comp h_1 e.π = d.π) CategoryTheory.Factorisation.Hom.h_π._autoParam},
  { h := h, ι_h := ι_h, h_π := h_π } = { h := h_1, ι_h := ι_h_1, h_π := h_π_1 } → h = h_1

theorem CategoryTheory.Factorisation.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} (mid : C) (ι : X ⟶ mid) (π : mid ⟶ Y)
  (ι_π : autoParam (CategoryTheory.CategoryStruct.comp ι π = f) CategoryTheory.Factorisation.ι_π._autoParam) (mid_1 : C)
  (ι_1 : X ⟶ mid_1) (π_1 : mid_1 ⟶ Y)
  (ι_π_1 : autoParam (CategoryTheory.CategoryStruct.comp ι_1 π_1 = f) CategoryTheory.Factorisation.ι_π._autoParam),
  ({ mid := mid, ι := ι, π := π, ι_π := ι_π } = { mid := mid_1, ι := ι_1, π := π_1, ι_π := ι_π_1 }) =
    (mid = mid_1 ∧ ι ≍ ι_1 ∧ π ≍ π_1)

theorem CategoryTheory.Factorisation.Hom.mk.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} {d e : CategoryTheory.Factorisation f}
  (h h_1 : d.mid ⟶ e.mid) (e_h : h = h_1) (ι_h : CategoryTheory.CategoryStruct.comp d.ι h = e.ι)
  (h_π : CategoryTheory.CategoryStruct.comp h e.π = d.π),
  { h := h, ι_h := ι_h, h_π := h_π } = { h := h_1, ι_h := ⋯, h_π := ⋯ }

theorem CategoryTheory.Factorisation.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X Y : C} {f : X ⟶ Y} {mid : C} {ι : X ⟶ mid} {π : mid ⟶ Y}
  {ι_π : autoParam (CategoryTheory.CategoryStruct.comp ι π = f) CategoryTheory.Factorisation.ι_π._autoParam} {mid_1 : C}
  {ι_1 : X ⟶ mid_1} {π_1 : mid_1 ⟶ Y}
  {ι_π_1 : autoParam (CategoryTheory.CategoryStruct.comp ι_1 π_1 = f) CategoryTheory.Factorisation.ι_π._autoParam},
  { mid := mid, ι := ι, π := π, ι_π := ι_π } = { mid := mid_1, ι := ι_1, π := π_1, ι_π := ι_π_1 } →
    mid = mid_1 ∧ ι ≍ ι_1 ∧ π ≍ π_1

theorem CategoryTheory.Factorisation.Hom.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} {d e : CategoryTheory.Factorisation f}
  (h : d.mid ⟶ e.mid)
  (ι_h : autoParam (CategoryTheory.CategoryStruct.comp d.ι h = e.ι) CategoryTheory.Factorisation.Hom.ι_h._autoParam)
  (h_π : autoParam (CategoryTheory.CategoryStruct.comp h e.π = d.π) CategoryTheory.Factorisation.Hom.h_π._autoParam)
  (h_1 : d.mid ⟶ e.mid)
  (ι_h_1 : autoParam (CategoryTheory.CategoryStruct.comp d.ι h_1 = e.ι) CategoryTheory.Factorisation.Hom.ι_h._autoParam)
  (h_π_1 :
    autoParam (CategoryTheory.CategoryStruct.comp h_1 e.π = d.π) CategoryTheory.Factorisation.Hom.h_π._autoParam),
  ({ h := h, ι_h := ι_h, h_π := h_π } = { h := h_1, ι_h := ι_h_1, h_π := h_π_1 }) = (h = h_1)

structure CategoryTheory.Factorisation E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → (X ⟶ Y) → Type (max u v)

Factorisations of a morphism f as a structure, containing, one object, two morphisms, and the condition that their composition equals f.

ctor CategoryTheory.Factorisation.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      {f : X ⟶ Y} →
        (mid : C) →
          (ι : X ⟶ mid) →
            (π : mid ⟶ Y) →
              autoParam (CategoryTheory.CategoryStruct.comp ι π = f) CategoryTheory.Factorisation.ι_π._autoParam →
                CategoryTheory.Factorisation f

abbrev CategoryTheory.Factorisation.mid E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Factorisation f → C

The midpoint of the factorisation.

abbrev CategoryTheory.Factorisation.ι E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → (self : CategoryTheory.Factorisation f) → X ⟶ self.mid

The morphism into the factorisation midpoint.

abbrev CategoryTheory.Factorisation.π E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → (self : CategoryTheory.Factorisation f) → self.mid ⟶ Y

The morphism out of the factorisation midpoint.

theorem CategoryTheory.Factorisation.ι_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} (self : CategoryTheory.Factorisation f),
  CategoryTheory.CategoryStruct.comp self.ι self.π = f

The factorisation condition.

theorem CategoryTheory.Factorisation.ι_π_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} (self : CategoryTheory.Factorisation f)
  {Z : C} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp self.ι (CategoryTheory.CategoryStruct.comp self.π h) =
    CategoryTheory.CategoryStruct.comp f h

The factorisation condition.

structure CategoryTheory.Factorisation.Hom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Factorisation f → CategoryTheory.Factorisation f → Type (max u v)

Morphisms of Factorisation f consist of morphism between their midpoints and the obvious commutativity conditions.

theorem CategoryTheory.Factorisation.Hom.ext E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X Y : C} {f : X ⟶ Y} {d e : CategoryTheory.Factorisation f}
  {x y : d.Hom e}, x.h = y.h → x = y

theorem CategoryTheory.Factorisation.Hom.ext_iff E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X Y : C} {f : X ⟶ Y} {d e : CategoryTheory.Factorisation f}
  {x y : d.Hom e}, x = y ↔ x.h = y.h

ctor CategoryTheory.Factorisation.Hom.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      {f : X ⟶ Y} →
        {d e : CategoryTheory.Factorisation f} →
          (h : d.mid ⟶ e.mid) →
            autoParam (CategoryTheory.CategoryStruct.comp d.ι h = e.ι) CategoryTheory.Factorisation.Hom.ι_h._autoParam →
              autoParam (CategoryTheory.CategoryStruct.comp h e.π = d.π)
                  CategoryTheory.Factorisation.Hom.h_π._autoParam →
                d.Hom e

abbrev CategoryTheory.Factorisation.Hom.h E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → {d e : CategoryTheory.Factorisation f} → d.Hom e → (d.mid ⟶ e.mid)

The morphism between the midpoints of the factorizations.

theorem CategoryTheory.Factorisation.Hom.ι_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} {d e : CategoryTheory.Factorisation f}
  (self : d.Hom e), CategoryTheory.CategoryStruct.comp d.ι self.h = e.ι

The left commuting triangle of the factorization morphism.

theorem CategoryTheory.Factorisation.Hom.h_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} {d e : CategoryTheory.Factorisation f}
  (self : d.Hom e), CategoryTheory.CategoryStruct.comp self.h e.π = d.π

The right commuting triangle of the factorization morphism.

theorem CategoryTheory.Factorisation.Hom.ι_h_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} {d e : CategoryTheory.Factorisation f}
  (self : d.Hom e) {Z : C} (h : e.mid ⟶ Z),
  CategoryTheory.CategoryStruct.comp d.ι (CategoryTheory.CategoryStruct.comp self.h h) =
    CategoryTheory.CategoryStruct.comp e.ι h

The left commuting triangle of the factorization morphism.

theorem CategoryTheory.Factorisation.Hom.h_π_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} {d e : CategoryTheory.Factorisation f}
  (self : d.Hom e) {Z : C} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp self.h (CategoryTheory.CategoryStruct.comp e.π h) =
    CategoryTheory.CategoryStruct.comp d.π h

The right commuting triangle of the factorization morphism.

instance CategoryTheory.Factorisation.instQuiver E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → {f : X ⟶ Y} → Quiver (CategoryTheory.Factorisation f)

theorem CategoryTheory.Factorisation.id_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} (d : CategoryTheory.Factorisation f),
  (CategoryTheory.CategoryStruct.id d).h = CategoryTheory.CategoryStruct.id d.mid

theorem CategoryTheory.Factorisation.comp_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y}
  {X_1 Y_1 Z : CategoryTheory.Factorisation f} (f_1 : X_1 ⟶ Y_1) (g : Y_1 ⟶ Z),
  (CategoryTheory.CategoryStruct.comp f_1 g).h = CategoryTheory.CategoryStruct.comp f_1.h g.h

instance CategoryTheory.Factorisation.instCategory E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Category.{max u v, max u v} (CategoryTheory.Factorisation f)

theorem CategoryTheory.Factorisation.comp_h_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y}
  {X_1 Y_1 Z : CategoryTheory.Factorisation f} (f_1 : X_1 ⟶ Y_1) (g : Y_1 ⟶ Z) {Z_1 : C} (h : Z.mid ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f_1 g).h h =
    CategoryTheory.CategoryStruct.comp f_1.h (CategoryTheory.CategoryStruct.comp g.h h)

def CategoryTheory.Factorisation.initial E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Factorisation f

The initial object in Factorisation f, with the domain of f as its midpoint.

theorem CategoryTheory.Factorisation.initial_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y},
  CategoryTheory.Factorisation.initial.π = f

theorem CategoryTheory.Factorisation.initial_ι E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y},
  CategoryTheory.Factorisation.initial.ι = CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Factorisation.initial_mid E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y},
  CategoryTheory.Factorisation.initial.mid = X

def CategoryTheory.Factorisation.initialHom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → (d : CategoryTheory.Factorisation f) → CategoryTheory.Factorisation.initial.Hom d

The unique morphism out of Factorisation.initial f.

theorem CategoryTheory.Factorisation.initialHom_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} (d : CategoryTheory.Factorisation f),
  d.initialHom.h = d.ι

instance CategoryTheory.Factorisation.instUniqueHomInitial E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → (d : CategoryTheory.Factorisation f) → Unique (CategoryTheory.Factorisation.initial ⟶ d)

def CategoryTheory.Factorisation.terminal E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Factorisation f

The terminal object in Factorisation f, with the codomain of f as its midpoint.

theorem CategoryTheory.Factorisation.terminal_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y},
  CategoryTheory.Factorisation.terminal.π = CategoryTheory.CategoryStruct.id Y

theorem CategoryTheory.Factorisation.terminal_ι E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y},
  CategoryTheory.Factorisation.terminal.ι = f

theorem CategoryTheory.Factorisation.terminal_mid E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y},
  CategoryTheory.Factorisation.terminal.mid = Y

def CategoryTheory.Factorisation.terminalHom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → (d : CategoryTheory.Factorisation f) → d.Hom CategoryTheory.Factorisation.terminal

The unique morphism into Factorisation.terminal f.

theorem CategoryTheory.Factorisation.terminalHom_h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} (d : CategoryTheory.Factorisation f),
  d.terminalHom.h = d.π

instance CategoryTheory.Factorisation.instUniqueHomTerminal E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → (d : CategoryTheory.Factorisation f) → Unique (d ⟶ CategoryTheory.Factorisation.terminal)

def CategoryTheory.Factorisation.IsInitial_initial E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Limits.IsInitial CategoryTheory.Factorisation.initial

The initial factorisation is an initial object

instance CategoryTheory.Factorisation.instHasInitial E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y},
  CategoryTheory.Limits.HasInitial (CategoryTheory.Factorisation f)

def CategoryTheory.Factorisation.IsTerminal_terminal E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Limits.IsTerminal CategoryTheory.Factorisation.terminal

The terminal factorisation is a terminal object

instance CategoryTheory.Factorisation.instHasTerminal E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y},
  CategoryTheory.Limits.HasTerminal (CategoryTheory.Factorisation f)

def CategoryTheory.Factorisation.forget E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Functor (CategoryTheory.Factorisation f) C

The forgetful functor from Factorisation f to the underlying category C.

theorem CategoryTheory.Factorisation.forget_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y}
  {X_1 Y_1 : CategoryTheory.Factorisation f} (f_1 : X_1 ⟶ Y_1), CategoryTheory.Factorisation.forget.map f_1 = f_1.h

theorem CategoryTheory.Factorisation.forget_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : X ⟶ Y} (self : CategoryTheory.Factorisation f),
  CategoryTheory.Factorisation.forget.obj self = self.mid