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.Monoidal.Internal.Module

15 declarations. Mathlib docs · Source

def ModuleCat.MonModuleEquivalenceAlgebra.MonObj.toRing E1 #

{R : Type u} → [inst : CommRing R] → (A : ModuleCat R) → [CategoryTheory.MonObj A] → Ring ↑A

The ring structure on a monoid object. This instance is dangerous as it doesn't round trip from a ring to a monoid object and then back to a ring, since the npow field is lost in the middle. Therefore, it is scoped.

def ModuleCat.MonModuleEquivalenceAlgebra.Algebra_of_Mon_ E1 #

{R : Type u} → [inst : CommRing R] → (A : ModuleCat R) → [inst_1 : CategoryTheory.MonObj A] → Algebra R ↑A

The algebra structure on a monoid object. This instance is dangerous as it doesn't round trip from a ring to a monoid object and then back to a ring, since the npow field is lost in the middle. Therefore, it is scoped.

theorem ModuleCat.MonModuleEquivalenceAlgebra.algebraMap E0 #

∀ {R : Type u} [inst : CommRing R] (A : ModuleCat R) [inst_1 : CategoryTheory.MonObj A] (r : R),
  (algebraMap R ↑A) r = (CategoryTheory.ConcreteCategory.hom CategoryTheory.MonObj.one) r

def ModuleCat.MonModuleEquivalenceAlgebra.functor E1 #

{R : Type u} → [inst : CommRing R] → CategoryTheory.Functor (CategoryTheory.Mon (ModuleCat R)) (AlgCat R)

Converting a monoid object in ModuleCat R to a bundled algebra.

theorem ModuleCat.MonModuleEquivalenceAlgebra.functor_map_hom_apply E0 #

∀ {R : Type u} [inst : CommRing R] {x x_1 : CategoryTheory.Mon (ModuleCat R)} (f : x ⟶ x_1) (a : ↑x.X),
  (AlgCat.Hom.hom (ModuleCat.MonModuleEquivalenceAlgebra.functor.map f)) a =
    (CategoryTheory.ConcreteCategory.hom f.hom) a

theorem ModuleCat.MonModuleEquivalenceAlgebra.functor_obj_carrier E0 #

∀ {R : Type u} [inst : CommRing R] (A : CategoryTheory.Mon (ModuleCat R)),
  ↑(ModuleCat.MonModuleEquivalenceAlgebra.functor.obj A) = ↑A.X

def ModuleCat.MonModuleEquivalenceAlgebra.inverseObj E1 #

{R : Type u} → [inst : CommRing R] → (A : AlgCat R) → CategoryTheory.MonObj ↧↑A

Converting a bundled algebra to a monoid object in ModuleCat R.

theorem ModuleCat.MonModuleEquivalenceAlgebra.inverseObj_mul E0 #

∀ {R : Type u} [inst : CommRing R] (A : AlgCat R), CategoryTheory.MonObj.mul = ModuleCat.ofHom (LinearMap.mul' R ↑A)

theorem ModuleCat.MonModuleEquivalenceAlgebra.inverseObj_one E0 #

∀ {R : Type u} [inst : CommRing R] (A : AlgCat R), CategoryTheory.MonObj.one = ModuleCat.ofHom (Algebra.linearMap R ↑A)

def ModuleCat.MonModuleEquivalenceAlgebra.inverse E1 #

{R : Type u} → [inst : CommRing R] → CategoryTheory.Functor (AlgCat R) (CategoryTheory.Mon (ModuleCat R))

Converting a bundled algebra to a monoid object in ModuleCat R.

theorem ModuleCat.MonModuleEquivalenceAlgebra.inverse_obj_mon E0 #

∀ {R : Type u} [inst : CommRing R] (A : AlgCat R),
  (ModuleCat.MonModuleEquivalenceAlgebra.inverse.obj A).mon = ModuleCat.MonModuleEquivalenceAlgebra.inverseObj A

theorem ModuleCat.MonModuleEquivalenceAlgebra.inverse_obj_X_carrier E0 #

∀ {R : Type u} [inst : CommRing R] (A : AlgCat R), ↑(ModuleCat.MonModuleEquivalenceAlgebra.inverse.obj A).X = ↑A

theorem ModuleCat.MonModuleEquivalenceAlgebra.inverse_map_hom E0 #

∀ {R : Type u} [inst : CommRing R] {X Y : AlgCat R} (f : X ⟶ Y),
  (ModuleCat.MonModuleEquivalenceAlgebra.inverse.map f).hom = ModuleCat.ofHom (AlgCat.Hom.hom f).toLinearMap

def ModuleCat.monModuleEquivalenceAlgebra E1 #

{R : Type u} → [inst : CommRing R] → CategoryTheory.Mon (ModuleCat R) ≌ AlgCat R

The category of internal monoid objects in ModuleCat R is equivalent to the category of "native" bundled R-algebras.

def ModuleCat.monModuleEquivalenceAlgebraForget E1 #

{R : Type u} →
  [inst : CommRing R] →
    ModuleCat.MonModuleEquivalenceAlgebra.functor.comp (CategoryTheory.forget₂ (AlgCat R) (ModuleCat R)) ≅
      CategoryTheory.Mon.forget (ModuleCat R)

The equivalence Mon (ModuleCat R) ≌ AlgCat R is naturally compatible with the forgetful functors to ModuleCat R.