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

122 declarations. Mathlib docs · Source

Definitions and basic properties of regular monomorphisms and epimorphisms.

A regular monomorphism is a morphism that is the equalizer of some parallel pair.

In this file, we give the following definitions.

  • RegularMono f, which is a structure carrying the data that exhibits f as a regular monomorphism. That is, it carries a fork and data specifying f as the equalizer of that fork.
  • IsRegularMono f, which is a Prop-valued class stating that f is a regular monomorphism. In particular, this doesn't carry any data.

and constructions

  • IsSplitMono f → RegularMono f and
  • RegularMono f → Mono f

as well as the dual definitions/constructions for regular epimorphisms.

Additionally, we give the constructions

  • RegularEpi f → EffectiveEpi f, from which it can be deduced that regular epimorphisms are strong.
  • regularEpiOfEffectiveEpi: constructs a RegularEpi f instance from EffectiveEpi f and HasPullback f f.

We also define classes IsRegularMonoCategory and IsRegularEpiCategory for categories in which every monomorphism or epimorphism is regular, and deduce that these categories are StrongMonoCategorys resp. StrongEpiCategorys.

Given a regular monomorphism f : X ⟶ Y (i.e. a morphism satisfying the predicate IsRegularMono), this section gives an equalizer diagram

     X
    f|
     v
     Y
left| |right
    v v
     Z

The names Z, left, and right all being in the IsRegularMono namespace.

Given a regular epimorphism f : X ⟶ Y (i.e. a morphism satisfying the predicate IsRegularEpi), this section gives a coequalizer diagram

     W
left| |right
    v v
     X
    f|
     v
     Y

The names W, left, and right all being in the IsRegularEpi namespace.

def CategoryTheory.RegularMono.ctorIdx E1 #

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

theorem CategoryTheory.RegularMono.mk.injEq E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y} (Z : C) (left right : Y ⟶ Z)
  (w :
    autoParam (CategoryTheory.CategoryStruct.comp f left = CategoryTheory.CategoryStruct.comp f right)
      CategoryTheory.RegularMono.w._autoParam)
  (isLimit : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f w)) (Z_1 : C) (left_1 right_1 : Y ⟶ Z_1)
  (w_1 :
    autoParam (CategoryTheory.CategoryStruct.comp f left_1 = CategoryTheory.CategoryStruct.comp f right_1)
      CategoryTheory.RegularMono.w._autoParam)
  (isLimit_1 : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f w_1)),
  ({ Z := Z, left := left, right := right, w := w, isLimit := isLimit } =
      { Z := Z_1, left := left_1, right := right_1, w := w_1, isLimit := isLimit_1 }) =
    (Z = Z_1 ∧ left ≍ left_1 ∧ right ≍ right_1 ∧ isLimit ≍ isLimit_1)

theorem CategoryTheory.RegularEpi.mk.injEq E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y} (W : C) (left right : W ⟶ X)
  (w :
    autoParam (CategoryTheory.CategoryStruct.comp left f = CategoryTheory.CategoryStruct.comp right f)
      CategoryTheory.RegularEpi.w._autoParam)
  (isColimit : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ f w)) (W_1 : C)
  (left_1 right_1 : W_1 ⟶ X)
  (w_1 :
    autoParam (CategoryTheory.CategoryStruct.comp left_1 f = CategoryTheory.CategoryStruct.comp right_1 f)
      CategoryTheory.RegularEpi.w._autoParam)
  (isColimit_1 : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ f w_1)),
  ({ W := W, left := left, right := right, w := w, isColimit := isColimit } =
      { W := W_1, left := left_1, right := right_1, w := w_1, isColimit := isColimit_1 }) =
    (W = W_1 ∧ left ≍ left_1 ∧ right ≍ right_1 ∧ isColimit ≍ isColimit_1)

def CategoryTheory.RegularEpi.ctorIdx E1 #

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

theorem CategoryTheory.IsRegularEpi.desc.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : C} (f f_1 : X ⟶ Y) (e_f : f = f_1)
  [inst_1 : CategoryTheory.IsRegularEpi f] (k k_1 : X ⟶ Z) (e_k : k = k_1)
  (h :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.left f) k =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.right f) k),
  CategoryTheory.IsRegularEpi.desc f k h = CategoryTheory.IsRegularEpi.desc f_1 k_1 ⋯

theorem CategoryTheory.Limits.Cone.π.hcongr_6 E1 #

