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

25 declarations. Mathlib docs · Source

def CommRingCat.Under.piFan E1 #

{R : CommRingCat} → {ι : Type u} → (P : ι → CategoryTheory.Under R) → CategoryTheory.Limits.Fan P

The canonical fan on P : ι → Under R given by ∀ i, P i.

def CommRingCat.Under.piFanIsLimit E1 #

{R : CommRingCat} →
  {ι : Type u} → (P : ι → CategoryTheory.Under R) → CategoryTheory.Limits.IsLimit (CommRingCat.Under.piFan P)

The canonical fan is limiting.

def CommRingCat.Under.tensorProductFan E1 #

{R : CommRingCat} →
  (S : CommRingCat) →
    [inst : Algebra ↑R ↑S] →
      {ι : Type u} →
        (P : ι → CategoryTheory.Under R) →
          CategoryTheory.Limits.Fan fun i ↦ S.mkUnder (TensorProduct ↑R ↑S ↑(P i).right)

The fan on i ↦ S ⊗[R] P i given by S ⊗[R] ∀ i, P i

def CommRingCat.Under.tensorProductFan' E1 #

{R : CommRingCat} →
  (S : CommRingCat) →
    [inst : Algebra ↑R ↑S] →
      {ι : Type u} →
        (P : ι → CategoryTheory.Under R) →
          CategoryTheory.Limits.Fan fun i ↦ S.mkUnder (TensorProduct ↑R ↑S ↑(P i).right)

The fan on i ↦ S ⊗[R] P i given by ∀ i, S ⊗[R] P i

def CommRingCat.Under.tensorProductFanIso E1 #

{R S : CommRingCat} →
  [inst : Algebra ↑R ↑S] →
    {ι : Type u} →
      (P : ι → CategoryTheory.Under R) →
        [Fintype ι] → [DecidableEq ι] → CommRingCat.Under.tensorProductFan S P ≅ CommRingCat.Under.tensorProductFan' S P

The two fans on i ↦ S ⊗[R] P i agree if ι is finite.

def CommRingCat.Under.tensorProductFanIsLimit E1 #

{R S : CommRingCat} →
  [inst : Algebra ↑R ↑S] →
    {ι : Type u} →
      (P : ι → CategoryTheory.Under R) →
        [Finite ι] → CategoryTheory.Limits.IsLimit (CommRingCat.Under.tensorProductFan S P)

The fan on i ↦ S ⊗[R] P i given by S ⊗[R] ∀ i, P i is limiting if ι is finite.

def CommRingCat.Under.piFanTensorProductIsLimit E1 #

{R S : CommRingCat} →
  [inst : Algebra ↑R ↑S] →
    {ι : Type u} →
      (P : ι → CategoryTheory.Under R) →
        [Finite ι] → CategoryTheory.Limits.IsLimit ((R.tensorProd S).mapCone (CommRingCat.Under.piFan P))

tensorProd R S preserves the limit of the canonical fan on P.

instance CommRingCat.Under.instPreservesLimitUnderDiscreteFunctorTensorProdOfFinite E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] (J : Type u) [Finite J] (f : J → CategoryTheory.Under R),
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) (R.tensorProd S)

instance CommRingCat.Under.instPreservesFiniteProductsUnderTensorProd E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S], CategoryTheory.Limits.PreservesFiniteProducts (R.tensorProd S)

theorem CommRingCat.Under.equalizer_comp E1 #

∀ {R : CommRingCat} {A B : CategoryTheory.Under R} (f g : A ⟶ B),
  CategoryTheory.CategoryStruct.comp ((CommRingCat.toAlgHom f).equalizer (CommRingCat.toAlgHom g)).val.toUnder f =
    CategoryTheory.CategoryStruct.comp ((CommRingCat.toAlgHom f).equalizer (CommRingCat.toAlgHom g)).val.toUnder g

def CommRingCat.Under.equalizerFork E1 #

{R : CommRingCat} → {A B : CategoryTheory.Under R} → (f g : A ⟶ B) → CategoryTheory.Limits.Fork f g

The canonical fork on f g : A ⟶ B given by the equalizer.

theorem CommRingCat.Under.equalizerFork_ι E0 #

∀ {R : CommRingCat} {A B : CategoryTheory.Under R} (f g : A ⟶ B),
  (CommRingCat.Under.equalizerFork f g).ι = ((CommRingCat.toAlgHom f).equalizer (CommRingCat.toAlgHom g)).val.toUnder

def CommRingCat.Under.equalizerFork' E1 #

{R : CommRingCat} →
  {A B : Type u} →
    [inst : CommRing A] →
      [inst_1 : CommRing B] →
        [inst_2 : Algebra (↑R) A] →
          [inst_3 : Algebra (↑R) B] → (f g : A →ₐ[↑R] B) → CategoryTheory.Limits.Fork f.toUnder g.toUnder

