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.Limits.Shapes.ConcreteCategory

32 declarations. Mathlib docs · Source

theorem CategoryTheory.Limits.Concrete.prodEquiv.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type w}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] (X₁ X₂ : C)
  [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.pair X₁ X₂) (CategoryTheory.forget C)],
  CategoryTheory.Limits.Concrete.prodEquiv X₁ X₂ = CategoryTheory.Limits.Concrete.prodEquiv X₁ X₂

def CategoryTheory.Limits.Concrete.productEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type (max w v)} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            {J : Type w} →
              (F : J → C) →
                [inst_3 : CategoryTheory.Limits.HasProduct F] →
                  [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor F) (CategoryTheory.forget C)] →
                    CategoryTheory.ToType (∏ᶜ F) ≃ ((j : J) → CategoryTheory.ToType (F j))

The equivalence ToType (∏ᶜ F) ≃ ∀ j, ToType (F j) if F : J → C is a family of objects in a concrete category C.

theorem CategoryTheory.Limits.Concrete.productEquiv_apply_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type (max w v)}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] {J : Type w}
  (F : J → C) [inst_3 : CategoryTheory.Limits.HasProduct F]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor F) (CategoryTheory.forget C)]
  (x : CategoryTheory.ToType (∏ᶜ F)) (j : J),
  (CategoryTheory.Limits.Concrete.productEquiv F) x j =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.π F j)) x

theorem CategoryTheory.Limits.Concrete.productEquiv_symm_apply_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type (max w v)}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] {J : Type w}
  (F : J → C) [inst_3 : CategoryTheory.Limits.HasProduct F]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor F) (CategoryTheory.forget C)]
  (x : (j : J) → CategoryTheory.ToType (F j)) (j : J),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.π F j))
      ((CategoryTheory.Limits.Concrete.productEquiv F).symm x) =
    x j

theorem CategoryTheory.Limits.Concrete.Pi.map_ext E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} (f : J → C)
  [inst_1 : CategoryTheory.Limits.HasProduct f] {D : Type t} [inst_2 : CategoryTheory.Category.{r, t} D]
  {FD : D → D → Type u_1} {DD : D → Type (max w r)} [inst_3 : (X Y : D) → FunLike (FD X Y) (DD X) (DD Y)]
  [inst_4 : CategoryTheory.ConcreteCategory D FD] (F : CategoryTheory.Functor C D)
  [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) F]
  [CategoryTheory.Limits.HasProduct fun j ↦ F.obj (f j)]
  [CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingCospan (CategoryTheory.forget D)]
  [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor fun b ↦ F.obj (f b)) (CategoryTheory.forget D)]
  (x y : CategoryTheory.ToType (F.obj (∏ᶜ f))),
  (∀ (i : J),
      (CategoryTheory.ConcreteCategory.hom (F.map (CategoryTheory.Limits.Pi.π f i))) x =
        (CategoryTheory.ConcreteCategory.hom (F.map (CategoryTheory.Limits.Pi.π f i))) y) →
    x = y

def CategoryTheory.Limits.Concrete.uniqueOfTerminalOfPreserves E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type w} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) (CategoryTheory.forget C)] →
              (X : C) → CategoryTheory.Limits.IsTerminal X → Unique (CategoryTheory.ToType X)

If forget C preserves terminals and X is terminal, then ToType X is a singleton.

def CategoryTheory.Limits.Concrete.terminalOfUniqueOfReflects E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type w} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            [CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Functor.empty C) (CategoryTheory.forget C)] →
              (X : C) → Unique (CategoryTheory.ToType X) → CategoryTheory.Limits.IsTerminal X

If forget C reflects terminals and ToType X is a singleton, then X is terminal.

def CategoryTheory.Limits.Concrete.terminalIffUnique E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type w} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) (CategoryTheory.forget C)] →
              [CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Functor.empty C) (CategoryTheory.forget C)] →
                (X : C) → CategoryTheory.Limits.IsTerminal X ≃ Unique (CategoryTheory.ToType X)

The equivalence IsTerminal X ≃ Unique (ToType X) if the forgetful functor preserves and reflects terminals.

def CategoryTheory.Limits.Concrete.terminalEquiv E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type w} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            [inst_3 : CategoryTheory.Limits.HasTerminal C] →
              [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) (CategoryTheory.forget C)] →
                CategoryTheory.ToType (⊤_ C) ≃ PUnit.{w + 1}

The equivalence ToType (⊤_ C) ≃ PUnit when C is a concrete category.

instance CategoryTheory.Limits.Concrete.instUniqueToTypeTerminalOfPreservesLimitDiscretePEmptyEmptyForget E0 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasTerminal C] →
      {FC : C → C → Type u_2} →
        {CC : C → Type w} →
          {x : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)} →
            [inst_2 : CategoryTheory.ConcreteCategory C FC] →
              [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) (CategoryTheory.forget C)] →
                Unique (CategoryTheory.ToType (⊤_ C))