∀ (J J' : Type u₁),
  J = J' →
    ∀ (inst : CategoryTheory.Category.{v₁, u₁} J) (inst' : CategoryTheory.Category.{v₁, u₁} J'),
      inst ≍ inst' →
        ∀ (C C' : Type u₃),
          C = C' →
            ∀ (inst_1 : CategoryTheory.Category.{v₃, u₃} C) (inst'_1 : CategoryTheory.Category.{v₃, u₃} C'),
              inst_1 ≍ inst'_1 →
                ∀ (F : CategoryTheory.Functor J C) (F' : CategoryTheory.Functor J' C'),
                  F ≍ F' →
                    ∀ (self : CategoryTheory.Limits.Cone F) (self' : CategoryTheory.Limits.Cone F'),
                      self ≍ self' → self.π ≍ self'.π

theorem CategoryTheory.RegularEpi.mk.inj E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {X Y : C} {f : X ⟶ Y} {W : C} {left right : W ⟶ X}
  {w :
    autoParam (CategoryTheory.CategoryStruct.comp left f = CategoryTheory.CategoryStruct.comp right f)
      CategoryTheory.RegularEpi.w._autoParam}
  {isColimit : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ f w)} {W_1 : C}
  {left_1 right_1 : W_1 ⟶ X}
  {w_1 :
    autoParam (CategoryTheory.CategoryStruct.comp left_1 f = CategoryTheory.CategoryStruct.comp right_1 f)
      CategoryTheory.RegularEpi.w._autoParam}
  {isColimit_1 : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ f w_1)},
  { W := W, left := left, right := right, w := w, isColimit := isColimit } =
      { W := W_1, left := left_1, right := right_1, w := w_1, isColimit := isColimit_1 } →
    W = W_1 ∧ left ≍ left_1 ∧ right ≍ right_1 ∧ isColimit ≍ isColimit_1

theorem CategoryTheory.RegularMono.mk.inj E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {X Y : C} {f : X ⟶ Y} {Z : C} {left right : Y ⟶ Z}
  {w :
    autoParam (CategoryTheory.CategoryStruct.comp f left = CategoryTheory.CategoryStruct.comp f right)
      CategoryTheory.RegularMono.w._autoParam}
  {isLimit : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f w)} {Z_1 : C} {left_1 right_1 : Y ⟶ Z_1}
  {w_1 :
    autoParam (CategoryTheory.CategoryStruct.comp f left_1 = CategoryTheory.CategoryStruct.comp f right_1)
      CategoryTheory.RegularMono.w._autoParam}
  {isLimit_1 : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f w_1)},
  { Z := Z, left := left, right := right, w := w, isLimit := isLimit } =
      { Z := Z_1, left := left_1, right := right_1, w := w_1, isLimit := isLimit_1 } →
    Z = Z_1 ∧ left ≍ left_1 ∧ right ≍ right_1 ∧ isLimit ≍ isLimit_1

theorem CategoryTheory.IsRegularMono.lift.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y W : C} (f f_1 : X ⟶ Y) (e_f : f = f_1)
  [inst_1 : CategoryTheory.IsRegularMono f] (k k_1 : W ⟶ Y) (e_k : k = k_1)
  (h :
    CategoryTheory.CategoryStruct.comp k (CategoryTheory.IsRegularMono.left f) =
      CategoryTheory.CategoryStruct.comp k (CategoryTheory.IsRegularMono.right f)),
  CategoryTheory.IsRegularMono.lift f k h = CategoryTheory.IsRegularMono.lift f_1 k_1 ⋯

structure CategoryTheory.RegularMono E1 #

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

A regular monomorphism is a morphism which is the equalizer of some parallel pair.

ctor CategoryTheory.RegularMono.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} →
      {f : X ⟶ Y} →
        (Z : C) →
          (left right : Y ⟶ Z) →
            (w :
                autoParam (CategoryTheory.CategoryStruct.comp f left = CategoryTheory.CategoryStruct.comp f right)
                  CategoryTheory.RegularMono.w._autoParam) →
              CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f w) → CategoryTheory.RegularMono f

abbrev CategoryTheory.RegularMono.Z E1 #

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

An object in C

abbrev CategoryTheory.RegularMono.left E1 #

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

A map from the codomain of f to Z

abbrev CategoryTheory.RegularMono.right E1 #

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

Another map from the codomain of f to Z

theorem CategoryTheory.RegularMono.w E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y} (self : CategoryTheory.RegularMono f),
  CategoryTheory.CategoryStruct.comp f self.left = CategoryTheory.CategoryStruct.comp f self.right

f equalizes the two maps

abbrev CategoryTheory.RegularMono.isLimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} →
      {f : X ⟶ Y} →
        (self : CategoryTheory.RegularMono f) → CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f ⋯)

f is the equalizer of the two maps

theorem CategoryTheory.RegularMono.w_assoc E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y} (self : CategoryTheory.RegularMono f)
  {Z : C} (h : self.Z ⟶ Z),
  CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp self.left h) =
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp self.right h)

f equalizes the two maps