Variant of Under.equalizerFork' for algebra maps. This is definitionally equal to Under.equalizerFork but this is costly in applications.

theorem CommRingCat.Under.equalizerFork'_ι E0 #

∀ {R : CommRingCat} {A B : Type u} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra (↑R) A]
  [inst_3 : Algebra (↑R) B] (f g : A →ₐ[↑R] B), (CommRingCat.Under.equalizerFork' f g).ι = (f.equalizer g).val.toUnder

def CommRingCat.Under.equalizerForkIsLimit E1 #

{R : CommRingCat} →
  {A B : CategoryTheory.Under R} → (f g : A ⟶ B) → CategoryTheory.Limits.IsLimit (CommRingCat.Under.equalizerFork f g)

The canonical fork on f g : A ⟶ B is limiting.

def CommRingCat.Under.equalizerFork'IsLimit E1 #

{R : CommRingCat} →
  {A B : Type u} →
    [inst : CommRing A] →
      [inst_1 : CommRing B] →
        [inst_2 : Algebra (↑R) A] →
          [inst_3 : Algebra (↑R) B] →
            (f g : A →ₐ[↑R] B) → CategoryTheory.Limits.IsLimit (CommRingCat.Under.equalizerFork' f g)

Variant of Under.equalizerForkIsLimit for algebra maps.

def CommRingCat.Under.tensorProdEqualizer E1 #

{R S : CommRingCat} →
  [inst : Algebra ↑R ↑S] →
    {A B : CategoryTheory.Under R} →
      (f g : A ⟶ B) → CategoryTheory.Limits.Fork ((R.tensorProd S).map f) ((R.tensorProd S).map g)

The fork on 𝟙 ⊗[R] f and 𝟙 ⊗[R] g given by S ⊗[R] eq(f, g).

theorem CommRingCat.Under.tensorProdEqualizer_ι E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] {A B : CategoryTheory.Under R} (f g : A ⟶ B),
  (CommRingCat.Under.tensorProdEqualizer f g).ι =
    (R.tensorProd S).map ((CommRingCat.toAlgHom f).equalizer (CommRingCat.toAlgHom g)).val.toUnder

def CommRingCat.Under.equalizerForkTensorProdIso E1 #

{R S : CommRingCat} →
  [inst : Algebra ↑R ↑S] →
    [Module.Flat ↑R ↑S] →
      {A B : CategoryTheory.Under R} →
        (f g : A ⟶ B) →
          CommRingCat.Under.tensorProdEqualizer f g ≅
            CommRingCat.Under.equalizerFork' (Algebra.TensorProduct.map (AlgHom.id ↑S ↑S) (CommRingCat.toAlgHom f))
              (Algebra.TensorProduct.map (AlgHom.id ↑S ↑S) (CommRingCat.toAlgHom g))

If S is R-flat, S ⊗[R] eq(f, g) is isomorphic to eq(𝟙 ⊗[R] f, 𝟙 ⊗[R] g).

def CommRingCat.Under.tensorProdMapEqualizerForkIsLimit E1 #

{R S : CommRingCat} →
  [inst : Algebra ↑R ↑S] →
    [Module.Flat ↑R ↑S] →
      {A B : CategoryTheory.Under R} →
        (f g : A ⟶ B) → CategoryTheory.Limits.IsLimit ((R.tensorProd S).mapCone (CommRingCat.Under.equalizerFork f g))

If S is R-flat, tensorProd R S preserves the equalizer of f and g.

instance CommRingCat.Under.instPreservesLimitUnderWalkingParallelPairParallelPairTensorProdOfFlatCarrier E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] [Module.Flat ↑R ↑S] {A B : CategoryTheory.Under R} (f g : A ⟶ B),
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair f g) (R.tensorProd S)

instance CommRingCat.Under.instPreservesLimitsOfShapeUnderWalkingParallelPairTensorProdOfFlatCarrier E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] [Module.Flat ↑R ↑S],
  CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingParallelPair (R.tensorProd S)

instance CommRingCat.Under.instPreservesFiniteLimitsUnderTensorProdOfFlatCarrier E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] [Module.Flat ↑R ↑S],
  CategoryTheory.Limits.PreservesFiniteLimits (R.tensorProd S)

instance CommRingCat.Under.instPreservesFiniteProductsUnderPushout E0 #

∀ {R S : CommRingCat} (f : R ⟶ S), CategoryTheory.Limits.PreservesFiniteProducts (CategoryTheory.Under.pushout f)

Under.pushout f preserves finite products.

theorem CommRingCat.Under.preservesFiniteLimits_of_flat E1 #

∀ {R S : CommRingCat} (f : R ⟶ S),
  (CommRingCat.Hom.hom f).Flat → CategoryTheory.Limits.PreservesFiniteLimits (CategoryTheory.Under.pushout f)

Under.pushout f preserves finite limits if f is flat.