theorem CategoryTheory.Limits.Concrete.empty_of_initial_of_preserves E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type w}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC]
  [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) (CategoryTheory.forget C)] (X : C),
  Nonempty (CategoryTheory.Limits.IsInitial X) → IsEmpty (CategoryTheory.ToType X)

If forget C preserves initials and X is initial, then ToType X is empty.

theorem CategoryTheory.Limits.Concrete.initial_of_empty_of_reflects E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type w}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC]
  [CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Functor.empty C) (CategoryTheory.forget C)] (X : C),
  IsEmpty (CategoryTheory.ToType X) → Nonempty (CategoryTheory.Limits.IsInitial X)

If forget C reflects initials and ToType X is empty, then X is initial.

theorem CategoryTheory.Limits.Concrete.initial_iff_empty_of_preserves_of_reflects E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type w}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC]
  [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) (CategoryTheory.forget C)]
  [CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Functor.empty C) (CategoryTheory.forget C)] (X : C),
  Nonempty (CategoryTheory.Limits.IsInitial X) ↔ IsEmpty (CategoryTheory.ToType X)

If forget C preserves and reflects initials, then X is initial if and only if ToType X is empty.

def CategoryTheory.Limits.Concrete.prodEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type w} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            (X₁ X₂ : C) →
              [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂] →
                [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.pair X₁ X₂) (CategoryTheory.forget C)] →
                  CategoryTheory.ToType (X₁ ⨯ X₂) ≃ CategoryTheory.ToType X₁ × CategoryTheory.ToType X₂

The equivalence ToType (X₁ ⨯ X₂) ≃ (ToType X₁) × (ToType X₂) if X₁ and X₂ are objects in a concrete category C.

theorem CategoryTheory.Limits.Concrete.prodEquiv_apply_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type w}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] (X₁ X₂ : C)
  [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.pair X₁ X₂) (CategoryTheory.forget C)]
  (x : CategoryTheory.ToType (X₁ ⨯ X₂)),
  ((CategoryTheory.Limits.Concrete.prodEquiv X₁ X₂) x).1 =
    (CategoryTheory.ConcreteCategory.hom CategoryTheory.Limits.prod.fst) x

theorem CategoryTheory.Limits.Concrete.prodEquiv_apply_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type w}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] (X₁ X₂ : C)
  [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.pair X₁ X₂) (CategoryTheory.forget C)]
  (x : CategoryTheory.ToType (X₁ ⨯ X₂)),
  ((CategoryTheory.Limits.Concrete.prodEquiv X₁ X₂) x).2 =
    (CategoryTheory.ConcreteCategory.hom CategoryTheory.Limits.prod.snd) x

theorem CategoryTheory.Limits.Concrete.prodEquiv_symm_apply_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type w}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] (X₁ X₂ : C)
  [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.pair X₁ X₂) (CategoryTheory.forget C)]
  (x : CategoryTheory.ToType X₁ × CategoryTheory.ToType X₂),
  (CategoryTheory.ConcreteCategory.hom CategoryTheory.Limits.prod.fst)
      ((CategoryTheory.Limits.Concrete.prodEquiv X₁ X₂).symm x) =
    x.1

theorem CategoryTheory.Limits.Concrete.prodEquiv_symm_apply_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type w}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] (X₁ X₂ : C)
  [inst_3 : CategoryTheory.Limits.HasBinaryProduct X₁ X₂]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.pair X₁ X₂) (CategoryTheory.forget C)]
  (x : CategoryTheory.ToType X₁ × CategoryTheory.ToType X₂),
  (CategoryTheory.ConcreteCategory.hom CategoryTheory.Limits.prod.snd)
      ((CategoryTheory.Limits.Concrete.prodEquiv X₁ X₂).symm x) =
    x.2

def CategoryTheory.Limits.Concrete.pullbackEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type v} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            {X₁ X₂ S : C} →
              (f₁ : X₁ ⟶ S) →
                (f₂ : X₂ ⟶ S) →
                  [inst_3 : CategoryTheory.Limits.HasPullback f₁ f₂] →
                    [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.cospan f₁ f₂)
                          (CategoryTheory.forget C)] →
                      CategoryTheory.ToType (CategoryTheory.Limits.pullback f₁ f₂) ≃
                        { p //
                          (CategoryTheory.ConcreteCategory.hom f₁) p.1 = (CategoryTheory.ConcreteCategory.hom f₂) p.2 }