theorem CategoryTheory.RegularMono.mono E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y} (h : CategoryTheory.RegularMono f),
  CategoryTheory.Mono f

Every regular monomorphism is a monomorphism.

def CategoryTheory.RegularMono.ofIso E1 #

{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → {X Y : C} → (e : X ≅ Y) → CategoryTheory.RegularMono e.hom

Every isomorphism is a regular monomorphism.

def CategoryTheory.RegularMono.ofArrowIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y X' Y' : C} →
      {f : X ⟶ Y} →
        {g : X' ⟶ Y'} →
          (CategoryTheory.Arrow.mk f ≅ CategoryTheory.Arrow.mk g) →
            CategoryTheory.RegularMono f → CategoryTheory.RegularMono g

Regular monomorphisms are preserved by isomorphisms in the arrow category.

class CategoryTheory.IsRegularMono E1 #

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

IsRegularMono f is the assertion that f is a regular monomorphism.

ctor CategoryTheory.IsRegularMono.mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y},
  Nonempty (CategoryTheory.RegularMono f) → CategoryTheory.IsRegularMono f

theorem CategoryTheory.IsRegularMono.regularMono E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {X Y : C} {f : X ⟶ Y}
  [self : CategoryTheory.IsRegularMono f], Nonempty (CategoryTheory.RegularMono f)

def CategoryTheory.MorphismProperty.regularMono E1 #

(C : Type u₁) → [inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.MorphismProperty C

The MorphismProperty C satisfied by regular monomorphisms in C.

theorem CategoryTheory.MorphismProperty.regularMono_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
  CategoryTheory.MorphismProperty.regularMono C f ↔ CategoryTheory.IsRegularMono f

instance CategoryTheory.MorphismProperty.regularMono.containsIdentities E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C],
  (CategoryTheory.MorphismProperty.regularMono C).ContainsIdentities

instance CategoryTheory.MorphismProperty.regularMono.respectsIso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C], (CategoryTheory.MorphismProperty.regularMono C).RespectsIso

theorem CategoryTheory.isRegularMono_of_regularMono E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y} (h : CategoryTheory.RegularMono f),
  CategoryTheory.IsRegularMono f

def CategoryTheory.IsRegularMono.getStruct E1 #

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

Given IsRegularMono f, a choice of data for RegularMono f.

def CategoryTheory.Fork.IsLimit.regularMono E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {A B : C} →
      {p₁ p₂ : A ⟶ B} →
        {c : CategoryTheory.Limits.Fork p₁ p₂} → CategoryTheory.Limits.IsLimit c → CategoryTheory.RegularMono c.ι

An equalizer diagram gives rise to a regular monomorphism.

def CategoryTheory.IsRegularMono.Z E1 #

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

The target of the equalizer diagram for f.

def CategoryTheory.IsRegularMono.left E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} → (f : X ⟶ Y) → [inst_1 : CategoryTheory.IsRegularMono f] → Y ⟶ CategoryTheory.IsRegularMono.Z f

The "left" map Y ⟶ Z.

def CategoryTheory.IsRegularMono.right E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} → (f : X ⟶ Y) → [inst_1 : CategoryTheory.IsRegularMono f] → Y ⟶ CategoryTheory.IsRegularMono.Z f

The "right" map Y ⟶ Z.

theorem CategoryTheory.IsRegularMono.w E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.IsRegularMono f],
  CategoryTheory.CategoryStruct.comp f (CategoryTheory.IsRegularMono.left f) =
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.IsRegularMono.right f)

The equalizer condition.

def CategoryTheory.IsRegularMono.isLimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} →
      (f : X ⟶ Y) →
        [inst_1 : CategoryTheory.IsRegularMono f] → CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι f ⋯)

The fork is in fact an equalizer.

def CategoryTheory.IsRegularMono.lift E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y W : C} →
      (f : X ⟶ Y) →
        [inst_1 : CategoryTheory.IsRegularMono f] →
          (k : W ⟶ Y) →
            CategoryTheory.CategoryStruct.comp k (CategoryTheory.IsRegularMono.left f) =
                CategoryTheory.CategoryStruct.comp k (CategoryTheory.IsRegularMono.right f) →
              (W ⟶ X)

Lift a morphism k : W ⟶ Y, equalized by the two morphisms left and right, along f.

theorem CategoryTheory.IsRegularMono.fac E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y W : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.IsRegularMono f] (k : W ⟶ Y)
  (h :
    CategoryTheory.CategoryStruct.comp k (CategoryTheory.IsRegularMono.left f) =
      CategoryTheory.CategoryStruct.comp k (CategoryTheory.IsRegularMono.right f)),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularMono.lift f k h) f = k

