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

21 declarations. Mathlib docs · Source

Adjunctions in CommRingCat

Main results

  • CommRingCat.adj: σ ↦ ℤ[σ] is left adjoint to the forgetful functor CommRingCat ⥤ Type.
  • CommRingCat.coyonedaAdj: Fun(-, R) is left adjoint to Hom_{CRing}(R, -).
  • CommRingCat.monoidAlgebraAdj: G ↦ R[G] as CommGrpCat ⥤ R-Alg is left adjoint to S ↦ Sˣ.
  • CommRingCat.unitsAdj: G ↦ ℤ[G] is left adjoint to S ↦ Sˣ.

def CommRingCat.free E1 #

CategoryTheory.Functor (Type u) CommRingCat

The free functor Type u ⥤ CommRingCat sending a type X to the multivariable (commutative) polynomials with variables x : X.

theorem CommRingCat.free_obj_coe E0 #

∀ {α : Type u}, ↑(CommRingCat.free.obj α) = MvPolynomial α ℤ

theorem CommRingCat.free_map_coe E0 #

∀ {α β : Type u} {f : α ⟶ β},
  ⇑(CategoryTheory.ConcreteCategory.hom (CommRingCat.free.map f)) =
    ⇑(MvPolynomial.rename ⇑(CategoryTheory.ConcreteCategory.hom f))

def CommRingCat.adj E3 #

CommRingCat.free ⊣ CategoryTheory.forget CommRingCat

The free-forgetful adjunction for commutative rings.

instance CommRingCat.instIsRightAdjointForgetRingHomCarrier E0 #

(CategoryTheory.forget CommRingCat).IsRightAdjoint

def CommRingCat.coyoneda E1 #

CategoryTheory.Functor Type vᵒᵖ (CategoryTheory.Functor CommRingCat CommRingCat)

Fun(-, -) as a functor Type vᵒᵖ ⥤ CommRingCat ⥤ CommRingCat.

theorem CommRingCat.coyoneda_map_app E0 #

∀ {m n : Type vᵒᵖ} (f : m ⟶ n) (R : CommRingCat),
  (CommRingCat.coyoneda.map f).app R =
    CommRingCat.ofHom (RingHom.pi fun x ↦ Pi.evalRingHom (fun a ↦ ↑R) ((CategoryTheory.ConcreteCategory.hom f.unop) x))

theorem CommRingCat.coyoneda_obj_obj_carrier E0 #

∀ (n : Type vᵒᵖ) (R : CommRingCat), ↑((CommRingCat.coyoneda.obj n).obj R) = (Opposite.unop n → ↑R)

theorem CommRingCat.coyoneda_obj_map E0 #

∀ (n : Type vᵒᵖ) {R S : CommRingCat} (φ : R ⟶ S),
  (CommRingCat.coyoneda.obj n).map φ =
    CommRingCat.ofHom (RingHom.pi fun x ↦ (CommRingCat.Hom.hom φ).comp (Pi.evalRingHom (fun a ↦ ↑R) x))

def CommRingCat.coyonedaAdj E3 #

(R : CommRingCat) → (CommRingCat.coyoneda.flip.obj R).rightOp ⊣ CategoryTheory.yoneda.obj R

The adjunction Hom_{CRing}(Fun(n, R), S) ≃ Fun(n, Hom_{CRing}(R, S)).

instance CommRingCat.instIsRightAdjointOppositeObjFunctorTypeYoneda E0 #

∀ (R : CommRingCat), (CategoryTheory.yoneda.obj R).IsRightAdjoint

def CommRingCat.coyonedaUnique E1 #

{n : Type v} → [Unique n] → CommRingCat.coyoneda.obj (Opposite.op n) ≅ CategoryTheory.Functor.id CommRingCat

If n is a singleton, Hom(n, -) is the identity in CommRingCat.

theorem CommRingCat.coyonedaUnique_inv_app_hom_apply E0 #

∀ {n : Type v} [inst : Unique n] (X : CommRingCat) (a : ↑X) (a_1 : Opposite.unop (Opposite.op n)),
  (CommRingCat.Hom.hom (CommRingCat.coyonedaUnique.inv.app X)) a a_1 = a

theorem CommRingCat.coyonedaUnique_hom_app_hom_apply E0 #

∀ {n : Type v} [inst : Unique n] (X : CommRingCat) (a : Opposite.unop (Opposite.op n) → ↑X),
  (CommRingCat.Hom.hom (CommRingCat.coyonedaUnique.hom.app X)) a = a default

def CommRingCat.monoidAlgebra E1 #

(R : CommRingCat) → CategoryTheory.Functor CommMonCat (CategoryTheory.Under R)

The monoid algebra functor CommGrpCat ⥤ R-Alg given by G ↦ R[G].

theorem CommRingCat.monoidAlgebra_map E0 #

∀ (R : CommRingCat) {X Y : CommMonCat} (f : X ⟶ Y),
  R.monoidAlgebra.map f =
    CategoryTheory.Under.homMk (CommRingCat.ofHom (MonoidAlgebra.mapDomainRingHom (↑R) (CommMonCat.Hom.hom f))) ⋯

theorem CommRingCat.monoidAlgebra_obj E0 #

∀ (R : CommRingCat) (G : CommMonCat),
  R.monoidAlgebra.obj G = CategoryTheory.Under.mk (CommRingCat.ofHom MonoidAlgebra.singleOneRingHom)

def CommRingCat.monoidAlgebraAdj E3 #

(R : CommRingCat) →
  R.monoidAlgebra ⊣ (CategoryTheory.Under.forget R).comp (CategoryTheory.forget₂ CommRingCat CommMonCat)

The adjunction G ↦ R[G] and S ↦ Sˣ between CommGrpCat and R-Alg.

def CommRingCat.forget₂Adj E1 #

{R : CommRingCat} →
  CategoryTheory.Limits.IsInitial R →
    (R.monoidAlgebra.comp (CategoryTheory.Under.forget R) ⊣ CategoryTheory.forget₂ CommRingCat CommMonCat)

The adjunction G ↦ ℤ[G] and R ↦ Rˣ between CommGrpCat and CommRing.

instance CommRingCat.instIsLeftAdjointCommMonCatUnderMonoidAlgebra E0 #

∀ (R : CommRingCat), R.monoidAlgebra.IsLeftAdjoint

instance CommRingCat.instIsRightAdjointCommMonCatForget₂RingHomCarrierMonoidHomCarrier E0 #

(CategoryTheory.forget₂ CommRingCat CommMonCat).IsRightAdjoint