In a concrete category C, given two morphisms f₁ : X₁ ⟶ S and f₂ : X₂ ⟶ S, the elements in pullback f₁ f₂ can be identified to compatible tuples of elements in X₁ and X₂.

def CategoryTheory.Limits.Concrete.pullbackMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type v} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            {X₁ X₂ S : C} →
              (f₁ : X₁ ⟶ S) →
                (f₂ : X₂ ⟶ S) →
                  [inst_3 : CategoryTheory.Limits.HasPullback f₁ f₂] →
                    [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.cospan f₁ f₂)
                          (CategoryTheory.forget C)] →
                      (x₁ : CategoryTheory.ToType X₁) →
                        (x₂ : CategoryTheory.ToType X₂) →
                          (CategoryTheory.ConcreteCategory.hom f₁) x₁ = (CategoryTheory.ConcreteCategory.hom f₂) x₂ →
                            CategoryTheory.ToType (CategoryTheory.Limits.pullback f₁ f₂)

Constructor for elements in a pullback in a concrete category.

theorem CategoryTheory.Limits.Concrete.pullbackMk_surjective E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type v}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] {X₁ X₂ S : C}
  (f₁ : X₁ ⟶ S) (f₂ : X₂ ⟶ S) [inst_3 : CategoryTheory.Limits.HasPullback f₁ f₂]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.cospan f₁ f₂) (CategoryTheory.forget C)]
  (x : CategoryTheory.ToType (CategoryTheory.Limits.pullback f₁ f₂)),
  ∃ x₁ x₂,
    ∃ (h : (CategoryTheory.ConcreteCategory.hom f₁) x₁ = (CategoryTheory.ConcreteCategory.hom f₂) x₂),
      x = CategoryTheory.Limits.Concrete.pullbackMk f₁ f₂ x₁ x₂ h

theorem CategoryTheory.Limits.Concrete.pullbackMk_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type v}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] {X₁ X₂ S : C}
  (f₁ : X₁ ⟶ S) (f₂ : X₂ ⟶ S) [inst_3 : CategoryTheory.Limits.HasPullback f₁ f₂]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.cospan f₁ f₂) (CategoryTheory.forget C)]
  (x₁ : CategoryTheory.ToType X₁) (x₂ : CategoryTheory.ToType X₂)
  (h : (CategoryTheory.ConcreteCategory.hom f₁) x₁ = (CategoryTheory.ConcreteCategory.hom f₂) x₂),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.pullback.fst f₁ f₂))
      (CategoryTheory.Limits.Concrete.pullbackMk f₁ f₂ x₁ x₂ h) =
    x₁

theorem CategoryTheory.Limits.Concrete.pullbackMk_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type v}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] {X₁ X₂ S : C}
  (f₁ : X₁ ⟶ S) (f₂ : X₂ ⟶ S) [inst_3 : CategoryTheory.Limits.HasPullback f₁ f₂]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.cospan f₁ f₂) (CategoryTheory.forget C)]
  (x₁ : CategoryTheory.ToType X₁) (x₂ : CategoryTheory.ToType X₂)
  (h : (CategoryTheory.ConcreteCategory.hom f₁) x₁ = (CategoryTheory.ConcreteCategory.hom f₂) x₂),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.pullback.snd f₁ f₂))
      (CategoryTheory.Limits.Concrete.pullbackMk f₁ f₂ x₁ x₂ h) =
    x₂

theorem CategoryTheory.Limits.Concrete.widePullback_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type (max v w)}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] {B : C}
  {ι : Type w} {X : ι → C} (f : (j : ι) → X j ⟶ B) [inst_3 : CategoryTheory.Limits.HasWidePullback B X f]
  [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.WidePullbackShape.wideCospan B X f)
      (CategoryTheory.forget C)]
  (x y : CategoryTheory.ToType (CategoryTheory.Limits.widePullback B X f)),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.WidePullback.base f)) x =
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.WidePullback.base f)) y →
    (∀ (j : ι),
        (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.WidePullback.π f j)) x =
          (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.WidePullback.π f j)) y) →
      x = y

theorem CategoryTheory.Limits.Concrete.widePullback_ext' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type (max v w)}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] {B : C}
  {ι : Type w} [Nonempty ι] {X : ι → C} (f : (j : ι) → X j ⟶ B) [inst_4 : CategoryTheory.Limits.HasWidePullback B X f]
  [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.WidePullbackShape.wideCospan B X f)
      (CategoryTheory.forget C)]
  (x y : CategoryTheory.ToType (CategoryTheory.Limits.widePullback B X f)),
  (∀ (j : ι),
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.WidePullback.π f j)) x =
        (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.WidePullback.π f j)) y) →
    x = y