theorem CategoryTheory.IsRegularMono.fac_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y W : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.IsRegularMono f] (k : W ⟶ Y)
  (h :
    CategoryTheory.CategoryStruct.comp k (CategoryTheory.IsRegularMono.left f) =
      CategoryTheory.CategoryStruct.comp k (CategoryTheory.IsRegularMono.right f))
  {Z : C} (h_1 : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularMono.lift f k h)
      (CategoryTheory.CategoryStruct.comp f h_1) =
    CategoryTheory.CategoryStruct.comp k h_1

theorem CategoryTheory.IsRegularMono.uniq E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y W : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.IsRegularMono f] (k : W ⟶ Y)
  (h :
    CategoryTheory.CategoryStruct.comp k (CategoryTheory.IsRegularMono.left f) =
      CategoryTheory.CategoryStruct.comp k (CategoryTheory.IsRegularMono.right f))
  (m : W ⟶ X), CategoryTheory.CategoryStruct.comp m f = k → m = CategoryTheory.IsRegularMono.lift f k h

def CategoryTheory.RegularMono.equalizer E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} →
      (g h : X ⟶ Y) →
        [inst_1 : CategoryTheory.Limits.HasLimit (CategoryTheory.Limits.parallelPair g h)] →
          CategoryTheory.RegularMono (CategoryTheory.Limits.equalizer.ι g h)

The chosen equalizer of a parallel pair is a regular monomorphism.

instance CategoryTheory.instIsRegularMonoι E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (g h : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasLimit (CategoryTheory.Limits.parallelPair g h)],
  CategoryTheory.IsRegularMono (CategoryTheory.Limits.equalizer.ι g h)

def CategoryTheory.RegularMono.ofIsSplitMono E1 #

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

Every split monomorphism is a regular monomorphism.

instance CategoryTheory.instIsRegularMonoOfIsSplitMono E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y) [CategoryTheory.IsSplitMono f],
  CategoryTheory.IsRegularMono f

def CategoryTheory.RegularMono.lift' E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y W : C} →
      {f : X ⟶ Y} →
        (hf : CategoryTheory.RegularMono f) →
          (k : W ⟶ Y) →
            CategoryTheory.CategoryStruct.comp k hf.left = CategoryTheory.CategoryStruct.comp k hf.right →
              { l // CategoryTheory.CategoryStruct.comp l f = k }

If f is a regular mono, then any map k : W ⟶ Y equalizing RegularMono.left and RegularMono.right induces a morphism l : W ⟶ X such that l ≫ f = k.

def CategoryTheory.regularOfIsPullbackSndOfRegular E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {P Q R S : C} →
      {f : P ⟶ Q} →
        {g : P ⟶ R} →
          {h : Q ⟶ S} →
            {k : R ⟶ S} →
              CategoryTheory.RegularMono h →
                (comm : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k) →
                  CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.PullbackCone.mk f g comm) →
                    CategoryTheory.RegularMono g

The second leg of a pullback cone is a regular monomorphism if the right component is too.

See also Pullback.sndOfMono for the basic monomorphism version, and regularOfIsPullbackFstOfRegular for the flipped version.

def CategoryTheory.regularOfIsPullbackFstOfRegular E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {P Q R S : C} →
      {f : P ⟶ Q} →
        {g : P ⟶ R} →
          {h : Q ⟶ S} →
            {k : R ⟶ S} →
              CategoryTheory.RegularMono k →
                (comm : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k) →
                  CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.PullbackCone.mk f g comm) →
                    CategoryTheory.RegularMono f

The first leg of a pullback cone is a regular monomorphism if the left component is too.

See also Pullback.fstOfMono for the basic monomorphism version, and regularOfIsPullbackSndOfRegular for the flipped version.

theorem CategoryTheory.RegularMono.strongMono E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y} (h : CategoryTheory.RegularMono f),
  CategoryTheory.StrongMono f

Any regular monomorphism is a strong monomorphism.

instance CategoryTheory.instStrongMonoOfIsRegularMono E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y) [CategoryTheory.IsRegularMono f],
  CategoryTheory.StrongMono f

theorem CategoryTheory.isIso_of_regularMono_of_epi E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y) (h : CategoryTheory.RegularMono f)
  [CategoryTheory.Epi f], CategoryTheory.IsIso f

A regular monomorphism is an isomorphism if it is an epimorphism.

class CategoryTheory.IsRegularMonoCategory E1 #

(C : Type u₁) → [CategoryTheory.Category.{v₁, u₁} C] → Prop

A regular mono category is a category in which every monomorphism is regular.

ctor CategoryTheory.IsRegularMonoCategory.mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C],
  (∀ {X Y : C} (f : X ⟶ Y) [CategoryTheory.Mono f], CategoryTheory.IsRegularMono f) →
    CategoryTheory.IsRegularMonoCategory C

