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 / V26. Homological algebra

Mathlib.Algebra.Category.Ring.Under.Property

13 declarations. Mathlib docs · Source

Properties of P.Under ⊤ R for R : CommRingCat

In this file we translate ring theoretic properties of a property of ring homomorphisms P in properties of the category P.Under ⊤ R.

Main results

  • CommRingCat.Under.hasFiniteLimits: If P is stable under finite products and equalizers, P.Under ⊤ R has finite limits.
  • RingHom.HasStableEqualizers.preservesFiniteLimits_pushout: If P has stable equalizers, base change along arbitrary morphisms preserve finite limits.

theorem RingHom.HasFiniteProducts.isClosedUnderLimitsOfShape E1 #

∀ {Q : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ Q) →
    (RingHom.HasFiniteProducts fun {R S} [CommRing R] [CommRing S] ↦ Q) →
      ∀ (R : CommRingCat),
        (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ Q).underObj.IsClosedUnderFiniteProducts

theorem RingHom.HasEqualizers.isClosedUnderLimitsOfShape E1 #

∀ {Q : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ Q) →
    (RingHom.HasEqualizers fun {R S} [CommRing R] [CommRing S] ↦ Q) →
      ∀ (R : CommRingCat),
        (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ Q).underObj.IsClosedUnderLimitsOfShape
          CategoryTheory.Limits.WalkingParallelPair

def RingHom.HasFiniteProducts.createsFiniteProductsForget E1 #

{Q : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop} →
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ Q) →
    (RingHom.HasFiniteProducts fun {R S} [CommRing R] [CommRing S] ↦ Q) →
      (R : CommRingCat) →
        CategoryTheory.Limits.CreatesFiniteProducts
          (CategoryTheory.MorphismProperty.Under.forget
            (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ Q) ⊤ R)

If Q is stable under finite products, the inclusion from the subcategory of Under R defined by Q creates finite products.

theorem RingHom.HasFiniteProducts.hasFiniteProducts E1 #

∀ {Q : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ Q) →
    (RingHom.HasFiniteProducts fun {R S} [CommRing R] [CommRing S] ↦ Q) →
      ∀ (R : CommRingCat),
        CategoryTheory.Limits.HasFiniteProducts
          ((RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ Q).Under ⊤ R)

theorem RingHom.HasFiniteProducts.preservesFiniteProducts_pushout E1 #

∀ {Q : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ Q) →
    (RingHom.HasFiniteProducts fun {R S} [CommRing R] [CommRing S] ↦ Q) →
      ∀ [inst : (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ Q).IsStableUnderCobaseChange]
        {R S : CommRingCat} (f : R ⟶ S),
        CategoryTheory.Limits.PreservesFiniteProducts
          (CategoryTheory.MorphismProperty.Under.pushout
            (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ Q) ⊤ f)

def RingHom.HasEqualizers.createsLimitsWalkingParallelPair E1 #

{Q : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop} →
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ Q) →
    (RingHom.HasEqualizers fun {R S} [CommRing R] [CommRing S] ↦ Q) →
      (R : CommRingCat) →
        CategoryTheory.CreatesLimitsOfShape CategoryTheory.Limits.WalkingParallelPair
          (CategoryTheory.MorphismProperty.Under.forget
            (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ Q) ⊤ R)

If Q is stable under equalizers, the inclusion from the subcategory of Under R defined by Q creates equalizers.

theorem RingHom.HasEqualizers.hasEqualizers E1 #

∀ {Q : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ Q) →
    (RingHom.HasEqualizers fun {R S} [CommRing R] [CommRing S] ↦ Q) →
      ∀ (R : CommRingCat),
        CategoryTheory.Limits.HasEqualizers
          ((RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ Q).Under ⊤ R)

def CommRingCat.Under.createsFiniteLimitsForget E1 #

{Q : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop} →
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ Q) →
    (RingHom.HasFiniteProducts fun {R S} [CommRing R] [CommRing S] ↦ Q) →
      (RingHom.HasEqualizers fun {R S} [CommRing R] [CommRing S] ↦ Q) →
        (R : CommRingCat) →
          CategoryTheory.Limits.CreatesFiniteLimits
            (CategoryTheory.MorphismProperty.Under.forget
              (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ Q) ⊤ R)

If Q is stable under finite products and equalizers, the inclusion from the subcategory of Under R defined by Q creates finite limits.

theorem CommRingCat.Under.hasFiniteLimits E3 #

∀ {Q : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ Q) →
    (RingHom.HasFiniteProducts fun {R S} [CommRing R] [CommRing S] ↦ Q) →
      (RingHom.HasEqualizers fun {R S} [CommRing R] [CommRing S] ↦ Q) →
        ∀ (R : CommRingCat),
          CategoryTheory.Limits.HasFiniteLimits
            ((RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ Q).Under ⊤ R)

theorem CommRingCat.preservesLimit_parallelPair_tensorProd_iff_tensorEqualizer_bijective E1 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] {A B : CategoryTheory.Under R} {f g : A ⟶ B},
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair f g) (R.tensorProd S) ↔
    Function.Bijective ⇑(AlgHom.tensorEqualizer (↑R) (↑S) (CommRingCat.toAlgHom f) (CommRingCat.toAlgHom g))

theorem RingHom.HasStableEqualizers.preservesLimit_parallelPair_tensorProd E1 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.HasStableEqualizers fun {R S} [CommRing R] [CommRing S] ↦ P) →
    ∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] {A B : CategoryTheory.Under R} (f g : A ⟶ B),
      P (CommRingCat.Hom.hom A.hom) →
        P (CommRingCat.Hom.hom B.hom) →
          CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair f g) (R.tensorProd S)

theorem RingHom.HasStableEqualizers.preservesEqualizers_pushout E1 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    (RingHom.HasEqualizers fun {R S} [CommRing R] [CommRing S] ↦ P) →
      (RingHom.HasStableEqualizers fun {R S} [CommRing R] [CommRing S] ↦ P) →
        ∀ [inst : (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ P).IsStableUnderCobaseChange]
          {R S : CommRingCat} (f : R ⟶ S),
          CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingParallelPair
            (CategoryTheory.MorphismProperty.Under.pushout
              (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ P) ⊤ f)

theorem RingHom.HasStableEqualizers.preservesFiniteLimits_pushout E3 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    (RingHom.HasFiniteProducts fun {R S} [CommRing R] [CommRing S] ↦ P) →
      (RingHom.HasEqualizers fun {R S} [CommRing R] [CommRing S] ↦ P) →
        (RingHom.HasStableEqualizers fun {R S} [CommRing R] [CommRing S] ↦ P) →
          ∀ [inst : (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ P).IsStableUnderCobaseChange]
            {R S : CommRingCat} (f : R ⟶ S),
            CategoryTheory.Limits.PreservesFiniteLimits
              (CategoryTheory.MorphismProperty.Under.pushout
                (RingHom.toMorphismProperty fun {R S} [CommRing R] [CommRing S] ↦ P) ⊤ f)

If P is a property of ring homs that is stable under finite products and equalizers, and the latter are preserved by arbitrary base change, pushout along any ring homomorphism preserves finite limits.