theorem CategoryTheory.Limits.Concrete.multiequalizer_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type s}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC]
  {J : CategoryTheory.Limits.MulticospanShape} {I : CategoryTheory.Limits.MulticospanIndex J C}
  [inst_3 : CategoryTheory.Limits.HasMultiequalizer I]
  [CategoryTheory.Limits.PreservesLimit I.multicospan (CategoryTheory.forget C)]
  (x y : CategoryTheory.ToType (CategoryTheory.Limits.multiequalizer I)),
  (∀ (t : J.L),
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Multiequalizer.ι I t)) x =
        (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Multiequalizer.ι I t)) y) →
    x = y

def CategoryTheory.Limits.Concrete.multiequalizerEquivAux E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type s} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            {J : CategoryTheory.Limits.MulticospanShape} →
              (I : CategoryTheory.Limits.MulticospanIndex J C) →
                ↑(I.multicospan.comp (CategoryTheory.forget C)).sections ≃
                  { x //
                    ∀ (i : J.R),
                      (CategoryTheory.ConcreteCategory.hom (I.fst i)) (x (J.fst i)) =
                        (CategoryTheory.ConcreteCategory.hom (I.snd i)) (x (J.snd i)) }

An auxiliary equivalence to be used in multiequalizerEquiv below.

def CategoryTheory.Limits.Concrete.multiequalizerEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {FC : C → C → Type u_1} →
      {CC : C → Type s} →
        [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] →
          [inst_2 : CategoryTheory.ConcreteCategory C FC] →
            {J : CategoryTheory.Limits.MulticospanShape} →
              (I : CategoryTheory.Limits.MulticospanIndex J C) →
                [inst_3 : CategoryTheory.Limits.HasMultiequalizer I] →
                  [CategoryTheory.Limits.PreservesLimit I.multicospan (CategoryTheory.forget C)] →
                    CategoryTheory.ToType (CategoryTheory.Limits.multiequalizer I) ≃
                      { x //
                        ∀ (i : J.R),
                          (CategoryTheory.ConcreteCategory.hom (I.fst i)) (x (J.fst i)) =
                            (CategoryTheory.ConcreteCategory.hom (I.snd i)) (x (J.snd i)) }

The equivalence between the noncomputable multiequalizer and the concrete multiequalizer.

theorem CategoryTheory.Limits.Concrete.multiequalizerEquiv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type s}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC]
  {J : CategoryTheory.Limits.MulticospanShape} (I : CategoryTheory.Limits.MulticospanIndex J C)
  [inst_3 : CategoryTheory.Limits.HasMultiequalizer I]
  [inst_4 : CategoryTheory.Limits.PreservesLimit I.multicospan (CategoryTheory.forget C)]
  (x : CategoryTheory.ToType (CategoryTheory.Limits.multiequalizer I)) (i : J.L),
  ↑((CategoryTheory.Limits.Concrete.multiequalizerEquiv I) x) i =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Multiequalizer.ι I i)) x

theorem CategoryTheory.Limits.Concrete.widePushout_exists_rep E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type v}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] {B : C}
  {α : Type v} {X : α → C} (f : (j : α) → B ⟶ X j) [inst_3 : CategoryTheory.Limits.HasWidePushout B X f]
  [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.WidePushoutShape.wideSpan B X f)
      (CategoryTheory.forget C)]
  (x : CategoryTheory.ToType (CategoryTheory.Limits.widePushout B X f)),
  (∃ y, (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.WidePushout.head f)) y = x) ∨
    ∃ i y, (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.WidePushout.ι f i)) y = x

theorem CategoryTheory.Limits.Concrete.widePushout_exists_rep' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {FC : C → C → Type u_1} {CC : C → Type v}
  [inst_1 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory C FC] {B : C}
  {α : Type v} [Nonempty α] {X : α → C} (f : (j : α) → B ⟶ X j) [inst_4 : CategoryTheory.Limits.HasWidePushout B X f]
  [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.WidePushoutShape.wideSpan B X f)
      (CategoryTheory.forget C)]
  (x : CategoryTheory.ToType (CategoryTheory.Limits.widePushout B X f)),
  ∃ i y, (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.WidePushout.ι f i)) y = x

theorem CategoryTheory.Limits.Concrete.cokernel_funext E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {FC : C → C → Type u_2} {CC : C → Type u_3} [inst_2 : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)]
  [inst_3 : CategoryTheory.ConcreteCategory C FC] {M N K : C} {f : M ⟶ N} [inst_4 : CategoryTheory.Limits.HasCokernel f]
  {g h : CategoryTheory.Limits.cokernel f ⟶ K},
  (∀ (n : CategoryTheory.ToType N),
      (CategoryTheory.ConcreteCategory.hom g)
          ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.cokernel.π f)) n) =
        (CategoryTheory.ConcreteCategory.hom h)
          ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.cokernel.π f)) n)) →
    g = h