theorem CategoryTheory.IsRegularMonoCategory.regularMonoOfMono E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} [self : CategoryTheory.IsRegularMonoCategory C] {X Y : C}
  (f : X ⟶ Y) [CategoryTheory.Mono f], CategoryTheory.IsRegularMono f

Every monomorphism is a regular monomorphism

def CategoryTheory.regularMonoOfMono E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} →
      [CategoryTheory.IsRegularMonoCategory C] → (f : X ⟶ Y) → [CategoryTheory.Mono f] → CategoryTheory.RegularMono f

In a category in which every monomorphism is regular, we can express every monomorphism as an equalizer. This is not an instance because it would create an instance loop.

instance CategoryTheory.regularMonoCategoryOfSplitMonoCategory E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [CategoryTheory.SplitMonoCategory C],
  CategoryTheory.IsRegularMonoCategory C

instance CategoryTheory.strongMonoCategory_of_regularMonoCategory E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [CategoryTheory.IsRegularMonoCategory C],
  CategoryTheory.StrongMonoCategory C

structure CategoryTheory.RegularEpi E1 #

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

A regular epimorphism is a morphism which is the coequalizer of some parallel pair.

ctor CategoryTheory.RegularEpi.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} →
      {f : X ⟶ Y} →
        (W : C) →
          (left right : W ⟶ X) →
            (w :
                autoParam (CategoryTheory.CategoryStruct.comp left f = CategoryTheory.CategoryStruct.comp right f)
                  CategoryTheory.RegularEpi.w._autoParam) →
              CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ f w) → CategoryTheory.RegularEpi f

abbrev CategoryTheory.RegularEpi.W E1 #

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

An object from C

abbrev CategoryTheory.RegularEpi.left E1 #

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

Two maps to the domain of f

abbrev CategoryTheory.RegularEpi.right E1 #

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

Two maps to the domain of f

theorem CategoryTheory.RegularEpi.w E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y} (self : CategoryTheory.RegularEpi f),
  CategoryTheory.CategoryStruct.comp self.left f = CategoryTheory.CategoryStruct.comp self.right f

f coequalizes the two maps

abbrev CategoryTheory.RegularEpi.isColimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} →
      {f : X ⟶ Y} →
        (self : CategoryTheory.RegularEpi f) → CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ f ⋯)

f is the coequalizer

theorem CategoryTheory.RegularEpi.w_assoc E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y} (self : CategoryTheory.RegularEpi f)
  {Z : C} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp self.left (CategoryTheory.CategoryStruct.comp f h) =
    CategoryTheory.CategoryStruct.comp self.right (CategoryTheory.CategoryStruct.comp f h)

f coequalizes the two maps

theorem CategoryTheory.RegularEpi.epi E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y) (h : CategoryTheory.RegularEpi f),
  CategoryTheory.Epi f

Every regular epimorphism is an epimorphism.

def CategoryTheory.RegularEpi.ofIso E1 #

{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → {X Y : C} → (e : X ≅ Y) → CategoryTheory.RegularEpi e.hom

Every isomorphism is a regular epimorphism.

def CategoryTheory.RegularEpi.ofArrowIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y X' Y' : C} →
      {f : X ⟶ Y} →
        {g : X' ⟶ Y'} →
          (CategoryTheory.Arrow.mk f ≅ CategoryTheory.Arrow.mk g) →
            CategoryTheory.RegularEpi f → CategoryTheory.RegularEpi g

Regular epimorphisms are preserved by isomorphisms in the arrow category.

class CategoryTheory.IsRegularEpi E1 #

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

IsRegularEpi f is the assertion that f is a regular epimorphism.

ctor CategoryTheory.IsRegularEpi.mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y},
  Nonempty (CategoryTheory.RegularEpi f) → CategoryTheory.IsRegularEpi f

theorem CategoryTheory.IsRegularEpi.regularEpi E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {X Y : C} {f : X ⟶ Y}
  [self : CategoryTheory.IsRegularEpi f], Nonempty (CategoryTheory.RegularEpi f)

def CategoryTheory.MorphismProperty.regularEpi E1 #

(C : Type u₁) → [inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.MorphismProperty C

The MorphismProperty C satisfied by regular epimorphisms in C.

theorem CategoryTheory.MorphismProperty.regularEpi_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
  CategoryTheory.MorphismProperty.regularEpi C f ↔ CategoryTheory.IsRegularEpi f

instance CategoryTheory.MorphismProperty.regularEpi.containsIdentities E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C],
  (CategoryTheory.MorphismProperty.regularEpi C).ContainsIdentities

instance CategoryTheory.MorphismProperty.regularEpi.respectsIso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C], (CategoryTheory.MorphismProperty.regularEpi C).RespectsIso

theorem CategoryTheory.isRegularEpi_of_regularEpi E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {f : X ⟶ Y} (h : CategoryTheory.RegularEpi f),
  CategoryTheory.IsRegularEpi f

def CategoryTheory.IsRegularEpi.getStruct E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} → (f : X ⟶ Y) → [h : CategoryTheory.IsRegularEpi f] → CategoryTheory.RegularEpi f

Given IsRegularEpi f, a choice of data for RegularEpi f.

def CategoryTheory.Cofork.IsColimit.regularEpi E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {A B : C} →
      {p₁ p₂ : A ⟶ B} →
        {c : CategoryTheory.Limits.Cofork p₁ p₂} → CategoryTheory.Limits.IsColimit c → CategoryTheory.RegularEpi c.π

A coequalizer diagram gives rise to a regular epimorphism.

def CategoryTheory.IsRegularEpi.W E1 #

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

The source of the coequalizer diagram for f.

def CategoryTheory.IsRegularEpi.left E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} → (f : X ⟶ Y) → [inst_1 : CategoryTheory.IsRegularEpi f] → CategoryTheory.IsRegularEpi.W f ⟶ X

The "left" map W ⟶ X.

def CategoryTheory.IsRegularEpi.right E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} → (f : X ⟶ Y) → [inst_1 : CategoryTheory.IsRegularEpi f] → CategoryTheory.IsRegularEpi.W f ⟶ X

The "right" map W ⟶ X.

theorem CategoryTheory.IsRegularEpi.w E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.IsRegularEpi f],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.left f) f =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.right f) f

The coequalizer condition.

def CategoryTheory.IsRegularEpi.isColimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} →
      (f : X ⟶ Y) →
        [inst_1 : CategoryTheory.IsRegularEpi f] →
          CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ f ⋯)

The cofork is in fact a coequalizer.

def CategoryTheory.IsRegularEpi.desc E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y Z : C} →
      (f : X ⟶ Y) →
        [inst_1 : CategoryTheory.IsRegularEpi f] →
          (k : X ⟶ Z) →
            CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.left f) k =
                CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.right f) k →
              (Y ⟶ Z)

Descend a morphism k : X ⟶ Z, coequalized by the two morphisms left and right, along f.

theorem CategoryTheory.IsRegularEpi.fac E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.IsRegularEpi f] (k : X ⟶ Z)
  (h :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.left f) k =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.right f) k),
  CategoryTheory.CategoryStruct.comp f (CategoryTheory.IsRegularEpi.desc f k h) = k

theorem CategoryTheory.IsRegularEpi.fac_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.IsRegularEpi f] (k : X ⟶ Z)
  (h :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.left f) k =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.right f) k)
  {Z_1 : C} (h_1 : Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp f
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.desc f k h) h_1) =
    CategoryTheory.CategoryStruct.comp k h_1

theorem CategoryTheory.IsRegularEpi.uniq E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y Z : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.IsRegularEpi f] (k : X ⟶ Z)
  (h :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.left f) k =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.IsRegularEpi.right f) k)
  (m : Y ⟶ Z), CategoryTheory.CategoryStruct.comp f m = k → m = CategoryTheory.IsRegularEpi.desc f k h

def CategoryTheory.coequalizerRegular E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} →
      (g h : X ⟶ Y) →
        [inst_1 : CategoryTheory.Limits.HasColimit (CategoryTheory.Limits.parallelPair g h)] →
          CategoryTheory.RegularEpi (CategoryTheory.Limits.coequalizer.π g h)

The chosen coequalizer of a parallel pair is a regular epimorphism.

instance CategoryTheory.instIsRegularEpiπ E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (g h : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasColimit (CategoryTheory.Limits.parallelPair g h)],
  CategoryTheory.IsRegularEpi (CategoryTheory.Limits.coequalizer.π g h)

def CategoryTheory.regularEpiOfKernelPair E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {B X : C} →
      (f : X ⟶ B) →
        [inst_1 : CategoryTheory.Limits.HasPullback f f] →
          CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ f ⋯) → CategoryTheory.RegularEpi f

A morphism which is a coequalizer for its kernel pair is a regular epi.

theorem CategoryTheory.IsRegularEpi.of_epi_of_exists E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X B : C} {f : X ⟶ B}
  [inst_1 : CategoryTheory.Limits.HasPullback f f] [CategoryTheory.Epi f],
  (∀ ⦃Z : C⦄ ⦃g : X ⟶ Z⦄,
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst f f) g =
          CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.snd f f) g →
        ∃ u, CategoryTheory.CategoryStruct.comp f u = g) →
    CategoryTheory.IsRegularEpi f

def CategoryTheory.effectiveEpiStructOfRegularEpi E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {B X : C} → {f : X ⟶ B} → CategoryTheory.RegularEpi f → CategoryTheory.EffectiveEpiStruct f

The data of an EffectiveEpi structure on a RegularEpi.

theorem CategoryTheory.RegularEpi.effectiveEpi E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {B X : C} {f : X ⟶ B} (h : CategoryTheory.RegularEpi f),
  CategoryTheory.EffectiveEpi f

instance CategoryTheory.instEffectiveEpiOfIsRegularEpi E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {B X : C} {f : X ⟶ B} [h : CategoryTheory.IsRegularEpi f],
  CategoryTheory.EffectiveEpi f

theorem CategoryTheory.effectiveEpi_of_kernelPair E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {B X : C} (f : X ⟶ B)
  [inst_1 : CategoryTheory.Limits.HasPullback f f]
  (hc : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ f ⋯)), CategoryTheory.EffectiveEpi f

A morphism which is a coequalizer for its kernel pair is an effective epi.

def CategoryTheory.isColimitCoforkOfEffectiveEpi E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {B X : C} →
      (f : X ⟶ B) →
        [CategoryTheory.EffectiveEpi f] →
          (c : CategoryTheory.Limits.PullbackCone f f) →
            CategoryTheory.Limits.IsLimit c → CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ f ⋯)

Given a kernel pair of an effective epimorphism f : X ⟶ B, the induced cofork is a coequalizer.

def CategoryTheory.regularEpiOfEffectiveEpi E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {B X : C} →
      (f : X ⟶ B) →
        [CategoryTheory.Limits.HasPullback f f] → [CategoryTheory.EffectiveEpi f] → CategoryTheory.RegularEpi f

An effective epi which has a kernel pair is a regular epi.

instance CategoryTheory.isRegularEpi_of_EffectiveEpi E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {B X : C} (f : X ⟶ B)
  [CategoryTheory.Limits.HasPullback f f] [CategoryTheory.EffectiveEpi f], CategoryTheory.IsRegularEpi f

theorem CategoryTheory.isRegularEpi_iff_effectiveEpi E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {B X : C} (f : X ⟶ B)
  [CategoryTheory.Limits.HasPullback f f], CategoryTheory.IsRegularEpi f ↔ CategoryTheory.EffectiveEpi f

def CategoryTheory.EffectiveEpiStruct.isColimitCoforkOfIsPullback E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y Z : C} →
      {p : Y ⟶ X} →
        CategoryTheory.EffectiveEpiStruct p →
          {p₁ p₂ : Z ⟶ Y} →
            (sq : CategoryTheory.IsPullback p₁ p₂ p p) →
              CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofork.ofπ p ⋯)

Let p : Y ⟶ X be an effective epimorphism, p₁ : Z ⟶ Y and p₂ : Z ⟶ Y two morphisms which make Z the pullback of two copies of Y over X. Then, Y ⟶ X is the coequalizer of p₁ and p₂.

def CategoryTheory.RegularEpi.ofSplitEpi E1 #

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

Every split epimorphism is a regular epimorphism.

instance CategoryTheory.instIsRegularEpiOfIsSplitEpi E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y) [CategoryTheory.IsSplitEpi f],
  CategoryTheory.IsRegularEpi f

def CategoryTheory.RegularEpi.desc' E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y W : C} →
      {f : X ⟶ Y} →
        (hf : CategoryTheory.RegularEpi f) →
          (k : X ⟶ W) →
            CategoryTheory.CategoryStruct.comp hf.left k = CategoryTheory.CategoryStruct.comp hf.right k →
              { l // CategoryTheory.CategoryStruct.comp f l = k }

If f is a regular epi, then every morphism k : X ⟶ W coequalizing RegularEpi.left and RegularEpi.right induces l : Y ⟶ W such that f ≫ l = k.

def CategoryTheory.regularOfIsPushoutSndOfRegular E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {P Q R S : C} →
      {f : P ⟶ Q} →
        {g : P ⟶ R} →
          {h : Q ⟶ S} →
            {k : R ⟶ S} →
              CategoryTheory.RegularEpi g →
                (comm : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k) →
                  CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.PushoutCocone.mk h k comm) →
                    CategoryTheory.RegularEpi h

The second leg of a pushout cocone is a regular epimorphism if the right component is too.

See also Pushout.sndOfEpi for the basic epimorphism version, and regularOfIsPushoutFstOfRegular for the flipped version.

def CategoryTheory.regularOfIsPushoutFstOfRegular E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {P Q R S : C} →
      {f : P ⟶ Q} →
        {g : P ⟶ R} →
          {h : Q ⟶ S} →
            {k : R ⟶ S} →
              CategoryTheory.RegularEpi f →
                (comm : CategoryTheory.CategoryStruct.comp f h = CategoryTheory.CategoryStruct.comp g k) →
                  CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.PushoutCocone.mk h k comm) →
                    CategoryTheory.RegularEpi k

The first leg of a pushout cocone is a regular epimorphism if the left component is too.

See also Pushout.fstOfEpi for the basic epimorphism version, and regularOfIsPushoutSndOfRegular for the flipped version.

theorem CategoryTheory.isIso_of_regularEpi_of_mono E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y) (h : CategoryTheory.RegularEpi f)
  [CategoryTheory.Mono f], CategoryTheory.IsIso f

A regular epimorphism is an isomorphism if it is a monomorphism.

def CategoryTheory.RegularMono.op E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} → {f : X ⟶ Y} → CategoryTheory.RegularMono f → CategoryTheory.RegularEpi f.op

A regular monomorphism in C induces a regular epimorphism in Cᵒᵖ.

def CategoryTheory.RegularMono.unop E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : Cᵒᵖ} → {f : X ⟶ Y} → CategoryTheory.RegularMono f → CategoryTheory.RegularEpi f.unop

A regular monomorphism in Cᵒᵖ induces a regular epimorphism in C.

def CategoryTheory.RegularEpi.op E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} → {f : X ⟶ Y} → CategoryTheory.RegularEpi f → CategoryTheory.RegularMono f.op

A regular epimorphism in C induces a regular monomorphism in Cᵒᵖ.

def CategoryTheory.RegularEpi.unop E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : Cᵒᵖ} → {f : X ⟶ Y} → CategoryTheory.RegularEpi f → CategoryTheory.RegularMono f.unop

A regular epimorphism in Cᵒᵖ induces a regular monomorphism in C.

theorem CategoryTheory.isRegularMono_op_iff_isRegularEpi E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
  CategoryTheory.IsRegularMono f.op ↔ CategoryTheory.IsRegularEpi f

instance CategoryTheory.instIsRegularMonoOppositeOpOfIsRegularEpi E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y) [CategoryTheory.IsRegularEpi f],
  CategoryTheory.IsRegularMono f.op

theorem CategoryTheory.isRegularMono_unop_iff_isRegularEpi E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} (f : X ⟶ Y),
  CategoryTheory.IsRegularMono f.unop ↔ CategoryTheory.IsRegularEpi f

instance CategoryTheory.instIsRegularMonoUnopOfIsRegularEpiOpposite E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} (f : X ⟶ Y) [CategoryTheory.IsRegularEpi f],
  CategoryTheory.IsRegularMono f.unop

theorem CategoryTheory.isRegularEpi_op_iff_isRegularMono E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
  CategoryTheory.IsRegularEpi f.op ↔ CategoryTheory.IsRegularMono f

instance CategoryTheory.instIsRegularEpiOppositeOpOfIsRegularMono E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y) [CategoryTheory.IsRegularMono f],
  CategoryTheory.IsRegularEpi f.op

theorem CategoryTheory.isRegularEpi_unop_iff_isRegularMono E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} (f : X ⟶ Y),
  CategoryTheory.IsRegularEpi f.unop ↔ CategoryTheory.IsRegularMono f

instance CategoryTheory.instIsRegularEpiUnopOfIsRegularMonoOpposite E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} (f : X ⟶ Y) [CategoryTheory.IsRegularMono f],
  CategoryTheory.IsRegularEpi f.unop

class CategoryTheory.IsRegularEpiCategory E1 #

(C : Type u₁) → [CategoryTheory.Category.{v₁, u₁} C] → Prop

A regular epi category is a category in which every epimorphism is regular.

ctor CategoryTheory.IsRegularEpiCategory.mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C],
  (∀ {X Y : C} (f : X ⟶ Y) [CategoryTheory.Epi f], CategoryTheory.IsRegularEpi f) →
    CategoryTheory.IsRegularEpiCategory C

theorem CategoryTheory.IsRegularEpiCategory.regularEpiOfEpi E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} [self : CategoryTheory.IsRegularEpiCategory C] {X Y : C}
  (f : X ⟶ Y) [CategoryTheory.Epi f], CategoryTheory.IsRegularEpi f

Everyone epimorphism is a regular epimorphism

def CategoryTheory.regularEpiOfEpi E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X Y : C} →
      [CategoryTheory.IsRegularEpiCategory C] → (f : X ⟶ Y) → [CategoryTheory.Epi f] → CategoryTheory.RegularEpi f

In a category in which every epimorphism is regular, we can express every epimorphism as a coequalizer. This is not an instance because it would create an instance loop.

instance CategoryTheory.regularEpiCategoryOfSplitEpiCategory E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [CategoryTheory.SplitEpiCategory C],
  CategoryTheory.IsRegularEpiCategory C

instance CategoryTheory.strongEpiCategory_of_regularEpiCategory E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [CategoryTheory.IsRegularEpiCategory C],
  CategoryTheory.StrongEpiCategory C